Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Gemfile

  • Loading branch information...
commit 900b31ab5318cf21bc0a2d4beb32bc0612972f50 1 parent 52f0170
@sonots sonots authored
View
2  .gitignore
@@ -0,0 +1,2 @@
+Gemfile.lock
+.ruby-version
View
3  Gemfile
@@ -0,0 +1,3 @@
+source "http://rubygems.org"
+
+gemspec
View
7 gmetric.gemspec
@@ -13,10 +13,10 @@ Gem::Specification.new do |s|
s.description = %q{Pure Ruby interface for generating Ganglia gmetric packets}
s.email = %q{ilya@igvita.com}
s.extra_rdoc_files = [
- "README.rdoc"
+ "README.md"
]
s.files = [
- "README.rdoc",
+ "README.md",
"Rakefile",
"VERSION",
"gmetric.gemspec",
@@ -44,5 +44,8 @@ Gem::Specification.new do |s|
end
else
end
+ s.add_development_dependency "rake"
+ s.add_development_dependency "rspec"
+ s.add_development_dependency "eventmachine"
end
View
1  spec/gmetric_spec.rb
@@ -88,7 +88,6 @@ def hex(data)
it "should use EM reactor if used within event loop" do
pending 'stub out connection class'
- require 'rubygems'
require 'eventmachine'
EventMachine.run do
Ganglia::GMetric.send("127.0.0.1", 1111, {
View
8 spec/helper.rb
@@ -1,2 +1,6 @@
-require "lib/gmetric"
-require "spec"
+require 'rubygems'
+require 'bundler'
+Bundler.setup(:default, :test)
+Bundler.require(:default, :test)
+
+require "rspec"
Please sign in to comment.
Something went wrong with that request. Please try again.