Skip to content

Commit 2a47309

Browse files
authored
Merge pull request #4 from scijava/testing-jruby-versions
Update to JRuby 9.1.17.0
2 parents 2a05d12 + 7f0d6f4 commit 2a47309

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.scijava</groupId>
77
<artifactId>pom-scijava</artifactId>
8-
<version>17.1.1</version>
8+
<version>23.2.0</version>
99
<relativePath />
1010
</parent>
1111

@@ -93,7 +93,7 @@ Institute of Molecular Cell Biology and Genetics.</license.copyrightOwners>
9393
<!-- NB: Deploy releases to the ImageJ Maven repository. -->
9494
<releaseProfiles>deploy-to-imagej</releaseProfiles>
9595

96-
<jruby.version>1.7.12</jruby.version>
96+
<jruby.version>9.1.17.0</jruby.version>
9797
<jruby-core.version>${jruby.version}</jruby-core.version>
9898
<jruby-stdlib.version>${jruby.version}</jruby-stdlib.version>
9999
</properties>

src/test/java/org/scijava/plugins/scripting/jruby/JRubyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void testLocals() throws ScriptException {
7575
assertEquals("org.jruby.embed.jsr223.JRubyEngine", engineClassName);
7676
engine.put("hello", 17);
7777
assertEquals(17L, engine.eval("$hello"));
78-
assertEquals(17, engine.get("hello"));
78+
assertEquals(17L, engine.get("hello"));
7979
}
8080

8181
@Test

0 commit comments

Comments
 (0)