enum_errors_away 0.2.0 → 0.3.0
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 +6 -0
- data/lib/enum_errors_away/active_record_extension.rb +0 -4
- data/lib/enum_errors_away/railtie.rb +1 -0
- data/lib/enum_errors_away/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: f3932800732f02830941c1676c43c661c514b558e5e0d5a2102b610c75ef14a6
|
|
4
|
+
data.tar.gz: 20484a1c14138bb7aa73cca142425cc52cb5fb1d3d7f60b23a3361a02c8338aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 38fbed4fee24a51fd0eb64314ba20d35e2c635c5345455b669993659fd6f591cef240c17a59993bffe2e2351d42cfffe12f9818e14ef2236c7a9af60c6c95337
|
|
7
|
+
data.tar.gz: d78510a53214d5874e00f9de531e5d32dcfb9c5bb0af15c20b3f72940d4a032b99dcba9dc86a229db25c31940fd87304f720d2299e6527a201bed01a5b4a260a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.0] - 2025-11-18
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Move ActiveRecord extension inclusion to Railtie initializer for better Rails integration. Sometimes got an error when running tests the first time, but passed on subsequent runs. This will hopefully fix that issue.
|
|
8
|
+
|
|
3
9
|
## [0.2.0] - 2025-10-16
|
|
4
10
|
|
|
5
11
|
### Changed
|
|
@@ -7,6 +7,7 @@ module EnumErrorsAway
|
|
|
7
7
|
initializer 'enum_errors_away.suppress_enum_errors', before: 'active_record.set_configs' do
|
|
8
8
|
ActiveSupport.on_load(:active_record) do
|
|
9
9
|
require 'enum_errors_away/active_record_extension'
|
|
10
|
+
ActiveRecord::Base.include(EnumErrorsAway::ActiveRecordExtension)
|
|
10
11
|
end
|
|
11
12
|
end
|
|
12
13
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: enum_errors_away
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sampo Kuokkanen
|
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
145
145
|
- !ruby/object:Gem::Version
|
|
146
146
|
version: '0'
|
|
147
147
|
requirements: []
|
|
148
|
-
rubygems_version: 3.
|
|
148
|
+
rubygems_version: 3.7.2
|
|
149
149
|
specification_version: 4
|
|
150
150
|
summary: Fix Rails 7.2+ enum migration failures
|
|
151
151
|
test_files: []
|