active_record_migrations 6.1.1.3 → 6.1.1.4

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: c1fcd291b3e29339e71cd3f69d53e446778604c093f840ead20e006cf4a79f96
4
- data.tar.gz: 7f5b759b68791eb5dacf03e3e19847fc27c8768a64a44a06f9ecb792d85bf47f
3
+ metadata.gz: c55830c0250d217e5cb9c15620567526ee87ab6c3b086a8293fab20aee2f3492
4
+ data.tar.gz: fed49216ca58796cdfb3e1e007df7697e1c3a0b3aed9053f01d6c6e3fa1c44db
5
5
  SHA512:
6
- metadata.gz: 0def11fbfa4040a2ed8b4ada3a5f4a3165b0534e83fd8c86bec4adb0af1413d707142c10be3a82301cb2ab4cbabda68c39ab8b9929fcac109cf3cde39d334d68
7
- data.tar.gz: 9f396ea0478d918f3eff5ccba9f9be5f3d7906bbb6e56dadd46c1429436ea6bb1ed34fc66a27cdc3bb760ee012cf154af3ab2ec2846c6a497bb93d2717d84742
6
+ metadata.gz: dadf88865ddadc0b92f090e226f4fefacfa9121902dcae2f9182e4137f792d36f075312bfe3c54a42af3d64ad1a20a1d856857cbb9359f6420c20514d9737af9
7
+ data.tar.gz: f89ba019fefaf1094b6b65aca8fd86f9a442cc618dee6acd289f87cbf52643c491a5d744b9fddd6ad1e85c95acfef180d5ccbad5661d9bbffbf1b7041683f128
@@ -20,7 +20,14 @@ module ActiveRecordMigrations
20
20
  alias configure instance_eval
21
21
 
22
22
  def database_configuration
23
- @database_configuration ||= YAML.load(ERB.new(File.read @yaml_config).result)
23
+ @database_configuration ||=
24
+ begin
25
+ content = ERB.new(File.read @yaml_config).result
26
+
27
+ YAML.load(content, aliases: true)
28
+ rescue ArgumentError
29
+ YAML.load(content)
30
+ end
24
31
  end
25
32
  end
26
33
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordMigrations
2
- VERSION = '6.1.1.3'
2
+ VERSION = '6.1.1.4'
3
3
  end
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.3
4
+ version: 6.1.1.4
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: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  requirements: []
106
- rubygems_version: 3.3.26
106
+ rubygems_version: 3.4.4
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: Use AR migrations from outside of a Rails project