Skip to content

Commit 29bbfa0

Browse files
author
R. Tyler Croy
committed
Upgrade the version of JRuby 1.7.x used in tests for one that can handle spaces
References #280
1 parent 3848302 commit 29bbfa0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

jruby-gradle-base-plugin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ dependencies {
6565

6666
// NOTE: Leave this at .11 as it must be an older version. if
6767
// you change it here you will also need to update JRubyExecIntegrationSpec
68-
integrationTestGems "org.jruby:jruby-complete:1.7.11"
68+
integrationTestGems "org.jruby:jruby-complete:1.7.19"
6969

7070
// NOTE: older jruby versions needs this for exec to work properly
7171
integrationTestGems "rubygems:jar-dependencies:0.1.15"

jruby-gradle-base-plugin/src/integTest/groovy/com/github/jrubygradle/JRubyExecIntegrationSpec.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class JRubyExecIntegrationSpec extends Specification {
4444
given: "Version is set on the task"
4545
Configuration config
4646
final String configName = 'integ-exec-config'
47-
final String newVersion = '1.7.11'
47+
final String newVersion = '1.7.19'
4848
Pattern pattern = Pattern.compile(/.*(jruby-complete-.+.jar)/)
4949

5050
when:
@@ -160,7 +160,7 @@ class JRubyExecIntegrationSpec extends Specification {
160160

161161
def "Running a script that requires a gem, a separate JRuby and a separate configuration"() {
162162
given:
163-
final String newVersion = '1.7.11'
163+
final String newVersion = '1.7.19'
164164
assert project.jruby.execVersion != newVersion
165165
project.with {
166166
configurations.create('RubyWax')
@@ -191,7 +191,7 @@ class JRubyExecIntegrationSpec extends Specification {
191191
* least one version of JRuby installed
192192
*/
193193
jruby {
194-
execVersion '1.7.11'
194+
execVersion '1.7.19'
195195
defaultRepositories false
196196
}
197197

0 commit comments

Comments
 (0)