dbus-systemd 0.3.0 → 0.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4d4eb628612b3b002737ad0c361812e187d0253
4
- data.tar.gz: 819ae207bed102e42484fdc416d94a6d78bac708
3
+ metadata.gz: d01a076408322792817a9e2ff8ddd8fa96d496e0
4
+ data.tar.gz: 11bf0f355333ce064e592b4371c1febd9a21c1c0
5
5
  SHA512:
6
- metadata.gz: cdce6c07b1d9a83fa97dc4780eb18fafd88e4a98df8822873ed002aec0a212bf9662fb2ed6200891996b607fe344bdeade8f59bc8310c038f1cdb034ae82d56e
7
- data.tar.gz: 760f752108230f6aad64c6c66f492c4b30268ab52782c4a4fd196a2a7ec981c8a3dc69da63dee6351039a26c761f552b0418e8e88d20e80d3af7f48edfe93aab
6
+ metadata.gz: 5a1bdbeea1d77d6ae31b48f8dd5d5a115586fc32babe29328183951a17eaafdf552ff37a0fd3b234064938a2fab382269ee39eb05c255ba43f3c7f5bb60d9cc6
7
+ data.tar.gz: 776ba744c62c05706161a81a5087dfa1e6d8157d2f35536db7a0208516d9d2dab356dab5432bf70c17d12f521647ee149df455b7ac902b13a2dc6aa1bfe9c12a
@@ -10,7 +10,15 @@ module DBus
10
10
  end
11
11
 
12
12
  def method_missing(name, *args, &blk)
13
- @object.send(name, *args, &blk) if @object.respond_to?(name)
13
+ if @object.respond_to?(name)
14
+ @object.send(name, *args, &blk)
15
+ else
16
+ super
17
+ end
18
+ end
19
+
20
+ def respond_to_missing?(*args)
21
+ @object.respond_to?(*args) || super
14
22
  end
15
23
  end
16
24
  end
@@ -82,7 +82,15 @@ module DBus
82
82
  end
83
83
 
84
84
  def method_missing(name, *args, &blk)
85
- @object.send(name, *args, &blk) if @object.respond_to?(name)
85
+ if @object.respond_to?(name)
86
+ @object.send(name, *args, &blk)
87
+ else
88
+ super
89
+ end
90
+ end
91
+
92
+ def respond_to_missing?(*args)
93
+ @object.respond_to?(*args) || super
86
94
  end
87
95
  end
88
96
  end
@@ -14,7 +14,15 @@ module DBus
14
14
  end
15
15
 
16
16
  def method_missing(name, *args, &blk)
17
- @object.send(name, *args, &blk) if @object.respond_to?(name)
17
+ if @object.respond_to?(name)
18
+ @object.send(name, *args, &blk)
19
+ else
20
+ super
21
+ end
22
+ end
23
+
24
+ def respond_to_missing?(*args)
25
+ @object.respond_to?(*args) || super
18
26
  end
19
27
  end
20
28
  end
@@ -1,5 +1,5 @@
1
1
  module DBus
2
2
  module Systemd
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbus-systemd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Williams