deep_dive 0.3.3 → 0.3.4

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
  SHA1:
3
- metadata.gz: 0dbb4529c8043d1cc30f7d5e457d6f20eb40043f
4
- data.tar.gz: 420314b6ab8acac995cd633b81e6ebf1dff96b44
3
+ metadata.gz: 85be47af2f920be449f97d14ba6b04e7cf4c89f5
4
+ data.tar.gz: 3a6af699214c25d7731a7234da185124c1339654
5
5
  SHA512:
6
- metadata.gz: 6b26aa413adaa62d83273f9267c879887cdde31fce8f4f85f9a4a60d238977235b745948b5227e3e09d952258a9c41fe6df578eb15330333c3f907935eeb76ea
7
- data.tar.gz: e41ce91b97979b2eded481b18fe4be4390e49cc585ef6dea7e250759b775c248edaa6688786bbb9a5a21e89cd9578eef5121edb376e242cd712a0863fd8e344b
6
+ metadata.gz: bdaa82990860f9f5dc52009cb0ccf101c2162838585da6f69927218e0c5dfdc34a7a6945fc2ffe781dc603daa65e992ff448a6ba3d11cd3a54d28a019d49924f
7
+ data.tar.gz: 94b0ff5561829809cc923d406452c20165fddc5a1552edf0e5d3a8af8330c41e527a33464f206e45edd3938607436c1011ba89ba2538b4b013d539b26c3a95d8
data/.semver CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 3
4
- :patch: 3
4
+ :patch: 4
5
5
  :special: ''
@@ -5,8 +5,8 @@ GEM
5
5
  binding_of_caller (0.7.2)
6
6
  debug_inspector (>= 0.0.1)
7
7
  builder (3.2.2)
8
- byebug (8.2.2)
9
- coderay (1.1.0)
8
+ byebug (9.0.6)
9
+ coderay (1.1.1)
10
10
  debug_inspector (0.0.2)
11
11
  descendants_tracker (0.0.4)
12
12
  thread_safe (~> 0.3, >= 0.3.1)
@@ -14,19 +14,18 @@ GEM
14
14
  docile (1.1.5)
15
15
  faraday (0.9.2)
16
16
  multipart-post (>= 1.2, < 3)
17
- ffi (1.9.10)
17
+ ffi (1.9.14)
18
18
  formatador (0.2.5)
19
- git (1.2.9.1)
20
- github_api (0.13.1)
19
+ git (1.3.0)
20
+ github_api (0.14.5)
21
21
  addressable (~> 2.4.0)
22
22
  descendants_tracker (~> 0.0.4)
23
23
  faraday (~> 0.8, < 0.10)
24
24
  hashie (>= 3.4)
25
- multi_json (>= 1.7.5, < 2.0)
26
- oauth2
27
- guard (2.13.0)
25
+ oauth2 (~> 1.0)
26
+ guard (2.14.0)
28
27
  formatador (>= 0.2.4)
29
- listen (>= 2.7, <= 4.0)
28
+ listen (>= 2.7, < 4.0)
30
29
  lumberjack (~> 1.0)
31
30
  nenv (~> 0.1)
32
31
  notiffany (~> 0.0)
@@ -35,62 +34,64 @@ GEM
35
34
  thor (>= 0.18.1)
36
35
  guard-rspec (1.2.2)
37
36
  guard (>= 1.1)
38
- hashie (3.4.3)
37
+ hashie (3.4.6)
39
38
  highline (1.7.8)
40
39
  interception (0.5)
41
40
  json (1.8.3)
42
- juwelier (2.1.0)
41
+ juwelier (2.1.3)
43
42
  builder
44
- bundler (>= 1.0)
43
+ bundler (>= 1.13)
45
44
  git (>= 1.2.5)
46
45
  github_api
47
46
  highline (>= 1.6.15)
48
47
  nokogiri (>= 1.5.10)
49
48
  rake
50
49
  rdoc
51
- jwt (1.5.1)
52
- listen (3.0.5)
53
- rb-fsevent (>= 0.9.3)
54
- rb-inotify (>= 0.9)
50
+ semver
51
+ jwt (1.5.6)
52
+ listen (3.1.5)
53
+ rb-fsevent (~> 0.9, >= 0.9.4)
54
+ rb-inotify (~> 0.9, >= 0.9.7)
55
+ ruby_dep (~> 1.2)
55
56
  lumberjack (1.0.10)
56
57
  method_source (0.8.2)
57
- mini_portile2 (2.0.0)
58
- multi_json (1.11.2)
58
+ mini_portile2 (2.1.0)
59
+ multi_json (1.12.1)
59
60
  multi_xml (0.5.5)
60
61
  multipart-post (2.0.0)
