wagons 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTg0ZDk4Y2Q1NDMzZDkwYzRmZmI1MThlZjdjNDIwZjU4ZGQxZWZiMA==
4
+ ZDE3ODViY2QwNDc1NzRlYzIyOWU1OTI1NDE5YzZlMGU0YTIxMDY4Nw==
5
5
  data.tar.gz: !binary |-
6
- OTM2ODY5MDJmMzg1NzdkM2MxNDE4MDE2MWI2YTY3NmY5Y2JiMDc5Mw==
6
+ NDk2MzgzNzIxNWZkYzJmMDYyNjQ0MjBjNTQ2YjZiYTlkOWE3YzdhYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTBlZDhkOTAzNDQxOWNjMGMwOWYzMTU4ODZkZDQ5NjczMTE1NGNmMzk0MTA0
10
- Y2ZiNDY1ODcxMzgyNTI5Y2M1NjNkMmI4Zjg2Nzc2YTU2OWM5NWY0MDNkOGE2
11
- ZTZhYWYzMjAyMjVmMjM1Y2I4MzAwZjIxMGIxMDZhNzA4MDBkN2M=
9
+ OTE5OTA1OTBjMDBjMWMxMzI5OTlkNjcxZjlmYmM2ZDNjMmEzZjFiNDZhNDkz
10
+ OWUyZDE3YjhjZWFiZWRjNzFkOTA4Y2VkZjU2NzY5MWY3ZTBhZWQ4MjU0OGFj
11
+ ODVkZjE2YmNhOTQ5Y2NiM2JmMDg5Mzg1NmMyM2RlMjNlOGMyZDY=
12
12
  data.tar.gz: !binary |-
13
- OTNiODA1NzRkZTEwMWZkZjRiMDZlMjkwNDgwZDQ0OTU5OTUwZTY1MmE2YWM5
14
- ZGFhYjYzOWY5OWU0NjEwNmYyMTMzNzE5MDg5MWQ5MTc5MTY4MDMzNTQyMzc0
15
- MTk2MzA0ZGQ0MmU3MWUxMTcwMzg0MGE3YjY2MDk2ZDczMmQ3MjY=
13
+ YjBhYTFjNmQyYWFhZTQyOGEzYWU2OTJjNTYzMWEzODIwM2Q1MGI0ZWEzYzQ2
14
+ MDAyZDcwYjdkZmFiNGUzMDUzOGNjYmE2ZTZhNzcxOGVlMjVkYWYwMWVhMmJl
15
+ YmQyZTMzYTljYmExMzY1NDk5NjhmN2I3Y2UwNWY1NDE5NmM5NzI=
data/Rakefile CHANGED
@@ -30,15 +30,28 @@ Rake::TestTask.new(:test) do |test|
30
30
  test.verbose = true
31
31
  end
32
32
 
33
- task :test do
33
+ task :test => :set_rails_version do
34
+ def in_dummy(command)
35
+ version = "RAILS_VERSION=\"#{ENV['RAILS_VERSION']}\" " if ENV['RAILS_VERSION']
36
+ Bundler.with_clean_env { sh "cd test/dummy && #{version}#{command}" }
37
+ end
38
+
34
39
  begin
35
- Bundler.with_clean_env { sh 'cd test/dummy && rails g wagon test_wagon' }
36
- Bundler.with_clean_env { sh 'cd test/dummy && bundle exec rake wagon:bundle:update' }
37
- Bundler.with_clean_env { sh "cd test/dummy && bundle exec rake db:migrate test #{'-t' if Rake.application.options.trace}" }
38
- Bundler.with_clean_env { sh "cd test/dummy && bundle exec rake wagon:test #{'-t' if Rake.application.options.trace}" }
40
+ in_dummy 'rm -rf Gemfile.lock'
41
+ in_dummy 'rails g wagon test_wagon'
42
+ in_dummy 'bundle exec rake wagon:bundle:update'
43
+ in_dummy "bundle exec rake db:migrate test #{'-t' if Rake.application.options.trace}"
44
+ in_dummy "bundle exec rake wagon:test #{'-t' if Rake.application.options.trace}"
39
45
  ensure
40
46
  sh 'rm -rf test/dummy/vendor/wagons/test_wagon'
41
47
  end
42
48
  end
43
49
 
50
+ task :set_rails_version do
51
+ if ENV['BUNDLE_GEMFILE']
52
+ version = File.read(ENV['BUNDLE_GEMFILE'])[/gem\s*'rails',\s*'(.*)'/, 1]
53
+ ENV['RAILS_VERSION'] = version
54
+ end
55
+ end
56
+
44
57
  task default: :test
@@ -0,0 +1,52 @@
1
+ module ActiveRecord
2
+ class Migration
3
+ class << self
4
+
5
+ # Extend maintain_test_schema! to include migrations of the current wagon to test
6
+ # or to make sure no wagon migrations are loaded when testing the main application.
7
+ def maintain_test_schema_with_wagons!
8
+ if Base.maintain_test_schema
9
+ # set migrations paths to core only, wagon migrations are loaded separately
10
+ Migrator.migrations_paths = Rails.application.paths['db/migrate'].to_a
11
+ if app_needs_migration?
12
+ suppress_messages { load_wagon_schema! }
13
+ end
14
+ end
15
+ end
16
+ alias_method_chain :maintain_test_schema!, :wagons
17
+
18
+ private
19
+
20
+ def load_wagon_schema!
21
+ config = Base.configurations['test']
22
+ # Contrary to the original rails approach (#load_schema_if_pending!),
23
+ # purge the database first to get rid of all wagon tables.
24
+ Tasks::DatabaseTasks.purge(config)
25
+
26
+ Base.establish_connection(config)
27
+ Tasks::DatabaseTasks.load_schema
28
+ check_pending!
29
+
30
+ Wagons.current_wagon.prepare_test_db if Wagons.current_wagon
31
+ end
32
+
33
+ def app_needs_migration?
34
+ Wagons.current_wagon ||
35
+ defined_app_migration_versions != migration_versions_in_db
36
+ end
37
+
38
+ def defined_app_migration_versions
39
+ Migrator.migrations(Migrator.migrations_paths).collect(&:version).to_set
40
+ end
41
+
42
+ def migration_versions_in_db
43
+ if Base.connection.table_exists?(SchemaMigration.table_name)
44
+ Migrator.get_all_versions.to_set
45
+ else
46
+ [].to_set
47
+ end
48
+ end
49
+
50
+ end
51
+ end
52
+ end
@@ -1,3 +1,3 @@
1
1
  module Wagons
2
- VERSION = '0.3.1'
2
+ VERSION = '0.4.0'
3
3
  end
data/lib/wagons/wagon.rb CHANGED
@@ -84,6 +84,20 @@ module Wagons
84
84
  end
85
85
  end
86
86
 
87
+ # Loads the migrations and seeds of this wagon and its dependencies.
88
+ def prepare_test_db
89
+ depts = all_dependencies + [self]
90
+
91
+ # migrate
92
+ depts.each { |d| d.migrate }
93
+
94
+ # seed
95
+ SeedFu.quiet = true unless ENV['VERBOSE']
96
+ SeedFu.seed([ Rails.root.join('db/fixtures').to_s,
97
+ Rails.root.join('db/fixtures/test').to_s ])
98
+ depts.each { |d| d.load_seed }
99
+ end
100
+
87
101
  # The version requirement for the main application.
88
102
  def app_requirement
89
103
  self.class.app_requirement
@@ -32,10 +32,6 @@ def find_engine_path(path)
32
32
  end
33
33
  end
34
34
 
35
- def wagon
36
- @wagon ||= Rails::Engine.find(ENGINE_PATH)
37
- end
38
-
39
35
 
40
36
  Rake::TestTask.new(:test) do |t|
41
37
  t.libs << 'lib'
@@ -43,7 +39,6 @@ Rake::TestTask.new(:test) do |t|
43
39
  t.pattern = 'test/**/*_test.rb'
44
40
  t.verbose = false
45
41
  end
46
- task :test => [:'app:db:test:prepare']
47
42
 
48
43
  RDoc::Task.new(:rdoc) do |rdoc|
49
44
  rdoc.rdoc_dir = 'doc/rdoc'
