dupe 0.4.7 → 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dupe/attribute_template.rb +1 -1
  2. metadata +2 -2
@@ -63,7 +63,7 @@ class Dupe
63
63
  v = (@transformer ? @transformer.call(value) : value)
64
64
  end
65
65
 
66
- return @name, v
66
+ return @name, (v && v.respond_to?(:dup) ? v.dup : v)
67
67
  end
68
68
  end
69
69
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dupe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Parker
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-03 00:00:00 -05:00
12
+ date: 2010-02-11 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency