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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8464558e49d8b71a888ad969d2aa21aa23ccbc7b61fd7a194c57b4cecf7d449
4
- data.tar.gz: f245d320cd26b862670b8f661a201afc0d057fbada2570dc1819c3729bc5314c
3
+ metadata.gz: c1fcd291b3e29339e71cd3f69d53e446778604c093f840ead20e006cf4a79f96
4
+ data.tar.gz: 7f5b759b68791eb5dacf03e3e19847fc27c8768a64a44a06f9ecb792d85bf47f
5
5
  SHA512:
6
- metadata.gz: e3a45eddf967ed83a95a849e467dcef18d1466c1d37d6c67ed00aaeb9226aa5c35d086f960d4a9d01a75f552ff9d831fa17078db2a6e15e6961f914c1dfef4ec
7
- data.tar.gz: 576f001ebd407d37f60eb631694a61022d74a0e9843e78ab883feee3cc4f905baa5e0b22d2a7082679ad31e2b60d394944e454d28844b3a461124757cf23fa85
6
+ metadata.gz: 0def11fbfa4040a2ed8b4ada3a5f4a3165b0534e83fd8c86bec4adb0af1413d707142c10be3a82301cb2ab4cbabda68c39ab8b9929fcac109cf3cde39d334d68
7
+ data.tar.gz: 9f396ea0478d918f3eff5ccba9f9be5f3d7906bbb6e56dadd46c1429436ea6bb1ed34fc66a27cdc3bb760ee012cf154af3ab2ec2846c6a497bb93d2717d84742
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordMigrations
2
- VERSION = '6.1.1.1'
2
+ VERSION = '6.1.1.3'
3
3
  end
@@ -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::Base.schema_format = configurations.schema_format
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.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: 2021-02-02 00:00:00.000000000 Z
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.2.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: []