@@ -72,22 +67,22 @@ end
72
67
  namespace :db do
73
68
  desc "Migrate the database (options: VERSION=x, VERBOSE=false)."
74
69
  task :migrate => [:load_app, 'app:environment', 'app:db:load_config'] do
75
- wagon.migrate
70
+ Wagons.current_wagon.migrate
76
71
  end
77
72
 
78
73
  desc "Revert the database (options: VERSION=x, VERBOSE=false)."
79
74
  task :revert => [:load_app, 'app:environment', 'app:db:load_config'] do
80
- wagon.revert
75
+ Wagons.current_wagon.revert
81
76
  end
82
77
 
83
78
  desc "Load the seed data"
84
79
  task "seed" => [:load_app, 'app:db:abort_if_pending_migrations'] do
85
- wagon.load_seed
80
+ Wagons.current_wagon.load_seed
86
81
  end
87
82
 
88
83
  desc "Unload the seed data"
89
84
  task "unseed" => [:load_app, 'app:db:abort_if_pending_migrations'] do
90
- wagon.unload_seed
85
+ Wagons.current_wagon.unload_seed
91
86
  end
92
87
 
93
88
  desc "Run migrations and seed data (use db:reset to also revert the db first)"
@@ -105,39 +100,33 @@ end
105
100
 
106
101
  Rake.application.invoke_task(:load_app)
107
102
 
103
+ if ::Rails::VERSION::STRING < '4.1'
104
+ task :test => [:'app:db:test:prepare']
108
105
 
109
- namespace :app do
110
- namespace :db do
111
- task :load_config do
112
- # set migrations paths to core only to have db:test:prepare work as desired
113
- ActiveRecord::Migrator.migrations_paths = Rails.application.paths['db/migrate'].to_a
114
- end
115
-
116
- namespace :test do
117
- # for sqlite, make sure to delete the test.sqlite3 from the main application
118
- task :purge do
119
- abcs = ActiveRecord::Base.configurations
120
- case abcs['test']['adapter']
121
- when /sqlite/
122
- dbfile = Rails.application.root.join(abcs['test']['database'])
123
- File.delete(dbfile) if File.exist?(dbfile)
124
- end
106
+ namespace :app do
107
+ namespace :db do
108
+ task :load_config do
109
+ # set migrations paths to core only to have db:test:prepare work as desired
110
+ ActiveRecord::Migrator.migrations_paths = Rails.application.paths['db/migrate'].to_a
125
111
  end
126
112
 
127
- # run wagon migrations and load seed data.
128
- # append this to the regular app:db:test:prepare task.
129
- task :prepare do
130
- Rails.env = 'test'
131
- dependencies = (wagon.all_dependencies + [wagon])
132
-
133
- # migrate
134
- dependencies.each { |d| d.migrate }
113
+ namespace :test do
114
+ # for sqlite, make sure to delete the test.sqlite3 from the main application
115
+ task :purge do
116
+ abcs = ActiveRecord::Base.configurations
117
+ case abcs['test']['adapter']
118
+ when /sqlite/
119
+ dbfile = Rails.application.root.join(abcs['test']['database'])
120
+ File.delete(dbfile) if File.exist?(dbfile)
121
+ end
122
+ end
135
123
 
136
- # seed
137
- SeedFu.quiet = true unless ENV['VERBOSE']
138
- SeedFu.seed([ Rails.root.join('db/fixtures').to_s,
139
- Rails.root.join('db/fixtures/test').to_s ])
140
- dependencies.each { |d| d.load_seed }
124
+ # run wagon migrations and load seed data.
125
+ # append this to the regular app:db:test:prepare task.
126
+ task :prepare do
127
+ Rails.env = 'test'
128
+ Wagons.current_wagon.prepare_test_db
129
+ end
141
130
  end
142
131
  end
143
132
  end
data/lib/wagons.rb CHANGED
@@ -9,6 +9,9 @@ require 'wagons/version'
9
9
  require 'wagons/extensions/application'
10
10
  require 'wagons/extensions/require_optional'
11
11
  require 'wagons/extensions/test_case'
12
+ if ::Rails::VERSION::STRING >= '4.1'
13
+ require 'wagons/extensions/migration'
14
+ end
12
15
 