61
62
  nenv (0.3.0)
62
- nokogiri (1.6.7.2)
63
- mini_portile2 (~> 2.0.0.rc2)
64
- notiffany (0.0.8)
63
+ nokogiri (1.6.8.1)
64
+ mini_portile2 (~> 2.1.0)
65
+ notiffany (0.1.1)
65
66
  nenv (~> 0.1)
66
67
  shellany (~> 0.0)
67
- oauth2 (1.1.0)
68
+ oauth2 (1.2.0)
68
69
  faraday (>= 0.8, < 0.10)
69
- jwt (~> 1.0, < 1.5.2)
70
+ jwt (~> 1.0)
70
71
  multi_json (~> 1.3)
71
72
  multi_xml (~> 0.5)
72
73
  rack (>= 1.2, < 3)
73
- pry (0.10.3)
74
+ pry (0.10.4)
74
75
  coderay (~> 1.1.0)
75
76
  method_source (~> 0.8.1)
76
77
  slop (~> 3.4)
77
- pry-byebug (3.3.0)
78
- byebug (~> 8.0)
78
+ pry-byebug (3.4.0)
79
+ byebug (~> 9.0)
79
80
  pry (~> 0.10)
80
- pry-doc (0.8.0)
81
+ pry-doc (0.9.0)
81
82
  pry (~> 0.9)
82
83
  yard (~> 0.8)
83
84
  pry-remote (0.1.8)
84
85
  pry (~> 0.9)
85
86
  slop (~> 3.0)
86
- pry-rescue (1.4.2)
87
+ pry-rescue (1.4.4)
87
88
  interception (>= 0.5)
88
89
  pry
89
90
  pry-stack_explorer (0.4.9.2)
90
91
  binding_of_caller (>= 0.7)
91
92
  pry (>= 0.9.11)
92
- rack (1.6.4)
93
- rake (10.5.0)
93
+ rack (2.0.1)
94
+ rake (11.3.0)
94
95
  rb-fsevent (0.9.7)
95
96
  rb-inotify (0.9.7)
96
97
  ffi (>= 0.5.0)
@@ -104,17 +105,18 @@ GEM
104
105
  rspec-expectations (2.99.2)
105
106
  diff-lcs (>= 1.1.3, < 2.0)
106
107
  rspec-mocks (2.99.4)
108
+ ruby_dep (1.5.0)
107
109
  semver (1.0.1)
108
110
  shellany (0.0.1)
109
- simplecov (0.11.2)
111
+ simplecov (0.12.0)
110
112
  docile (~> 1.1.0)
111
- json (~> 1.8)
113
+ json (>= 1.8, < 3)
112
114
  simplecov-html (~> 0.10.0)
113
115
  simplecov-html (0.10.0)
114
116
  slop (3.6.0)
115
117
  thor (0.19.1)
116
118
  thread_safe (0.3.5)
117
- yard (0.8.7.6)
119
+ yard (0.9.5)
118
120
 
119
121
  PLATFORMS
120
122
  ruby
@@ -135,4 +137,4 @@ DEPENDENCIES
135
137
  simplecov (~> 0)
136
138
 
137
139
  BUNDLED WITH
138
- 1.11.2
140
+ 1.13.6
@@ -107,10 +107,20 @@ pick up the new reference.
107
107
 
108
108
  == Note Well
109
109
 
110
- DeepDive is expected to undergo rapid evolution until it hits 1.0.0. I will take
111
- every effort to keep the API backwards compatable until then.
110
+ DeepDive is expected to undergo "rapid" evolution until it hits 1.0.0. I will take
111
+ every effort to keep the API backwards compatable until then. Thing is, DeepDive
112
+ seems to be relatively stable anyway. As the RubyNEAT project is driving the features
113
+ of deep_dive, we may see more exotic features in the near future.
114
+
115
+ Rails is driving much of the Ruby landscape these days. Alas, I have yet to test
116
+ DeepDive in that context. In theory, it should just work fine, but I suspect there
117
+ will need to be special treatment, especially with ActiveRecord type objects. Feel
118
+ free to raise issues here so I can address them.
112
119
 
113
120
  == Release Notes
121
+ 2016-10-23 0.3.4 -- Minor update to spec because the older Rspec syntax
122
+ failed to work in one case. Also updated the dependencies, and ran Rspec
123
+ to ensure it still functions under Ruby 2.3.1
114
124
 
115
125
  2015-07-07 0.3.0 -- Added debugging and deep patching based on
116
126
  instance variable names.
@@ -118,7 +128,14 @@ instance variable names.
118
128
  2014-07-27 0.2.0 -- Implemented the exclusion block,
119
129
  made gem restrictive to Ruby 2.x and higher.
