nonnative 1.34.0 → 1.36.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: 796ba4a8f59903f33fd52ecc0657c9dd741ecb79002d9d0397a8b6b578de3323
4
- data.tar.gz: f0a7a0ae04ad4afb063e630ba6a79573105cd2ac4b2bf73e9126e461bf1a71d6
3
+ metadata.gz: d759dcc303c41272e596bf51efa2cd6602f2209105a66a419ee8543da8592a0c
4
+ data.tar.gz: d300b24f8fbd84912d822e7235ee40dd9059f3a119fd3f7aa45d460c2b61300f
5
5
  SHA512:
6
- metadata.gz: d56caea50dbc0451c2708626b48b444781f2b79ff290b1d64b42a6401d384179c4ad62641706d213615feda86e780d410bd069914c437343b9c39803db2f2d39
7
- data.tar.gz: 4f0ad200212c58805e3e4d74900773520ad99156772344578ec3daa80aeb690808f682d240433dfc521502235e3984c84d893a875444f0a5ea6eefb5dcf710f2
6
+ metadata.gz: a5c26403802ae92c24c6ff36e9ab0f544772001ebb3e148891884fac300b0c3cb87a926ddda9da40169379ecfe522c69e186743ff334d3515cf6b4d66e2310ac
7
+ data.tar.gz: 728a9b4b2c09aab1be02f003a868a5fe041c23d317768aff56f658dcd6bd84d09f9202241362725ae8a00b856f5a5fdae446fc218681be99d9dfb726b49e4078
data/.circleci/config.yml CHANGED
@@ -1,6 +1,4 @@
1
1
  version: 2.1
2
- orbs:
3
- sonarcloud: sonarsource/sonarcloud@1.0.1
4
2
 
5
3
  jobs:
6
4
  build:
@@ -12,7 +10,7 @@ jobs:
12
10
  keys:
13
11
  - nonnative-gem-cache-{{ checksum "Gemfile.lock" }}
14
12
  - nonnative-gem-cache-
15
- - run: make dependencies
13
+ - run: make dep
16
14
  - save_cache:
17
15
  key: nonnative-gem-cache-{{ checksum "Gemfile.lock" }}
18
16
  paths:
@@ -20,15 +18,14 @@ jobs:
20
18
  - run: make features
21
19
  - store_test_results:
22
20
  path: reports
23
- - run: make analysis
21
+ - run: make lint
24
22
  - store_artifacts:
25
23
  path: coverage
26
24
  - store_artifacts:
27
25
  path: features/logs
28
- - sonarcloud/scan
29
26
  release:
30
27
  docker:
31
- - image: alexfalkowski/release:1.0
28
+ - image: alexfalkowski/release:2.0
32
29
  steps:
33
30
  - checkout
34
31
  - run: release.sh
@@ -36,9 +33,9 @@ jobs:
36
33
  workflows:
37
34
  nonnative:
38
35
  jobs:
39
- - build:
40
- context: SonarCloud
36
+ - build
41
37
  - release:
38
+ context: gh
42
39
  requires:
43
40
  - build
