torquespec 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
1
  require 'torquespec'
2
2
  require 'rspec/core'
3
3
  require 'drb'
4
+ require 'jruby'
4
5
  require 'torquebox-core'
5
6
 
6
7
  module TorqueSpec
@@ -137,6 +138,13 @@ class Proc
137
138
  end
138
139
  end
139
140
 
141
+ # Fix the same serialization of Proc objects as above, but for JRuby 1.7
142
+ if JRUBY_VERSION > '1.6.8'
143
+ JRuby.reference(Proc).allocator = lambda { |runtime, klass|
144
+ Proc.new {}
145
+ }
146
+ end
147
+
140
148
  # We want exceptions tossed in the container to be passed back to the
141
149
  # client, but there's no guarantee the type of Exception in the
142
150
  # container will be available on the client's classpath, so we turn
@@ -1,3 +1,3 @@
1
1
  module TorqueSpec
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torquespec
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 5
8
+ - 6
9
9
  - 0
10
- version: 0.5.0
10
+ version: 0.6.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jim Crossley
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-06-06 00:00:00 -04:00
19
+ date: 2012-09-25 00:00:00 -04:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency