composite_content 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccf56533554d8f9d97dfab613e4ee0ada78da592eccd4cceb8df32e6a0a1c8d2
4
- data.tar.gz: 672795ed87288743f2ff87f37e025d43ba719d6e642e363fda2cc71ecf10086e
3
+ metadata.gz: 3745b218d85539ed9073b1d873a089cb105ad42a55626605e2efeaaaa4099229
4
+ data.tar.gz: eeeb112da951023401f8966f306cf9b9fbb353576c448b5b3ea515da390fc076
5
5
  SHA512:
6
- metadata.gz: 8033506c9619daa7030139aed7964359e8007f6d41d2c328d2403c06d14e5a6828444e25e055e4b77a525589299e229464f3b7aa96eedf10bc9f8c9daa7b951e
7
- data.tar.gz: ce91296bce01bb21899f02ac3a0f9779b4600bf8acbf5c083c13e24655b3e2d67e90919ad0f7bca1bf143c3b165f97e980c7b51d0e722cbe87ef55bddf6796e4
6
+ metadata.gz: 91e67d3559f79d0c5d6aa82c22b6735389f22fbc8ea08b8e20a3657b915b7b91bdfeb6be08981fdcf99bdebf99672b44875d3f36184cad41c308c8095525e566
7
+ data.tar.gz: c235b84b318b7218a9cc545ef333cfaaae3339e673f495404f73046fc6706488c52599167c5b7cd669fb398001ecc56a0318e09248d01b245752a6acaebafb5f
data/CHANGELOG.md CHANGED
@@ -6,6 +6,15 @@ 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.1.1 (2024-02-10)
10
+
11
+ ### Changed
12
+
13
+ * Compatibility with Cocooned 2.1 (#15)
14
+ * Compatibility with Rails 7.1 (#14)
15
+ * Update test matrix (#14)
16
+ Add Ruby 3.3. Drop Ruby 2.6 and Ruby 2.7
17
+
9
18
  ## Version 2.1.0 (2023-08-29)
10
19
 
11
20
  ### Added
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
36
36
 
37
37
  spec.add_dependency 'active_model_validations_reflection'
38
38
  spec.add_dependency 'acts_as_list', '>= 1.0.4'
39
- spec.add_dependency 'cocooned', '~> 2.0.0'
39
+ spec.add_dependency 'cocooned', '~> 2.0'
40
40
  spec.add_dependency 'rails', '>= 6.1.0'
41
41
 
42
42
  # Development tools
@@ -34,7 +34,7 @@ module CompositeContent
34
34
 
35
35
  def class_mixin(name)
36
36
  Module.new do
37
- define_method "strong_parameters_for_#{name}" do
37
+ define_method :"strong_parameters_for_#{name}" do
38
38
  reflect_on_association(name).class_name.constantize.strong_parameters
39
39
  end
40
40
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CompositeContent
4
- VERSION = '2.1.0'
4
+ VERSION = '2.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: composite_content
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gaël-Ian Havard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-29 00:00:00.000000000 Z
11
+ date: 2024-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_validations_reflection
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.0.0
47
+ version: '2.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.0.0
54
+ version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rails
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  - !ruby/object:Gem::Version
196
196
  version: '0'
197
197
  requirements: []
198
- rubygems_version: 3.4.1
198
+ rubygems_version: 3.5.3
199
199
  signing_key:
200
200
  specification_version: 4
201
201
  summary: Add composite content capacities to your ActiveRecord models.