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
(Fix previous submissions by using the gem file from rubygems.org)
- 0.18.0.beta1
API:
* D-Bus structs have been passed as Ruby arrays. Now these arrays
are frozen.
* Ruby structs can be used as D-Bus structs.
Bug fixes:
* Returning the value for o.fd.DBus.Properties.Get, use the
specific property signature, not the generic Variant
(gh#mvidner/ruby-dbus#97).
- 0.17.0
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/request/show/963982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rubygem-ruby-dbus?expand=0&rev=23
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/request/show/865300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rubygem-ruby-dbus?expand=0&rev=22
- 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