13
16
  # Utility class to find single wagons and provide additional information
14
17
  # about the main application.
@@ -49,4 +52,19 @@ module Wagons
49
52
  def self.app_version=(version)
50
53
  @app_version = version.is_a?(Gem::Version) ? version : Gem::Version.new(version)
51
54
  end
55
+
56
+ # Returns the wagon that is currently executing a rake task or tests.
57
+ def self.current_wagon
58
+ @current_wagon ||= find_wagon(ENV['BUNDLE_GEMFILE'])
59
+ end
60
+
61
+ private
62
+
63
+ def self.find_wagon(path)
64
+ return if path.blank? || path == "/"
65
+
66
+ wagon = Rails::Engine.find(path)
67
+ return wagon if wagon
68
+ find_wagon(File.expand_path('..', path))
69
+ end
52
70
  end
@@ -0,0 +1,11 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec :path => '../..'
4
+
5
+ gem 'rails', '~> 3.2.0'
6
+
7
+ gem 'seed-fu-ndo', '>= 0.0.2'
8
+
9
+ group :test do
10
+ gem 'mocha', :require => false
11
+ end
@@ -0,0 +1,108 @@
1
+ PATH
2
+ remote: ../..
3
+ specs:
4
+ wagons (0.3.1)
5
+ bundler (>= 1.1)
6
+ rails (>= 3.2)
7
+ seed-fu-ndo (>= 0.0.2)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actionmailer (3.2.16)
13
+ actionpack (= 3.2.16)
14
+ mail (~> 2.5.4)
15
+ actionpack (3.2.16)
16
+ activemodel (= 3.2.16)
17
+ activesupport (= 3.2.16)
18
+ builder (~> 3.0.0)
19
+ erubis (~> 2.7.0)
20
+ journey (~> 1.0.4)
21
+ rack (~> 1.4.5)
22
+ rack-cache (~> 1.2)
23
+ rack-test (~> 0.6.1)
24
+ sprockets (~> 2.2.1)
25
+ activemodel (3.2.16)
26
+ activesupport (= 3.2.16)
27
+ builder (~> 3.0.0)
28
+ activerecord (3.2.16)
29
+ activemodel (= 3.2.16)
30
+ activesupport (= 3.2.16)
31
+ arel (~> 3.0.2)
32
+ tzinfo (~> 0.3.29)
33
+ activeresource (3.2.16)
34
+ activemodel (= 3.2.16)
35
+ activesupport (= 3.2.16)
36
+ activesupport (3.2.16)
37
+ i18n (~> 0.6, >= 0.6.4)
38
+ multi_json (~> 1.0)
39
+ arel (3.0.3)
40
+ builder (3.0.4)
41
+ erubis (2.7.0)
42
+ hike (1.2.3)
43
+ i18n (0.6.11)
44
+ journey (1.0.4)
45
+ json (1.8.1)
46
+ mail (2.5.4)
47
+ mime-types (~> 1.16)
48
+ treetop (~> 1.4.8)
49
+ metaclass (0.0.4)
50
+ mime-types (1.25.1)
51
+ mocha (1.1.0)
52
+ metaclass (~> 0.0.1)
53
+ multi_json (1.10.1)
54
+ open4 (1.3.4)
55
+ polyglot (0.3.5)
56
+ rack (1.4.5)
57
+ rack-cache (1.2)
58
+ rack (>= 0.4)
59
+ rack-ssl (1.3.3)
60
+ rack
61
+ rack-test (0.6.2)
62
+ rack (>= 1.0)
63
+ rails (3.2.16)
64
+ actionmailer (= 3.2.16)
65
+ actionpack (= 3.2.16)
66
+ activerecord (= 3.2.16)
67
+ activeresource (= 3.2.16)
68
+ activesupport (= 3.2.16)
69
+ bundler (~> 1.0)
70
+ railties (= 3.2.16)
71
+ railties (3.2.16)
72
+ actionpack (= 3.2.16)
73
+ activesupport (= 3.2.16)
74
+ rack-ssl (~> 1.3.2)
75
+ rake (>= 0.8.7)
76
+ rdoc (~> 3.4)
77
+ thor (>= 0.14.6, < 2.0)
78
+ rake (10.3.2)
79
+ rdoc (3.12.2)
80
+ json (~> 1.4)
81
+ seed-fu (2.3.3)
82
+ activerecord (>= 3.1, < 4.2)
83
+ activesupport (>= 3.1, < 4.2)
84
+ seed-fu-ndo (0.0.2)
85
+ seed-fu (>= 2.2.0)
86
+ sprockets (2.2.2)
87
+ hike (~> 1.2)
88
+ multi_json (~> 1.0)
89
+ rack (~> 1.0)
90
+ tilt (~> 1.1, != 1.3.0)
91
+ sqlite3 (1.3.9)
92
+ thor (0.19.1)
93
+ tilt (1.4.1)
94
+ treetop (1.4.15)
95
+ polyglot
96
+ polyglot (>= 0.3.1)
97
+ tzinfo (0.3.41)
98
+
99
+ PLATFORMS
100
+ ruby
101
+
102
+ DEPENDENCIES
103
+ mocha
104
+ open4
105
+ rails (~> 3.2.0)
106
+ seed-fu-ndo (>= 0.0.2)
107
+ sqlite3
108
+ wagons!
@@ -0,0 +1,11 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec :path => '../..'
4
+
5
+ gem 'rails', '~> 4.0.0'
6
+
7
+ gem 'seed-fu-ndo', '>= 0.0.2'
8
+
9
+ group :test do
10
+ gem 'mocha', :require => false
11
+ end
@@ -0,0 +1,101 @@
1
+ PATH
2
+ remote: ../..
3
+ specs:
4
+ wagons (0.3.1)
5
+ bundler (>= 1.1)
6
+ rails (>= 3.2)
7
+ seed-fu-ndo (>= 0.0.2)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actionmailer (4.0.9)
13
+ actionpack (= 4.0.9)
14
+ mail (~> 2.5.4)
15
+ actionpack (4.0.9)
16
+ activesupport (= 4.0.9)
17
+ builder (~> 3.1.0)
18
+ erubis (~> 2.7.0)
19
+ rack (~> 1.5.2)
20
+ rack-test (~> 0.6.2)
21
+ activemodel (4.0.9)
22
+ activesupport (= 4.0.9)
23
+ builder (~> 3.1.0)
24
+ activerecord (4.0.9)
25
+ activemodel (= 4.0.9)
26
+ activerecord-deprecated_finders (~> 1.0.2)
27
+ activesupport (= 4.0.9)
28
+ arel (~> 4.0.0)
29
+ activerecord-deprecated_finders (1.0.3)
30
+ activesupport (4.0.9)
31
+ i18n (~> 0.6, >= 0.6.9)
32
+ minitest (~> 4.2)
33
+ multi_json (~> 1.3)
34
+ thread_safe (~> 0.1)
35
+ tzinfo (~> 0.3.37)
36
+ arel (4.0.2)
37
+ builder (3.1.4)
38
+ erubis (2.7.0)
39
+ hike (1.2.3)
40
+ i18n (0.6.11)
41
+ mail (2.5.4)
42
+ mime-types (~> 1.16)
43
+ treetop (~> 1.4.8)
44
+ metaclass (0.0.4)
45
+ mime-types (1.25.1)
46
+ minitest (4.7.5)
47
+ mocha (1.1.0)
48
+ metaclass (~> 0.0.1)
49
+ multi_json (1.10.1)
50
+ open4 (1.3.4)
51
+ polyglot (0.3.5)
52
+ rack (1.5.2)
53
+ rack-test (0.6.2)
54
+ rack (>= 1.0)
55
+ rails (4.0.9)
56
+ actionmailer (= 4.0.9)
57
+ actionpack (= 4.0.9)
58
+ activerecord (= 4.0.9)
59
+ activesupport (= 4.0.9)
60
+ bundler (>= 1.3.0, < 2.0)
61
+ railties (= 4.0.9)
62
+ sprockets-rails (~> 2.0)
63
+ railties (4.0.9)
64
+ actionpack (= 4.0.9)
65
+ activesupport (= 4.0.9)
66
+ rake (>= 0.8.7)
67
+ thor (>= 0.18.1, < 2.0)
68
+ rake (10.3.2)
69
+ seed-fu (2.3.3)
70
+ activerecord (>= 3.1, < 4.2)
71
+ activesupport (>= 3.1, < 4.2)
72
+ seed-fu-ndo (0.0.2)
73
+ seed-fu (>= 2.2.0)
74
+ sprockets (2.12.2)
75
+ hike (~> 1.2)
76
+ multi_json (~> 1.0)
77
+ rack (~> 1.0)
78
+ tilt (~> 1.1, != 1.3.0)
79
+ sprockets-rails (2.1.4)
80
+ actionpack (>= 3.0)
81
+ activesupport (>= 3.0)
82
+ sprockets (~> 2.8)
83
+ sqlite3 (1.3.9)
84
+ thor (0.19.1)
85
+ thread_safe (0.3.4)
86
+ tilt (1.4.1)
87
+ treetop (1.4.15)
88
+ polyglot
89
+ polyglot (>= 0.3.1)
90
+ tzinfo (0.3.41)
91
+
92
+ PLATFORMS
93
+ ruby
94
+
95
+ DEPENDENCIES
96
+ mocha
97
+ open4
98
+ rails (~> 4.0.0)
99
+ seed-fu-ndo (>= 0.0.2)
100
+ sqlite3
101
+ wagons!
data/test/dummy/Gemfile CHANGED
@@ -1,5 +1,7 @@
1
1
  source "https://rubygems.org"
2
2
 
3
+ gem 'rails', ENV['RAILS_VERSION']
4
+
3
5
  gem 'wagons', :path => File.expand_path(__FILE__).split("test#{File::SEPARATOR}dummy").first
4
6
 
5
7
  group :development, :test do
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /home/pzumkehr/src/ruby/wagons
3
3
  specs:
4
- wagons (0.2.2)
4
+ wagons (0.3.1)
5
5
  bundler (>= 1.1)
6
6
  rails (>= 3.2)
7
7
  seed-fu-ndo (>= 0.0.2)
@@ -19,86 +19,90 @@ PATH
19
19
  GEM
20
20
  remote: https://rubygems.org/
21
21
  specs:
22
- actionmailer (4.0.3)
23
- actionpack (= 4.0.3)
22
+ actionmailer (4.1.5)
23
+ actionpack (= 4.1.5)
24
+ actionview (= 4.1.5)
24
25
  mail (~> 2.5.4)
25
- actionpack (4.0.3)
26
- activesupport (= 4.0.3)
27
- builder (~> 3.1.0)
28
- erubis (~> 2.7.0)
26
+ actionpack (4.1.5)
27
+ actionview (= 4.1.5)
28
+ activesupport (= 4.1.5)
29
29
  rack (~> 1.5.2)
