ruby-network-manager 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.10
1
+ 1.0.11
@@ -17,8 +17,7 @@ class NetworkManager
17
17
  @proxy = @service.object(@bus_path)
18
18
  @proxy.introspect
19
19
 
20
- @properties = @proxy.dup
21
- @properties.default_iface = NetworkManager::DBUS_PROPERTIES
20
+ @properties = @proxy[NetworkManager::DBUS_PROPERTIES]
22
21
  @properties.introspect
23
22
 
24
23
  @s_modem = @proxy[NetworkManager::MM_DBUS_INTERFACE_MODEM_SIMPLE]
@@ -46,7 +45,7 @@ class NetworkManager
46
45
  end
47
46
 
48
47
  def status
49
- @properties['org.freedesktop.ModemManager.Modem']['Enabled']
48
+ @properties['org.freedesktop.ModemManager.Modem']['Enabled'] rescue false
50
49
  end
51
50
  alias :enabled? :status
52
51
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ruby-network-manager"
8
- s.version = "1.0.10"
8
+ s.version = "1.0.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ernest Bursa"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-network-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -143,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
143
  version: '0'
144
144
  segments:
145
145
  - 0
146
- hash: -4413202439074915028
146
+ hash: -1360777326963994131
147
147
  required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  none: false
149
149
  requirements: