License:
* clarified to be LGPL-2.1-or-later
API:
* DBus::Object#object_server replaces @service (which still works) and the short-lived
@connection
* ObjectServer#export will raise if the path is already taken by an object
* ObjectServer#unexport now also accepts an object path
* Connection#object_server can export objects even without requesting any
service name (gh#mvidner/ruby-dbus#49, in beta1 already).
* Add PeerConnection for connections without a bus, useful for PulseAudio.
Fix listening for signals there (gh#mvidner/ruby-dbus##44).
* Moved from Connection to BusConnection: #unique_name, #proxy, #service.
Call send_hello in BusConnection#initialize already.
Bug fixes:
* Fixed a refactoring crasher bug in ProxyService#introspect (oops).
* Fix crash on #unexport of /child_of_root or even /
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=69
Features:
* Enable using nokogiri without rexml (by Dominik Andreas Schorpp,
gh#mvidner/ruby-dbus#132)
Bug fixes:
* Respect DBUS_SYSTEM_BUS_ADDRESS environment variable.
Other:
* For NameRequestError, mention who is the other owner.
* Session bus autolaunch still does not work, but: don't try launchd except
on macOS, and improve the error message.
* examples/gdbus split off to its own repository
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=64
API:
* Added a ObjectManager mix-in to implement the service-side
ObjectManager interface.
Bug fixes:
* dbus_attr_accessor and friends validate the signature
* (gh#mvidner/ruby-dbus#120).
* Declare the Introspectable interface in exported
* objects (gh#mvidner/ruby-dbus#99).
* Do reply with an error when calling a nonexisting object
with an existing path prefix (gh#mvidner/ruby-dbus#121).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=58
Bug fixes:
* Introduced Object#dbus_properties_changed to send correctly typed property
values (gh#mvidner/ruby-dbus#115). Avoid calling PropertiesChanged directly
as it will guess the types.
* Fix Object.dbus_reader to work with attr_accessor and automatically produce
dbus_properties_changed for properties that are read-write at
implementation side and read-only at D-Bus side (gh#mvidner/ruby-dbus#96)
API:
* Service side `emits_changed_signal` to control emission of
PropertiesChanged: can be assigned within `dbus_interface` or as an option
when declaring properties (gh#mvidner/ruby-dbus#117).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=54
API
* DBus::Type instances are frozen.
* Data::Container classes (Array, Struct, DictEntry, but not Variant)
constructors (#initialize, .from_items, .from_typed) changed to have
a *type* argument instead of *member_type* or *member_types*.
* Added type factories
* Type::Array[type]
* Type::Hash[key_type, value_type]
* Type::Struct[type1, type2...]
Bug fixes:
* Properties containing Variants would return them doubly wrapped
(gh#mvidner/ruby-dbus#111).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=48
API:
* Renamed the DBus::Type::Type class to DBus::Type
(which was previously a module).
* Introduced DBus::Data classes, use them in Properties.Get,
Properties.GetAll to return correct types as declared (still
gh#mvidner/ruby-dbus#97).
Bug fixes:
* Signature validation: Ensure DBus.type produces a valid Type
* Detect more malformed messages: non-NUL padding bytes, variants with
multiple or no value.
* Added thorough tests (spec/data/marshall.yaml) to detect nearly all
invalid data at unmarshalling time.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=42
API:
* Export properties with `dbus_attr_accessor`, `dbus_reader` etc.
(gh#mvidner/ruby-dbus#86).
Bug fixes:
* Depend on rexml which is separate since Ruby 3.0
(gh#mvidner/ruby-dbus#87, by Toshiaki Asai).
Nokogiri is faster but bigger so it remains optional.
* Fix connection in case ~/.dbus-keyrings has multiple cookies, showing
as "Oops: undefined method `zero?' for nil:NilClass".
* Add the missing name to the root introspection node.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=38
- 0.16.0
API:
* An invalid service name or an invalid object path will raise
instead of being sent to the bus. The bus would then drop the
connection, producing EOFError here (gh#mvidner/ruby-dbus#80).
- 0.15.0
API:
* Accessing an unknown interface will raise instead of
returning nil (gh#mvidner/ruby-dbus#74).
Bug fixes:
* Fixed a conflict with activesupport 5.2 (gh#mvidner/ruby-dbus#71)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=35
Features:
* When calling methods, the interface can be left unspecified if unambiguous
(Damiano Stoffie)
* YARD documentation, Reference.md
Bug fixes:
* Introspection attribute "direction" can be omitted
as allowed by the specification (Noah Meyerhans).
* ProxyObjectInterface#on_signal no longer needs the "bus" parameter
(Issue#31, by Damiano Stoffie)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=8
Features:
* Add Anonymous authentication (Issue#27, by Walter Brebels).
* Use Nokogiri for XML parsing when available (Issue#24, by Geoff Youngs).
Bug fixes:
* Use SCM_CREDS authentication only on FreeBSD, not on OpenBSD (Issue#21,
reported by Adde Nilsson).
* Recognize signature "h" (UNIX_FD) used eg. by Upstart (Issue#23,
by Bernd Ahlers).
* Find the session bus also via launchd, on OS X (Issue#20, reported
by Paul Sturgess).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=7
* Added ASystemBus and ASessionBus, non-singletons useful in tests
and threads.
* Fixed handling of multibyte strings (Issue#8, by Takayuki YAMAGUCHI).
* Allow reopening of a dbus_interface declaration (Issue#9, by T. YAMAGUCHI).
* Fixed ruby-1.9.2 compatibility again (Issue#12).
* Fixed authentication on BSD (Issue#11, by Jonathan Walker).
* Fixed exiting a nested event loop for synchronous calls
(reported by Timo Warns).
* Fixed introspection calls leaking reply handlers.
* "rake test" now works, doing what was called "rake env:test"
- updated the spec from a current template to build doc and
testsuite subpackages
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ruby-dbus?expand=0&rev=3