Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
View
2  VERSION
@@ -1 +1 @@
-0.4.0
+0.5.0
View
4 lib/network_manager/modem.rb
@@ -3,8 +3,8 @@ class NetworkManager
class Modem
attr_reader :bus_path, :service
- def initialize(opts)
- args.each do |k,v|
+ def initialize(opts = {})
+ opts.each do |k,v|
instance_variable_set("@#{k}", v) unless v.nil?
end
View
2  lib/ruby-network-manager.rb
@@ -37,7 +37,7 @@ def set_options(opts = {})
@modem_service ||= MM_DBUS_SERVICE || 'org.freedesktop.ModemManager'
@modem_bus_path ||= '/org/freedesktop/ModemManager'
- args.each do |k,v|
+ opts.each do |k,v|
instance_variable_set("@#{k}", v) unless v.nil?
end
end
View
2  ruby-network-manager.gemspec
@@ -5,7 +5,7 @@
Gem::Specification.new do |s|
s.name = "ruby-network-manager"
- s.version = "0.4.0"
+ s.version = "0.5.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Ernest Bursa"]

No commit comments for this range

Something went wrong with that request. Please try again.