activerecord_cloneable 0.3.8 → 0.3.9

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: b66fcdf4da4ca6c0d44857a2a166f6369a88d74a
4
- data.tar.gz: 3e60a5212d3beb3991783384dce29e49d03220df
3
+ metadata.gz: 43e4ea83b293768d8ed0c3c5ac45dd5770573360
4
+ data.tar.gz: dcc26cd61cf78f0f826d61687ea65081b9de40ce
5
5
  SHA512:
6
- metadata.gz: 4c12b2f882f533c3bbd0e8ebc7140954da47502f1a1563f8d20d4f5a0e5b9150725cf1f8954ade04fdf6a57a9427f08da8dc7d087596336a06f04922598e26ed
7
- data.tar.gz: f5cc237524c960efaab035b891436c97bd8800f0c863c4a180eea523139311fe6546080af2dfce854b7762ccc462285778f7c054bcf2f932756aacdbc957a520
6
+ metadata.gz: 83ce99176bb14ffabcebf75206df3de861deab10ef8f0074f2874cd8ec56a25c0c34fd8f9e111cd0181521088a4b9cb4c0faa0ec3d1aa162c17ec714f9a97627
7
+ data.tar.gz: 3e682815a835584ec41edb72c6a6f47dc222bb9b47a6f93be264cfe1f255a077de248b3721d73bbba88faa0428026cfce5c982b1a9492af3ba911da4467904f0
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'activerecord_cloneable'
3
- s.version = '0.3.8'
3
+ s.version = '0.3.9'
4
4
  s.summary = "A library to help clone active records - that is, generate active new record objects with the data copied from an existing record."
5
5
  s.authors = ["Adam Palmblad"]
6
6
  s.email = 'apalmblad@gmail.com'
@@ -42,7 +42,7 @@ module ActiveRecord::Cloneable
42
42
  def clone_belongs_to_relations( relations, cloned_record, args )
43
43
  return if relations.nil?
44
44
  relations.each do |parent_relation|
45
- puts "Cloning #{parent_relation.name} with #{child_args}"
45
+ puts "Cloning #{parent_relation.name} with #{args}"
46
46
  obj = send( parent_relation.name )
47
47
  next if obj.nil?
48
48
  next if args[:skipped_children].include?( obj )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_cloneable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Palmblad