Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…bundle gem` design.
  • Loading branch information...
commit 0b00fd17137bb2ad525c1428ca7a6a508fd67882 1 parent 310f7b3
@benhoskings benhoskings authored
View
9 Gemfile
@@ -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
6 Gemfile.lock
@@ -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
2  Rakefile
@@ -1,6 +1,6 @@
require 'rubygems'
require 'bundler'
-Bundler.setup
+Bundler::GemHelper.install_tasks
require 'rake'
require 'rspec/core/rake_task'
View
3  lib/machinist/version.rb
@@ -0,0 +1,3 @@
+module Machinist
+ VERSION = "2.0.0.beta2"
+end
View
6 machinist.gemspec
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.