Permalink
Browse files

Added a Gemfile (using gemspec) to make developing easier

  • Loading branch information...
1 parent dcc056c commit 2d6e1ddebeb7b9962d4e80dc77a9153cd397c336 @mloughran mloughran committed Oct 7, 2010
Showing with 54 additions and 1 deletion.
  1. +1 −0 Gemfile
  2. +38 −0 Gemfile.lock
  3. +8 −0 README.md
  4. +1 −0 Rakefile
  5. +6 −1 pusher.gemspec
View
@@ -0,0 +1 @@
+gemspec
View
@@ -0,0 +1,38 @@
+PATH
+ remote: .
+ specs:
+ pusher (0.6.0)
+ crack
+ json
+ ruby-hmac
+ signature
+
+GEM
+ specs:
+ addressable (2.2.1)
+ crack (0.1.8)
+ em-http-request (0.2.7)
+ addressable (>= 2.0.0)
+ eventmachine (>= 0.12.9)
+ eventmachine (0.12.10)
+ json (1.4.6)
+ rspec (1.3.0)
+ ruby-hmac (0.4.0)
+ signature (0.1.1)
+ ruby-hmac
+ webmock (1.3.0)
+ addressable (>= 2.1.1)
+ crack (>= 0.1.7)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ crack
+ em-http-request (= 0.2.7)
+ json
+ pusher!
+ rspec (>= 1.2.9)
+ ruby-hmac
+ signature
+ webmock
View
@@ -47,6 +47,14 @@ The Pusher Gem also deals with signing requests for authenticated private channe
Read more about private channels in [the docs](http://pusherapp.com/docs/private_channels).
+Developing
+----------
+
+Use bundler in order to run specs with the correct dependencies.
+
+ bundle
+ bundle exec spec spec/*_spec.rb
+
Copyright
---------
View
@@ -18,6 +18,7 @@ begin
# gem.add_dependency 'em-http-request', ">= 0.2.7"
gem.add_development_dependency "rspec", ">= 1.2.9"
gem.add_development_dependency "webmock"
+ gem.add_development_dependency "em-http-request", '0.2.7'
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
View
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["New Bamboo"]
- s.date = %q{2010-08-09}
+ s.date = %q{2010-10-07}
s.description = %q{Wrapper for pusherapp.com REST api}
s.email = %q{support@pusherapp.com}
s.extra_rdoc_files = [
@@ -19,6 +19,8 @@ Gem::Specification.new do |s|
s.files = [
".document",
".gitignore",
+ "Gemfile",
+ "Gemfile.lock",
"LICENSE",
"README.md",
"Rakefile",
@@ -55,13 +57,15 @@ Gem::Specification.new do |s|
s.add_runtime_dependency(%q<signature>, [">= 0"])
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
s.add_development_dependency(%q<webmock>, [">= 0"])
+ s.add_development_dependency(%q<em-http-request>, ["= 0.2.7"])
else
s.add_dependency(%q<json>, [">= 0"])
s.add_dependency(%q<crack>, [">= 0"])
s.add_dependency(%q<ruby-hmac>, [">= 0"])
s.add_dependency(%q<signature>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 1.2.9"])
s.add_dependency(%q<webmock>, [">= 0"])
+ s.add_dependency(%q<em-http-request>, ["= 0.2.7"])
end
else
s.add_dependency(%q<json>, [">= 0"])
@@ -70,6 +74,7 @@ Gem::Specification.new do |s|
s.add_dependency(%q<signature>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 1.2.9"])
s.add_dependency(%q<webmock>, [">= 0"])
+ s.add_dependency(%q<em-http-request>, ["= 0.2.7"])
end
end

0 comments on commit 2d6e1dd

Please sign in to comment.