cocooned 2.3.0 → 2.4.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: '09dea153d60f4775a1971687cd1559ee09ef878f97ce865088ab76189db919e7'
4
- data.tar.gz: dea0da54a7111ac9723faec4ea74f3f058e3db2884aecd14233b0e13c74881e5
3
+ metadata.gz: b4f258af059810a6c416beec05676cb361a23922b25706daa7f9b2c8b9f0eacf
4
+ data.tar.gz: 21c5883b7dfd83c6b1f58b513f81af3bb04cf0704479611d20c29b6d19b4e1b0
5
5
  SHA512:
6
- metadata.gz: aa27825fcb619f22b8bf86472a367c2ad131b8b84fffbabc2a80a7b90d50aa42a0a5dbaf8c873c751e7f043a527a044d4bce84706f3c1808297c26bcf3d658f5
7
- data.tar.gz: b1338f4ff4433fd28cd967475d49dddc638df8b2e579d75675316ac8cacf8e3a318e4651c118060f576e25b46a11214b8b97b6109c2db8758036050311c153fc
6
+ metadata.gz: 1e2613dbe355017c12b3f370c79721246c798661fb8a7ad6e73a243af0cc1fbe0ee12c605dbc78aa50a82e1ca4a83c7df5c5c1cdb3e42d97ac2486c4765bcadb
7
+ data.tar.gz: 1e2cd045d9f3aa4f9862309626831aa70d4d2c71e495783dbc332a5cb306af567eb9590ea093f9ea5a3fbca63657c87132f4fb5be4f14653292a7482a3b5d023
data/CHANGELOG.md CHANGED
@@ -6,6 +6,17 @@ 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.4.0 (2024-10-01)
10
+
11
+ ### Fixed
12
+
13
+ * Drop support for Rails < 7.0 (#73, thanks @mattmenefee)
14
+
15
+ ### Changed
16
+
17
+ * Reintroduce Ruby 2.7 to the test matrix (#80)
18
+ So tested rubies are the same as supported Rails versions minimum requirements.
19
+
9
20
  ## Version 2.3.0 (2024-08-23)
10
21
 
11
22
  ### Fixed
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Cocooned makes it easier to handle nested forms in Rails.
7
7
 
8
- Cocooned is form builder-agnostic: it works with standard Rails (>= 6.1, < 8.0) form helpers, [Formtastic](https://github.com/justinfrench/formtastic) or [SimpleForm](https://github.com/plataformatec/simple_form).
8
+ Cocooned is form builder-agnostic: it works with standard Rails (>= 7.0, < 8.0) form helpers, [Formtastic](https://github.com/justinfrench/formtastic) or [SimpleForm](https://github.com/plataformatec/simple_form).
9
9
 
10
10
  1. [Background](#some-background)
11
11
  2. [Installation](#installation)
data/cocooned.gemspec CHANGED
@@ -38,9 +38,9 @@ Gem::Specification.new do |spec|
38
38
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
39
39
  f.match(excluded_dirs) || excluded_files.include?(f)
40
40
  end
41
- spec.required_ruby_version = '>= 2.6'
41
+ spec.required_ruby_version = '>= 2.7'
42
42
 
43
- spec.add_dependency 'rails', '>= 6.1', '<= 8.0'
43
+ spec.add_dependency 'rails', '>= 7.0', '<= 8.0'
44
44
 
45
45
  spec.add_development_dependency 'bundler', '~> 2.1'
46
46
  spec.add_development_dependency 'rake', '~> 13.0'
@@ -22,15 +22,15 @@ module Cocooned
22
22
  module Helpers # :nodoc:
23
23
  module Tags # :nodoc:
24
24
  # @deprecated: Please use {#cocooned_add_item_link} instead
25
- def link_to_add_association(*args, &block)
26
- cocooned_add_item_link(*args, &block)
25
+ def link_to_add_association(...)
26
+ cocooned_add_item_link(...)
27
27
  end
28
28
  deprecate link_to_add_association: 'Use :cocooned_add_link instead',
29
29
  deprecator: Deprecation['3.0']
30
30
 
31
31
  # @deprecated: Please use {#cocooned_remove_item_link} instead
32
- def link_to_remove_association(*args, &block)
33
- cocooned_remove_item_link(*args, &block)
32
+ def link_to_remove_association(...)
33
+ cocooned_remove_item_link(...)
34
34
  end
35
35
  deprecate link_to_remove_association: 'Use :cocooned_remove_item_link instead',
36
36
  deprecator: Deprecation['3.0']
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cocooned
4
- VERSION = '2.3.0'
4
+ VERSION = '2.4.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocooned
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gaël-Ian Havard
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-08-23 00:00:00.000000000 Z
12
+ date: 2024-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -17,7 +17,7 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '6.1'
20
+ version: '7.0'
21
21
  - - "<="
22
22
  - !ruby/object:Gem::Version
23
23
  version: '8.0'
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - ">="
29
29
  - !ruby/object:Gem::Version
30
- version: '6.1'
30
+ version: '7.0'
31
31
  - - "<="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '8.0'
@@ -131,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
131
  requirements:
132
132
  - - ">="
133
133
  - !ruby/object:Gem::Version
134
- version: '2.6'
134
+ version: '2.7'
135
135
  required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - ">="