30
30
  rack-test (~> 0.6.2)
31
- activemodel (4.0.3)
32
- activesupport (= 4.0.3)
33
- builder (~> 3.1.0)
34
- activerecord (4.0.3)
35
- activemodel (= 4.0.3)
36
- activerecord-deprecated_finders (~> 1.0.2)
37
- activesupport (= 4.0.3)
38
- arel (~> 4.0.0)
39
- activerecord-deprecated_finders (1.0.3)
40
- activesupport (4.0.3)
41
- i18n (~> 0.6, >= 0.6.4)
42
- minitest (~> 4.2)
43
- multi_json (~> 1.3)
31
+ actionview (4.1.5)
32
+ activesupport (= 4.1.5)
33
+ builder (~> 3.1)
34
+ erubis (~> 2.7.0)
35
+ activemodel (4.1.5)
36
+ activesupport (= 4.1.5)
37
+ builder (~> 3.1)
38
+ activerecord (4.1.5)
39
+ activemodel (= 4.1.5)
40
+ activesupport (= 4.1.5)
41
+ arel (~> 5.0.0)
42
+ activesupport (4.1.5)
43
+ i18n (~> 0.6, >= 0.6.9)
44
+ json (~> 1.7, >= 1.7.7)
45
+ minitest (~> 5.1)
44
46
  thread_safe (~> 0.1)
