nonnative 1.55.0 → 1.56.0

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: 79bdca40e04cd36c05a4c55decc071e3b2b9eaedd6e86705137ed6ce3b4bfb17
4
- data.tar.gz: 9b6e731b3b5e03a33d8741d02c25a2362d28a827b4b68b0ab6815456c9879fc7
3
+ metadata.gz: c282877137dc63a9bfbf14ab857e666e084032e8c32a21b9c9c4241d159e67b2
4
+ data.tar.gz: 3b8b0e15d4e745af0fc8bc30317b448e1edea8bd294227d265ae348479ec8c16
5
5
  SHA512:
6
- metadata.gz: 3be9c8ce41dc33c6d48a509d5949802ae93ad184d58280963b6dde931c596f7a2314be67a77d799c011834547d9a02ff93d99ab40a14ce773b01b8f2018604a8
7
- data.tar.gz: af509161aae16e936e702da20baf7d86fc68f79802577eb9c01f3ef9d144e5b038378f0d835a8ab6902888590750475d8792dc61ec8f193c64e861e35c46c0c7
6
+ metadata.gz: 229fdd9c01f0538cd458a05ae58225c95defe944f8b5662aa0fc668a354fd4ca897cb1a2d40f97ca7a4c729b4ad52283b8c6ff88398e314a818c4b5bf411afcb
7
+ data.tar.gz: 0f2f5c89745c517ae6855818844d5eb2f685f9c0aef0b674c4a242ab3604233cdf0a48498290705aaaff36e1b0b5c6c27bd0eae4cff83ef91ee79682c20fa973
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.56.0](https://github.com/alexfalkowski/nonnative/compare/v1.55.0...v1.56.0) (2022-03-28)
6
+
7
+
8
+ ### Features
9
+
10
+ * **process:** make sure we honour existing env variables ([#109](https://github.com/alexfalkowski/nonnative/issues/109)) ([b601974](https://github.com/alexfalkowski/nonnative/commit/b601974b50e8df7cc16dd0bd5c32a16f462b1053))
11
+
5
12
  ## [1.55.0](https://github.com/alexfalkowski/nonnative/compare/v1.54.4...v1.55.0) (2022-03-25)
6
13
 
7
14
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nonnative (1.55.0)
4
+ nonnative (1.56.0)
5
5
  concurrent-ruby (~> 1.0, >= 1.0.5)
6
6
  cucumber (>= 7, < 8)
7
7
  get_process_mem (~> 0.2.1)
@@ -55,6 +55,10 @@ module Nonnative
55
55
  environment = service.environment || {}
56
56
  environment = environment.transform_keys(&:to_s).transform_values(&:to_s)
57
57
 
58
+ environment.each do |k, v|
59
+ environment[k] = ENV[k] || environment[v]
60
+ end
61
+
58
62
  spawn(environment, service.command, %i[out err] => [service.log, 'a'])
59
63
  end
60
64
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nonnative
4
- VERSION = '1.55.0'
4
+ VERSION = '1.56.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nonnative
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.55.0
4
+ version: 1.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alejandro Falkowski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-25 00:00:00.000000000 Z
11
+ date: 2022-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby