composite_content 2.1.1 → 2.2.0

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: 3745b218d85539ed9073b1d873a089cb105ad42a55626605e2efeaaaa4099229
4
- data.tar.gz: eeeb112da951023401f8966f306cf9b9fbb353576c448b5b3ea515da390fc076
3
+ metadata.gz: 25a40a78ded99775cce45103b803b739c3334f52e2d57ad7f094cce7e306ac02
4
+ data.tar.gz: aa883c841bb10e67d8e78ad539f5db35d615a5fc7c1d9d56abeee8c11b2ab006
5
5
  SHA512:
6
- metadata.gz: 91e67d3559f79d0c5d6aa82c22b6735389f22fbc8ea08b8e20a3657b915b7b91bdfeb6be08981fdcf99bdebf99672b44875d3f36184cad41c308c8095525e566
7
- data.tar.gz: c235b84b318b7218a9cc545ef333cfaaae3339e673f495404f73046fc6706488c52599167c5b7cd669fb398001ecc56a0318e09248d01b245752a6acaebafb5f
6
+ metadata.gz: b0ba96e1ee2f0fa41f85b6a11fc97a29c1832b0aceebf2932564e7c8724384f7cd53a11b9ac41e43ae88ecafe304a37b03286f25909ea24f1790a11d2cdd4f03
7
+ data.tar.gz: 46e059c9029118334f15a635702063b4b645e19e5bf858b50077052add4c275ab20cf0b1ef02fd9895d60c7e77e6912d2f70642c8b2d0d53b1df2ad4bf588924
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.2.0 (2024-10-01)
10
+
11
+ ### Changed
12
+
13
+ * Reintroduce Ruby 2.7 into the test matrix (#20)
14
+ So tested rubies match with supported Rails versions minimum requirements
15
+ * Drop support for Rails 6.1 (#20)
16
+ * Update test matrix to add Rails 7.2 (#17)
17
+
9
18
  ## Version 2.1.1 (2024-02-10)
10
19
 
11
20
  ### Changed
@@ -32,16 +32,15 @@ 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 = '>= 2.6.0'
35
+ spec.required_ruby_version = '>= 2.7.0'
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'
39
+ spec.add_dependency 'cocooned', '~> 2.0', '>= 2.4'
40
40
  spec.add_dependency 'rails', '>= 6.1.0'
41
41
 
42
42
  # Development tools
43
43
  spec.add_development_dependency 'bundler', '~> 2.1'
44
44
  spec.add_development_dependency 'rake', '~> 13.0'
45
45
  spec.add_development_dependency 'rspec', '~> 3.10'
46
- spec.add_development_dependency 'shoulda-matchers', '~> 5.0'
47
46
  end
@@ -56,18 +56,18 @@ module CompositeContent
56
56
  end
57
57
 
58
58
  # Alias to cocooned_move_item_up_link
59
- def composite_content_move_block_up_link(*args, &block)
60
- cocooned_move_item_up_link(*args, &block)
59
+ def composite_content_move_block_up_link(...)
60
+ cocooned_move_item_up_link(...)
61
61
  end
62
62
 
63
63
  # Alias to cocooned_move_item_down_link
64
- def composite_content_move_block_down_link(*args, &block)
65
- cocooned_move_item_down_link(*args, &block)
64
+ def composite_content_move_block_down_link(...)
65
+ cocooned_move_item_down_link(...)
66
66
  end
67
67
 
68
68
  # Alias to cocooned_remove_item_link
69
- def composite_content_remove_block_link(*args, &block)
70
- cocooned_remove_item_link(*args, &block)
69
+ def composite_content_remove_block_link(...)
70
+ cocooned_remove_item_link(...)
71
71
  end
72
72
 
73
73
  protected
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CompositeContent
4
- VERSION = '2.1.1'
4
+ VERSION = '2.2.0'
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.1
4
+ version: 2.2.0
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: 2024-02-10 00:00:00.000000000 Z
11
+ date: 2024-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_validations_reflection
@@ -45,6 +45,9 @@ dependencies:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '2.0'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: '2.4'
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -52,6 +55,9 @@ dependencies:
52
55
  - - "~>"
53
56
  - !ruby/object:Gem::Version
54
57
  version: '2.0'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '2.4'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: rails
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -108,20 +114,6 @@ dependencies:
108
114
  - - "~>"
109
115
  - !ruby/object:Gem::Version
110
116
  version: '3.10'
111
- - !ruby/object:Gem::Dependency
112
- name: shoulda-matchers
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '5.0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '5.0'
125
117
  description: Build complex contents for your ActiveRecord models in a controllable
126
118
  way.
127
119
  email:
@@ -188,7 +180,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
188
180
  requirements:
189
181
  - - ">="
190
182
  - !ruby/object:Gem::Version
191
- version: 2.6.0
183
+ version: 2.7.0
192
184
  required_rubygems_version: !ruby/object:Gem::Requirement
193
185
  requirements:
194
186
  - - ">="