45
- tzinfo (~> 0.3.37)
46
- arel (4.0.2)
47
- atomic (1.1.15)
48
- builder (3.1.4)
47
+ tzinfo (~> 1.1)
48
+ arel (5.0.1.20140414130214)
49
+ builder (3.2.2)
49
50
  erubis (2.7.0)
50
51
  hike (1.2.3)
51
- i18n (0.6.9)
52
+ i18n (0.6.11)
53
+ json (1.8.1)
52
54
  mail (2.5.4)
53
55
  mime-types (~> 1.16)
54
56
  treetop (~> 1.4.8)
55
- metaclass (0.0.1)
57
+ metaclass (0.0.4)
56
58
  mime-types (1.25.1)
57
- minitest (4.7.5)
58
- mocha (0.14.0)
59
+ minitest (5.4.1)
60
+ mocha (1.1.0)
59
61
  metaclass (~> 0.0.1)
60
- multi_json (1.8.4)
61
- polyglot (0.3.4)
62
+ multi_json (1.10.1)
63
+ polyglot (0.3.5)
62
64
  rack (1.5.2)
63
65
  rack-test (0.6.2)
64
66
  rack (>= 1.0)
65
- rails (4.0.3)
66
- actionmailer (= 4.0.3)
67
- actionpack (= 4.0.3)
68
- activerecord (= 4.0.3)
69
- activesupport (= 4.0.3)
67
+ rails (4.1.5)
68
+ actionmailer (= 4.1.5)
69
+ actionpack (= 4.1.5)
70
+ actionview (= 4.1.5)
71
+ activemodel (= 4.1.5)
72
+ activerecord (= 4.1.5)
73
+ activesupport (= 4.1.5)
70
74
  bundler (>= 1.3.0, < 2.0)
71
- railties (= 4.0.3)
72
- sprockets-rails (~> 2.0.0)
73
- railties (4.0.3)
74
- actionpack (= 4.0.3)
75
- activesupport (= 4.0.3)
75
+ railties (= 4.1.5)
76
+ sprockets-rails (~> 2.0)
77
+ railties (4.1.5)
78
+ actionpack (= 4.1.5)
79
+ activesupport (= 4.1.5)
76
80
  rake (>= 0.8.7)
77
81
  thor (>= 0.18.1, < 2.0)
78
- rake (10.1.1)
79
- seed-fu (2.3.0)
80
- activerecord (>= 3.1, < 4.1)
81
- activesupport (>= 3.1, < 4.1)
82
+ rake (10.3.2)
83
+ seed-fu (2.3.3)
84
+ activerecord (>= 3.1, < 4.2)
85
+ activesupport (>= 3.1, < 4.2)
82
86
  seed-fu-ndo (0.0.2)
83
87
  seed-fu (>= 2.2.0)
84
- sprockets (2.11.0)
88
+ sprockets (2.12.2)
85
89
  hike (~> 1.2)
86
90
  multi_json (~> 1.0)
87
91
  rack (~> 1.0)
88
92
  tilt (~> 1.1, != 1.3.0)
89
- sprockets-rails (2.0.1)
93
+ sprockets-rails (2.1.4)
90
94
  actionpack (>= 3.0)
91
95
  activesupport (>= 3.0)
92
96
  sprockets (~> 2.8)
93
- sqlite3 (1.3.7)
94
- thor (0.18.1)
95
- thread_safe (0.2.0)
96
- atomic (>= 1.1.7, < 2)
97
+ sqlite3 (1.3.9)
98
+ thor (0.19.1)
99
+ thread_safe (0.3.4)
97
100
  tilt (1.4.1)
98
101
  treetop (1.4.15)
99
102
  polyglot
100
103
  polyglot (>= 0.3.1)
101
- tzinfo (0.3.38)
104
+ tzinfo (1.2.2)
105
+ thread_safe (~> 0.1)
102
106
 
103
107
  PLATFORMS
104
108
  ruby
@@ -107,5 +111,6 @@ DEPENDENCIES
107
111
  dummy_superliner!
108
112
  dummy_test_wagon!
109
113
  mocha
114
+ rails
110
115
  sqlite3
111
116
  wagons!
Binary file
Binary file