Permalink
Browse files

Moved gem configuration from the Gemfile to the gemspec, as per the `…

…bundle gem` design.
  • Loading branch information...
1 parent 310f7b3 commit 0b00fd17137bb2ad525c1428ca7a6a508fd67882 @benhoskings benhoskings committed Feb 25, 2011
Showing with 18 additions and 8 deletions.
  1. +2 −7 Gemfile
  2. +6 −0 Gemfile.lock
  3. +1 −1 Rakefile
  4. +3 −0 lib/machinist/version.rb
  5. +6 −0 machinist.gemspec
View
@@ -1,7 +1,2 @@
-source :gemcutter
-
-gem "activerecord"
-gem "mysql"
-gem "rake"
-gem "rcov"
-gem "rspec", ">= 2.0.0.beta.12"
+source "http://rubygems.org"
+gemspec
View
@@ -1,3 +1,8 @@
+PATH
+ remote: .
+ specs:
+ machinist (2.0.0.beta2)
+
GEM
remote: http://rubygems.org/
specs:
@@ -33,6 +38,7 @@ PLATFORMS
DEPENDENCIES
activerecord
+ machinist!
mysql
rake
rcov
View
@@ -1,6 +1,6 @@
require 'rubygems'
require 'bundler'
-Bundler.setup
+Bundler::GemHelper.install_tasks
require 'rake'
require 'rspec/core/rake_task'
@@ -0,0 +1,3 @@
+module Machinist
+ VERSION = "2.0.0.beta2"
+end
View
@@ -17,4 +17,10 @@ Gem::Specification.new do |s|
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"]
+
+ s.add_development_dependency "activerecord"
+ s.add_development_dependency "mysql"
+ s.add_development_dependency "rake"
+ s.add_development_dependency "rcov"
+ s.add_development_dependency "rspec", ">= 2.0.0.beta.12"
end

0 comments on commit 0b00fd1

Please sign in to comment.