caruby-tissue 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -22,3 +22,7 @@
22
22
 
23
23
  * JRuby 1.5 upgrade
24
24
 
25
+ === 1.3.4 / 2011-02-26
26
+
27
+ * Use caruby-core JRuby 1.5 bug work-around
28
+
@@ -7,9 +7,7 @@ module CaTissue
7
7
  # @return [Integer] a unique hash code
8
8
  # @see #==
9
9
  def hash
10
- # JRuby alert - JRuby 1.5 object_id can be a String, e.g. CollectionProtocol_null.
11
- # Work-around to the work-around is to make a unique object id in this aberrant case.
12
- @_hc ||= (Object.new.object_id * 31) + 17
10
+ proxy_object_id * 31 + 17
13
11
  end
14
12
 
15
13
  # Returns whether other is of type same type as this object with the same hash as this object.
@@ -1,6 +1,6 @@
1
1
  module CaTissue
2
2
  # The version of this caRuby Tissue release.
3
- VERSION = "1.3.3"
3
+ VERSION = "1.3.4"
4
4
 
5
5
  # The supported caTissue release versions.
6
6
  CATISSUE_VERSIONS = "1.1.2"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: caruby-tissue
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.3.3
5
+ version: 1.3.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - OHSU