gravitext-util 1.5.1-java → 1.6.b.0-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,10 @@
1
+ === 1.6.b.0 (2012-1-29)
2
+ * New jruby IOUtils, sample extension, and perf test for optimizing
3
+ text-intensive interop.
4
+ * Simplify naming with PerfTest::BlockTestFactory
5
+ * Narrow to slf4j ~> 1.6.1, logback ~> 1.0
6
+ * Upgrade to tarpit ~> 2.0, bundler Gemfile, gemspec (dev)
7
+
1
8
  === 1.5.1 (2011-10-1)
2
9
  * Add ArrayHTMap.toString that is cycle aware, avoids stack overflow
3
10
  on value loops.
@@ -4,13 +4,16 @@ NOTICE.txt
4
4
  README.rdoc
5
5
  Rakefile
6
6
  pom.xml
7
+ bin/gravitext-ioutil-perftest
7
8
  bin/gravitext-perftest
8
9
  lib/gravitext-util/version.rb
9
10
  lib/gravitext-util.rb
10
11
  lib/gravitext-util/concurrent.rb
11
12
  lib/gravitext-util/perftest.rb
12
13
  lib/gravitext-util/unimap.rb
14
+ test/setup.rb
13
15
  test/test_concurrent.rb
16
+ test/test_ioutils.rb
14
17
  test/test_perftest.rb
15
18
  test/test_unimap.rb
16
- lib/gravitext-util/gravitext-util-1.5.1.jar
19
+ lib/gravitext-util/gravitext-util-1.6.b.0.jar
data/NOTICE.txt CHANGED
@@ -1,2 +1,2 @@
1
1
  gravitext-util
2
- Copyright (c) 2007-2011 David Kellum
2
+ Copyright (c) 2007-2012 David Kellum
@@ -28,7 +28,7 @@ A collection of core java utilities, many with jruby adaptions:
28
28
 
29
29
  == License
30
30
 
31
- Copyright (c) 2007-2011 David Kellum
31
+ Copyright (c) 2007-2012 David Kellum
32
32
 
33
33
  Licensed under the Apache License, Version 2.0 (the "License"); you
34
34
  may not use this file except in compliance with the License. You
data/Rakefile CHANGED
@@ -1,41 +1,7 @@
1
1
  # -*- ruby -*-
2
2
 
3
- $LOAD_PATH << './lib'
4
- require 'gravitext-util/version'
5
-
6
3
  require 'rubygems'
7
- gem 'rjack-tarpit', '~> 1.4'
4
+ require 'bundler/setup'
8
5
  require 'rjack-tarpit'
9
6
 
