cow_proxy 0.3.1 → 0.3.2

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
  SHA256:
3
- metadata.gz: cfbd6c5980cadda3b7c607c1ce3abd0a29d7d59094a3a8c58e6c3d0ba1d2f887
4
- data.tar.gz: 2b64b690e0a63f964a75efbc8a9f7aac30ed151747ec756802d6d7c059214148
3
+ metadata.gz: b686ff51afc26e3d92d7a7ee8b3f34fa2bbf44c1c0a6ef14a3a0769a9ed5d1e9
4
+ data.tar.gz: f2ef93f63e6897406af91d29a823dc6d03dabb327ce6767f5f7af222f6dc848f
5
5
  SHA512:
6
- metadata.gz: 71b0c69acbad373ce1b7344474423bfa15e4c008a2b8c73ef256af9aa0b6893dd99e0efef4aa491c01be39e71846015f8486c8ed595f849edfef1b5a588ea7eb
7
- data.tar.gz: da7b070003fb7602dd7032d59d7278b18607088f68d0f8432908d6c40c68aa2a40e31f9c693e876182af21ef9e1316ef25bb92a10295b56fe1053db65888f8c2
6
+ metadata.gz: 12936237e57d3b7347d25d0b289a705a32e254cb8e97ca1613c22b460bf3c4802b3961a5b08714160e5109dd277b82c849d86a901b04593af0b3277abe173a79
7
+ data.tar.gz: d979f5407c28acb23317777a4cf27a7478c4c7462129c4d463cdf515987cc5181c1112018f8dcf336fff589502bc2d6dcebd7f2e006bce8a1b813d5ce6bcf744
@@ -74,5 +74,13 @@ module CowProxy
74
74
  def to_hash
75
75
  __getobj__
76
76
  end
77
+
78
+ # Compute a hash-code for this hash. Two hashes with the same content
79
+ # will have the same hash code (and will compare using eql?).
80
+ #
81
+ # @return [Intenger] calculated hash code
82
+ def hash
83
+ __getobj__.hash
84
+ end
77
85
  end
78
86
  end
@@ -2,7 +2,7 @@ module CowProxy
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- PATCH = 1
5
+ PATCH = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cow_proxy
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
  - Sergio Cambra