Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

f

  • Loading branch information...
commit caae3bdd4a2bd6371ee70041aa5b22fb9f60aed2 1 parent ff172ab
@swistaczek authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/network_manager/modem.rb
  2. +1 −1  ruby-network-manager.gemspec
View
4 lib/network_manager/modem.rb
@@ -35,7 +35,7 @@ def enabled?
end
def enable!
- @modem.Enable(true) if disabled?
+ @modem.Enable(true) == [] if disabled?
end
def disabled?
@@ -43,7 +43,7 @@ def disabled?
end
def disable!
- @modem.Enable(false) if enabled?
+ @modem.Enable(false) == [] if enabled?
end
def model
View
2  ruby-network-manager.gemspec
@@ -5,7 +5,7 @@
Gem::Specification.new do |s|
s.name = "ruby-network-manager"
- s.version = "0.10.0"
+ s.version = "0.11.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Ernest Bursa"]
Please sign in to comment.
Something went wrong with that request. Please try again.