activerecord-pg_enum 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/gemfiles/4.1.gemfile.lock +1 -1
- data/gemfiles/4.2.gemfile.lock +1 -1
- data/gemfiles/5.0.gemfile.lock +1 -1
- data/gemfiles/5.1.gemfile.lock +1 -1
- data/gemfiles/5.2.gemfile.lock +1 -1
- data/gemfiles/6.0.gemfile.lock +1 -1
- data/gemfiles/edge.gemfile.lock +1 -1
- data/lib/active_record/pg_enum.rb +5 -5
- data/lib/active_record/pg_enum/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '068a2c10c5375f5842445a5bff077ec28e14cd633d99dd7b8ef98690b28b2d2b'
|
|
4
|
+
data.tar.gz: aca6f592f676a8f6cd866a3bb1b3ca0eb0081976e8c1bbb99c71b25f5fc5192b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
data/gemfiles/4.1.gemfile.lock
CHANGED
data/gemfiles/4.2.gemfile.lock
CHANGED
data/gemfiles/5.0.gemfile.lock
CHANGED
data/gemfiles/5.1.gemfile.lock
CHANGED
data/gemfiles/5.2.gemfile.lock
CHANGED
data/gemfiles/6.0.gemfile.lock
CHANGED
data/gemfiles/edge.gemfile.lock
CHANGED
|
@@ -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
|
#
|
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.
|
|
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-
|
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pg
|