rubber 2.0.0.pre11 → 2.0.0.pre12
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.
- data/lib/rubber/commands/cron.rb +6 -1
- data/lib/rubber/version.rb +1 -1
- metadata +3 -3
data/lib/rubber/commands/cron.rb
CHANGED
|
@@ -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 ""
|
data/lib/rubber/version.rb
CHANGED
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.
|
|
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-
|
|
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:
|
|
572
|
+
hash: -4319536176665727228
|
|
573
573
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
574
574
|
none: false
|
|
575
575
|
requirements:
|