active_model-inherited_partials 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f2ce52b8c1400c27c4710709dd7d9fff4ea752f272442150c4cf5b8e10117a8
4
- data.tar.gz: 432e20371935301896f1df236e1f2107efce162fe628965dd621c8e796519aa4
3
+ metadata.gz: c02c997c640fee1c1c4bb55050b80cb29940988b4f079819ed02eba27447ecbd
4
+ data.tar.gz: 0aaa9cf694fbdde7c5a595696ab4f51a04e31da1eb772ca5d033d6c397041129
5
5
  SHA512:
6
- metadata.gz: e38ad659b6607b7cb8b87185d014b11d58f27997648361a026a75ba3e6972ac811f8cc119506abb9a3e55b11c570d4e15249ad00db12a458e1bbfdf343a3ef5a
7
- data.tar.gz: dfd3148f9f372b8c6577516b9731687e2a73a10b226f807771d7027ef46003c218dfc354da479733e93caa92b58f0a4f9aa0a67e38f2e8d3ab16af1a7f4b004c
6
+ metadata.gz: 294c8d5a35996d7508051d4a4547202d9d8c1b2f3fe8294011e90e8d504447c04744377e7df28cc160bd878a9be4f9e894baffd1360259b3ea906f75829528f0
7
+ data.tar.gz: 10342fc34c1a6a7a4c5c26a75812cfabac6d0b9d2aa197cdb0a572f9eef11caacebd5c0b27663b28b32a323bbfbb3843ab1c187599e384996c4ed911a8f54285
@@ -1,5 +1,5 @@
1
1
  module ActiveModel
2
- module InheritedPartials
3
- VERSION = "0.1.0"
4
- end
2
+ module InheritedPartials
3
+ VERSION = '0.1.2'
4
+ end
5
5
  end
@@ -33,6 +33,7 @@ module ActiveModel
33
33
  name
34
34
  .deconstantize
35
35
  .split('::')
36
+ .each.with_object([]) { |name, namespaces| namespaces << "#{namespaces.last}::#{name}" }
36
37
  .map(&:constantize)
37
38
  .select { _1.in? ancestors }
38
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_model-inherited_partials
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Senko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -55,7 +55,7 @@ licenses:
55
55
  metadata:
56
56
  homepage_uri: https://github.com/Alexander-Senko/active_model-inherited_partials
57
57
  source_code_uri: https://github.com/Alexander-Senko/active_model-inherited_partials
58
- changelog_uri: https://github.com/Alexander-Senko/active_model-inherited_partials/CHANGELOG.md
58
+ changelog_uri: https://github.com/Alexander-Senko/active_model-inherited_partials/blob/v0.1.2/CHANGELOG.md
59
59
  post_install_message:
60
60
  rdoc_options: []
61
61
  require_paths:
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.5.3
74
+ rubygems_version: 3.5.6
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: Inheritable partials for Rails