rubber 2.0.0.pre11 → 2.0.0.pre12

Sign up to get free protection for your applications and to get access to all the features.
@@ -110,7 +110,12 @@ module Rubber
110
110
  threads.each { |t| t.join }
111
111
  end
112
112
  end
113
-
113
+
114
+ # JRuby's open4 doesn't return a Process::Status object when invoked with a block, but rather returns the
115
+ # block expression's value. The Process::Status is stored as $?, so we need to normalize the status
116
+ # object if on JRuby.
117
+ status = $? if defined?(JRUBY_VERSION)
118
+
114
119
  result = status.exitstatus
115
120
  if result != 0
116
121
  puts ""
@@ -1,4 +1,4 @@
1
1
  module Rubber
2
- VERSION = "2.0.0.pre11"
2
+ VERSION = "2.0.0.pre12"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubber
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre11
4
+ version: 2.0.0.pre12
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-04-08 00:00:00.000000000 Z
13
+ date: 2012-04-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capistrano
@@ -569,7 +569,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
569
569
  version: '0'
570
570
  segments:
571
571
  - 0
572
- hash: 4313840116415290415
572
+ hash: -4319536176665727228
573
573
  required_rubygems_version: !ruby/object:Gem::Requirement
574
574
  none: false
575
575
  requirements: