Permalink
Browse files

followed bundler gem's recommendations

  • Loading branch information...
1 parent 25df52c commit 0f4e7de7053655b9711c0331cb0594cf8a794bae @nevans committed Jan 10, 2011
Showing with 21 additions and 8 deletions.
  1. +2 −1 .gitignore
  2. +2 −2 Gemfile
  3. +2 −1 Gemfile.lock
  4. +2 −1 Rakefile
  5. +5 −0 lib/resque/pool/version.rb
  6. +8 −3 resque-pool.gemspec
View
3 .gitignore
@@ -1,2 +1,3 @@
-.bundle
+pkg/*
*.gem
+.bundle
View
4 Gemfile
@@ -1,4 +1,4 @@
-source :rubygems
+source "http://rubygems.org"
-gem "rake"
+# Specify your gem's dependencies in resque-pool.gemspec
gemspec
View
3 Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- resque-pool (0.0.9.dev)
+ resque-pool (0.0.11.dev)
resque (~> 1.10)
GEM
@@ -28,6 +28,7 @@ PLATFORMS
ruby
DEPENDENCIES
+ bundler (~> 1.0)
rake
resque (~> 1.10)
resque-pool!
View
3 Rakefile
@@ -1,2 +1,3 @@
-$LOAD_PATH << File.expand_path("lib", File.dirname(__FILE__))
+require 'bundler'
+Bundler::GemHelper.install_tasks
require 'resque/pool/tasks'
View
5 lib/resque/pool/version.rb
@@ -0,0 +1,5 @@
+module Resque
+ class Pool
+ VERSION = "0.0.11.dev"
+ end
+end
View
11 resque-pool.gemspec
@@ -1,8 +1,10 @@
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "resque/pool/version"
Gem::Specification.new do |s|
s.name = "resque-pool"
- s.version = '0.0.11.dev'
+ s.version = Resque::Pool::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["nicholas a. evans",]
s.email = ["nick@ekenosen.net"]
@@ -14,9 +16,12 @@ Gem::Specification.new do |s|
EOF
s.add_dependency "resque", "~> 1.10"
+ s.add_development_dependency "rake"
s.add_development_dependency "rspec"
s.add_development_dependency "bundler", "~> 1.0"
- s.files = Dir.glob("lib/**/*") +%w[README.md]
- s.require_path = 'lib'
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
end

0 comments on commit 0f4e7de

Please sign in to comment.