ruby-dbus-openplacos 0.7.2 → 0.7.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/dbus/export.rb +12 -2
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.2
1
+ 0.7.2.1
data/lib/dbus/export.rb CHANGED
@@ -49,11 +49,21 @@ module DBus
49
49
  end
50
50
 
51
51
  def intfs
52
- self.class.intfs
52
+ #check if singleton class is defined
53
+ if self.singleton_methods.empty?
54
+ self.class.intfs
55
+ else
56
+ self.singleton_class.intfs
57
+ end
53
58
  end
54
59
 
55
60
  def intfs= param
56
- self.class.intfs = param
61
+ #check if singleton class is defined
62
+ if self.singleton_methods.empty?
63
+ self.class.intfs = param
64
+ else
65
+ self.singleton_class.intfs = param
66
+ end
57
67
  end
58
68
 
59
69
  # State that the object implements the given _intf_.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-dbus-openplacos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: