Skip to content

Commit e83dbbf

Browse files
authored
Merge pull request #301 from headius/fixes_for_macos_m1
Fixes for gem push issues on MacOS M1
2 parents ce773fb + a011807 commit e83dbbf

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.mvn/extensions.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<extensions>
33
<extension>
4-
<groupId>org.torquebox.mojo</groupId>
4+
<groupId>org.jruby.maven</groupId>
55
<artifactId>mavengem-wagon</artifactId>
6-
<version>1.0.3</version>
6+
<version>2.0.2</version>
77
</extension>
88
<extension>
99
<groupId>io.takari.polyglot</groupId>
1010
<artifactId>polyglot-ruby</artifactId>
11-
<version>0.4.8</version>
11+
<version>0.7.0</version>
1212
</extension>
1313
</extensions>

Mavenfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@ supported_bc_versions = %w{ 1.60 1.61 1.62 1.63 1.64 1.65 1.66 1.67 1.68 }
107107
default_bc_version = File.read File.expand_path('lib/jopenssl/version.rb', File.dirname(__FILE__))
108108
default_bc_version = default_bc_version[/BOUNCY_CASTLE_VERSION\s?=\s?'(.*?)'/, 1]
109109

110-
properties( 'jruby.plugins.version' => '2.0.1', # 2.0.1
110+
properties( 'jruby.plugins.version' => '3.0.2',
111111
'jruby.switches' => '-W0', # https://github.com/torquebox/jruby-maven-plugins/issues/94
112112
'bc.versions' => default_bc_version,
113113
'invoker.test' => '${bc.versions}',
114114
# allow to skip all tests with -Dmaven.test.skip
115115
'invoker.skip' => '${maven.test.skip}',
116116
'runit.dir' => 'src/test/ruby/**/test_*.rb',
117-
'mavengem.wagon.version' => '1.0.3', # for jruby plugin
118-
'mavengem-wagon.version' => '1.0.3', # for polyglot-ruby
117+
'mavengem.wagon.version' => '2.0.2', # for jruby plugin
118+
'mavengem-wagon.version' => '2.0.2', # for polyglot-ruby
119119
# use this version of jruby for the jruby-maven-plugins
120120
'jruby.versions' => MVN_JRUBY_VERSION, 'jruby.version' => MVN_JRUBY_VERSION,
121121
# dump pom.xml when running 'rmvn'

pom.xml

+7-7
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ DO NOT MODIFY - GENERATED CODE
6363
<bc.versions>1.78</bc.versions>
6464
<invoker.skip>${maven.test.skip}</invoker.skip>
6565
<invoker.test>${bc.versions}</invoker.test>
66-
<jruby.plugins.version>2.0.1</jruby.plugins.version>
66+
<jruby.plugins.version>3.0.2</jruby.plugins.version>
6767
<jruby.switches>-W0</jruby.switches>
6868
<jruby.version>9.2.19.0</jruby.version>
6969
<jruby.versions>9.2.19.0</jruby.versions>
70-
<mavengem-wagon.version>1.0.3</mavengem-wagon.version>
71-
<mavengem.wagon.version>1.0.3</mavengem.wagon.version>
70+
<mavengem-wagon.version>2.0.2</mavengem-wagon.version>
71+
<mavengem.wagon.version>2.0.2</mavengem.wagon.version>
7272
<polyglot.dump.pom>pom.xml</polyglot.dump.pom>
7373
<polyglot.dump.readonly>false</polyglot.dump.readonly>
7474
<runit.dir>src/test/ruby/**/test_*.rb</runit.dir>
@@ -122,12 +122,12 @@ DO NOT MODIFY - GENERATED CODE
122122
<build>
123123
<extensions>
124124
<extension>
125-
<groupId>org.torquebox.mojo</groupId>
125+
<groupId>org.jruby.maven</groupId>
126126
<artifactId>mavengem-wagon</artifactId>
127127
<version>${mavengem.wagon.version}</version>
128128
</extension>
129129
<extension>
130-
<groupId>de.saumya.mojo</groupId>
130+
<groupId>org.jruby.maven</groupId>
131131
<artifactId>gem-with-jar-extension</artifactId>
132132
<version>${jruby.plugins.version}</version>
133133
</extension>
@@ -181,7 +181,7 @@ DO NOT MODIFY - GENERATED CODE
181181
</executions>
182182
</plugin>
183183
<plugin>
184-
<groupId>de.saumya.mojo</groupId>
184+
<groupId>org.jruby.maven</groupId>
185185
<artifactId>gem-maven-plugin</artifactId>
186186
<version>${jruby.plugins.version}</version>
187187
<executions>
@@ -351,7 +351,7 @@ DO NOT MODIFY - GENERATED CODE
351351
</executions>
352352
</plugin>
353353
<plugin>
354-
<groupId>de.saumya.mojo</groupId>
354+
<groupId>org.jruby.maven</groupId>
355355
<artifactId>runit-maven-plugin</artifactId>
356356
<version>${jruby.plugins.version}</version>
357357
<executions>

src/main/java/org/jruby/ext/openssl/SSLSocket.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ private IRubyObject syswriteImpl(final ThreadContext context,
952952
}
953953
catch (IOException ex) {
954954
debugStackTrace(runtime, "SSLSocket.syswriteImpl", ex);
955-
throw Utils.newError(runtime, runtime.getIOError(), ex);
955+
throw runtime.newIOErrorFromException(ex);
956956
}
957957
}
958958

0 commit comments

Comments
 (0)