deep-cloning 0.1.1 → 0.1.2

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 +4 -4
  2. data/lib/deep_cloning.rb +1 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2919350321ea9884c80a1d347fdf9a64e1c4ff7e21c5f33bf4b4c070bc29e362
4
- data.tar.gz: 73abd02c495e96953aa5ebcd48546bc2ea1fdded3768fe6942ecab8376c7f1ba
3
+ metadata.gz: 49fe856693c2852e697f2daa2b4e754baae413d4fa824d0d78be0e644edc25f3
4
+ data.tar.gz: e17a02eae597e1f5588b05adda3990dbb5ca7526e9b6ec124e57983c33382e27
5
5
  SHA512:
6
- metadata.gz: 582e5c79c8b4c365514797ace7d38b8e6debc18e53baf4147947878a00c6ba08feedc6814fb40cfdd6458dc5e3c9ca9ae8478435d3ccb200ab50501db9ed01e1
7
- data.tar.gz: dffc1bd99453ce596e58574e451c3f1c862739d9e06ad78e60937f608badade8b961aadf2f30c9c0bbff43a4aecbd80e5b892aa29b2332fef3d212a16be8fc6b
6
+ metadata.gz: 33e46e86566a06479886c1d1a4c23b992affd82e0792e83ee319d01d93aab31c25d3464658a614b01c0c4a69cc560b44837a459e72619eedf654d8a850608ead
7
+ data.tar.gz: e841d75867ddbe8ec399055acd46cdfd596eac020047f1b34ba846e189669c4da34f55159a48331b735efe1245737414f2c6da86d62189e939a825c815bc53be
data/lib/deep_cloning.rb CHANGED
@@ -3,7 +3,7 @@ require 'active_record'
3
3
  module DeepCloning
4
4
  # This is the main class responsible to evaluate the equations
5
5
  class Clone
6
- VERSION = '0.1.1'.freeze
6
+ VERSION = '0.1.2'.freeze
7
7
  def initialize(root, opts = { except: [], save_root: true })
8
8
  @root = root
9
9
  @opts = opts
@@ -29,7 +29,6 @@ module DeepCloning
29
29
  walk?(n)
30
30
  end
31
31
  unless @cell
32
- binding.pry
33
32
  ap @opts[:source].map { |s| "#{s.id} - #{s.class.name}" }
34
33
  raise 'cannot duplicate the hierarchy'
35
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deep-cloning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nilton Vasques