valuables 0.4.0 → 0.5.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: 3d7639f38fdc10a71028eab30c835e838596ae7d
4
- data.tar.gz: 6e0890dc57ce4a2a6dae9f774a5f392d834cb72a
3
+ metadata.gz: f7daa0391baac72478366a5b7870b1f6184e0c17
4
+ data.tar.gz: 4e1ce8bed8bb6e8b3f16c9dbab0efcdea382eaad
5
5
  SHA512:
6
- metadata.gz: 36df9f00e56a7cd098c5dda64b3bd928e7f29c1e7500e08c4054b5853b410c29699ace444b8e6a342a254dad36a9fe23a0c3e06243115a4ded8ef64a83b52936
7
- data.tar.gz: 0e81b073100a14eeda23c15cf607a3c290c12462dd0e639eeba2dfcae8f7cb67fd5527b9c6f0189c51747ddcfcd794a907808a734efcf7ac7dcefdad70158189
6
+ metadata.gz: 68bd407d93442d38ea51b8334c9309b834da8f2378a8365d5596ac17bc5085fd6cef0d4d18c3e00001067e9fa8528e98fcd1797b3bf7876b415bdb156becb2e0
7
+ data.tar.gz: b034ddd55f1f220d9c7f1951038208bb12f0f607f2413a97269f5ca9b18e21c4a77f527c7bd7ce805d101df99c562f32482a383e517370e993306d37283359a6
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.0
4
+
5
+ * Do not try to duplicate booleans
6
+
3
7
  ## 0.4.0
4
8
 
5
9
  * Ensure hash returned from to_h is not frozen
@@ -26,7 +26,7 @@ module Valuables
26
26
  end.freeze
27
27
  when Range
28
28
  deep_freeze(obj.begin)..deep_freeze(obj.end).freeze
29
- when Symbol, Fixnum, NilClass
29
+ when Symbol, Fixnum, NilClass, TrueClass, FalseClass
30
30
  obj
31
31
  else
32
32
  obj.dup.freeze
@@ -48,7 +48,7 @@ module Valuables
48
48
  freeze
49
49
  end
50
50
 
51
- # Comparse two objects
51
+ # Compare two objects
52
52
  #
53
53
  # Two entities are considered equal if they are instances of the same class
54
54
  # and their internal attributes are equal.
@@ -1,3 +1,3 @@
1
1
  module Valuables
2
- VERSION = '0.4.0'.freeze
2
+ VERSION = '0.5.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.4.0
4
+ version: 0.5.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-31 00:00:00.000000000 Z
11
+ date: 2015-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler