eac_rails_utils 0.11.3 → 0.11.4
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07d2a7ca43c5129fbcb1bc6e6e1359583dfde2e49fd98ee7e13e643121e19638
|
|
4
|
+
data.tar.gz: 3157833b02da72112a981c2cd526a7d102fff2fb55c6b567fbae4645365bd523
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7c6dd756b2569913fafee714f74c77b51d6d2f7e7814a234c9c60aec4b53d5c2a720a5844677a1012e8765a3d5b8e769e946088766a99a75a2cccf3c21884ad
|
|
7
|
+
data.tar.gz: 6ed6ec289d5c4bb3b9c01d732323ad4d0c9901e97c59904f552b1a052ddec63593c3be60c78374c44c4e94251e37e91c7212979369c09560981afd1e73730355
|
|
@@ -27,6 +27,8 @@ module ActiveModel
|
|
|
27
27
|
module Associations
|
|
28
28
|
module Hooks
|
|
29
29
|
def self.init
|
|
30
|
+
return unless ::Rails.version < '5'
|
|
31
|
+
|
|
30
32
|
ActiveSupport.on_load(:active_record) do
|
|
31
33
|
ActiveRecord::Associations::AssociationScope.prepend(
|
|
32
34
|
::EacRailsUtils::Patches::ActiveModelAssociations::ScopeExtensionPatch
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eac_rails_utils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- E.A.C.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-10-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel-associations
|
|
@@ -202,6 +202,7 @@ files:
|
|
|
202
202
|
- lib/eac_rails_utils/patches/active_model_associations.rb
|
|
203
203
|
- lib/eac_rails_utils/version.rb
|
|
204
204
|
- test/dummy/Rakefile
|
|
205
|
+
- test/dummy/app/assets/config/manifest.js
|
|
205
206
|
- test/dummy/app/models/job.rb
|
|
206
207
|
- test/dummy/app/models/user.rb
|
|
207
208
|
- test/dummy/config.ru
|
|
@@ -243,8 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
243
244
|
- !ruby/object:Gem::Version
|
|
244
245
|
version: '0'
|
|
245
246
|
requirements: []
|
|
246
|
-
|
|
247
|
-
rubygems_version: 2.7.7
|
|
247
|
+
rubygems_version: 3.0.8
|
|
248
248
|
signing_key:
|
|
249
249
|
specification_version: 4
|
|
250
250
|
summary: Código reutilizável para as aplicações Rails da E.A.C..
|
|
@@ -265,6 +265,7 @@ test_files:
|
|
|
265
265
|
- test/dummy/db/migrate/20160415125333_create_users.rb
|
|
266
266
|
- test/dummy/app/models/job.rb
|
|
267
267
|
- test/dummy/app/models/user.rb
|
|
268
|
+
- test/dummy/app/assets/config/manifest.js
|
|
268
269
|
- test/test_helper.rb
|
|
269
270
|
- test/validators/cpf_validator_test.rb
|
|
270
271
|
- test/helpers/eac_rails_utils/common_form_helper_test.rb
|