ruby_deep_clone 0.7.2 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -13
  2. data/ext/deep_clone/deep_clone.c +1 -1
  3. metadata +12 -12
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZTNhNTQzYjVkMDY3Nzc0OWUzMDQzY2YzMzdlNGE1NDNkNmYyNjgzMg==
5
- data.tar.gz: !binary |-
6
- MzkwYmZiMWI0ODdmYmNkMWJhMDEzNTdjODdhNjc1MzMxNGZkZWRkMw==
2
+ SHA1:
3
+ metadata.gz: 6c739bc01e879d28ac7b5964dc5f80eccd7e91fc
4
+ data.tar.gz: b4725db482505617aec8ac5f25533340c98b6caf
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MjE5MjVkMWQ1NDVhYjA5MzA0NzgzZmMwODgxZGM2OTFmZjFhYzdmYjlhNDQ0
10
- NTI0OGE5NmU2ZTU3ZjlkMTM5YjM2Y2Y2NDcwYWJlY2ZkY2ZjYzJmMjFmNjgy
11
- OWYyYjlmNjU0MzY1NmFmZTBjYmVlYzYwYzk0ZTcwZTAxNmQxOTg=
12
- data.tar.gz: !binary |-
13
- OTk5ZTkyNjkyOGJiMWYwOGNmMTBiN2M0Njg1NDIxYmJiODZiMGNjODY1Yjcy
14
- MGY2OWZhNGYwYWE0ZTZlMjJiODFiZTBmOTgyMmM2ZGIyNDQ1MmMzNjRiZGRh
15
- MjA4ZmFiMDFjN2RiZGFkNDE4ZTE2MjMwM2E5YzFkMjJmYTEwYjY=
6
+ metadata.gz: 1215f1d3974b8b0ff0b8db86ac0e383015fe5c69f2763526fc3afc2d2708e09b50334abc599690a074d4248ca2cb3899bc7abe32464584eade0877ff0939ea81
7
+ data.tar.gz: dc64d2ef824411511260d2a26bc67d2b1120504ca4f926d543868714e2ee9fb38813545fb692e20a1cb85d6d48aa4cc42ed8e4bdfcd72ac17acc61f3df1e0a03
@@ -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) || RB_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.7.2
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Balmer
@@ -10,48 +10,48 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-04-21 00:00:00.000000000 Z
13
+ date: 2017-08-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ~>
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
21
  version: '10.5'
22
22
  type: :development
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ~>
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: '10.5'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rake-compiler
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - ~>
33
+ - - "~>"
34
34
  - !ruby/object:Gem::Version
35
35
  version: 0.8.3
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ~>
40
+ - - "~>"
41
41
  - !ruby/object:Gem::Version
42
42
  version: 0.8.3
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: rspec
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ~>
47
+ - - "~>"
48
48
  - !ruby/object:Gem::Version
49
49
  version: '2.99'
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
56
  version: '2.99'
57
57
  description: Native implementation to create deep clones of Ruby objects
@@ -68,7 +68,7 @@ files:
68
68
  - ext/deep_clone/deep_clone.h
69
69
  - ext/deep_clone/extconf.rb
70
70
  - lib/deep_clone.rb
71
- homepage: https://github.com/balmma/ruby-deepclone
71
+ homepage: https://github.com/gmodarelli/ruby-deepclone
72
72
  licenses:
73
73
  - MIT
74
74
  metadata: {}
@@ -78,17 +78,17 @@ require_paths:
78
78
  - lib
79
79
  required_ruby_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ! '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ! '>='
86
+ - - ">="
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
90
  rubyforge_project:
91
- rubygems_version: 2.4.7
91
+ rubygems_version: 2.6.8
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Ruby native deep clone