Skip to content
Browse files

adding dependency on railties

So we can rely either on original activerecord tasks inside the db:
namespace, and the generators provided by the very own Rails
through the railties gem. This way the standalone_migrations don't
need to provide code to generate migration files, this will be
handle by the `rails generator` command. The code base and
responsibilities of standalone_migrations could be even more
focused on features and concerns of users who need the rake db
tasks (and even activerecord) outside the rails lands.
  • Loading branch information...
1 parent 59c4fae commit a1d3898617c207024fdeaac6190acb502b2a9698 @ricardovaleriano ricardovaleriano committed Sep 29, 2012
Showing with 54 additions and 16 deletions.
  1. +2 −1 Gemfile
  2. +52 −15 Gemfile.lock
View
3 Gemfile
@@ -1,7 +1,8 @@
source :rubygems
gem 'rake'
-gem 'activerecord', ENV['AR'] || '>=3'
+gem 'activerecord', ENV['AR'] || '~>3.2.6'
+gem 'railties', ENV['AR'] || '~>3.2.6'
group :dev do
gem 'sqlite3'
View
67 Gemfile.lock
@@ -1,28 +1,58 @@
GEM
remote: http://rubygems.org/
specs:
- activemodel (3.1.1)
- activesupport (= 3.1.1)
+ actionpack (3.2.8)
+ activemodel (= 3.2.8)
+ activesupport (= 3.2.8)
builder (~> 3.0.0)
- i18n (~> 0.6)
- activerecord (3.1.1)
- activemodel (= 3.1.1)
- activesupport (= 3.1.1)
- arel (~> 2.2.1)
+ erubis (~> 2.7.0)
+ journey (~> 1.0.4)
+ rack (~> 1.4.0)
+ rack-cache (~> 1.2)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.1.3)
+ activemodel (3.2.8)
+ activesupport (= 3.2.8)
+ builder (~> 3.0.0)
+ activerecord (3.2.8)
+ activemodel (= 3.2.8)
+ activesupport (= 3.2.8)
+ arel (~> 3.0.2)
tzinfo (~> 0.3.29)
- activesupport (3.1.1)
+ activesupport (3.2.8)
+ i18n (~> 0.6)
multi_json (~> 1.0)
- arel (2.2.1)
- builder (3.0.0)
+ arel (3.0.2)
+ builder (3.0.3)
diff-lcs (1.1.3)
+ erubis (2.7.0)
git (1.2.5)
- i18n (0.6.0)
+ hike (1.2.1)
+ i18n (0.6.1)
jeweler (1.6.4)
bundler (~> 1.0)
git (>= 1.2.5)
rake
- multi_json (1.0.3)
+ journey (1.0.4)
+ json (1.7.5)
+ multi_json (1.3.6)
+ rack (1.4.1)
+ rack-cache (1.2)
+ rack (>= 0.4)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ railties (3.2.8)
+ actionpack (= 3.2.8)
+ activesupport (= 3.2.8)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (>= 0.14.6, < 2.0)
rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
rspec (2.7.0)
rspec-core (~> 2.7.0)
rspec-expectations (~> 2.7.0)
@@ -31,15 +61,22 @@ GEM
rspec-expectations (2.7.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.7.0)
- sqlite3 (1.3.4)
- tzinfo (0.3.31)
+ sprockets (2.1.3)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sqlite3 (1.3.6)
+ thor (0.16.0)
+ tilt (1.3.3)
+ tzinfo (0.3.33)
PLATFORMS
ruby
DEPENDENCIES
- activerecord (>= 3)
+ activerecord (~> 3.2.6)
jeweler
+ railties (~> 3.2.6)
rake
rspec (~> 2)
sqlite3

0 comments on commit a1d3898

Please sign in to comment.
Something went wrong with that request. Please try again.