44
41
  filters:
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.7.1
1
+ ruby-2.7.2
data/CHANGELOG.md CHANGED
@@ -2,6 +2,30 @@
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.35.2](https://github.com/alexfalkowski/nonnative/compare/v1.35.1...v1.35.2) (2021-04-21)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * go command ([#71](https://github.com/alexfalkowski/nonnative/issues/71)) ([fe28cf3](https://github.com/alexfalkowski/nonnative/commit/fe28cf345be108780b47ac4c96d212b215d721a8))
11
+
12
+ ### [1.35.1](https://github.com/alexfalkowski/nonnative/compare/v1.35.0...v1.35.1) (2021-04-04)
13
+
14
+ ## [1.35.0](https://github.com/alexfalkowski/nonnative/compare/v1.34.0...v1.35.0) (2021-04-03)
15
+
16
+
17
+ ### Features
18
+
19
+ * **deps:** udate to latest ([#69](https://github.com/alexfalkowski/nonnative/issues/69)) ([8989b5d](https://github.com/alexfalkowski/nonnative/commit/8989b5dd960cc7064ed196545625c9ef8b9ee280))
20
+ * update ruby to version 2.7.2 [ci skip] ([90d3cb7](https://github.com/alexfalkowski/nonnative/commit/90d3cb7b24d2c4a70dd8e4fad809f008c849b34b))
21
+
22
+ ## [1.34.0](https://github.com/alexfalkowski/nonnative/compare/v1.33.0...v1.34.0) (2020-10-30)
23
+
24
+
25
+ ### Features
26
+
27
+ * bump to version 1.34.0 ([882f3db](https://github.com/alexfalkowski/nonnative/commit/882f3db513a8ffae7661dd000d50a380c2c004d0))
28
+
5
29
  ## [1.33.0](https://github.com/alexfalkowski/nonnative/compare/v1.32.0...v1.33.0) (2020-10-30)
6
30
 
7
31
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nonnative (1.34.0)
4
+ nonnative (1.36.0)
5
5
  concurrent-ruby (~> 1.0, >= 1.0.5)
6
6
  cucumber (>= 5, < 6)
7
7
  grpc (>= 1, < 2)
@@ -14,19 +14,21 @@ PATH
14
14
  GEM
15
15
  remote: https://rubygems.org/
16
16
  specs:
17
- activesupport (6.0.3.4)
17
+ activesupport (6.1.3.1)
18
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
19
- i18n (>= 0.7, < 2)
20
- minitest (~> 5.1)
21
- tzinfo (~> 1.1)
22
- zeitwerk (~> 2.2, >= 2.2.2)
23
- ast (2.4.1)
19
+ i18n (>= 1.6, < 2)
20
+ minitest (>= 5.1)
21
+ tzinfo (~> 2.0)
22
+ zeitwerk (~> 2.3)
23
+ ast (2.4.2)
24
+ backport (1.1.2)
25
+ benchmark (0.1.1)
24
26
  benchmark-malloc (0.2.0)
25
27
  benchmark-perf (0.6.0)
26
28
  benchmark-trend (0.4.0)
27
29
  builder (3.2.4)
28
- concurrent-ruby (1.1.7)
29
- cucumber (5.2.0)
30
+ concurrent-ruby (1.1.8)
31
+ cucumber (5.3.0)
30
32
  builder (~> 3.2, >= 3.2.4)
31
33
  cucumber-core (~> 8.0, >= 8.0.1)
32
34
  cucumber-create-meta (~> 2.0, >= 2.0.2)
@@ -50,7 +52,7 @@ GEM
50
52
  cucumber-messages (~> 13.0, >= 13.0.1)
51
53
  cucumber-html-formatter (9.0.0)
52
54
  cucumber-messages (~> 13.0, >= 13.0.1)
53
- cucumber-messages (13.1.0)
55
+ cucumber-messages (13.2.1)
54
56
  protobuf-cucumber (~> 3.10, >= 3.10.8)
55
57
  cucumber-tag-expressions (2.0.4)
56
58
  cucumber-wire (4.0.1)
@@ -58,55 +60,66 @@ GEM
58
60
  cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
59
61
  cucumber-messages (~> 13.0, >= 13.0.1)
60
62
  diff-lcs (1.4.4)
61
- docile (1.3.2)
63
+ docile (1.3.5)
62
64
  domain_name (0.5.20190701)
63
65
  unf (>= 0.0.5, < 1.0.0)
64
- ffi (1.13.1)
65
- google-protobuf (3.13.0)
66
- googleapis-common-protos-types (1.0.5)
67
- google-protobuf (~> 3.11)
68
- grpc (1.32.0)
69
- google-protobuf (~> 3.13)
66
+ e2mmap (0.1.0)
67
+ ffi (1.15.0)
68
+ google-protobuf (3.15.8)
69
+ googleapis-common-protos-types (1.0.6)
70
+ google-protobuf (~> 3.14)
71
+ grpc (1.37.0)
72
+ google-protobuf (~> 3.15)
70
73
  googleapis-common-protos-types (~> 1.0)
71
- grpc-tools (1.32.0)
74
+ grpc-tools (1.37.0)
72
75
  http-accept (1.7.0)
73
76
  http-cookie (1.0.3)
74
77
  domain_name (~> 0.5)
75
- i18n (1.8.5)
78
+ i18n (1.8.10)
76
79
  concurrent-ruby (~> 1.0)
77
- json (2.3.1)
80
+ jaro_winkler (1.5.4)
81
+ kramdown (2.3.1)
82
+ rexml
83
+ kramdown-parser-gfm (1.1.0)
84
+ kramdown (~> 2.0)
78
85
  middleware (0.1.0)
79
86
  mime-types (3.3.1)
80
87
  mime-types-data (~> 3.2015)
81
- mime-types-data (3.2020.0512)
82
- minitest (5.14.2)
88
+ mime-types-data (3.2021.0225)
89
+ mini_portile2 (2.5.0)
90
+ minitest (5.14.4)
83
91
  multi_test (0.1.2)
84
92
  mustermann (1.1.1)
85
93
  ruby2_keywords (~> 0.0.1)
86
94
  netrc (0.11.0)
87
- nio4r (2.5.4)
88
- parallel (1.19.2)
89
- parser (2.7.2.0)
95
+ nio4r (2.5.7)
96
+ nokogiri (1.11.3)
97
+ mini_portile2 (~> 2.5.0)
98
+ racc (~> 1.4)
99
+ parallel (1.20.1)
100
+ parser (3.0.1.0)
90
101
  ast (~> 2.4.1)
91
102
  protobuf-cucumber (3.10.8)
92
103
  activesupport (>= 3.2)
93
104
  middleware
94
105
  thor
95
106
  thread_safe
96
- puma (5.0.4)
107
+ puma (5.2.2)
97
108
  nio4r (~> 2.0)
109
+ racc (1.5.2)
98
110
  rack (2.2.3)
99
111
  rack-protection (2.1.0)
100
112
  rack
101
113
  rainbow (3.0.0)
102
- rake (13.0.1)
103
- regexp_parser (1.8.2)
114
+ regexp_parser (2.1.1)
104
115
  rest-client (2.1.0)
105
116
  http-accept (>= 1.7.0, < 2.0)
106
117
  http-cookie (>= 1.0.2, < 2.0)
107
118
  mime-types (>= 1.16, < 4.0)
108
119
  netrc (~> 0.8)
109
- rexml (3.2.4)
120
+ reverse_markdown (2.0.0)
121
+ nokogiri
122
+ rexml (3.2.5)
110
123
  rspec (3.10.0)
111
124
  rspec-core (~> 3.10.0)
112
125
  rspec-expectations (~> 3.10.0)
@@ -116,50 +129,66 @@ GEM
116
129
  benchmark-perf (~> 0.6)
117
130
  benchmark-trend (~> 0.4)
118
131
  rspec (>= 3.0)
119
- rspec-core (3.10.0)
132
+ rspec-core (3.10.1)
120
133
  rspec-support (~> 3.10.0)
121
- rspec-expectations (3.10.0)
134
+ rspec-expectations (3.10.1)
122
135
  diff-lcs (>= 1.2.0, < 2.0)
123
136
  rspec-support (~> 3.10.0)
124
- rspec-mocks (3.10.0)
137
+ rspec-mocks (3.10.2)
125
138
  diff-lcs (>= 1.2.0, < 2.0)
126
139
  rspec-support (~> 3.10.0)
127
- rspec-support (3.10.0)
128
- rubocop (1.0.0)
140
+ rspec-support (3.10.2)
141
+ rubocop (1.13.0)
129
142
  parallel (~> 1.10)
130
- parser (>= 2.7.1.5)
143
+ parser (>= 3.0.0.0)
131
144
  rainbow (>= 2.2.2, < 4.0)
132
- regexp_parser (>= 1.8)
145
+ regexp_parser (>= 1.8, < 3.0)
133
146
  rexml
134
- rubocop-ast (>= 0.6.0)
147
+ rubocop-ast (>= 1.2.0, < 2.0)
135
148
  ruby-progressbar (~> 1.7)
136
- unicode-display_width (>= 1.4.0, < 2.0)
137
- rubocop-ast (1.0.0)
149
+ unicode-display_width (>= 1.4.0, < 3.0)
150
+ rubocop-ast (1.4.1)
138
151
  parser (>= 2.7.1.5)
139
- ruby-progressbar (1.10.1)
140
- ruby2_keywords (0.0.2)
141
- simplecov (0.17.1)
152
+ ruby-progressbar (1.11.0)
153
+ ruby2_keywords (0.0.4)
154
+ simplecov (0.21.2)
142
155
  docile (~> 1.1)
143
- json (>= 1.8, < 3)
144
- simplecov-html (~> 0.10.0)
145
- simplecov-html (0.10.2)
156
+ simplecov-html (~> 0.11)
157
+ simplecov_json_formatter (~> 0.1)
158
+ simplecov-html (0.12.3)
159
+ simplecov_json_formatter (0.1.2)
146
160
  sinatra (2.1.0)
147
161
  mustermann (~> 1.0)
148
162
  rack (~> 2.2)
149
163
  rack-protection (= 2.1.0)
150
164
  tilt (~> 2.0)
165
+ solargraph (0.40.4)
166
+ backport (~> 1.1)
167
+ benchmark
168
+ bundler (>= 1.17.2)
169
+ e2mmap
170
+ jaro_winkler (~> 1.5)
171
+ kramdown (~> 2.3)
172
+ kramdown-parser-gfm (~> 1.1)
173
+ parser (~> 3.0)
174
+ reverse_markdown (>= 1.0.5, < 3)
175
+ rubocop (>= 0.52)
176
+ thor (~> 1.0)
177
+ tilt (~> 2.0)
178
+ yard (~> 0.9, >= 0.9.24)
151
179
  sys-uname (1.2.2)
152
180
  ffi (~> 1.1)
153
181
  thor (1.0.1)
154
182
  thread_safe (0.3.6)
155
183
  tilt (2.0.10)
156
- tzinfo (1.2.7)
157
- thread_safe (~> 0.1)
184
+ tzinfo (2.0.4)
185
+ concurrent-ruby (~> 1.0)
158
186
  unf (0.1.4)
159
187
  unf_ext
160
188
  unf_ext (0.0.7.7)
161
- unicode-display_width (1.7.0)
162
- zeitwerk (2.4.1)
189
+ unicode-display_width (2.0.0)
190
+ yard (0.9.26)
191
+ zeitwerk (2.4.2)
163
192
 
164
193
  PLATFORMS
165
194
  ruby
@@ -168,9 +197,9 @@ DEPENDENCIES
168
197
  bundler (~> 2.1, >= 2.1.4)
169
198
  grpc-tools (>= 1, < 2)
170
199
  nonnative!
171
- rake (~> 13.0, >= 13.0.1)
172
- rubocop (~> 1.0)
173
- simplecov (~> 0.17.1)
200
+ rubocop (~> 1.12)
201
+ simplecov (~> 0.21.2)
202
+ solargraph (~> 0.40.4)
174
203
 
175
204
  BUNDLED WITH
176
205
  2.1.4
data/Makefile CHANGED
@@ -1,27 +1,27 @@
1
1
  .PHONY: features
2
2
 
3
- dependencies:
3
+ dep:
4
4
  bin/setup
5
5
 
6
- outdated-dependencies:
6
+ outdated:
7
7
  bundle outdated --only-explicit
8
8
 
9
9
  features: clean
10
10
  bundle exec cucumber --profile report --fail-fast $(feature)
11
11
 
12
- analysis:
12
+ lint:
13
13
  bundle exec rubocop
14
14
 
15
- cleanup-analysis:
15
+ fix-lint:
16
16
  bundle exec rubocop -A
17
17
 
18
- cleanup-logs:
18
+ clean-logs:
19
19
  rm -rf features/logs/*.log
20
20
 
21
- cleanup-reports:
21
+ clean-reports:
22
22
  rm -rf reports
23
23
 
24
- cleanup-coverage:
24
+ clean-coverage:
25
25
  rm -rf coverage
26
26
 
27
- clean: cleanup-logs cleanup-reports cleanup-coverage
27
+ clean: clean-logs clean-reports clean-coverage
@@ -2,14 +2,14 @@
2
2
 
3
3
  module Nonnative
4
4
  class GoCommand
5
- def initialize(main, output)
6
- @main = main
5
+ def initialize(exec, output)
6
+ @exec = exec
7
7
  @output = output
8
8
  end
9
9
 
10
10
  def executable(cmd, *params)
11
11
  params = params.join(' ')
12
- "#{main} #{flags(cmd, params).join(' ')} #{cmd} #{params}"
12
+ "#{exec} #{flags(cmd, params).join(' ')} #{cmd} #{params}".strip
13
13
  end
14
14
 
15
15
  def execute(cmd, *params)
@@ -20,12 +20,13 @@ module Nonnative
20
20
 
21
21
  private
22
22
 
23
- attr_reader :main, :output
23
+ attr_reader :exec, :output
24
24
 
25
25
  def flags(cmd, params)
26
- m = File.basename(main, File.extname(main))
26
+ m = File.basename(exec, File.extname(exec))
27
27
  p = params.gsub(/\W/, '')
28
- path = "#{output}/#{m}-#{cmd}-#{p}"
28
+ name = [m, cmd, p].reject(&:empty?).join('-')
29
+ path = "#{output}/#{name}"
29
30
 
30
31
  [
31
32
  "-test.cpuprofile=#{path}-cpu.prof",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nonnative
4
- VERSION = '1.34.0'
4
+ VERSION = '1.36.0'
5
5
  end
data/nonnative.gemspec CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
 
35
35
  spec.add_development_dependency 'bundler', '~> 2.1', '>= 2.1.4'
36
36
  spec.add_development_dependency 'grpc-tools', ['>= 1', '< 2']
37
- spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.1'
38
- spec.add_development_dependency 'rubocop', '~> 1.0'
39
- spec.add_development_dependency 'simplecov', '~> 0.17.1'
37
+ spec.add_development_dependency 'rubocop', '~> 1.12'
38
+ spec.add_development_dependency 'simplecov', '~> 0.21.2'
39
+ spec.add_development_dependency 'solargraph', '~> 0.40.4'
40
40
  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.34.0
4
+ version: 1.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Falkowski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-30 00:00:00.000000000 Z
11
+ date: 2021-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -193,53 +193,47 @@ dependencies:
193
193
  - !ruby/object:Gem::Version
194
194
  version: '2'
195
195
  - !ruby/object:Gem::Dependency
196
- name: rake
196
+ name: rubocop
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '13.0'
202
- - - ">="
203
- - !ruby/object:Gem::Version
204
- version: 13.0.1
201
+ version: '1.12'
205
202
  type: :development
206
203
  prerelease: false
207
204
  version_requirements: !ruby/object:Gem::Requirement
208
205
  requirements:
209
206
  - - "~>"
210
207
  - !ruby/object:Gem::Version
211
- version: '13.0'
212
- - - ">="
213
- - !ruby/object:Gem::Version
214
- version: 13.0.1
208
+ version: '1.12'
215
209
  - !ruby/object:Gem::Dependency
216
- name: rubocop
210
+ name: simplecov
217
211
  requirement: !ruby/object:Gem::Requirement
218
212
  requirements:
219
213
  - - "~>"
220
214
  - !ruby/object:Gem::Version
221
- version: '1.0'
215
+ version: 0.21.2
222
216
  type: :development
223
217
  prerelease: false
224
218
  version_requirements: !ruby/object:Gem::Requirement
225
219
  requirements:
226
220
  - - "~>"
227
221
  - !ruby/object:Gem::Version
228
- version: '1.0'
222
+ version: 0.21.2
229
223
  - !ruby/object:Gem::Dependency
230
- name: simplecov
224
+ name: solargraph
231
225
  requirement: !ruby/object:Gem::Requirement
232
226
  requirements:
233
227
  - - "~>"
234
228
  - !ruby/object:Gem::Version
235
- version: 0.17.1
229
+ version: 0.40.4
236
230
  type: :development
237
231
  prerelease: false
238
232
  version_requirements: !ruby/object:Gem::Requirement
239
233
  requirements:
240
234
  - - "~>"
241
235
  - !ruby/object:Gem::Version
242
- version: 0.17.1
236
+ version: 0.40.4
243
237
  description: Allows you to keep using the power of ruby to test other systems
244
238
  email:
245
239
  - alexrfalkowski@gmail.com
@@ -295,7 +289,6 @@ files:
295
289
  - lib/nonnative/timeout.rb
296
290
  - lib/nonnative/version.rb
297
291
  - nonnative.gemspec
298
- - sonar-project.properties
299
292
  homepage: https://github.com/alexfalkowski/nonnative
300
293
  licenses:
301
294
  - Unlicense
@@ -318,7 +311,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
318
311
  - !ruby/object:Gem::Version
319
312
  version: '0'
320
313
  requirements: []
321
- rubygems_version: 3.1.2
314
+ rubygems_version: 3.1.4
322
315
  signing_key:
323
316
  specification_version: 4
324
317
  summary: Allows you to keep using the power of ruby to test other systems
@@ -1,4 +0,0 @@
1
- sonar.projectKey=alexfalkowski_nonnative
2
- sonar.organization=alejandrofalkowski
3
- sonar.exclusions=features/**/*
4
- sonar.ruby.coverage.reportPaths=coverage/.resultset.json