valuables 0.3.0 → 0.4.0

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: b9dfc2d15ce5e005488167d4392a04708f8b3b59
4
- data.tar.gz: 023909041c465e29a5ce2dcb5d2e7114fdbc8d28
3
+ metadata.gz: 3d7639f38fdc10a71028eab30c835e838596ae7d
4
+ data.tar.gz: 6e0890dc57ce4a2a6dae9f774a5f392d834cb72a
5
5
  SHA512:
6
- metadata.gz: 129f77f1e2226d45bf454044ed47c2863e797baf17ee4d2ff239384271ef3f3827d706bdbef023cf66a9a72880b0abd5698c008a388bd667ac8b71adefa7dec0
7
- data.tar.gz: 05d5735e14921d7752f7d18127f76c9d15423c48af41468f9a1e45fd7a8faca193526d26c3d82936fc148d8995040d9978fd768a4c82e3b8551c1a7b44eb57b6
6
+ metadata.gz: 36df9f00e56a7cd098c5dda64b3bd928e7f29c1e7500e08c4054b5853b410c29699ace444b8e6a342a254dad36a9fe23a0c3e06243115a4ded8ef64a83b52936
7
+ data.tar.gz: 0e81b073100a14eeda23c15cf607a3c290c12462dd0e639eeba2dfcae8f7cb67fd5527b9c6f0189c51747ddcfcd794a907808a734efcf7ac7dcefdad70158189
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0
4
+
5
+ * Ensure hash returned from to_h is not frozen
6
+
3
7
  ## 0.3.0
4
8
 
5
9
  * Do not try to duplicate nil
@@ -60,7 +60,7 @@ module Valuables
60
60
 
61
61
  # Get a Hash representation of this entity.
62
62
  def to_h
63
- @attributes
63
+ @attributes.dup
64
64
  end
65
65
 
66
66
  def inspect # :nodoc:
@@ -1,3 +1,3 @@
1
1
  module Valuables
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.4.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: valuables
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arjan van der Gaag
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-07-30 00:00:00.000000000 Z
11
+ date: 2015-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler