deep_cloneable 3.2.0 → 3.2.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: 5e7c12bc2e33b41524e73c6802e8c3c80ae3e71856439d3509a8c1c285cc85d8
4
- data.tar.gz: fa795a3daaf2af8fb522ffb038202af6ea3aa02c4eecdc22d931c2458f30e8bd
3
+ metadata.gz: 2749ea92fe72a12b752f018602733db2b323419cd2888b7fda796953b15aaf2b
4
+ data.tar.gz: adb2ecc923a0d25ee51681577fc93b7ed11b6c294e84c38fddc99733ff48208c
5
5
  SHA512:
6
- metadata.gz: 5c1a9cc10c9cc236ffef3ea9175b290feca66888608a2e2638c7b0b419cdb32fe53a514164bd222ab55b09f2df70e5e3c5570418204269fa0b140ed916f064a7
7
- data.tar.gz: a1fe5158ba55927978b9afae9f8adaef51a45eb6e6e70d93bc0739f4e2128b1142968d22b63116f951b7ca23cf831b5d27ece2f0dfc16a68a018858a8b28ee3f
6
+ metadata.gz: fad4e3914d636d48f3230869229a28a111fdab97d66469fb539fe34bd248f3b278559346a4517c3c5f43fa2664ea040763f6b5d442a7dd1be4e7e1db9a3a8017
7
+ data.tar.gz: 5b6a8a672b640178389d38e1fb13b8110f40ab9e9a2cffc0637f948323ea640e0f1508f672410538809ecc353cd2e90976a06ba9087ad25e2d3b3405a5c7a2e6
data/Appraisals CHANGED
@@ -3,36 +3,43 @@
3
3
  appraise '3.2' do
4
4
  gem 'activerecord', '~> 3.2.0'
5
5
  gem 'i18n', '~> 0.6.5'
6
+ gem 'sqlite3', '~> 1.3.13'
6
7
  end
7
8
 
8
9
  appraise '4.0' do
9
10
  gem 'activerecord', '~> 4.0.0'
10
11
  gem 'i18n', '~> 0.6.5'
12
+ gem 'sqlite3', '~> 1.3.13'
11
13
  end
12
14
 
13
15
  appraise '4.1' do
14
16
  gem 'activerecord', '~> 4.1.0'
15
17
  gem 'i18n', '~> 0.6.9'
18
+ gem 'sqlite3', '~> 1.3.13'
16
19
  end
17
20
 
18
21
  appraise '4.2' do
19
22
  gem 'activerecord', '~> 4.2.3'
20
23
  gem 'i18n', '~> 0.7.0'
24
+ gem 'sqlite3', '~> 1.3.13'
21
25
  end
22
26
 
23
27
  appraise '5.0' do
24
28
  gem 'activerecord', '~> 5.0.0'
25
29
  gem 'i18n', '~> 0.7.0'
30
+ gem 'sqlite3', '~> 1.3.13'
26
31
  end
27
32
 
28
33
  appraise '5.1' do
29
34
  gem 'activerecord', '~> 5.1.0'
30
35
  gem 'i18n', '~> 0.7.0'
36
+ gem 'sqlite3', '~> 1.3.13'
31
37
  end
32
38
 
33
39
  appraise '5.2' do
34
40
  gem 'activerecord', '~> 5.2.0'
35
41
  gem 'i18n', '~> 0.7.0'
42
+ gem 'sqlite3', '~> 1.3.13'
36
43
  end
37
44
 
38
45
  appraise '6.0' do
@@ -42,5 +49,9 @@ end
42
49
 
43
50
  appraise '7.0' do
44
51
  gem 'activerecord', '~> 7.0.0'
45
- gem 'sqlite3', '~> 1.4.2'
52
+ gem 'sqlite3', '~> 1.4.1'
53
+ end
54
+
55
+ appraise '8.0' do
56
+ gem 'activerecord', '~> 8.0.0'
46
57
  end
data/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [3.2.1] - 2024-11-20
11
+
12
+ ### Added
13
+
14
+ - Added Ruby 3.3.5 support
15
+ - Added Rails 8.0 support
16
+
10
17
  ## [3.2.0] - 2021-12-28
11
18
 
12
19
  ### Added
@@ -30,7 +37,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
30
37
  ### Fixed
31
38
 
32
39
  - Ensure the initial options hash is never modified
33
- - When using conditions in combination with array includes, ensure nested includes are not accidentally deleted
40
+ - When using conditions in combination with array includes, ensure nested includes are not accidentally deleted
34
41
 
35
42
  ### Removed
36
43
 
@@ -307,7 +314,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
307
314
 
308
315
  - Convert existing code to a gem
309
316
 
310
- [unreleased]: https://github.com/moiristo/deep_cloneable/compare/v3.2.0...HEAD
317
+ [unreleased]: https://github.com/moiristo/deep_cloneable/compare/v3.2.1...HEAD
318
+ [3.2.1]: https://github.com/moiristo/deep_cloneable/compare/v3.2.0...v3.2.1
311
319
  [3.2.0]: https://github.com/moiristo/deep_cloneable/compare/v3.1.0...v3.2.0
312
320
  [3.1.0]: https://github.com/moiristo/deep_cloneable/compare/v3.0.0...v3.1.0
313
321
  [3.0.0]: https://github.com/moiristo/deep_cloneable/compare/v2.4.0...v3.0.0
data/Gemfile CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  source 'http://rubygems.org'
4
4
 
5
- gem 'activerecord', '>= 3.1.0', '< 8'
6
- gem 'bundler', '~> 1.17.3', :group => :test
5
+ gem 'activerecord', '>= 3.1.0', '< 9'
6
+ gem 'bundler', :group => :test
7
7
  gem 'rake', '~> 12.3', :group => :test
8
8
 
9
9
  gem 'appraisal', :group => :test
10
10
  gem 'minitest', :group => :test
11
- gem 'sqlite3', '~> 1.3.13', :group => :test
11
+ gem 'sqlite3', '~> 2.2', :group => :test
data/Gemfile.lock CHANGED
@@ -1,43 +1,60 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- activemodel (5.2.0)
5
- activesupport (= 5.2.0)
6
- activerecord (5.2.0)
7
- activemodel (= 5.2.0)
8
- activesupport (= 5.2.0)
9
- arel (>= 9.0)
10
- activesupport (5.2.0)
11
- concurrent-ruby (~> 1.0, >= 1.0.2)
12
- i18n (>= 0.7, < 2)
13
- minitest (~> 5.1)
14
- tzinfo (~> 1.1)
15
- appraisal (2.2.0)
4
+ activemodel (8.0.0)
5
+ activesupport (= 8.0.0)
6
+ activerecord (8.0.0)
7
+ activemodel (= 8.0.0)
8
+ activesupport (= 8.0.0)
9
+ timeout (>= 0.4.0)
10
+ activesupport (8.0.0)
11
+ base64
12
+ benchmark (>= 0.3)
13
+ bigdecimal
14
+ concurrent-ruby (~> 1.0, >= 1.3.1)
15
+ connection_pool (>= 2.2.5)
16
+ drb
17
+ i18n (>= 1.6, < 2)
18
+ logger (>= 1.4.2)
19
+ minitest (>= 5.1)
20
+ securerandom (>= 0.3)
21
+ tzinfo (~> 2.0, >= 2.0.5)
22
+ uri (>= 0.13.1)
23
+ appraisal (2.5.0)
16
24
  bundler
17
25
  rake
18
26
  thor (>= 0.14.0)
19
- arel (9.0.0)
20
- concurrent-ruby (1.0.5)
21
- i18n (1.0.0)
27
+ base64 (0.2.0)
28
+ benchmark (0.4.0)
29
+ bigdecimal (3.1.8)
30
+ concurrent-ruby (1.3.4)
31
+ connection_pool (2.4.1)
32
+ drb (2.2.1)
33
+ i18n (1.14.6)
22
34
  concurrent-ruby (~> 1.0)
23
- minitest (5.11.3)
35
+ logger (1.6.1)
36
+ mini_portile2 (2.8.7)
37
+ minitest (5.25.1)
24
38
  rake (12.3.3)
25
- sqlite3 (1.3.13)
26
- thor (0.20.3)
27
- thread_safe (0.3.6)
28
- tzinfo (1.2.5)
29
- thread_safe (~> 0.1)
39
+ securerandom (0.3.2)
40
+ sqlite3 (2.2.0)
41
+ mini_portile2 (~> 2.8.0)
42
+ thor (1.3.2)
43
+ timeout (0.4.2)
44
+ tzinfo (2.0.6)
45
+ concurrent-ruby (~> 1.0)
46
+ uri (1.0.2)
30
47
 
31
48
  PLATFORMS
32
49
  ruby
33
50
 
34
51
  DEPENDENCIES
35
- activerecord (>= 3.1.0, < 8)
52
+ activerecord (>= 3.1.0, < 9)
36
53
  appraisal
37
- bundler (~> 1.17.3)
54
+ bundler
38
55
  minitest
39
56
  rake (~> 12.3)
40
- sqlite3 (~> 1.3.13)
57
+ sqlite3 (~> 2.2)
41
58
 
42
59
  BUNDLED WITH
43
- 1.17.3
60
+ 2.5.20
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2021 Reinier de Lange
1
+ Copyright (c) 2024 Reinier de Lange
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.name = 'deep_cloneable'
8
8
  s.version = DeepCloneable::VERSION
9
9
  s.authors = ['Reinier de Lange']
10
- s.description = 'Extends the functionality of ActiveRecord::Base#dup to perform a deep clone that includes user specified associations. '
10
+ s.description = 'Extends the functionality of ActiveRecord::Base#dup to perform a deep clone that includes user specified associations.'
11
11
  s.summary = 'This gem gives every ActiveRecord::Base object the possibility to do a deep clone.'
12
12
  s.email = 'rjdelange@icloud.com'
13
13
  s.extra_rdoc_files = ['LICENSE']
@@ -17,5 +17,5 @@ Gem::Specification.new do |s|
17
17
  s.platform = Gem::Platform::RUBY
18
18
  s.required_ruby_version = '>= 1.9.3'
19
19
  s.require_paths = ['lib']
20
- s.add_runtime_dependency('activerecord', ['>= 3.1.0', '< 8'])
20
+ s.add_runtime_dependency('activerecord', ['>= 3.1.0', '< 9'])
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module DeepCloneable
2
- VERSION = '3.2.0'
2
+ VERSION = '3.2.1'
3
3
  end
data/readme.md CHANGED
@@ -6,9 +6,8 @@ This gem gives every ActiveRecord::Base object the possibility to do a deep clon
6
6
 
7
7
  ## Requirements
8
8
 
9
- - Ruby 2.3.0, 2.4.4, 2.5.5, 2.6.3, 2.7.5 (tested)
10
- - TruffleRuby 21.3.0
11
- - Activerecord 3.2, 4.0, 4.1, 4.2, 5.0, 5.1, 5.2, 6.0, 7.0 (tested)
9
+ - Ruby 2.3.0, 2.4.4, 2.5.5, 2.6.3, 2.7.5, 3.3.5 (tested)
10
+ - Activerecord 3.2, 4.0, 4.1, 4.2, 5.0, 5.1, 5.2, 6.0, 7.0, 8.0 (tested)
12
11
  - Rails 2.x/3.0 users, please check out the 'rails2.x-3.0' branch
13
12
 
14
13
  ## Installation
@@ -16,7 +15,7 @@ This gem gives every ActiveRecord::Base object the possibility to do a deep clon
16
15
  - Add deep_cloneable to your Gemfile:
17
16
 
18
17
  ```ruby
19
- gem 'deep_cloneable', '~> 3.2.0'
18
+ gem 'deep_cloneable', '~> 3.2.1'
20
19
  ```
21
20
 
22
21
  ## Upgrade details
@@ -240,4 +239,4 @@ pirate.deep_clone include: [:parrot, :rum], skip_missing_associations: true
240
239
 
241
240
  ### Copyright
242
241
 
243
- Copyright &copy; 2021 Reinier de Lange. See LICENSE for details.
242
+ Copyright &copy; 2024 Reinier de Lange. See LICENSE for details.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deep_cloneable
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reinier de Lange
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-28 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 3.1.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '8'
22
+ version: '9'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,9 +29,9 @@ dependencies:
29
29
  version: 3.1.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '8'
33
- description: 'Extends the functionality of ActiveRecord::Base#dup to perform a deep
34
- clone that includes user specified associations. '
32
+ version: '9'
33
+ description: Extends the functionality of ActiveRecord::Base#dup to perform a deep
34
+ clone that includes user specified associations.
35
35
  email: rjdelange@icloud.com
36
36
  executables: []
37
37
  extensions: []
@@ -56,7 +56,7 @@ homepage: https://github.com/moiristo/deep_cloneable
56
56
  licenses:
57
57
  - MIT
58
58
  metadata: {}
59
- post_install_message:
59
+ post_install_message:
60
60
  rdoc_options: []
61
61
  require_paths:
62
62
  - lib
@@ -71,8 +71,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.1.6
75
- signing_key:
74
+ rubygems_version: 3.5.20
75
+ signing_key:
76
76
  specification_version: 4
77
77
  summary: This gem gives every ActiveRecord::Base object the possibility to do a deep
78
78
  clone.