open3 0.3.0 → 0.3.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0428b6beebc524086f81a7c67d9102fd5074e802a1b89b835dacbe676eea2450'
4
- data.tar.gz: 65c65d180f3a714850a3df02e90fc9ee99f5cdcffac1c0900f60e4a2d5d711e7
3
+ metadata.gz: 7efd60e907a27de434197bb14819b83f850c905db93c3bee56edd2f55ea8ff86
4
+ data.tar.gz: fc38e5bbfb23602b22128c312c80bd4fc642d9af47e66777827249f8db026fb3
5
5
  SHA512:
6
- metadata.gz: e39d951ead49eb48da4072b028245dce57417eeb074c90dd398639dd971277705149b0f21467ae4045aa9560c07fc57d1d39b1acbbbeac076cfa23e3a561c1a5
7
- data.tar.gz: 8daaa229ed746d37b4312f026aa83cf491f900f6fdc17d8803c3f81c2bc996110d4bda013f7c40b05eccd8f8788960555d0c5c3216d81adbde4e17e5e68ae0a5
6
+ metadata.gz: 872591a2cef2b948db03c49f54aebec4b7cc4d1335d860571196744d1168b00c0cd11c53807b964ce72739bffb8758eb2e416d25eb2e1668e559d8b075571f2e
7
+ data.tar.gz: 3e24320edfe80af8970b2d7d75cb2b29a926ffb68a9d3d358e9284b1da444c588a38484183ca0b4851e90c4759f11fba6f365130cc5dc51bada539c0f8125a23
@@ -23,20 +23,20 @@ jobs:
23
23
 
24
24
  steps:
25
25
  - name: Harden Runner
26
- uses: step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1 # v2.21.1
26
+ uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
27
27
  with:
28
28
  egress-policy: audit
29
29
 
30
30
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
31
31
 
32
32
  - name: Set up Ruby
33
- uses: ruby/setup-ruby@d5126b9b3579e429dd52e51e68624dda2e05be25 # v1.267.0
33
+ uses: ruby/setup-ruby@78c62f2208e480ce3d5ae4dfd9b9e181acf48b63 # v1.344.0
34
34
  with:
35
35
  bundler-cache: true
36
36
  ruby-version: ruby
37
37
 
38
38
  - name: Publish to RubyGems
39
- uses: rubygems/release-gem@7f9650160c1a4e7989fdc9855807bdbd421d8b6b # v1.4.1
39
+ uses: rubygems/release-gem@2654a0fe0dc39725c07fe84d7fe863a084f2424e # v1.5.0
40
40
 
41
41
  - name: Create GitHub release
42
42
  run: |
data/lib/open3/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Open3
2
2
  # The version string
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
data/lib/open3.rb CHANGED
@@ -1414,5 +1414,9 @@ module Open3
1414
1414
 
1415
1415
  end
1416
1416
 
1417
- # JRuby uses different popen logic on Windows, require it here to reuse wrapper methods above.
1418
- require 'open3/jruby_windows' if RUBY_ENGINE == 'jruby' && JRuby::Util::ON_WINDOWS
1417
+ # JRuby uses different popen logic when native popen is unavailable. Require it here to reuse wrapper methods above.
1418
+ if RUBY_ENGINE == 'jruby'
1419
+ if JRuby::Util.respond_to?(:native_popen?) ? !JRuby::Util.native_popen? : JRuby::Util::ON_WINDOWS
1420
+ require 'open3/jruby'
1421
+ end
1422
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yukihiro Matsumoto
@@ -30,7 +30,7 @@ files:
30
30
  - bin/console
31
31
  - bin/setup
32
32
  - lib/open3.rb
33
- - lib/open3/jruby_windows.rb
33
+ - lib/open3/jruby.rb
34
34
  - lib/open3/version.rb
35
35
  - open3.gemspec
36
36
  homepage: https://github.com/ruby/open3
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  requirements: []
57
- rubygems_version: 3.6.9
57
+ rubygems_version: 4.0.20
58
58
  specification_version: 4
59
59
  summary: Popen, but with stderr, too
60
60
  test_files: []
File without changes