gravitext-util 1.6.b.1-java → 1.6.1-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,13 @@
1
- === 1.6.b.1 (2012-2-7)
1
+ === 1.6.1 (2012-4-5)
2
+ * Add UniMap.inspect based on deep_hash.inspect
3
+
4
+ ==== 1.6.b.1 (2012-2-7)
2
5
  * Reworked UniMap Ruby extension: UniMap.is_a?( Hash ) with Hash
3
6
  behavior including interop with string or symbol keys, to_json
4
7
  support, improved performance.
5
8
  * IOUtils, tests fixes for 1.9 mode
6
9
 
7
- === 1.6.b.0 (2012-1-29)
10
+ ==== 1.6.b.0 (2012-1-29)
8
11
  * New jruby IOUtils, sample extension, and perf test for optimizing
9
12
  text-intensive interop.
10
13
  * Simplify naming with PerfTest::BlockTestFactory
@@ -16,4 +16,4 @@ test/test_concurrent.rb
16
16
  test/test_ioutils.rb
17
17
  test/test_perftest.rb
18
18
  test/test_unimap.rb
19
- lib/gravitext-util/gravitext-util-1.6.b.1.jar
19
+ lib/gravitext-util/gravitext-util-1.6.1.jar
@@ -24,7 +24,7 @@ A collection of core java utilities, many with jruby adaptions:
24
24
 
25
25
  == Dependencies
26
26
 
27
- * Java 1.5+
27
+ * Java 1.6+
28
28
 
29
29
  == License
30
30
 
@@ -217,6 +217,11 @@ module Gravitext::HTMap
217
217
  self
218
218
  end
219
219
 
220
+ # Inspect via deep_hash and Hash#inspect
221
+ def inspect
222
+ deep_hash.inspect
223
+ end
224
+
220
225
  # To JSON, in form supported by JSON module. Note that this only
221
226
  # works if you also require 'json' yourself.
222
227
  def to_json(*args)
@@ -16,7 +16,7 @@
16
16
 
17
17
  module Gravitext
18
18
  module Util
19
- VERSION = '1.6.b.1'
19
+ VERSION = '1.6.1'
20
20
 
21
21
  LIB_DIR = File.dirname(__FILE__) # :nodoc:
22
22
  end
data/pom.xml CHANGED
@@ -4,7 +4,7 @@
4
4
  <groupId>com.gravitext</groupId>
5
5
  <artifactId>gravitext-util</artifactId>
6
6
  <packaging>jar</packaging>
7
- <version>1.6.b.1</version>
7
+ <version>1.6.1</version>
8
8
  <name>Gravitext Utilities</name>
9
9
  <url>http://gravitext.com/oss/gravitext-util</url>
10
10
 
@@ -125,6 +125,12 @@ class TestUniMap < MiniTest::Unit::TestCase
125
125
  assert_equal( Hash[ @sample.to_a ], h, "to_a, to_hash agree" )
126
126
  end
127
127
 
128
+ def test_inspect
129
+ i = @sample.inspect
130
+ refute_match( /::Key/, i )
131
+ assert_match( /:int=>33/, i )
132
+ end
133
+
128
134
  def test_is_a_hash
129
135
  assert_kind_of( Hash, @sample )
130
136
  assert( @sample.is_a?( Hash ) )
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gravitext-util
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: 4
5
- version: 1.6.b.1
4
+ prerelease:
5
+ version: 1.6.1
6
6
  platform: java
7
7
  authors:
8
8
  - David Kellum
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-02-08 00:00:00 Z
13
+ date: 2012-04-06 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rjack-slf4j
@@ -86,7 +86,7 @@ files:
86
86
  - test/test_ioutils.rb
87
87
  - test/test_perftest.rb
88
88
  - test/test_unimap.rb
89
- - lib/gravitext-util/gravitext-util-1.6.b.1.jar
89
+ - lib/gravitext-util/gravitext-util-1.6.1.jar
90
90
  homepage: http://gravitext.rubyforge.org
91
91
  licenses: []
92
92
 
@@ -108,9 +108,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  none: false
110
110
  requirements:
111
- - - ">"
111
+ - - ">="
112
112
  - !ruby/object:Gem::Version
113
- version: 1.3.1
113
+ hash: 2
114
+ segments:
115
+ - 0
116
+ version: "0"
114
117
  requirements: []
115
118
 
116
119
  rubyforge_project: