migrant 1.5.0 → 2.0.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -29
  3. data/.rspec +2 -0
  4. data/.travis.yml +8 -5
  5. data/Gemfile +3 -4
  6. data/LICENSE.txt +21 -0
  7. data/{README.rdoc → README.md} +57 -57
  8. data/Rakefile +4 -31
  9. data/VERSION +1 -1
  10. data/lib/dsl/data_type.rb +5 -1
  11. data/lib/dsl/data_types/primitives.rb +11 -0
  12. data/lib/generators/templates/change_migration.erb +1 -1
  13. data/lib/generators/templates/create_migration.erb +1 -1
  14. data/lib/generators/templates/create_migration.rb +1 -1
  15. data/lib/migrant/migration_generator.rb +10 -6
  16. data/lib/migrant/model_extensions.rb +1 -1
  17. data/lib/migrant/schema.rb +0 -2
  18. data/lib/railtie.rb +2 -2
  19. data/lib/tasks/db.rake +0 -6
  20. data/migrant.gemspec +30 -31
  21. metadata +63 -193
  22. data/.rvmrc +0 -1
  23. data/LICENSE +0 -20
  24. data/lib/simple_object.rb +0 -13
  25. data/test/additional_models/review.rb +0 -11
  26. data/test/helper.rb +0 -64
  27. data/test/rails_app/.gitignore +0 -4
  28. data/test/rails_app/README +0 -256
  29. data/test/rails_app/Rakefile +0 -7
  30. data/test/rails_app/app/controllers/application_controller.rb +0 -3
  31. data/test/rails_app/app/helpers/application_helper.rb +0 -2
  32. data/test/rails_app/app/models/business.rb +0 -25
  33. data/test/rails_app/app/models/business_category.rb +0 -6
  34. data/test/rails_app/app/models/category.rb +0 -10
  35. data/test/rails_app/app/models/chameleon.rb +0 -5
  36. data/test/rails_app/app/models/customer.rb +0 -9
  37. data/test/rails_app/app/models/non_migrant_model.rb +0 -3
  38. data/test/rails_app/app/models/user.rb +0 -8
  39. data/test/rails_app/app/views/layouts/application.html.erb +0 -14
  40. data/test/rails_app/config.ru +0 -4
  41. data/test/rails_app/config/application.rb +0 -16
  42. data/test/rails_app/config/boot.rb +0 -13
  43. data/test/rails_app/config/database.yml +0 -7
  44. data/test/rails_app/config/environment.rb +0 -5
  45. data/test/rails_app/config/environments/development.rb +0 -26
  46. data/test/rails_app/config/environments/production.rb +0 -49
  47. data/test/rails_app/config/environments/test.rb +0 -35
  48. data/test/rails_app/config/initializers/backtrace_silencers.rb +0 -7
  49. data/test/rails_app/config/initializers/inflections.rb +0 -10
  50. data/test/rails_app/config/initializers/mime_types.rb +0 -5
  51. data/test/rails_app/config/initializers/secret_token.rb +0 -7
  52. data/test/rails_app/config/initializers/session_store.rb +0 -8
  53. data/test/rails_app/config/locales/en.yml +0 -5
  54. data/test/rails_app/config/routes.rb +0 -58
  55. data/test/rails_app/db/seeds.rb +0 -7
  56. data/test/rails_app/lib/tasks/.gitkeep +0 -0
  57. data/test/rails_app/public/404.html +0 -26
  58. data/test/rails_app/public/422.html +0 -26
  59. data/test/rails_app/public/500.html +0 -26
  60. data/test/rails_app/script/rails +0 -6
  61. data/test/rails_app/test/performance/browsing_test.rb +0 -9
  62. data/test/rails_app/test/test_helper.rb +0 -13
  63. data/test/rails_app/vendor/plugins/.gitkeep +0 -0
  64. data/test/test_data_schema.rb +0 -108
  65. data/test/test_migration_generator.rb +0 -251
  66. data/test/test_validations.rb +0 -49
  67. data/test/test_zzz_performance.rb +0 -13
  68. data/test/verified_output/migrations/added_incompatible_spot_and_deleted_spots.rb +0 -11
  69. data/test/verified_output/migrations/business_id.rb +0 -10
  70. data/test/verified_output/migrations/businesses_indexed_name.rb +0 -8
  71. data/test/verified_output/migrations/chameleons_added_new_longer_spots_and_moved_new_spots.rb +0 -15
  72. data/test/verified_output/migrations/create_business_categories.rb +0 -14
  73. data/test/verified_output/migrations/create_businesses.rb +0 -31
  74. data/test/verified_output/migrations/create_categories.rb +0 -13
  75. data/test/verified_output/migrations/create_chameleons.rb +0 -11
  76. data/test/verified_output/migrations/create_reviews.rb +0 -18
  77. data/test/verified_output/migrations/create_users.rb +0 -19
  78. data/test/verified_output/migrations/created_at.rb +0 -11
  79. data/test/verified_output/migrations/deleted_incompatible_spot.rb +0 -9
  80. data/test/verified_output/migrations/deleted_spots.rb +0 -9
  81. data/test/verified_output/migrations/estimated_value_notes.rb +0 -11
  82. data/test/verified_output/migrations/landline.rb +0 -9
  83. data/test/verified_output/migrations/modified_verified.rb +0 -9
  84. data/test/verified_output/migrations/renamed_old_spots.rb +0 -9
