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.
- data/History.rdoc +5 -2
- data/Manifest.txt +1 -1
- data/README.rdoc +1 -1
- data/lib/gravitext-util/{gravitext-util-1.6.b.1.jar → gravitext-util-1.6.1.jar} +0 -0
- data/lib/gravitext-util/unimap.rb +5 -0
- data/lib/gravitext-util/version.rb +1 -1
- data/pom.xml +1 -1
- data/test/test_unimap.rb +6 -0
- metadata +9 -6
data/History.rdoc
CHANGED
@@ -1,10 +1,13 @@
|
|
1
|
-
=== 1.6.
|
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
|
-
|
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
|
data/Manifest.txt
CHANGED
data/README.rdoc
CHANGED
Binary file
|
@@ -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)
|
data/pom.xml
CHANGED
data/test/test_unimap.rb
CHANGED
@@ -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:
|
5
|
-
version: 1.6.
|
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-
|
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.
|
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
|
-
|
113
|
+
hash: 2
|
114
|
+
segments:
|
115
|
+
- 0
|
116
|
+
version: "0"
|
114
117
|
requirements: []
|
115
118
|
|
116
119
|
rubyforge_project:
|