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.
  • 3 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
View
14 Rakefile
@@ -32,13 +32,13 @@ Rake::TestTask.new(:test) do |test|
test.verbose = true
end
-require 'rcov/rcovtask'
-Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
- test.rcov_opts << '--exclude "gems/*"'
-end
+# require 'rcov/rcovtask'
+# Rcov::RcovTask.new do |test|
+# test.libs << 'test'
+# test.pattern = 'test/**/test_*.rb'
+# test.verbose = true
+# test.rcov_opts << '--exclude "gems/*"'
+# end
task :default => :test
View
11 lib/network_manager/version.rb
@@ -0,0 +1,11 @@
+# encoding: utf-8
+class NetworkManager
+ module Version
+ MAJOR = 0
+ MINOR = 1
+ PATCH = 1
+ BUILD = nil
+
+ STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
+ end
+end
View
3  lib/ruby-network-manager.rb
@@ -1,4 +1,7 @@
# encoding: utf-8
+require 'network_manager/version'
+require 'network_manager/modem'
+
class NetworkManager
attr_reader :service, :bus_path, :mm_object
View
65 ruby-network-manager.gemspec
@@ -0,0 +1,65 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = "ruby-network-manager"
+ s.version = ""
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Ernest Bursa"]
+ s.date = "2013-03-30"
+ s.description = "This gem is simple binding for NetworkManager that aims to be tool for managing network interfaces such as 3G modems."
+ s.email = "ernest@bzdury.pl"
+ s.extra_rdoc_files = [
+ "LICENSE.txt",
+ "README.rdoc"
+ ]
+ s.files = [
+ ".document",
+ "Gemfile",
+ "Gemfile.lock",
+ "LICENSE.txt",
+ "README.rdoc",
+ "Rakefile",
+ "lib/network_manager/modem.rb",
+ "lib/network_manager/version.rb",
+ "lib/ruby-network-manager.rb",
+ "test/helper.rb",
+ "test/test_ruby-network-manager.rb"
+ ]
+ s.homepage = "http://github.com/swistaczek/ruby-network-manager"
+ s.licenses = ["MIT"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = "1.8.25"
+ s.summary = "Ruby wrapper to manage devices using ModemManager (NetworkManager) through DBus."
+
+ if s.respond_to? :specification_version then
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<ruby-dbus>, [">= 0"])
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
+ s.add_development_dependency(%q<rdoc>, [">= 0"])
+ s.add_development_dependency(%q<bundler>, [">= 0"])
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
+ s.add_development_dependency(%q<pry>, [">= 0"])
+ else
+ s.add_dependency(%q<ruby-dbus>, [">= 0"])
+ s.add_dependency(%q<shoulda>, [">= 0"])
+ s.add_dependency(%q<rdoc>, [">= 0"])
+ s.add_dependency(%q<bundler>, [">= 0"])
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
+ s.add_dependency(%q<pry>, [">= 0"])
+ end
+ else
+ s.add_dependency(%q<ruby-dbus>, [">= 0"])
+ s.add_dependency(%q<shoulda>, [">= 0"])
+ s.add_dependency(%q<rdoc>, [">= 0"])
+ s.add_dependency(%q<bundler>, [">= 0"])
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
+ s.add_dependency(%q<pry>, [">= 0"])
+ end
+end
+

No commit comments for this range

Something went wrong with that request. Please try again.