Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding gem dependency for snmp

  • Loading branch information...
commit 0817a4117bb575965be97784dcd6bc3a107aca46 1 parent e9e3b1b
@skord skord authored
Showing with 13 additions and 2 deletions.
  1. +8 −1 Manifest
  2. +1 −0  Rakefile
  3. +4 −1 snmp4em.gemspec
View
9 Manifest
@@ -1,3 +1,4 @@
+Gemfile
README.rdoc
Rakefile
lib/snmp4em.rb
@@ -18,5 +19,11 @@ lib/snmp4em/requests/snmp_set_request.rb
lib/snmp4em/requests/snmp_walk_request.rb
lib/snmp4em/snmp_request.rb
lib/snmp4em/snmp_v2c_requests.rb
-snmp4em.gemspec
+spec/models/test_message.rb
+spec/models/test_request.rb
+spec/models/test_response.rb
+spec/spec.opts
+spec/spec_helper.rb
+spec/unit/handler_spec.rb
+spec/unit/manager_spec.rb
Manifest
View
1  Rakefile
@@ -13,4 +13,5 @@ Echoe.new("snmp4em", "0.2.1") do |p|
p.email = "normelton@gmail.com"
p.development_dependencies = []
p.rdoc_pattern = ["lib", "README.rdoc"]
+ p.dependencies = ["snmp"]
end
View
5 snmp4em.gemspec
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
s.description = "A high-performance SNMP engine built on EventMachine and Ruby-SNMP"
s.email = "normelton@gmail.com"
s.extra_rdoc_files = ["README.rdoc"]
- s.files = ["README.rdoc", "Rakefile", "lib/snmp4em.rb", "lib/snmp4em/common_requests.rb", "lib/snmp4em/extensions.rb", "lib/snmp4em/extensions/snmp/integer.rb", "lib/snmp4em/extensions/snmp/ip_address.rb", "lib/snmp4em/extensions/snmp/null.rb", "lib/snmp4em/extensions/snmp/object_id.rb", "lib/snmp4em/extensions/snmp/octet_string.rb", "lib/snmp4em/extensions/snmp/response_error.rb", "lib/snmp4em/handler.rb", "lib/snmp4em/manager.rb", "lib/snmp4em/requests/snmp_get_request.rb", "lib/snmp4em/requests/snmp_getbulk_request.rb", "lib/snmp4em/requests/snmp_getnext_request.rb", "lib/snmp4em/requests/snmp_set_request.rb", "lib/snmp4em/requests/snmp_walk_request.rb", "lib/snmp4em/snmp_request.rb", "lib/snmp4em/snmp_v2c_requests.rb", "snmp4em.gemspec", "Manifest"]
+ s.files = ["Gemfile", "README.rdoc", "Rakefile", "lib/snmp4em.rb", "lib/snmp4em/common_requests.rb", "lib/snmp4em/extensions.rb", "lib/snmp4em/extensions/snmp/integer.rb", "lib/snmp4em/extensions/snmp/ip_address.rb", "lib/snmp4em/extensions/snmp/null.rb", "lib/snmp4em/extensions/snmp/object_id.rb", "lib/snmp4em/extensions/snmp/octet_string.rb", "lib/snmp4em/extensions/snmp/response_error.rb", "lib/snmp4em/handler.rb", "lib/snmp4em/manager.rb", "lib/snmp4em/requests/snmp_get_request.rb", "lib/snmp4em/requests/snmp_getbulk_request.rb", "lib/snmp4em/requests/snmp_getnext_request.rb", "lib/snmp4em/requests/snmp_set_request.rb", "lib/snmp4em/requests/snmp_walk_request.rb", "lib/snmp4em/snmp_request.rb", "lib/snmp4em/snmp_v2c_requests.rb", "snmp4em.gemspec", "spec/models/test_message.rb", "spec/models/test_request.rb", "spec/models/test_response.rb", "spec/spec.opts", "spec/spec_helper.rb", "spec/unit/handler_spec.rb", "spec/unit/manager_spec.rb", "Manifest"]
s.homepage = "http://github.com/normelton/snmp4em"
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Snmp4em", "--main", "README.rdoc"]
s.require_paths = ["lib"]
@@ -22,8 +22,11 @@ Gem::Specification.new do |s|
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<snmp>, [">= 0"])
else
+ s.add_dependency(%q<snmp>, [">= 0"])
end
else
+ s.add_dependency(%q<snmp>, [">= 0"])
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.