ruby-dbus 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/NEWS.md +10 -0
- data/VERSION +1 -1
- data/lib/dbus/marshall.rb +3 -3
- data/lib/dbus/message.rb +1 -1
- data/spec/service_newapi.rb +4 -0
- data/spec/value_spec.rb +4 -0
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95dfa24c76e4ed5aeb5997bd160a4efd69a8c146
|
|
4
|
+
data.tar.gz: 244e215c35cff67f53c7f7ac51a699c2fec22b2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f020e993e5a6777c7ea540cf1197200aa6f1c3c7003f331b42b73cea3d5937925243bf46d2668488e8854bb7ac34d88a20934a18e90a2bb46d9fca7bcb8de764
|
|
7
|
+
data.tar.gz: 160ebb98a13e02b982c7b634a02aa271b5899d54be289c9f5d71c0a2f8b9fcfc1190e4e19854a1a236a237f875cd108bad280a6bdbe571e68cb38afaad10b6b4
|
data/NEWS.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## Ruby D-Bus 0.14.0 - 2017-10-13
|
|
6
|
+
|
|
7
|
+
Bug fixes:
|
|
8
|
+
* Sending 16-bit signed integers ("n") did not work at all ([#68][]).
|
|
9
|
+
|
|
10
|
+
Requirements:
|
|
11
|
+
* Stopped supporting ruby 2.0.0, because of Nokogiri.
|
|
12
|
+
|
|
13
|
+
[#68]: https://github.com/mvidner/ruby-dbus/issues/68
|
|
14
|
+
|
|
5
15
|
## Ruby D-Bus 0.13.0 - 2016-09-21
|
|
6
16
|
|
|
7
17
|
Bug fixes:
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.14.0
|
data/lib/dbus/marshall.rb
CHANGED
|
@@ -133,8 +133,8 @@ module DBus
|
|
|
133
133
|
align(2)
|
|
134
134
|
packet = read(2).unpack(@uint16)[0]
|
|
135
135
|
when Type::INT16
|
|
136
|
-
align(
|
|
137
|
-
packet = read(
|
|
136
|
+
align(2)
|
|
137
|
+
packet = read(2).unpack(@uint16)[0]
|
|
138
138
|
if (packet & 0x8000) != 0
|
|
139
139
|
packet -= 0x10000
|
|
140
140
|
end
|
|
@@ -296,7 +296,7 @@ module DBus
|
|
|
296
296
|
def append(type, val)
|
|
297
297
|
raise TypeException, "Cannot send nil" if val.nil?
|
|
298
298
|
|
|
299
|
-
type = type.chr if type.is_a?(
|
|
299
|
+
type = type.chr if type.is_a?(Integer)
|
|
300
300
|
type = Type::Parser.new(type).parse[0] if type.is_a?(String)
|
|
301
301
|
case type.sigtype
|
|
302
302
|
when Type::BYTE
|
data/lib/dbus/message.rb
CHANGED
data/spec/service_newapi.rb
CHANGED
data/spec/value_spec.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-dbus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.14.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ruby DBus Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-10-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: coveralls
|
|
@@ -192,9 +192,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
192
192
|
version: '0'
|
|
193
193
|
requirements: []
|
|
194
194
|
rubyforge_project:
|
|
195
|
-
rubygems_version: 2.2.
|
|
195
|
+
rubygems_version: 2.2.5
|
|
196
196
|
signing_key:
|
|
197
197
|
specification_version: 4
|
|
198
198
|
summary: Ruby module for interaction with D-Bus
|
|
199
199
|
test_files: []
|
|
200
|
-
has_rdoc:
|