multi_ruby_runner 1.0.3 → 1.0.4

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
- SHA1:
3
- metadata.gz: 00aac72c6817d6c81473fa843b131158bee18e96
4
- data.tar.gz: ca7ba7076db13897eaba56b3626aad9cfca9ab70
2
+ SHA256:
3
+ metadata.gz: 0454ca2f8d849ef063dff3e55118ad4b9345220f0d482d6cdc762c106575ae78
4
+ data.tar.gz: 2a09b60103e810ea3630e1dcc1d507ffe6c5b30935e5dc54eb000efc1e6fa5d3
5
5
  SHA512:
6
- metadata.gz: f760bbcf644e2d854366a74001da0cb75d261f81dd9d548b881414ba44eead2bdc52d7501e478252a6f05a6d90a6c03db1ac9f130e3cee3b67a78dacf924820f
7
- data.tar.gz: 8fcfe77dc5102c2737d010fa89d8dafd9c9bce1d00b5f5558f78f015050e0edca4658287895d28aedd366597318b9f12ea760e76e7105645f5708d6666bb4e21
6
+ metadata.gz: 7473f99704adf9ba761f4c0ac1aa97176b067f99450988d6f49b758ae1b94684029bbdb560d76669dd94c69427ec305ce2a50ead046463025c697a5f6c668a81
7
+ data.tar.gz: d4e35a9908614313e55ac6954519b3551095b2c22fcf3df8b24b53ad6d3f2a0426b3b9931df5f7627678614097f5d80459e443816e5973ed92d5a8076aa5182a
@@ -1,3 +1,7 @@
1
+ ### 1.0.4
2
+
3
+ * Replaced `Bundler.with_clean_env` with `Bundler.with_unbundled_env`
4
+
1
5
  ### 1.0.3
2
6
 
3
7
  * Added option to pass in a ruby engine invocation for scenarios where no ruby version manager is present (e.g., in Docker)
data/README.md CHANGED
@@ -82,15 +82,15 @@ You can communicate with the child process via pipes or sockets.
82
82
  Here is an example Ruby script that can be called via MultiRubyRunner:
83
83
 
84
84
  #!/usr/bin/env ruby
85
-
85
+
86
86
  # This is an example callee script for MultiRubyRunner
87
-
87
+
88
88
  require_relative '../lib/path/to/your/ruby/code'
89
-
89
+
90
90
  # Check for arguments
91
91
  arg1 = ARGV[0]
92
92
  arg2 = ARGV[1]
93
-
93
+
94
94
  # Puts will return some text to STDOUT
95
95
  puts "The current time is #{ Time.now }"
96
96
 
@@ -65,7 +65,7 @@ protected
65
65
 
66
66
  def execute_blocking_command(process_args)
67
67
  stdout_str = stderr_str = status = nil
68
- Bundler.with_clean_env do
68
+ Bundler.with_unbundled_env do
69
69
  stdout_str, stderr_str, status = Open3.capture3(
70
70
  process_args[:environment_overrides],
71
71
  process_args[:entire_command]
@@ -82,7 +82,7 @@ protected
82
82
 
83
83
  def execute_non_blocking_command(process_args)
84
84
  pid = nil
85
- Bundler.with_clean_env do
85
+ Bundler.with_unbundled_env do
86
86
  pid = Process.spawn(
87
87
  process_args[:environment_overrides],
88
88
  process_args[:entire_command]
@@ -1,3 +1,3 @@
1
1
  class MultiRubyRunner
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -0,0 +1,5 @@
1
+ Update and commit this file through the github web UI to get verified commits.
2
+
3
+ These are intended as proof of existence for any commits made prior to the verified commit to this file.
4
+
5
+ Last update: 2019-07-12
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_ruby_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jo Hund
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-20 00:00:00.000000000 Z
11
+ date: 2020-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -76,6 +76,7 @@ files:
76
76
  - lib/multi_ruby_runner/version_manager/rbenv.rb
77
77
  - lib/multi_ruby_runner/version_manager/rvm.rb
78
78
  - multi_ruby_runner.gemspec
79
+ - proof_of_existence.md
79
80
  - spec/multi_ruby_runner/version_manager_spec.rb
80
81
  - spec/multi_ruby_runner_spec.rb
81
82
  - spec/spec_helper.rb
@@ -98,8 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
99
  - !ruby/object:Gem::Version
99
100
  version: '0'
100
101
  requirements: []
101
- rubyforge_project:
102
- rubygems_version: 2.6.11
102
+ rubygems_version: 3.1.2
103
103
  signing_key:
104
104
  specification_version: 4
105
105
  summary: Execute Ruby code in different Ruby environments.