composite_content 2.2.0 → 2.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 +11 -0
- data/composite_content.gemspec +1 -1
- data/lib/composite_content/active_record.rb +2 -2
- data/lib/composite_content/version.rb +1 -1
- metadata +4 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c0a7082122d22d90c3eb294ed3cd4ffd763a51dcf688221a350b8619b1d8fc1
|
|
4
|
+
data.tar.gz: dd821b242a7817ca48de868b73afb5efd74fb6c1fe5e3b92f1a988eec07eb8f9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c54d98869a3c3c5319131d42cb048dd208c04c2fb11cb5b0a4bb053eb534847dd36b5258f7d30f4108eb91461db07d38e6796f28b954f23bafb31261a359796
|
|
7
|
+
data.tar.gz: 724beed7aa73d04c001bcab16e20e69137a5d4c5b071b917381cd29a6d4d7f2a76325830020f865f44b72658fab3f177fda198337addd17ab3afaed8b4260fd3
|
data/CHANGELOG.md
CHANGED
|
@@ -6,10 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## Version 2.3.0 (2025-10-23)
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
* Configure dependabot to auto-update Github Actions (#29)
|
|
14
|
+
* Drop support for Rails 7.1, Ruby 2.7 and Ruby 3.0 (#28)
|
|
15
|
+
* Add support for Rails 8.1 (#27)
|
|
16
|
+
* Drop support for Rails 7.0 (#26)
|
|
17
|
+
* Add Ruby 3.4 to the test matrix (#23)
|
|
18
|
+
|
|
9
19
|
## Version 2.2.0 (2024-10-01)
|
|
10
20
|
|
|
11
21
|
### Changed
|
|
12
22
|
|
|
23
|
+
* Add Rails 8.0 to the test matrix (#22)
|
|
13
24
|
* Reintroduce Ruby 2.7 into the test matrix (#20)
|
|
14
25
|
So tested rubies match with supported Rails versions minimum requirements
|
|
15
26
|
* Drop support for Rails 6.1 (#20)
|
data/composite_content.gemspec
CHANGED
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
|
32
32
|
f.match(excluded_dirs) || excluded_files.include?(f)
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
spec.required_ruby_version = '>=
|
|
35
|
+
spec.required_ruby_version = '>= 3.1'
|
|
36
36
|
|
|
37
37
|
spec.add_dependency 'active_model_validations_reflection'
|
|
38
38
|
spec.add_dependency 'acts_as_list', '>= 1.0.4'
|
|
@@ -7,7 +7,7 @@ module CompositeContent
|
|
|
7
7
|
# Integration methods with ActiveRecord models
|
|
8
8
|
# These methods are available on any ActiveRecord model once CompositeContent is loaded.
|
|
9
9
|
#
|
|
10
|
-
# rubocop:disable Naming/
|
|
10
|
+
# rubocop:disable Naming/PredicatePrefix
|
|
11
11
|
module ClassMethods
|
|
12
12
|
def has_composite_content(name = :composite_content, types: [])
|
|
13
13
|
CompositeContent::Model::Builder::Block.build(self, name, types)
|
|
@@ -20,7 +20,7 @@ module CompositeContent
|
|
|
20
20
|
extend Mixins.class_mixin(name)
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
|
-
# rubocop:enable Naming/
|
|
23
|
+
# rubocop:enable Naming/PredicatePrefix
|
|
24
24
|
|
|
25
25
|
module Mixins # :nodoc:
|
|
26
26
|
class << self
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: composite_content
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gaël-Ian Havard
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: active_model_validations_reflection
|
|
@@ -172,7 +171,6 @@ metadata:
|
|
|
172
171
|
homepage_uri: https://github.com/notus-sh/composite_content
|
|
173
172
|
source_code_uri: https://github.com/notus-sh/composite_content
|
|
174
173
|
funding_uri: https://opencollective.com/notus-sh
|
|
175
|
-
post_install_message:
|
|
176
174
|
rdoc_options: []
|
|
177
175
|
require_paths:
|
|
178
176
|
- lib
|
|
@@ -180,15 +178,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
180
178
|
requirements:
|
|
181
179
|
- - ">="
|
|
182
180
|
- !ruby/object:Gem::Version
|
|
183
|
-
version:
|
|
181
|
+
version: '3.1'
|
|
184
182
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
183
|
requirements:
|
|
186
184
|
- - ">="
|
|
187
185
|
- !ruby/object:Gem::Version
|
|
188
186
|
version: '0'
|
|
189
187
|
requirements: []
|
|
190
|
-
rubygems_version: 3.
|
|
191
|
-
signing_key:
|
|
188
|
+
rubygems_version: 3.6.9
|
|
192
189
|
specification_version: 4
|
|
193
190
|
summary: Add composite content capacities to your ActiveRecord models.
|
|
194
191
|
test_files: []
|