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 +4 -4
- data/Appraisals +12 -1
- data/CHANGELOG.md +10 -2
- data/Gemfile +3 -3
- data/Gemfile.lock +42 -25
- data/LICENSE +1 -1
- data/deep_cloneable.gemspec +2 -2
- data/lib/deep_cloneable/version.rb +1 -1
- data/readme.md +4 -5
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2749ea92fe72a12b752f018602733db2b323419cd2888b7fda796953b15aaf2b
|
4
|
+
data.tar.gz: adb2ecc923a0d25ee51681577fc93b7ed11b6c294e84c38fddc99733ff48208c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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', '<
|
6
|
-
gem 'bundler',
|
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', '~>
|
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
|
-
activesupport (=
|
6
|
-
activerecord (
|
7
|
-
activemodel (=
|
8
|
-
activesupport (=
|
9
|
-
|
10
|
-
activesupport (
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
-
|
20
|
-
|
21
|
-
|
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
|
-
|
35
|
+
logger (1.6.1)
|
36
|
+
mini_portile2 (2.8.7)
|
37
|
+
minitest (5.25.1)
|
24
38
|
rake (12.3.3)
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
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, <
|
52
|
+
activerecord (>= 3.1.0, < 9)
|
36
53
|
appraisal
|
37
|
-
bundler
|
54
|
+
bundler
|
38
55
|
minitest
|
39
56
|
rake (~> 12.3)
|
40
|
-
sqlite3 (~>
|
57
|
+
sqlite3 (~> 2.2)
|
41
58
|
|
42
59
|
BUNDLED WITH
|
43
|
-
|
60
|
+
2.5.20
|
data/LICENSE
CHANGED
data/deep_cloneable.gemspec
CHANGED
@@ -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', '<
|
20
|
+
s.add_runtime_dependency('activerecord', ['>= 3.1.0', '< 9'])
|
21
21
|
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
|
-
-
|
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.
|
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 ©
|
242
|
+
Copyright © 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.
|
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:
|
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: '
|
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: '
|
33
|
-
description:
|
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.
|
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.
|