nonnative 1.60.0 → 1.63.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 +4 -4
- data/.github/dependabot.yml +6 -0
- data/CHANGELOG.md +31 -0
- data/Gemfile.lock +40 -39
- data/lib/nonnative/configuration.rb +7 -0
- data/lib/nonnative/cucumber.rb +9 -0
- data/lib/nonnative/version.rb +1 -1
- data/nonnative.gemspec +2 -2
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bfe0d932d85223e7327d74f99452eb1a525920e999bfc4e7315f590be9890b23
|
|
4
|
+
data.tar.gz: 3343f8405f2edd03fa5481e6f680215dc65b450dc86229112c29cdf9012c1483
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a4555d3f828c09b2b103bb1ba84c57c1c68dd39f64e4b2bfd107dabf554cdbd2208a2fe2efdc77d26540a41f0819e1b5648ce7fcbe2a3606db917c170ff799f
|
|
7
|
+
data.tar.gz: 888e8d60327f65ef828026b0b8ed17abb134600428536142ccfc12ff734d8429c33ac13f68b77ad605ba50d0047d1f6ad1a605d3db6970f75521777ff69c1fa7
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,37 @@
|
|
|
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.63.0](https://github.com/alexfalkowski/nonnative/compare/v1.62.5...v1.63.0) (2022-05-24)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **cucumber:** update to v8 ([#128](https://github.com/alexfalkowski/nonnative/issues/128)) ([337d12c](https://github.com/alexfalkowski/nonnative/commit/337d12c498798fe1a6d62a928bdeb3f1fc7a8e07))
|
|
11
|
+
|
|
12
|
+
### [1.62.5](https://github.com/alexfalkowski/nonnative/compare/v1.62.4...v1.62.5) (2022-05-23)
|
|
13
|
+
|
|
14
|
+
### [1.62.4](https://github.com/alexfalkowski/nonnative/compare/v1.62.3...v1.62.4) (2022-05-23)
|
|
15
|
+
|
|
16
|
+
### [1.62.3](https://github.com/alexfalkowski/nonnative/compare/v1.62.2...v1.62.3) (2022-05-23)
|
|
17
|
+
|
|
18
|
+
### [1.62.2](https://github.com/alexfalkowski/nonnative/compare/v1.62.1...v1.62.2) (2022-05-23)
|
|
19
|
+
|
|
20
|
+
### [1.62.1](https://github.com/alexfalkowski/nonnative/compare/v1.62.0...v1.62.1) (2022-05-17)
|
|
21
|
+
|
|
22
|
+
## [1.62.0](https://github.com/alexfalkowski/nonnative/compare/v1.61.0...v1.62.0) (2022-04-25)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* add ability to read from log file ([#121](https://github.com/alexfalkowski/nonnative/issues/121)) ([eb4638f](https://github.com/alexfalkowski/nonnative/commit/eb4638f3ca8636ca68f989209a6e73831e61a678))
|
|
28
|
+
|
|
29
|
+
## [1.61.0](https://github.com/alexfalkowski/nonnative/compare/v1.60.0...v1.61.0) (2022-04-25)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
* allow checking logs ([#120](https://github.com/alexfalkowski/nonnative/issues/120)) ([dc95fd2](https://github.com/alexfalkowski/nonnative/commit/dc95fd2977c3900d2ae6447d517f410e1128837f))
|
|
35
|
+
|
|
5
36
|
## [1.60.0](https://github.com/alexfalkowski/nonnative/compare/v1.59.1...v1.60.0) (2022-04-25)
|
|
6
37
|
|
|
7
38
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
nonnative (1.
|
|
4
|
+
nonnative (1.63.0)
|
|
5
5
|
concurrent-ruby (~> 1.0, >= 1.0.5)
|
|
6
|
-
cucumber (>= 7, <
|
|
6
|
+
cucumber (>= 7, < 9)
|
|
7
7
|
get_process_mem (~> 0.2.1)
|
|
8
8
|
grpc (>= 1, < 2)
|
|
9
9
|
puma (~> 5.0)
|
|
@@ -28,36 +28,30 @@ GEM
|
|
|
28
28
|
term-ansicolor (~> 1.6)
|
|
29
29
|
thor (>= 0.20.3, < 2.0)
|
|
30
30
|
tins (~> 1.16)
|
|
31
|
-
cucumber (
|
|
31
|
+
cucumber (8.0.0)
|
|
32
32
|
builder (~> 3.2, >= 3.2.4)
|
|
33
|
-
cucumber-
|
|
34
|
-
cucumber-
|
|
35
|
-
cucumber-cucumber-expressions (~>
|
|
36
|
-
cucumber-gherkin (~>
|
|
37
|
-
cucumber-html-formatter (~>
|
|
38
|
-
cucumber-messages (~>
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
multi_test (~> 0.1, >= 0.1.2)
|
|
33
|
+
cucumber-ci-environment (~> 9.0, >= 9.0.4)
|
|
34
|
+
cucumber-core (~> 11.0, >= 11.0.0)
|
|
35
|
+
cucumber-cucumber-expressions (~> 15.1, >= 15.1.1)
|
|
36
|
+
cucumber-gherkin (~> 23.0, >= 23.0.1)
|
|
37
|
+
cucumber-html-formatter (~> 19.1, >= 19.1.0)
|
|
38
|
+
cucumber-messages (~> 18.0, >= 18.0.0)
|
|
39
|
+
diff-lcs (~> 1.5, >= 1.5.0)
|
|
40
|
+
mime-types (~> 3.4, >= 3.4.1)
|
|
41
|
+
multi_test (~> 1.1, >= 1.1.0)
|
|
43
42
|
sys-uname (~> 1.2, >= 1.2.2)
|
|
44
|
-
cucumber-
|
|
45
|
-
|
|
46
|
-
cucumber-
|
|
43
|
+
cucumber-ci-environment (9.0.4)
|
|
44
|
+
cucumber-core (11.0.0)
|
|
45
|
+
cucumber-gherkin (~> 23.0, >= 23.0.1)
|
|
46
|
+
cucumber-messages (~> 18.0, >= 18.0.0)
|
|
47
47
|
cucumber-tag-expressions (~> 4.1, >= 4.1.0)
|
|
48
|
-
cucumber-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
cucumber-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
cucumber-html-formatter (17.0.0)
|
|
55
|
-
cucumber-messages (~> 17.1, >= 17.1.0)
|
|
56
|
-
cucumber-messages (17.1.1)
|
|
48
|
+
cucumber-cucumber-expressions (15.1.1)
|
|
49
|
+
cucumber-gherkin (23.0.1)
|
|
50
|
+
cucumber-messages (~> 18.0, >= 18.0.0)
|
|
51
|
+
cucumber-html-formatter (19.1.0)
|
|
52
|
+
cucumber-messages (~> 18.0, >= 18.0.0)
|
|
53
|
+
cucumber-messages (18.0.0)
|
|
57
54
|
cucumber-tag-expressions (4.1.0)
|
|
58
|
-
cucumber-wire (6.2.1)
|
|
59
|
-
cucumber-core (~> 10.1, >= 10.1.0)
|
|
60
|
-
cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
|
|
61
55
|
diff-lcs (1.5.0)
|
|
62
56
|
docile (1.4.0)
|
|
63
57
|
domain_name (0.5.20190701)
|
|
@@ -67,28 +61,34 @@ GEM
|
|
|
67
61
|
get_process_mem (0.2.7)
|
|
68
62
|
ffi (~> 1.0)
|
|
69
63
|
google-protobuf (3.20.1-x86_64-darwin)
|
|
64
|
+
google-protobuf (3.20.1-x86_64-linux)
|
|
70
65
|
googleapis-common-protos-types (1.3.1)
|
|
71
66
|
google-protobuf (~> 3.14)
|
|
72
|
-
grpc (1.
|
|
67
|
+
grpc (1.46.3-x86_64-darwin)
|
|
68
|
+
google-protobuf (~> 3.19)
|
|
69
|
+
googleapis-common-protos-types (~> 1.0)
|
|
70
|
+
grpc (1.46.3-x86_64-linux)
|
|
73
71
|
google-protobuf (~> 3.19)
|
|
74
72
|
googleapis-common-protos-types (~> 1.0)
|
|
75
73
|
http-accept (1.7.0)
|
|
76
74
|
http-cookie (1.0.4)
|
|
77
75
|
domain_name (~> 0.5)
|
|
78
76
|
jaro_winkler (1.5.4)
|
|
79
|
-
kramdown (2.
|
|
77
|
+
kramdown (2.4.0)
|
|
80
78
|
rexml
|
|
81
79
|
kramdown-parser-gfm (1.1.0)
|
|
82
80
|
kramdown (~> 2.0)
|
|
83
81
|
mime-types (3.4.1)
|
|
84
82
|
mime-types-data (~> 3.2015)
|
|
85
83
|
mime-types-data (3.2022.0105)
|
|
86
|
-
multi_test (
|
|
84
|
+
multi_test (1.1.0)
|
|
87
85
|
mustermann (1.1.1)
|
|
88
86
|
ruby2_keywords (~> 0.0.1)
|
|
89
87
|
netrc (0.11.0)
|
|
90
88
|
nio4r (2.5.8)
|
|
91
|
-
nokogiri (1.13.
|
|
89
|
+
nokogiri (1.13.6-x86_64-darwin)
|
|
90
|
+
racc (~> 1.4)
|
|
91
|
+
nokogiri (1.13.6-x86_64-linux)
|
|
92
92
|
racc (~> 1.4)
|
|
93
93
|
parallel (1.22.1)
|
|
94
94
|
parser (3.1.2.0)
|
|
@@ -100,7 +100,7 @@ GEM
|
|
|
100
100
|
rack-protection (2.2.0)
|
|
101
101
|
rack
|
|
102
102
|
rainbow (3.1.1)
|
|
103
|
-
regexp_parser (2.
|
|
103
|
+
regexp_parser (2.4.0)
|
|
104
104
|
rest-client (2.1.0)
|
|
105
105
|
http-accept (>= 1.7.0, < 2.0)
|
|
106
106
|
http-cookie (>= 1.0.2, < 2.0)
|
|
@@ -127,16 +127,16 @@ GEM
|
|
|
127
127
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
128
128
|
rspec-support (~> 3.11.0)
|
|
129
129
|
rspec-support (3.11.0)
|
|
130
|
-
rubocop (1.
|
|
130
|
+
rubocop (1.29.1)
|
|
131
131
|
parallel (~> 1.10)
|
|
132
132
|
parser (>= 3.1.0.0)
|
|
133
133
|
rainbow (>= 2.2.2, < 4.0)
|
|
134
134
|
regexp_parser (>= 1.8, < 3.0)
|
|
135
|
-
rexml
|
|
135
|
+
rexml (>= 3.2.5, < 4.0)
|
|
136
136
|
rubocop-ast (>= 1.17.0, < 2.0)
|
|
137
137
|
ruby-progressbar (~> 1.7)
|
|
138
138
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
139
|
-
rubocop-ast (1.
|
|
139
|
+
rubocop-ast (1.18.0)
|
|
140
140
|
parser (>= 3.1.1.0)
|
|
141
141
|
ruby-progressbar (1.11.0)
|
|
142
142
|
ruby2_keywords (0.0.5)
|
|
@@ -151,7 +151,7 @@ GEM
|
|
|
151
151
|
rack (~> 2.2)
|
|
152
152
|
rack-protection (= 2.2.0)
|
|
153
153
|
tilt (~> 2.0)
|
|
154
|
-
solargraph (0.
|
|
154
|
+
solargraph (0.45.0)
|
|
155
155
|
backport (~> 1.2)
|
|
156
156
|
benchmark
|
|
157
157
|
bundler (>= 1.17.2)
|
|
@@ -173,7 +173,7 @@ GEM
|
|
|
173
173
|
tins (~> 1.0)
|
|
174
174
|
thor (1.2.1)
|
|
175
175
|
tilt (2.0.10)
|
|
176
|
-
tins (1.31.
|
|
176
|
+
tins (1.31.1)
|
|
177
177
|
sync
|
|
178
178
|
unf (0.1.4)
|
|
179
179
|
unf_ext
|
|
@@ -185,13 +185,14 @@ GEM
|
|
|
185
185
|
|
|
186
186
|
PLATFORMS
|
|
187
187
|
x86_64-darwin-21
|
|
188
|
+
x86_64-linux
|
|
188
189
|
|
|
189
190
|
DEPENDENCIES
|
|
190
191
|
bundler (~> 2.3)
|
|
191
192
|
coveralls_reborn (~> 0.24.0)
|
|
192
193
|
nonnative!
|
|
193
194
|
rubocop (~> 1.26)
|
|
194
|
-
solargraph (~> 0.
|
|
195
|
+
solargraph (~> 0.45.0)
|
|
195
196
|
|
|
196
197
|
BUNDLED WITH
|
|
197
198
|
2.3.9
|
|
@@ -39,6 +39,13 @@ module Nonnative
|
|
|
39
39
|
services << service
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
+
def process_by_name(name)
|
|
43
|
+
process = processes.find { |s| s.name == name }
|
|
44
|
+
raise NotFoundError, "Could not find process with name '#{name}'" if process.nil?
|
|
45
|
+
|
|
46
|
+
process
|
|
47
|
+
end
|
|
48
|
+
|
|
42
49
|
private
|
|
43
50
|
|
|
44
51
|
def add_processes(file)
|
data/lib/nonnative/cucumber.rb
CHANGED
|
@@ -68,3 +68,12 @@ end
|
|
|
68
68
|
Then('stopping the system should raise an error') do
|
|
69
69
|
expect { Nonnative.stop }.to raise_error(Nonnative::StopError)
|
|
70
70
|
end
|
|
71
|
+
|
|
72
|
+
Then('I should see a log entry of {string} for process {string}') do |message, process|
|
|
73
|
+
process = Nonnative.configuration.process_by_name(process)
|
|
74
|
+
expect(Nonnative.log_lines(process.log, ->(l) { l.include?(message) }).first).to include(message)
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
Then('I should see a log entry of {string} in the file {string}') do |message, path|
|
|
78
|
+
expect(Nonnative.log_lines(path, ->(l) { l.include?(message) }).first).to include(message)
|
|
79
|
+
end
|
data/lib/nonnative/version.rb
CHANGED
data/nonnative.gemspec
CHANGED
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
|
25
25
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
26
26
|
|
|
27
27
|
spec.add_dependency 'concurrent-ruby', '~> 1.0', '>= 1.0.5'
|
|
28
|
-
spec.add_dependency 'cucumber',
|
|
28
|
+
spec.add_dependency 'cucumber', '>= 7', '< 9'
|
|
29
29
|
spec.add_dependency 'get_process_mem', '~> 0.2.1'
|
|
30
30
|
spec.add_dependency 'grpc', ['>= 1', '< 2']
|
|
31
31
|
spec.add_dependency 'puma', '~> 5.0'
|
|
@@ -37,5 +37,5 @@ Gem::Specification.new do |spec|
|
|
|
37
37
|
spec.add_development_dependency 'bundler', '~> 2.3'
|
|
38
38
|
spec.add_development_dependency 'coveralls_reborn', '~> 0.24.0'
|
|
39
39
|
spec.add_development_dependency 'rubocop', '~> 1.26'
|
|
40
|
-
spec.add_development_dependency 'solargraph', '~> 0.
|
|
40
|
+
spec.add_development_dependency 'solargraph', '~> 0.45.0'
|
|
41
41
|
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.
|
|
4
|
+
version: 1.63.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-
|
|
11
|
+
date: 2022-05-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: concurrent-ruby
|
|
@@ -39,7 +39,7 @@ dependencies:
|
|
|
39
39
|
version: '7'
|
|
40
40
|
- - "<"
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
|
-
version: '
|
|
42
|
+
version: '9'
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -49,7 +49,7 @@ dependencies:
|
|
|
49
49
|
version: '7'
|
|
50
50
|
- - "<"
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
|
-
version: '
|
|
52
|
+
version: '9'
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: get_process_mem
|
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -214,14 +214,14 @@ dependencies:
|
|
|
214
214
|
requirements:
|
|
215
215
|
- - "~>"
|
|
216
216
|
- !ruby/object:Gem::Version
|
|
217
|
-
version: 0.
|
|
217
|
+
version: 0.45.0
|
|
218
218
|
type: :development
|
|
219
219
|
prerelease: false
|
|
220
220
|
version_requirements: !ruby/object:Gem::Requirement
|
|
221
221
|
requirements:
|
|
222
222
|
- - "~>"
|
|
223
223
|
- !ruby/object:Gem::Version
|
|
224
|
-
version: 0.
|
|
224
|
+
version: 0.45.0
|
|
225
225
|
description: Allows you to keep using the power of ruby to test other systems
|
|
226
226
|
email:
|
|
227
227
|
- alexrfalkowski@gmail.com
|
|
@@ -233,6 +233,7 @@ files:
|
|
|
233
233
|
- ".config/cucumber.yml"
|
|
234
234
|
- ".coveralls.yml"
|
|
235
235
|
- ".editorconfig"
|
|
236
|
+
- ".github/dependabot.yml"
|
|
236
237
|
- ".gitignore"
|
|
237
238
|
- ".rubocop.yml"
|
|
238
239
|
- ".ruby-version"
|