120
130
 
131
+ == Wish List and Known Issues
132
+
133
+ I wish to conver this document to org format someday.
134
+
135
+ I wish to fully support Rails and some of the special issues that may arise
136
+ there.
137
+
121
138
  == Copyright
122
139
 
123
- Copyright (c) 2013-2014 Fred Mitchell. See LICENSE.txt for
140
+ Copyright (c) 2013-2016 Fred Mitchell. See LICENSE.txt for
124
141
  further details.
data/Rakefile CHANGED
@@ -25,7 +25,7 @@ Juwelier::Tasks.new do |gem|
25
25
  gem.license = "MIT"
26
26
  gem.summary = %Q{DeepDive Deep Contolled Cloning}
27
27
  gem.version = s_version
28
- gem.required_ruby_version = '>= 2.0'
28
+ gem.required_ruby_version = '>= 2.2'
29
29
  gem.description = %Q{
30
30
  When you have a system of objects that have many references to each other, it becomes an
31
31
  issue to be able to clone properly that object graph. There may be control objects you may
@@ -34,7 +34,7 @@ Juwelier::Tasks.new do |gem|
34
34
  Enter DeepDive. Allows you a means by which you can do controlled deep cloning or
35
35
  copying of your complex interconnected objects.
36
36
  }
37
- gem.email = "lordalveric@yahoo.com"
37
+ gem.email = "fred.mitchell@gmx.de"
38
38
  gem.authors = ["Fred Mitchell"]
39
39
 
40
40
  # Exclusions
@@ -2,18 +2,18 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: deep_dive 0.3.3 ruby lib
5
+ # stub: deep_dive 0.3.4 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "deep_dive"
9
- s.version = "0.3.3"
9
+ s.version = "0.3.4"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Fred Mitchell"]
14
- s.date = "2016-02-09"
14
+ s.date = "2016-10-23"
15
15
  s.description = "\n When you have a system of objects that have many references to each other, it becomes an\n issue to be able to clone properly that object graph. There may be control objects you may\n not want to clone, but maintain references to. And some references you may not wish to clone at all.\n\n Enter DeepDive. Allows you a means by which you can do controlled deep cloning or\n copying of your complex interconnected objects.\n "
16
- s.email = "lordalveric@yahoo.com"
16
+ s.email = "fred.mitchell@gmx.de"
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.txt",
19
19
  "README.rdoc"
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
36
36
  ]
37
37
  s.homepage = "https://github.com/flajann2/deep_dive"
38
38
  s.licenses = ["MIT"]
39
- s.required_ruby_version = Gem::Requirement.new(">= 2.0")
39
+ s.required_ruby_version = Gem::Requirement.new(">= 2.2")
40
40
  s.rubygems_version = "2.5.1"
41
41
  s.summary = "DeepDive Deep Contolled Cloning"
42
42
 
@@ -55,9 +55,9 @@ describe DeepDive do
55
55
  context 'debugging' do
56
56
  it 'handles verbosity switching' do
57
57
  DeepDive.verbose = true
58
- DeepDive.verbose?.should be_true
58
+ expect(DeepDive.verbose?).to be true
59
59
  DeepDive.verbose = false
60
- DeepDive.verbose?.should be_false
60
+ expect(DeepDive.verbose?).to be false
61
61
  end
62
62
  end
63
63
 
@@ -1,12 +1,14 @@
1
+ # coding: utf-8
1
2
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
3
  $LOAD_PATH.unshift(File.dirname(__FILE__))
3
4
  require 'rspec'
4
5
  require 'deep_dive'
5
6
 
7
+
6
8
  # Requires supporting files with custom matchers and macros, etc,
7
9
  # in ./support/ and its subdirectories.
8
10
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
11
 
10
12
  RSpec.configure do |config|
11
-
13
+
12
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deep_dive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Mitchell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-09 00:00:00.000000000 Z
11
+ date: 2016-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -198,7 +198,7 @@ description: "\n When you have a system of objects that have many references to
198
198
  And some references you may not wish to clone at all.\n\n Enter DeepDive. Allows
199
199
  you a means by which you can do controlled deep cloning or\n copying of your complex
200
200
  interconnected objects.\n "
201
- email: lordalveric@yahoo.com
201
+ email: fred.mitchell@gmx.de
202
202
  executables: []
203
203
  extensions: []
204
204
  extra_rdoc_files:
@@ -231,7 +231,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
231
231
  requirements:
232
232
  - - ">="
233
233
  - !ruby/object:Gem::Version
234
- version: '2.0'
234
+ version: '2.2'
235
235
  required_rubygems_version: !ruby/object:Gem::Requirement
236
236
  requirements:
237
237
  - - ">="