10
- t = RJack::TarPit.new( 'gravitext-util',
11
- Gravitext::Util::VERSION,
12
- :no_assembly, :java_platform )
13
-
14
- t.specify do |h|
15
- h.developer( "David Kellum", "dek-oss@gravitext.com" )
16
-
17
- h.testlib = :minitest
18
- h.extra_dev_deps += [ [ 'rjack-slf4j', '>= 1.5.8', '< 1.7' ],
19
- [ 'rjack-logback', '>= 0.9.18', '< 2.0' ],
20
- [ 'minitest', '~> 2.3' ] ]
21
-
22
- h.rubyforge_name = "gravitext"
23
- end
24
-
25
- file 'Manifest.txt' => [ 'lib/gravitext-util/version.rb' ]
26
-
27
- task :check_pom_version do
28
- t.test_line_match( 'pom.xml', /<version>/, /#{t.version}/ )
29
- end
30
- task :check_history_version do
31
- t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
32
- end
33
- task :check_history_date do
34
- t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
35
- end
36
-
37
- task :gem => [ :check_pom_version, :check_history_version ]
38
- task :tag => [ :check_pom_version, :check_history_version, :check_history_date ]
39
- task :push => [ :check_history_date ]
40
-
41
- t.define_tasks
7
+ RJack::TarPit.new( 'gravitext-util' ).define_tasks
@@ -0,0 +1,150 @@
1
+ #!/usr/bin/env jruby
2
+ # -*- ruby -*-
3
+ #--
4
+ # Copyright (c) 2012 David Kellum
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
7
+ # may not use this file except in compliance with the License. You may
8
+ # obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
+ # implied. See the License for the specific language governing
16
+ # permissions and limitations under the License.
17
+ #++
18
+
19
+ $LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
20
+
21
+ require 'gravitext-util'
22
+ require 'gravitext-util/perftest'
23
+
24
+ require 'java'
25
+
26
+ # Magic loader hook -> IOTestService
27
+ require 'com/gravitext/jruby/IOTest'
28
+
29
+ class IOUtilsPerfTest
30
+ include Gravitext
31
+ include Gravitext::Util
32
+ include Gravitext::Concurrent
33
+
34
+ import 'com.gravitext.jruby.TextSampler'
35
+
36
+ def run( length = 0 )
37
+ #FIXME: passed length not used
38
+
39
+ puts "(1) Full set of tests, length 103 characters"
40
+ PerfTest::Harness.new( create_tests( 103, true ) ).execute
41
+
42
+ puts
43
+ puts "(2) Main tests, varied lengths"
44
+ tests = [ 8, 79, 271, 997, 3413, 9833 ].map { |l| create_tests( l ) }.flatten
45
+ h2 = PerfTest::Harness.new( tests )
46
+
47
+ # Relax warmup, as we ran it all already
48
+ h2.warmup_exec_target = 1.0
49
+ h2.warmup_total_target = 5.0
50
+ h2.warmup_tolerance = 0.2
51
+ h2.execute
52
+
53
+ end
54
+
55
+ def create_tests( length, extras = false )
56
+ tests = []
57
+
58
+ reps = 1000
59
+
60
+ tests << perf_test_raw( length, 'string' ) do |ts|
61
+ i = 0
62
+ reps.times { i += ts.string.to_s.length }
63
+ i
64
+ end
65
+
66
+ tests << perf_test_raw( length, 'string_sequence' ) do |ts|
67
+ i = 0
68
+ reps.times { i += ts.string_sequence.to_s.length }
69
+ i
70
+ end if extras
71
+
72
+ tests << perf_test_ext( length, 'string' ) do |ts|
73
+ i = 0
74
+ reps.times { i += ts.string_to_ruby.to_s.length }
75
+ i
76
+ end
77
+
78
+ tests << perf_test_helper( length, 'string' ) do |ts,rs|
79
+ i = 0
80
+ reps.times { i += rs.string_to_ruby( ts ).to_s.length }
81
+ i
82
+ end
83
+
84
+ tests << perf_test_raw( length, 'bytes' ) do |ts|
85
+ i = 0
86
+ reps.times { i += String.from_java_bytes( ts.bytes ).length }
87
+ i
88
+ end if extras
89
+
90
+ tests << perf_test_raw( length, 'char_buffer' ) do |ts|
91
+ i = 0
92
+ reps.times { i += ts.char_buffer.to_s.length }
93
+ i
94
+ end
95
+
96
+ tests << perf_test_raw( length, 'char_buffer_sequence' ) do |ts|
97
+ i = 0
98
+ reps.times { i += ts.char_buffer_sequence.to_s.length }
99
+ i
100
+ end if extras
101
+
102
+ tests << perf_test_ext( length, 'char_buffer' ) do |ts|
103
+ i = 0
104
+ reps.times { i += ts.char_buffer_to_ruby.to_s.length }
105
+ i
106
+ end
107
+
108
+ tests << perf_test_helper( length, 'char_buffer' ) do |ts,rs|
109
+ i = 0
110
+ reps.times { i += rs.char_buffer_to_ruby( ts ).to_s.length }
111
+ i
112
+ end
113
+
114
+ tests << perf_test_raw( length, 'byte_list' ) do |ts|
115
+ i = 0
116
+ reps.times { i += ts.byte_list.to_s.length }
117
+ i
118
+ end if extras
119
+
120
+ tests << perf_test_raw( length, 'control' ) do |ts|
121
+ i = 0
122
+ reps.times { i += ts.length }
123
+ i
124
+ end if extras
125
+
126
+ tests
127
+ end
128
+
129
+ def perf_test_raw( length, name )
130
+ BlockTestFactory.new( "#{length}-#{name}" ) do |run,random|
131
+ yield TextSampler.new( length, random.next_int )
132
+ end
133
+ end
134
+
135
+ def perf_test_ext( length, name )
136
+ BlockTestFactory.new( "#{length}-#{name}-ext" ) do |run,random|
137
+ yield RubySampler.new( length, random.next_int )
138
+ end
139
+ end
140
+
141
+ def perf_test_helper( length, name )
142
+ BlockTestFactory.new( "#{length}-#{name}-helper" ) do |run,random|
143
+ yield( TextSampler.new( length, random.next_int ),
144
+ RubySampleHelper )
145
+ end
146
+ end
147
+
148
+ end
149
+
150
+ IOUtilsPerfTest.new.run( ( ARGV.shift || 0 ).to_i )
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env jruby
2
2
  # -*- ruby -*-
3
3
  #--
4
- # Copyright (c) 2007-2011 David Kellum
4
+ # Copyright (c) 2007-2012 David Kellum
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License"); you
7
7
  # may not use this file except in compliance with the License. You
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2007-2011 David Kellum
2
+ # Copyright (c) 2007-2012 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2007-2011 David Kellum
2
+ # Copyright (c) 2007-2012 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -58,7 +58,7 @@ module Gravitext
58
58
  # :call-seq:
59
59
  # execute_test(runs,threads = available_cores) { |run,random| ... } -> Integer
60
60
  def self.execute_test( runs, threads = available_cores, &block )
61
- TestExecutor::run( BlockTestFactory.new( block ), runs, threads )
61
+ TestExecutor::run( BlockTestFactory.new( &block ), runs, threads )
62
62
  end
63
63
 
64
64
  class BlockTestFactory
@@ -66,9 +66,9 @@ module Gravitext
66
66
 
67
67
  attr_accessor :name
68
68
 
69
- def initialize( proc = nil, &block )
70
- @name = 'BlockTestFactory'
71
- @block = proc || block
69
+ def initialize( name = 'BlockTestFactory', &block )
70
+ @name = name
71
+ @block = block
72
72
  end
73
73
 
74
74
  def create_test_runnable( seed )
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2007-2011 David Kellum
2
+ # Copyright (c) 2007-2012 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2007-2011 David Kellum
2
+ # Copyright (c) 2007-2012 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2007-2011 David Kellum
2
+ # Copyright (c) 2007-2012 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -16,7 +16,7 @@
16
16
 
17
17
  module Gravitext
18
18
  module Util
19
- VERSION = '1.5.1'
19
+ VERSION = '1.6.b.0'
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.5.1</version>
7
+ <version>1.6.b.0</version>
8
8
  <name>Gravitext Utilities</name>
9
9
  <url>http://gravitext.com/oss/gravitext-util</url>
10
10
 
@@ -32,7 +32,7 @@
32
32
  <parent>
33
33
  <groupId>com.gravitext</groupId>
34
34
  <artifactId>gravitext-parent</artifactId>
35
- <version>1.6</version>
35
+ <version>1.7</version>
36
36
  <relativePath>../gravitext-parent/pom.xml</relativePath>
37
37
  </parent>
38
38
 
@@ -63,6 +63,20 @@
63
63
  <optional>true</optional>
64
64
  </dependency>
65
65
 
66
+ <dependency>
67
+ <groupId>org.jruby.extras</groupId>
68
+ <artifactId>bytelist</artifactId>
69
+ <version>1.0.10</version>
70
+ <optional>true</optional>
71
+ </dependency>
72
+
73
+ <dependency>
74
+ <groupId>org.jruby</groupId>
75
+ <artifactId>jruby-core</artifactId>
76
+ <version>1.6.5.1</version>
77
+ <optional>true</optional>
78
+ </dependency>
79
+
66
80
  </dependencies>
67
81
 
68
82
  <build>
@@ -0,0 +1,20 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ require 'minitest/unit'
5
+ require 'minitest/autorun'
6
+
7
+ require 'rjack-logback'
8
+
9
+ module TestSetup
10
+ include RJack
11
+ Logback.config_console( :stderr => true, :thread => true )
12
+
13
+ if ( ARGV & %w[ -v --verbose --debug ] ).empty?
14
+ Logback.root.level = Logback::WARN
15
+ else
16
+ Logback.root.level = Logback::DEBUG
17
+ end
18
+
19
+ ARGV.delete( '--debug' )
20
+ end
@@ -1,6 +1,8 @@
1
1
  #!/usr/bin/env jruby
2
+ #.hashdot.profile += jruby-shortlived
3
+
2
4
  #--
3
- # Copyright (c) 2007-2011 David Kellum
5
+ # Copyright (c) 2007-2012 David Kellum
4
6
  #
5
7
  # Licensed under the Apache License, Version 2.0 (the "License"); you
6
8
  # may not use this file except in compliance with the License. You may
@@ -15,9 +17,7 @@
15
17
  # permissions and limitations under the License.
16
18
  #++
17
19
 
18
- $LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
19
-
20
- require 'minitest/unit'
20
+ require File.join( File.dirname( __FILE__ ), "setup" )
21
21
 
22
22
  require 'gravitext-util'
23
23
 
@@ -0,0 +1,84 @@
1
+ #!/usr/bin/env jruby
2
+ #.hashdot.profile += jruby-shortlived
3
+
4
+ #--
5
+ # Copyright (c) 2007-2012 David Kellum
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
8
+ # may not use this file except in compliance with the License. You may
9
+ # obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
16
+ # implied. See the License for the specific language governing
17
+ # permissions and limitations under the License.
18
+ #++
19
+
20
+ require File.join( File.dirname( __FILE__ ), "setup" )
21
+
22
+ require 'gravitext-util'
23
+ require 'java'
24
+
25
+ # Magic loader hook -> IOTestService
26
+ require 'com/gravitext/jruby/IOTest'
27
+
28
+ class TestIOUtils < MiniTest::Unit::TestCase
29
+ include Gravitext::Util
30
+
31
+ import 'com.gravitext.jruby.TextSampler'
32
+
33
+ def test_text_sampler
34
+ ts = TextSampler.new( 300, 2 )
35
+
36
+ assert_instance_of( String, ts.string )
37
+ # IF to UTF-8 bytes, will be longer than 300
38
+ assert_operator( ts.string.length, :>, 300 )
39
+
40
+ assert_instance_of( String, ts.string_sequence )
41
+ assert_operator( ts.string_sequence.length, :>, 300 )
42
+
43
+ if JRUBY_VERSION =~ /^1.7/
44
+ assert_instance_of( String, ts.char_buffer )
45
+ assert_instance_of( String, ts.char_buffer_sequence )
46
+ else
47
+ # In Jruby < 1.7, CharBuffer isn't converted to String until
48
+ # to_s
49
+ assert_equal( 'java.nio.HeapCharBuffer',
50
+ ts.char_buffer.java_class.name )
51
+ assert_equal( 'java.nio.HeapCharBuffer',
52
+ ts.char_buffer_sequence.java_class.name )
53
+ end
54
+ assert_operator( ts.char_buffer.to_s.length, :>, 300 )
55
+ assert_operator( ts.char_buffer_sequence.to_s.length, :>, 300 )
56
+
57
+ assert_operator( ts.byte_list.to_s.length, :>, 300 )
58
+
59
+ s = String.from_java_bytes( ts.bytes )
60
+ assert_instance_of( String, s )
61
+ assert_operator( s.length, :>, 300 )
62
+ end
63
+
64
+ def test_ruby_sampler
65
+ rs = RubySampler.new( 300, 2 )
66
+ assert_instance_of( String, rs.char_buffer_to_ruby )
67
+ assert_operator( rs.char_buffer_to_ruby.length, :>, 300 )
68
+
69
+ assert_instance_of( String, rs.string_to_ruby )
70
+ assert_operator( rs.string_to_ruby.length, :>, 300 )
71
+ end
72
+
73
+ def test_ruby_sample_helper
74
+ ts = TextSampler.new( 300, 2 )
75
+ rs = RubySampleHelper
76
+
77
+ assert_instance_of( String, rs.char_buffer_to_ruby( ts ) )
78
+ assert_operator( rs.char_buffer_to_ruby( ts ).length, :>, 300 )
79
+
80
+ assert_instance_of( String, rs.string_to_ruby( ts ) )
81
+ assert_operator( rs.string_to_ruby( ts ).length, :>, 300 )
82
+ end
83
+
84
+ end
@@ -1,6 +1,8 @@
1
1
  #!/usr/bin/env jruby
2
+ #.hashdot.profile += jruby-shortlived
3
+
2
4
  #--
3
- # Copyright (c) 2007-2011 David Kellum
5
+ # Copyright (c) 2007-2012 David Kellum
4
6
  #
5
7
  # Licensed under the Apache License, Version 2.0 (the "License"); you
6
8
  # may not use this file except in compliance with the License. You may
@@ -15,21 +17,11 @@
15
17
  # permissions and limitations under the License.
16
18
  #++
17
19
 
18
- $LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
19
-
20
- require 'minitest/unit'
20
+ require File.join( File.dirname( __FILE__ ), "setup" )
21
21
 
22
22
  require 'gravitext-util/perftest'
23
-
24
23
  require 'java'
25
24
 
26
- require 'rubygems'
27
-
28
- require 'rjack-slf4j'
29
- require 'rjack-logback' #Or, turn off logging: require 'rjack-slf4j/nop'
30
-
31
- RJack::Logback.config_console( :level => RJack::Logback::DEBUG )
32
-
33
25
  class TestPerfTest < MiniTest::Unit::TestCase
34
26
  include Gravitext::PerfTest
35
27
 
@@ -2,7 +2,7 @@
2
2
  #.hashdot.profile += jruby-shortlived
3
3
 
4
4
  #--
5
- # Copyright (c) 2007-2011 David Kellum
5
+ # Copyright (c) 2007-2012 David Kellum
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License"); you
8
8
  # may not use this file except in compliance with the License. You
@@ -17,14 +17,7 @@
17
17
  # permissions and limitations under the License.
18
18
  #++
19
19
 
20
- require 'rubygems'
21
-
22
- require 'minitest/unit'
23
-
24
- require 'rjack-logback'
25
- RJack::Logback.config_console
26
-
27
- $LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
20
+ require File.join( File.dirname( __FILE__ ), "setup" )
28
21
 
29
22
  require 'gravitext-util'
30
23
 
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.5.1
4
+ prerelease: 4
5
+ version: 1.6.b.0
6
6
  platform: java
7
7
  authors:
8
8
  - David Kellum
@@ -10,82 +10,61 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-10-01 00:00:00 Z
13
+ date: 2012-01-30 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rjack-slf4j
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ version_requirements: &id001 !ruby/object:Gem::Requirement
19
18
  none: false
20
19
  requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 1.5.8
24
- - - <
20
+ - - ~>
25
21
  - !ruby/object:Gem::Version
26
- version: "1.7"
27
- type: :development
28
- version_requirements: *id001
22
+ version: 1.6.1
23
+ requirement: *id001
24
+ prerelease: false
25
+ type: :runtime
29
26
  - !ruby/object:Gem::Dependency
30
27
  name: rjack-logback
31
- prerelease: false
32
- requirement: &id002 !ruby/object:Gem::Requirement
28
+ version_requirements: &id002 !ruby/object:Gem::Requirement
33
29
  none: false
34
30
  requirements:
35
- - - ">="
36
- - !ruby/object:Gem::Version
37
- version: 0.9.18
38
- - - <
31
+ - - ~>
39
32
  - !ruby/object:Gem::Version
40
- version: "2.0"
41
- type: :development
42
- version_requirements: *id002
33
+ version: "1.0"
34
+ requirement: *id002
35
+ prerelease: false
36
+ type: :runtime
43
37
  - !ruby/object:Gem::Dependency
44
38
  name: minitest
45
- prerelease: false
46
- requirement: &id003 !ruby/object:Gem::Requirement
39
+ version_requirements: &id003 !ruby/object:Gem::Requirement
47
40
  none: false
48
41
  requirements:
49
42
  - - ~>
50
43
  - !ruby/object:Gem::Version
51
44
  version: "2.3"
45
+ requirement: *id003
46
+ prerelease: false
52
47
  type: :development
53
- version_requirements: *id003
54
48
  - !ruby/object:Gem::Dependency
55
49
  name: rjack-tarpit
56
- prerelease: false
57
- requirement: &id004 !ruby/object:Gem::Requirement
50
+ version_requirements: &id004 !ruby/object:Gem::Requirement
58
51
  none: false
59
52
  requirements:
60
53
  - - ~>
61
54
  - !ruby/object:Gem::Version
62
- version: 1.4.0
55
+ version: "2.0"
56
+ requirement: *id004
57
+ prerelease: false
63
58
  type: :development
64
- version_requirements: *id004
65
- description: |-
66
- A collection of core java utilities, many with jruby adaptions:
67
-
68
- * A concurrent (thread safety) testing facility for java JUnit,
69
- ruby Test::Unit, or other test harnesses.
70
-
71
- * A concurrent performance testing facility for java/ruby with simple
72
- test wiring in ruby.
73
-
74
- * A Heterogeneous Type-safe Map implementation in java with
75
- dynamically generated ruby accessors.
76
-
77
- * A set of core java utility classes (resizable buffers, a stopwatch,
78
- SI unit formatting, fast random number generator), in support of the
79
- above and of general utility.
59
+ description:
80
60
  email:
81
61
  - dek-oss@gravitext.com
82
62
  executables:
63
+ - gravitext-ioutil-perftest
83
64
  - gravitext-perftest
84
65
  extensions: []
85
66
 
86
67
  extra_rdoc_files:
87
- - Manifest.txt
88
- - NOTICE.txt
89
68
  - History.rdoc
90
69
  - README.rdoc
91
70
  files:
@@ -95,17 +74,19 @@ files:
95
74
  - README.rdoc
96
75
  - Rakefile
97
76
  - pom.xml
77
+ - bin/gravitext-ioutil-perftest
98
78
  - bin/gravitext-perftest
99
79
  - lib/gravitext-util/version.rb
100
80
  - lib/gravitext-util.rb
101
81
  - lib/gravitext-util/concurrent.rb
102
82
  - lib/gravitext-util/perftest.rb
103
83
  - lib/gravitext-util/unimap.rb
84
+ - test/setup.rb
104
85
  - test/test_concurrent.rb
86
+ - test/test_ioutils.rb
105
87
  - test/test_perftest.rb
106
88
  - test/test_unimap.rb
107
- - lib/gravitext-util/gravitext-util-1.5.1.jar
108
- - .gemtest
89
+ - lib/gravitext-util/gravitext-util-1.6.b.0.jar
109
90
  homepage: http://gravitext.rubyforge.org
110
91
  licenses: []
111
92
 
@@ -120,21 +101,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
101
  requirements:
121
102
  - - ">="
122
103
  - !ruby/object:Gem::Version
104
+ hash: 2
105
+ segments:
106
+ - 0
123
107
  version: "0"
124
108
  required_rubygems_version: !ruby/object:Gem::Requirement
125
109
  none: false
126
110
  requirements:
127
- - - ">="
111
+ - - ">"
128
112
  - !ruby/object:Gem::Version
129
- version: "0"
113
+ version: 1.3.1
130
114
  requirements: []
131
115
 
132
- rubyforge_project: gravitext
133
- rubygems_version: 1.8.10
116
+ rubyforge_project:
117
+ rubygems_version: 1.8.11
134
118
  signing_key:
135
119
  specification_version: 3
136
- summary: "A collection of core java utilities, many with jruby adaptions: * A concurrent (thread safety) testing facility for java JUnit, ruby Test::Unit, or other test harnesses"
137
- test_files:
138
- - test/test_concurrent.rb
139
- - test/test_unimap.rb
140
- - test/test_perftest.rb
120
+ summary: A collection of core java utilities, many with jruby adaptions.
121
+ test_files: []
122
+
data/.gemtest DELETED
File without changes