active_record_migrations 6.1.1.1 → 6.1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_record_migrations/version.rb +1 -1
- data/lib/active_record_migrations.rb +6 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1fcd291b3e29339e71cd3f69d53e446778604c093f840ead20e006cf4a79f96
|
4
|
+
data.tar.gz: 7f5b759b68791eb5dacf03e3e19847fc27c8768a64a44a06f9ecb792d85bf47f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0def11fbfa4040a2ed8b4ada3a5f4a3165b0534e83fd8c86bec4adb0af1413d707142c10be3a82301cb2ab4cbabda68c39ab8b9929fcac109cf3cde39d334d68
|
7
|
+
data.tar.gz: 9f396ea0478d918f3eff5ccba9f9be5f3d7906bbb6e56dadd46c1429436ea6bb1ed34fc66a27cdc3bb760ee012cf154af3ab2ec2846c6a497bb93d2717d84742
|
@@ -23,8 +23,13 @@ module ActiveRecordMigrations
|
|
23
23
|
load 'active_record/railties/databases.rake'
|
24
24
|
load 'active_record_migrations/tasks/new_migration.rake'
|
25
25
|
|
26
|
-
ActiveRecord
|
26
|
+
if ActiveRecord.respond_to? :schema_format=
|
27
|
+
ActiveRecord.schema_format = configurations.schema_format
|
28
|
+
else
|
29
|
+
ActiveRecord::Base.schema_format = configurations.schema_format
|
30
|
+
end
|
27
31
|
DatabaseTasks.env = configurations.environment
|
32
|
+
Rails.env = DatabaseTasks.env
|
28
33
|
DatabaseTasks.seed_loader = configurations.seed_loader
|
29
34
|
ActiveRecord::Base.configurations = DatabaseTasks.database_configuration =
|
30
35
|
configurations.database_configuration
|
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: 6.1.1.
|
4
|
+
version: 6.1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Rosenfeld Rosas
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -88,7 +88,7 @@ homepage: http://github.com/rosenfeld/active_record_migrations
|
|
88
88
|
licenses:
|
89
89
|
- MIT
|
90
90
|
metadata: {}
|
91
|
-
post_install_message:
|
91
|
+
post_install_message:
|
92
92
|
rdoc_options: []
|
93
93
|
require_paths:
|
94
94
|
- lib
|
@@ -103,8 +103,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
|
-
rubygems_version: 3.
|
107
|
-
signing_key:
|
106
|
+
rubygems_version: 3.3.26
|
107
|
+
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: Use AR migrations from outside of a Rails project
|
110
110
|
test_files: []
|