active_record_migrations 5.2.0.1 → 6.1.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8464558e49d8b71a888ad969d2aa21aa23ccbc7b61fd7a194c57b4cecf7d449
|
4
|
+
data.tar.gz: f245d320cd26b862670b8f661a201afc0d057fbada2570dc1819c3729bc5314c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3a45eddf967ed83a95a849e467dcef18d1466c1d37d6c67ed00aaeb9226aa5c35d086f960d4a9d01a75f552ff9d831fa17078db2a6e15e6961f914c1dfef4ec
|
7
|
+
data.tar.gz: 576f001ebd407d37f60eb631694a61022d74a0e9843e78ab883feee3cc4f905baa5e0b22d2a7082679ad31e2b60d394944e454d28844b3a461124757cf23fa85
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler"
|
22
22
|
spec.add_dependency "rake"
|
23
|
-
spec.add_dependency "railties", ">=
|
24
|
-
spec.add_dependency "activerecord", ">=
|
23
|
+
spec.add_dependency "railties", ">= 6.1.1"
|
24
|
+
spec.add_dependency "activerecord", ">= 6.1.1"
|
25
25
|
end
|
26
26
|
|
@@ -28,7 +28,7 @@ module ActiveRecordMigrations
|
|
28
28
|
DatabaseTasks.seed_loader = configurations.seed_loader
|
29
29
|
ActiveRecord::Base.configurations = DatabaseTasks.database_configuration =
|
30
30
|
configurations.database_configuration
|
31
|
-
|
31
|
+
ActiveRecord::Base.establish_connection ActiveRecord::Tasks::DatabaseTasks.env.to_sym
|
32
32
|
DatabaseTasks.db_dir = configurations.db_dir
|
33
33
|
DatabaseTasks.migrations_paths = configurations.migrations_paths
|
34
34
|
DatabaseTasks.root = Rails.root
|
@@ -9,7 +9,7 @@ if Gem::Version.new(ActiveRecord::VERSION::STRING) < Gem::Version.new('5.2.0')
|
|
9
9
|
deps << 'db:load_config'
|
10
10
|
end
|
11
11
|
task environment: deps do
|
12
|
-
ActiveRecord::Base.establish_connection ActiveRecord::Tasks::DatabaseTasks.
|
12
|
+
ActiveRecord::Base.establish_connection ActiveRecord::Tasks::DatabaseTasks.env.to_sym
|
13
13
|
end
|
14
14
|
|
15
15
|
namespace :db do
|
@@ -31,6 +31,8 @@ namespace :db do
|
|
31
31
|
end
|
32
32
|
params = [name]
|
33
33
|
params.concat options.split(' ') if options
|
34
|
+
# Rails assumes configure! has been called, which initializes @after_generate_callbacks
|
35
|
+
Rails::Generators.after_generate_callbacks # ensure the empty array is created
|
34
36
|
#Rails::Generators.invoke "active_record:migration", params,
|
35
37
|
Rails::Generators.invoke "active_record_migrations:migration", params,
|
36
38
|
behavior: :invoke, destination_root: Rails.root
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record_migrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Rosenfeld Rosas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 6.1.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 6.1.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: activerecord
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 6.1.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 6.1.1
|
69
69
|
description: ActiveRecord Stand-alone migrations
|
70
70
|
email:
|
71
71
|
- rr.rosas@gmail.com
|
@@ -103,8 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
|
-
|
107
|
-
rubygems_version: 2.7.6
|
106
|
+
rubygems_version: 3.2.3
|
108
107
|
signing_key:
|
109
108
|
specification_version: 4
|
110
109
|
summary: Use AR migrations from outside of a Rails project
|