@@ -1,4 +1,4 @@
1
- class <%= @activity.camelize.gsub(/\s/, '') %> < ActiveRecord::Migration
1
+ class <%= @activity.camelize.gsub(/\s/, '') %> < ActiveRecord::Migration<%= @class_suffix %>
2
2
  def self.up
3
3
  create_table :<%= @table_name %> do |t|
4
4
  <% @columns.each do |field, options| %>
@@ -1,4 +1,4 @@
1
- class <%= @activity.camelize.gsub(/\s/, '') %> < ActiveRecord::Migration
1
+ class <%= @activity.camelize.gsub(/\s/, '') %> < ActiveRecord::Migration<%= @class_suffix %>
2
2
  def self.up
3
3
  create_table :<%= @table_name %> do |t|
4
4
  <% @columns.each do |field, options| %>
@@ -1,4 +1,4 @@
1
- require 'erubis'
1
+ require 'erubi'
2
2
  require 'term/ansicolor'
3
3
 
4
4
  module Migrant
@@ -11,9 +11,11 @@ module Migrant
11
11
  migrator = (ActiveRecord::Migrator.public_methods.include?(:open))?
12
12
  ActiveRecord::Migrator.open(migrations_path) :
13
13
  ActiveRecord::Migrator.new(:up, migrations_path)
14
+
15
+ @class_suffix = defined?(ActiveRecord::Migration::Compatibility)? "[#{Rails.version[/^\d+\.\d+/]}]" : ''
14
16
 
15
17
  unless migrator.pending_migrations.blank?
16
- log "You have some pending database migrations. You can either:\n1. Run them with rake db:migrate\n2. Delete them, in which case this task will probably recreate their actions (DON'T do this if they've been in SCM).", :error
18
+ log "Aborting as this database has not yet run all the existing migrations.\n\nMost likely you just need to run rake db:migrate instead of rake db:upgrade in this environment.", :error
17
19
  return false
18
20
  end
19
21
 
@@ -24,7 +26,7 @@ module Migrant
24
26
 
25
27
  Dir["#{model_root}**/*.rb"].each do |file|
26
28
  if (model_name = file.sub(model_root, '').match(/(.*)?\.rb$/))
27
- model_name[1].camelize.constantize
29
+ model_name[1].camelize.safe_constantize
28
30
  end
29
31
  end
30
32
 
@@ -128,7 +130,7 @@ module Migrant
128
130
 
129
131
  def change_column(name, new_schema, old_schema)
130
132
  if new_schema[:default] && new_schema[:default].respond_to?(:to_s) && new_schema[:default].to_s.length < 31
131
- change_description = "#{name}_defaulted_to_#{new_schema[:default].to_s.underscore}"
133
+ change_description = "#{name}_defaulted_to_#{new_schema[:default].to_s.underscore.gsub(/\./, '')}"
132
134
  else
133
135
  change_description = name
134
136
  end
@@ -152,7 +154,7 @@ module Migrant
152
154
  end
153
155
 
154
156
  def migrations_path
155
- Rails.root.join(ActiveRecord::Migrator.migrations_path)
157
+ Rails.root.join(ActiveRecord::Migrator.migrations_paths.first)
156
158
  end
157
159
 
158
160
  include Term::ANSIColor
@@ -209,7 +211,9 @@ module Migrant
209
211
  end
210
212
 
211
213
  def render(template_name)
212
- @output = Erubis::Eruby.new(File.read(File.join(File.dirname(__FILE__), "../generators/templates/#{template_name}.erb"))).result(binding)
214
+ template = File.read(File.join(File.dirname(__FILE__), "../generators/templates/#{template_name}.erb"))
215
+ erubi = Erubi::Engine.new(template, :trim => true)
216
+ @output = eval(erubi.src, binding)
213
217
  end
214
218
  end
215
219
  end
@@ -34,7 +34,7 @@ module Migrant
34
34
  end
35
35
  # Set up serialized columns as required
36
36
  @schema.columns.select do |name, column|
37
- if column.serialized? && !serialized_attributes.keys.include?(name.to_s)
37
+ if column.serialized?
38
38
  serialize(name, column.serialized_class_name)
39
39
  end
40
40
  end
@@ -1,5 +1,3 @@
1
- require 'simple_object'
2
-
3
1
  module Migrant
4
2
  # Converts the following DSL:
5
3
  #
data/lib/railtie.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # lib/my_gem/railtie.rb
2
- require 'migrant'
3
- require 'rails'
2
+ #require 'migrant'
3
+ #require 'rails'
4
4
 
5
5
  module Migrant
6
6
  class Railtie < Rails::Railtie
data/lib/tasks/db.rake CHANGED
@@ -4,12 +4,6 @@ namespace :db do
4
4
  if Migrant::MigrationGenerator.new.run
5
5
  puts "\nInvoking db:migrate for #{Rails.env} environment."
6
6
  Rake::Task['db:migrate'].invoke
7
-
8
- # If RAILS_ENV is explicitly specified, don't clone out to test
9
- unless ENV['RAILS_ENV']
10
- puts "Migrated. Now, cloning out to the test database."
11
- Rake::Task['db:test:clone'].invoke
12
- end
13
7
  end
14
8
  end
15
9
 
data/migrant.gemspec CHANGED
@@ -1,36 +1,35 @@
1
- # -*- encoding: utf-8 -*-
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
2
4
 
3
- Gem::Specification.new do |s|
4
- s.name = %q{migrant}
5
- s.version = File.read('VERSION')
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "migrant"
7
+ spec.version = File.read('VERSION')
8
+ spec.authors = ["Pascal Houliston"]
9
+ spec.email = ["101pascal@gmail.com"]
6
10
 
7
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Pascal Houliston"]
9
- s.description = %q{Easier schema management for Rails that complements your domain model.}
10
- s.email = %q{101pascal@gmail.com}
11
- s.extra_rdoc_files = [
12
- "LICENSE",
13
- "README.rdoc"
14
- ]
15
- s.files = `git ls-files`.split("\n")
16
- s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
11
+ spec.summary = %q{All the fun of ActiveRecord without writing your migrations, and with a dash of mocking.}
12
+ spec.description = %q{Easier schema management for Rails that complements your domain model.}
13
+ spec.homepage = %q{http://github.com/pascalh1011/migrant}
14
+ spec.license = "MIT"
17
15
 
18
- s.homepage = %q{http://github.com/pascalh1011/migrant}
19
- s.require_paths = ["lib"]
20
- s.rubygems_version = %q{1.5.2}
21
- s.summary = %q{All the fun of ActiveRecord without writing your migrations, and with a dash of mocking.}
16
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
+ f.match(%r{^(test|spec|features)/})
18
+ end
19
+ spec.bindir = "exe"
20
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
22
 
23
- s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
24
- s.add_development_dependency(%q<minitest>, ["~> 4.0"])
25
- s.add_development_dependency(%q<ansi>, [">= 0"])
26
- s.add_development_dependency(%q<turn>, [">= 0"])
27
- s.add_development_dependency(%q<sqlite3>, [">= 0"])
28
- s.add_development_dependency(%q<simplecov>, [">= 0"])
29
- s.add_development_dependency(%q<terminal-table>, [">= 0"])
30
- s.add_development_dependency(%q<rake>, [">= 0.8.7"])
31
- s.add_development_dependency(%q<simplecov>, [">= 0"])
32
- s.add_dependency(%q<rails>, [">= 3.0.0"])
33
- s.add_dependency(%q<faker>, [">= 0"])
34
- s.add_dependency(%q<term-ansicolor>, [">= 0"])
23
+ rails_version = ENV['RAILS_VERSION'] || '5.1'
24
+
25
+ spec.add_development_dependency "rails", "~> #{rails_version}"
26
+ spec.add_development_dependency "bundler", "~> 1.15"
27
+ spec.add_development_dependency "rake", "~> 12.0"
28
+ spec.add_development_dependency "rspec", "~> 3.0"
29
+ spec.add_development_dependency "sqlite3", ">= 1.3.13"
30
+ spec.add_development_dependency "coveralls", ">= 0.7.1"
31
+
32
+ spec.add_runtime_dependency "erubi", ">= 1.7.0"
33
+ spec.add_runtime_dependency "term-ansicolor", ">= 1.6.0"
34
+ spec.add_runtime_dependency "faker", ">= 1.8.4"
35
35
  end
36
-
metadata CHANGED
@@ -1,222 +1,154 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: migrant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
5
- prerelease:
4
+ version: 2.0.0.pre
6
5
  platform: ruby
7
6
  authors:
8
7
  - Pascal Houliston
9
8
  autorequire:
10
- bindir: bin
9
+ bindir: exe
11
10
  cert_chain: []
12
- date: 2013-08-08 00:00:00.000000000 Z
11
+ date: 2018-02-01 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: thoughtbot-shoulda
14
+ name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: '0'
19
+ version: '5.1'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '0'
26
+ version: '5.1'
30
27
  - !ruby/object:Gem::Dependency
31
- name: minitest
28
+ name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
- version: '4.0'
33
+ version: '1.15'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
- version: '4.0'
40
+ version: '1.15'
46
41
  - !ruby/object:Gem::Dependency
47
- name: ansi
42
+ name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: '0'
47
+ version: '12.0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
- version: '0'
54
+ version: '12.0'
62
55
  - !ruby/object:Gem::Dependency
63
- name: turn
56
+ name: rspec
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - "~>"
68
60
  - !ruby/object:Gem::Version
69
- version: '0'
61
+ version: '3.0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - "~>"
76
67
  - !ruby/object:Gem::Version
77
- version: '0'
68
+ version: '3.0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: sqlite3
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
86
- type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
- - !ruby/object:Gem::Dependency
95
- name: simplecov
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
110
- - !ruby/object:Gem::Dependency
111
- name: terminal-table
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- - !ruby/object:Gem::Dependency
127
- name: rake
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
72
  requirements:
131
- - - ! '>='
73
+ - - ">="
132
74
  - !ruby/object:Gem::Version
133
- version: 0.8.7
75
+ version: 1.3.13
134
76
  type: :development
135
77
  prerelease: false
136
78
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
79
  requirements:
139
- - - ! '>='
80
+ - - ">="
140
81
  - !ruby/object:Gem::Version
141
- version: 0.8.7
82
+ version: 1.3.13
142
83
  - !ruby/object:Gem::Dependency
143
- name: simplecov
84
+ name: coveralls
144
85
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
86
  requirements:
147
- - - ! '>='
87
+ - - ">="
148
88
  - !ruby/object:Gem::Version
149
- version: '0'
89
+ version: 0.7.1
150
90
  type: :development
151
91
  prerelease: false
152
92
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
93
  requirements:
155
- - - ! '>='
94
+ - - ">="
156
95
  - !ruby/object:Gem::Version
157
- version: '0'
96
+ version: 0.7.1
158
97
  - !ruby/object:Gem::Dependency
159
- name: rails
98
+ name: erubi
160
99
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
100
  requirements:
163
- - - ! '>='
101
+ - - ">="
164
102
  - !ruby/object:Gem::Version
165
- version: 3.0.0
103
+ version: 1.7.0
166
104
  type: :runtime
167
105
  prerelease: false
168
106
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
107
  requirements:
171
- - - ! '>='
108
+ - - ">="
172
109
  - !ruby/object:Gem::Version
173
- version: 3.0.0
110
+ version: 1.7.0
174
111
  - !ruby/object:Gem::Dependency
175
- name: faker
112
+ name: term-ansicolor
176
113
  requirement: !ruby/object:Gem::Requirement
177
- none: false
178
114
  requirements:
179
- - - ! '>='
115
+ - - ">="
180
116
  - !ruby/object:Gem::Version
181
- version: '0'
117
+ version: 1.6.0
182
118
  type: :runtime
183
119
  prerelease: false
184
120
  version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
121
  requirements:
187
- - - ! '>='
122
+ - - ">="
188
123
  - !ruby/object:Gem::Version
189
- version: '0'
124
+ version: 1.6.0
190
125
  - !ruby/object:Gem::Dependency
191
- name: term-ansicolor
126
+ name: faker
192
127
  requirement: !ruby/object:Gem::Requirement
193
- none: false
194
128
  requirements:
195
- - - ! '>='
129
+ - - ">="
196
130
  - !ruby/object:Gem::Version
197
- version: '0'
131
+ version: 1.8.4
198
132
  type: :runtime
199
133
  prerelease: false
200
134
  version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
135
  requirements:
203
- - - ! '>='
136
+ - - ">="
204
137
  - !ruby/object:Gem::Version
205
- version: '0'
138
+ version: 1.8.4
206
139
  description: Easier schema management for Rails that complements your domain model.
207
- email: 101pascal@gmail.com
140
+ email:
141
+ - 101pascal@gmail.com
208
142
  executables: []
209
143
  extensions: []
210
- extra_rdoc_files:
211
- - LICENSE
212
- - README.rdoc
144
+ extra_rdoc_files: []
213
145
  files:
214
- - .gitignore
215
- - .rvmrc
216
- - .travis.yml
146
+ - ".gitignore"
147
+ - ".rspec"
148
+ - ".travis.yml"
217
149
  - Gemfile
218
- - LICENSE
219
- - README.rdoc
150
+ - LICENSE.txt
151
+ - README.md
220
152
  - Rakefile
221
153
  - VERSION
222
154
  - changelog.md
@@ -235,93 +167,31 @@ files:
235
167
  - lib/migrant/schema.rb
236
168
  - lib/pickle/migrant.rb
237
169
  - lib/railtie.rb
238
- - lib/simple_object.rb
239
170
  - lib/tasks/db.rake
240
171
  - migrant.gemspec
241
- - test/additional_models/review.rb
242
- - test/helper.rb
243
- - test/rails_app/.gitignore
244
- - test/rails_app/README
245
- - test/rails_app/Rakefile
246
- - test/rails_app/app/controllers/application_controller.rb
247
- - test/rails_app/app/helpers/application_helper.rb
248
- - test/rails_app/app/models/business.rb
249
- - test/rails_app/app/models/business_category.rb
250
- - test/rails_app/app/models/category.rb
251
- - test/rails_app/app/models/chameleon.rb
252
- - test/rails_app/app/models/customer.rb
253
- - test/rails_app/app/models/non_migrant_model.rb
254
- - test/rails_app/app/models/user.rb
255
- - test/rails_app/app/views/layouts/application.html.erb
256
- - test/rails_app/config.ru
257
- - test/rails_app/config/application.rb
258
- - test/rails_app/config/boot.rb
259
- - test/rails_app/config/database.yml
260
- - test/rails_app/config/environment.rb
261
- - test/rails_app/config/environments/development.rb
262
- - test/rails_app/config/environments/production.rb
263
- - test/rails_app/config/environments/test.rb
264
- - test/rails_app/config/initializers/backtrace_silencers.rb
265
- - test/rails_app/config/initializers/inflections.rb
266
- - test/rails_app/config/initializers/mime_types.rb
267
- - test/rails_app/config/initializers/secret_token.rb
268
- - test/rails_app/config/initializers/session_store.rb
269
- - test/rails_app/config/locales/en.yml
270
- - test/rails_app/config/routes.rb
271
- - test/rails_app/db/seeds.rb
272
- - test/rails_app/lib/tasks/.gitkeep
273
- - test/rails_app/public/404.html
274
- - test/rails_app/public/422.html
275
- - test/rails_app/public/500.html
276
- - test/rails_app/script/rails
277
- - test/rails_app/test/performance/browsing_test.rb
278
- - test/rails_app/test/test_helper.rb
279
- - test/rails_app/vendor/plugins/.gitkeep
280
- - test/test_data_schema.rb
281
- - test/test_migration_generator.rb
282
- - test/test_validations.rb
283
- - test/test_zzz_performance.rb
284
- - test/verified_output/migrations/added_incompatible_spot_and_deleted_spots.rb
285
- - test/verified_output/migrations/business_id.rb
286
- - test/verified_output/migrations/businesses_indexed_name.rb
287
- - test/verified_output/migrations/chameleons_added_new_longer_spots_and_moved_new_spots.rb
288
- - test/verified_output/migrations/create_business_categories.rb
289
- - test/verified_output/migrations/create_businesses.rb
290
- - test/verified_output/migrations/create_categories.rb
291
- - test/verified_output/migrations/create_chameleons.rb
292
- - test/verified_output/migrations/create_reviews.rb
293
- - test/verified_output/migrations/create_users.rb
294
- - test/verified_output/migrations/created_at.rb
295
- - test/verified_output/migrations/deleted_incompatible_spot.rb
296
- - test/verified_output/migrations/deleted_spots.rb
297
- - test/verified_output/migrations/estimated_value_notes.rb
298
- - test/verified_output/migrations/landline.rb
299
- - test/verified_output/migrations/modified_verified.rb
300
- - test/verified_output/migrations/renamed_old_spots.rb
301
172
  homepage: http://github.com/pascalh1011/migrant
302
- licenses: []
173
+ licenses:
174
+ - MIT
175
+ metadata: {}
303
176
  post_install_message:
304
177
  rdoc_options: []
305
178
  require_paths:
306
179
  - lib
307
180
  required_ruby_version: !ruby/object:Gem::Requirement
308
- none: false
309
181
  requirements:
310
- - - ! '>='
182
+ - - ">="
311
183
  - !ruby/object:Gem::Version
312
184
  version: '0'
313
185
  required_rubygems_version: !ruby/object:Gem::Requirement
314
- none: false
315
186
  requirements:
316
- - - ! '>='
187
+ - - ">"
317
188
  - !ruby/object:Gem::Version
318
- version: '0'
189
+ version: 1.3.1
319
190
  requirements: []
320
191
  rubyforge_project:
321
- rubygems_version: 1.8.23
192
+ rubygems_version: 2.4.5.3
322
193
  signing_key:
323
- specification_version: 3
194
+ specification_version: 4
324
195
  summary: All the fun of ActiveRecord without writing your migrations, and with a dash
325
196
  of mocking.
326
197
  test_files: []
327
- has_rdoc: