deep_cloneable 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +5 -5
- data/CHANGELOG.md +15 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -2
- data/Rakefile +1 -0
- data/deep_cloneable.gemspec +1 -1
- data/lib/deep_cloneable/version.rb +1 -1
- data/readme.md +5 -5
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e7c12bc2e33b41524e73c6802e8c3c80ae3e71856439d3509a8c1c285cc85d8
|
4
|
+
data.tar.gz: fa795a3daaf2af8fb522ffb038202af6ea3aa02c4eecdc22d931c2458f30e8bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c1a9cc10c9cc236ffef3ea9175b290feca66888608a2e2638c7b0b419cdb32fe53a514164bd222ab55b09f2df70e5e3c5570418204269fa0b140ed916f064a7
|
7
|
+
data.tar.gz: a1fe5158ba55927978b9afae9f8adaef51a45eb6e6e70d93bc0739f4e2128b1142968d22b63116f951b7ca23cf831b5d27ece2f0dfc16a68a018858a8b28ee3f
|
data/Appraisals
CHANGED
@@ -1,10 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
appraise '3.1' do
|
4
|
-
gem 'activerecord', '~> 3.1.0'
|
5
|
-
gem 'i18n', '~> 0.6.5'
|
6
|
-
end
|
7
|
-
|
8
3
|
appraise '3.2' do
|
9
4
|
gem 'activerecord', '~> 3.2.0'
|
10
5
|
gem 'i18n', '~> 0.6.5'
|
@@ -44,3 +39,8 @@ appraise '6.0' do
|
|
44
39
|
gem 'activerecord', '~> 6.0.0'
|
45
40
|
gem 'sqlite3', '~> 1.4.1'
|
46
41
|
end
|
42
|
+
|
43
|
+
appraise '7.0' do
|
44
|
+
gem 'activerecord', '~> 7.0.0'
|
45
|
+
gem 'sqlite3', '~> 1.4.2'
|
46
|
+
end
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [3.2.0] - 2021-12-28
|
11
|
+
|
12
|
+
### Added
|
13
|
+
|
14
|
+
- Added GitHub Actions integration & badge
|
15
|
+
- Added Ruby 2.7.5 support
|
16
|
+
- Added Rails 7.0 support
|
17
|
+
|
18
|
+
### Removed
|
19
|
+
|
20
|
+
- Removed Travis-ci integration
|
21
|
+
- Remove EOL rubies from CI (ruby 1.9-2.2)
|
22
|
+
|
10
23
|
## [3.1.0] - 2021-02-17
|
11
24
|
|
12
25
|
### Added
|
@@ -294,7 +307,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
294
307
|
|
295
308
|
- Convert existing code to a gem
|
296
309
|
|
297
|
-
[unreleased]: https://github.com/moiristo/deep_cloneable/compare/v3.
|
310
|
+
[unreleased]: https://github.com/moiristo/deep_cloneable/compare/v3.2.0...HEAD
|
311
|
+
[3.2.0]: https://github.com/moiristo/deep_cloneable/compare/v3.1.0...v3.2.0
|
298
312
|
[3.1.0]: https://github.com/moiristo/deep_cloneable/compare/v3.0.0...v3.1.0
|
299
313
|
[3.0.0]: https://github.com/moiristo/deep_cloneable/compare/v2.4.0...v3.0.0
|
300
314
|
[2.4.0]: https://github.com/moiristo/deep_cloneable/compare/v2.3.2...v2.4.0
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -23,7 +23,7 @@ GEM
|
|
23
23
|
minitest (5.11.3)
|
24
24
|
rake (12.3.3)
|
25
25
|
sqlite3 (1.3.13)
|
26
|
-
thor (0.20.
|
26
|
+
thor (0.20.3)
|
27
27
|
thread_safe (0.3.6)
|
28
28
|
tzinfo (1.2.5)
|
29
29
|
thread_safe (~> 0.1)
|
@@ -32,7 +32,7 @@ PLATFORMS
|
|
32
32
|
ruby
|
33
33
|
|
34
34
|
DEPENDENCIES
|
35
|
-
activerecord (>= 3.1.0, <
|
35
|
+
activerecord (>= 3.1.0, < 8)
|
36
36
|
appraisal
|
37
37
|
bundler (~> 1.17.3)
|
38
38
|
minitest
|
data/Rakefile
CHANGED
data/deep_cloneable.gemspec
CHANGED
@@ -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', '< 8'])
|
21
21
|
end
|
data/readme.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# deep_cloneable
|
2
2
|
|
3
|
-
|
3
|
+
![Build Status](https://github.com/moiristo/deep_cloneable/actions/workflows/ruby.yml/badge.svg)
|
4
4
|
|
5
5
|
This gem gives every ActiveRecord::Base object the possibility to do a deep clone that includes user specified associations. It is a rails 3+ upgrade of the [deep_cloning plugin](http://github.com/openminds/deep_cloning).
|
6
6
|
|
7
7
|
## Requirements
|
8
8
|
|
9
|
-
- Ruby
|
10
|
-
- TruffleRuby
|
11
|
-
- Activerecord 3.
|
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)
|
12
12
|
- Rails 2.x/3.0 users, please check out the 'rails2.x-3.0' branch
|
13
13
|
|
14
14
|
## Installation
|
@@ -16,7 +16,7 @@ This gem gives every ActiveRecord::Base object the possibility to do a deep clon
|
|
16
16
|
- Add deep_cloneable to your Gemfile:
|
17
17
|
|
18
18
|
```ruby
|
19
|
-
gem 'deep_cloneable', '~> 3.
|
19
|
+
gem 'deep_cloneable', '~> 3.2.0'
|
20
20
|
```
|
21
21
|
|
22
22
|
## Upgrade 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.
|
4
|
+
version: 3.2.0
|
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-
|
11
|
+
date: 2021-12-28 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: '8'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 3.1.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '8'
|
33
33
|
description: 'Extends the functionality of ActiveRecord::Base#dup to perform a deep
|
34
34
|
clone that includes user specified associations. '
|
35
35
|
email: rjdelange@icloud.com
|
@@ -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.1.6
|
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.
|