foreplay 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2dd175b95f73410825d21bff60620ee1dd181b35
4
- data.tar.gz: ae8beb84f7d6bfe0585872c96bf9e70a2d6dc6a5
3
+ metadata.gz: 07ca709d761446e72d95b0447ca9787610cd9b6a
4
+ data.tar.gz: 8defdaceb7903d960183454f01ce53c374e316bb
5
5
  SHA512:
6
- metadata.gz: 53fb731200fa8355145f007f8b34675ea31d6bd6b485de16fec92f3d818eee7ce920736e29e12de73a7965464c815bdf94a2f38a0ba7914355a51b81fdaa7158
7
- data.tar.gz: 042c6a8a3396b0c53dd5466f5e60bac1310125e29044e9c691386fc01122912464485579fccd3a0b24717fc9c450fcfaf7d7ab03645a1580fffc7ae933581e60
6
+ metadata.gz: 0acd3b667a835c3890d7a3f6fc09b2dab89576530cca186cc97d841b07fb7f7a22f1c87383682c064cf410291e05dc459676e4e99febfb153181ce55410b976e
7
+ data.tar.gz: e55599a8b60030d874e5b42dcb73ff4aedf55eb2cba38bbbe3be32ade02502badc805b35bd3b249f16327d5060e60212d5ea76a37a081fa3640fedfbe53e46e3
@@ -8,7 +8,7 @@ module Foreplay
8
8
  # #=> {:x=>{:y=>[4, 5, 6, 7, 8, 9]}, :z=>[7, 8, 9, "xyz"]}
9
9
  def self.supermerge(hash, other_hash)
10
10
  fail 'supermerge only works if you pass two hashes. '\
11
- 'You passed a {hash.class} and a {other_hash.class}.' unless hash.is_a?(Hash) && other_hash.is_a?(Hash)
11
+ "You passed a #{hash.class} and a #{other_hash.class}." unless hash.is_a?(Hash) && other_hash.is_a?(Hash)
12
12
 
13
13
  new_hash = hash.deep_dup.with_indifferent_access
14
14
 
@@ -1,3 +1,3 @@
1
1
  module Foreplay
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreplay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xenapto