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 +1 -1
- data/lib/network_manager/modem.rb +2 -3
- data/ruby-network-manager.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
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
|
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
|
|
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.
|
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: -
|
146
|
+
hash: -1360777326963994131
|
147
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
148
|
none: false
|
149
149
|
requirements:
|