rjb 1.3.6 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/ChangeLog +5 -0
  2. data/ext/rjb.c +2 -2
  3. data/test/test.rb +8 -6
  4. metadata +5 -3
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ Wed Nov 09 arton
2
+ *ext/rjb.c
3
+ RJB_VERSION -> 1.3.7
4
+ *test/test.rb (test_reraise_exception)
5
+ skip test if RUBY_VERSION =~ /^1\.8/
1
6
  Wed Nov 09 arton
2
7
  *ext/rjb.c
3
8
  RJB_VERSION -> 1.3.6
data/ext/rjb.c CHANGED
@@ -12,10 +12,10 @@
12
12
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
13
  * Lesser General Public License for more details.
14
14
  *
15
- * $Id: rjb.c 173 2011-11-09 13:46:04Z arton $
15
+ * $Id: rjb.c 176 2011-11-09 14:27:28Z arton $
16
16
  */
17
17
 
18
- #define RJB_VERSION "1.3.6"
18
+ #define RJB_VERSION "1.3.7"
19
19
 
20
20
  #include "ruby.h"
21
21
  #include "extconf.h"
@@ -1,6 +1,6 @@
1
1
  #!/usr/local/env ruby -Ku
2
2
  # encoding: utf-8
3
- # $Id: test.rb 174 2011-11-09 13:47:43Z arton $
3
+ # $Id: test.rb 176 2011-11-09 14:27:28Z arton $
4
4
 
5
5
  begin
6
6
  require 'rjb'
@@ -802,11 +802,13 @@ class TestRjb < Test::Unit::TestCase
802
802
  end
803
803
 
804
804
  def test_reraise_exception()
805
- begin
806
- cause_exception
807
- rescue
808
- assert($!.to_s =~ /NumberFormatException/)
809
- end
805
+ unless /^1\.8/ =~ RUBY_VERSION
806
+ begin
807
+ cause_exception
808
+ rescue
809
+ assert($!.to_s =~ /NumberFormatException/)
810
+ end
811
+ end
810
812
  end
811
813
 
812
814
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rjb
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.3.6
5
+ version: 1.3.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - arton
@@ -10,7 +10,8 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-11-09 00:00:00 Z
13
+ date: 2011-11-09 00:00:00 +09:00
14
+ default_executable:
14
15
  dependencies: []
15
16
 
16
17
  description: |
@@ -57,6 +58,7 @@ files:
57
58
  - readme.sj
58
59
  - readme.txt
59
60
  - ext/extconf.rb
61
+ has_rdoc: true
60
62
  homepage: http://rjb.rubyforge.org/
61
63
  licenses: []
62
64
 
@@ -81,7 +83,7 @@ requirements:
81
83
  - none
82
84
  - JDK 5.0
83
85
  rubyforge_project: rjb
84
- rubygems_version: 1.8.11
86
+ rubygems_version: 1.5.2
85
87
  signing_key:
86
88
  specification_version: 3
87
89
  summary: Ruby Java bridge