nonnative 1.57.0 → 1.57.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d9620b9a9416b10419818af1325090b652954957e61cb2af8145350c67cbda8
4
- data.tar.gz: 53f816756bc6d2012765a673b38940767adca626f05db397009b8e7fdb12a68e
3
+ metadata.gz: 18c507d1d80df16859377563fe1d6ee1c9eb5f2ddd8fdf3d2993f51b6bdb2b62
4
+ data.tar.gz: d68f4c11e44caa4603bf1c6d710b84dfcc7736b651d1386908b5bd68ed92faf9
5
5
  SHA512:
6
- metadata.gz: 01e32801f3bb31a582448a7631be074e52dd6b862aecd55c0c8d9b290760cfadb5c9d661b4d28ee0333d783813c574b7f57298dd840b671c728664a5203ec4f0
7
- data.tar.gz: eb5fc0b72af274bcb5c8d60805cdb7fe110f7001ff52a9eff8ac992572f551cb71e90163ff25c2e3913abc97f9003895b125705a4f5ab2484ee2be49f96bb1cc
6
+ metadata.gz: c1bbef60259712ff852c2fccf0000fd03744bda978f4e31ee0a5c462a09d1ff523af7ec2aaabba6decd5ef24bec8c26b7d3e415ab3506cb7de06889ace9257ff
7
+ data.tar.gz: ed09e907cf065b93f4b320830ff9eafeebac36b0341c40e335500e76868148bfaead29291b26312cf7f7d7fa1130a73b762ac2ace354d90851e9c62f93e5f994
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.57.1](https://github.com/alexfalkowski/nonnative/compare/v1.57.0...v1.57.1) (2022-03-28)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **command:** make sure we recreate with every execution ([#113](https://github.com/alexfalkowski/nonnative/issues/113)) ([efe2c76](https://github.com/alexfalkowski/nonnative/commit/efe2c761a54eacfa2e4afe99afea2a9c2f8eeb74))
11
+
5
12
  ## [1.57.0](https://github.com/alexfalkowski/nonnative/compare/v1.56.1...v1.57.0) (2022-03-28)
6
13
 
7
14
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nonnative (1.57.0)
4
+ nonnative (1.57.1)
5
5
  concurrent-ruby (~> 1.0, >= 1.0.5)
6
6
  cucumber (>= 7, < 8)
7
7
  get_process_mem (~> 0.2.1)
data/README.md CHANGED
@@ -65,7 +65,7 @@ Nonnative.configure do |config|
65
65
 
66
66
  config.process do |p|
67
67
  p.name = 'start_1'
68
- p.command = 'features/support/bin/start 12_321'
68
+ p.command = -> { 'features/support/bin/start 12_321' }
69
69
  p.timeout = config.strategy.timeout
70
70
  p.port = 12_321
71
71
  p.log = 'features/logs/12_321.log'
@@ -77,7 +77,7 @@ Nonnative.configure do |config|
77
77
 
78
78
  config.process do |p|
79
79
  p.name = 'start_2'
80
- p.command = 'features/support/bin/start 12_322'
80
+ p.command = -> { 'features/support/bin/start 12_322' }
81
81
  p.timeout = 0.5
82
82
  p.port = 12_322
83
83
  p.log = 'features/logs/12_322.log'
@@ -70,9 +70,9 @@ module Nonnative
70
70
  go = process['go']
71
71
  if go
72
72
  params = go['parameters'] || []
73
- Nonnative.go_executable(go['output'], go['executable'], go['command'], *params)
73
+ -> { Nonnative.go_executable(go['output'], go['executable'], go['command'], *params) }
74
74
  else
75
- process['command']
75
+ -> { process['command'] }
76
76
  end
77
77
  end
78
78
 
@@ -59,7 +59,7 @@ module Nonnative
59
59
  environment[k] = ENV[k] || environment[k]
60
60
  end
61
61
 
62
- spawn(environment, service.command, %i[out err] => [service.log, 'a'])
62
+ spawn(environment, service.command.call, %i[out err] => [service.log, 'a'])
63
63
  end
64
64
 
65
65
  def process_exists?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nonnative
4
- VERSION = '1.57.0'
4
+ VERSION = '1.57.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nonnative
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.57.0
4
+ version: 1.57.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alejandro Falkowski