activerecord-pg_enum 1.0.1 → 1.0.2

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: 8b1832aa7fd717d65aa994e1f6e66d7230199acde89ce3f773c624fd78e47edd
4
- data.tar.gz: 6ebfdb25f6bc7b7cde05f1b1e7e15187d0636a1e286c97619ba38a379486eb1b
3
+ metadata.gz: '068a2c10c5375f5842445a5bff077ec28e14cd633d99dd7b8ef98690b28b2d2b'
4
+ data.tar.gz: aca6f592f676a8f6cd866a3bb1b3ca0eb0081976e8c1bbb99c71b25f5fc5192b
5
5
  SHA512:
6
- metadata.gz: 1950b01db769d5bb6e2a939d48661df46ec5349e6a26f7831a7d09c03dc1b02bcface09fc3dadda128fb367b39cb44d1a45534735dc6ca3c6022f64ddf627c1f
7
- data.tar.gz: 6fd8d5fdeba244ee8944929073806b7f9d1e3d719345c09a6fc556ae9e28b30221133ee38594d2eca5247f5c89d0f4e2277d90b99a817abeba9171a8315fe7f1
6
+ metadata.gz: 8c10ce8c87fada1997551cc9257cfd1cf7a8af5182f048c0b4f8fc56738e8bfe6fdda0bd88bd4e5126dba8102d9f1107cd1c1c40a5693fc8e860b190935c673d
7
+ data.tar.gz: ef59bbe1f7ea8dba8191c40c74aa703e1a00de17b26457ee26b4b73bf95fe24ceb2f85f105d480f6e49877d2bf466dfed39dfd323c8643e7cb35ddeb79737eb3
data/CHANGELOG.md CHANGED
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0.2] - 2019-08-29
10
+ - Move the active_record load hook to a different place to ensure things run in the correct order
11
+
9
12
  ## [1.0.1] - 2019-08-16
10
13
  - Update Rails 6 support to 6.0-final
11
14
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-pg_enum (1.0.0)
4
+ activerecord-pg_enum (1.0.1)
5
5
  activerecord (>= 4.1.0)
6
6
  activesupport
7
7
  pg
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-pg_enum (1.0.0)
4
+ activerecord-pg_enum (1.0.1)
5
5
  activerecord (>= 4.1.0)
6
6
  activesupport
7
7
  pg
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-pg_enum (1.0.0)
4
+ activerecord-pg_enum (1.0.1)
5
5
  activerecord (>= 4.1.0)
6
6
  activesupport
7
7
  pg
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-pg_enum (1.0.0)
4
+ activerecord-pg_enum (1.0.1)
5
5
  activerecord (>= 4.1.0)
6
6
  activesupport
7
7
  pg
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-pg_enum (1.0.0)
4
+ activerecord-pg_enum (1.0.1)
5
5
  activerecord (>= 4.1.0)
6
6
  activesupport
7
7
  pg
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-pg_enum (1.0.0)
4
+ activerecord-pg_enum (1.0.1)
5
5
  activerecord (>= 4.1.0)
6
6
  activesupport
7
7
  pg
@@ -66,7 +66,7 @@ GIT
66
66
  PATH
67
67
  remote: ..
68
68
  specs:
69
- activerecord-pg_enum (1.0.0)
69
+ activerecord-pg_enum (1.0.1)
70
70
  activerecord (>= 4.1.0)
71
71
  activesupport
72
72
  pg
@@ -1,9 +1,5 @@
1
- require "active_support/lazy_load_hooks"
2
1
  require "active_record"
3
-
4
- ActiveSupport.on_load(:active_record) do
5
- ActiveRecord::PGEnum.install Gem.loaded_specs["activerecord"].version
6
- end
2
+ require "active_support/lazy_load_hooks"
7
3
 
8
4
  module ActiveRecord
9
5
  module PGEnum
@@ -57,6 +53,10 @@ module ActiveRecord
57
53
  end
58
54
  end
59
55
 
56
+ ActiveSupport.on_load(:active_record) do
57
+ ActiveRecord::PGEnum.install Gem.loaded_specs["activerecord"].version
58
+ end
59
+
60
60
  # Declare an enum attribute where the values map to strings enforced by PostgreSQL's
61
61
  # enumerated types.
62
62
  #
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module PGEnum
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-pg_enum
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Lassek
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-16 00:00:00.000000000 Z
11
+ date: 2019-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg