ruby_deep_clone 0.7.4 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/deep_clone/deep_clone.c +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6532ebc7f8da9a81ee585a1aa97f56250a8db6d3
|
4
|
+
data.tar.gz: 5bc7a6d1489fb005fd0b36ab2ca79c5fd2fe564e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ee5ea70c733f83ff632e61e9f26ad9617e9c6116e111eada82246ba9795493fe88727fd7ba07ecec67cff6dbd459ddc6f963335a5daed51723f2c59a45a4b51
|
7
|
+
data.tar.gz: 7624ccd4bad947f16543a2e9f521683ef3987c080bdc430ffb8f70547b86cfcac9d82ed7f2c464e53fa0914354c03de35d3756ac5b137fb9ca9e0169f88c8615
|
data/ext/deep_clone/deep_clone.c
CHANGED
@@ -58,7 +58,7 @@ static int hash_each(VALUE key, VALUE value, struct dump_call_arg *arg)
|
|
58
58
|
|
59
59
|
static VALUE clone_object(VALUE object, VALUE tracker)
|
60
60
|
{
|
61
|
-
if(rb_special_const_p(object) ||
|
61
|
+
if(rb_special_const_p(object) || SYMBOL_P(object))
|
62
62
|
{
|
63
63
|
return object;
|
64
64
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_deep_clone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthias Balmer
|
@@ -46,14 +46,14 @@ dependencies:
|
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
49
|
+
version: '3.6'
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
56
|
+
version: '3.6'
|
57
57
|
description: Native implementation to create deep clones of Ruby objects
|
58
58
|
email:
|
59
59
|
- balmma@sysinf.ch
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
90
|
rubyforge_project:
|
91
|
-
rubygems_version: 2.6.
|
91
|
+
rubygems_version: 2.6.11
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: Ruby native deep clone
|