nonnative 1.108.0 → 2.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: 7dd608f805b2ce754e5623129d9d9bceedf3ead952aa400ccd71a282ee95f4de
4
- data.tar.gz: '004538a71769b03f99f1411dac35b209e464148905c026b8bc01c1a7433fbce8'
3
+ metadata.gz: 2ddf38955233e08e5d3565564ffe855acb850d0e59aa54114ae8c5a8c89576b2
4
+ data.tar.gz: 51f35095b56eb749bd2af6e6016c2f0080a3d3b0902b649b5b4756d0f444554a
5
5
  SHA512:
6
- metadata.gz: 9656abc7f1d6c4bbbffefb09e28cc7d5e3b6a555ff2bd20d2a7cee1eeab4dd4c37dbdb92dc4b7f15ecafafbc021844a51d7c9cbbbe3d835382fefa06407396a5
7
- data.tar.gz: b1ff6b2f942abd304b0fe0b8985f2b7b84ff232c5733aa3f89e83ce6d0d6f4965f88db051f080f3e91a88fb0931e8e0373df1e03bfaae405143c365365b6b4b4
6
+ metadata.gz: 7f66294aca776a21a0227ec8c95dc2a7c91eaa048d307ec4da73939c125ea3d78be56c72efc0a07ca4b4eba39368f6c4e1ec7e0f143760ee232eae86fd016267
7
+ data.tar.gz: 9bc01129e8cc40ce40b5eb4d2e87c1c7ec5c0299df472a26d8ebad824f5d0eeefb350963d46f7b74253f6c7754fbbd4f940565200b5b9360a44c1dfd2e833de6
data/.circleci/config.yml CHANGED
@@ -3,7 +3,7 @@ version: 2.1
3
3
  jobs:
4
4
  build:
5
5
  docker:
6
- - image: alexfalkowski/ruby:1.90
6
+ - image: alexfalkowski/ruby:2.0
7
7
  working_directory: ~/nonnative
8
8
  steps:
9
9
  - checkout:
@@ -31,9 +31,20 @@ jobs:
31
31
  path: test/reports
32
32
  - run: make codecov-upload
33
33
  resource_class: arm.large
34
+ sync:
35
+ docker:
36
+ - image: alexfalkowski/release:6.3
37
+ working_directory: ~/nonnative
38
+ steps:
39
+ - checkout:
40
+ method: blobless
41
+ - run: git submodule sync
42
+ - run: git submodule update --init
43
+ - run: make sync push
44
+ resource_class: arm.large
34
45
  version:
35
46
  docker:
36
- - image: alexfalkowski/release:5.46
47
+ - image: alexfalkowski/release:6.3
37
48
  working_directory: ~/nonnative
38
49
  steps:
39
50
  - checkout:
@@ -41,16 +52,35 @@ jobs:
41
52
  - run: git submodule sync
42
53
  - run: git submodule update --init
43
54
  - run: version
55
+ - run: package
56
+ resource_class: arm.large
57
+ wait-all:
58
+ docker:
59
+ - image: alexfalkowski/ruby:2.0
60
+ steps:
61
+ - run: echo "all applicable jobs finished"
44
62
  resource_class: arm.large
45
63
 
46
64
  workflows:
47
65
  nonnative:
48
66
  jobs:
49
67
  - build
68
+ - sync:
69
+ requires:
70
+ - build
71
+ filters:
72
+ branches:
73
+ ignore: master
50
74
  - version:
51
75
  context: gh
76
+ serial-group: << pipeline.project.slug >>/version
52
77
  requires:
53
78
  - build
54
79
  filters:
55
80
  branches:
56
81
  only: master
82
+ - wait-all:
83
+ requires:
84
+ - build
85
+ - sync
86
+ - version
data/.goreleaser.yml ADDED
@@ -0,0 +1,17 @@
1
+ version: 2
2
+
3
+ builds:
4
+ - skip: true
5
+
6
+ changelog:
7
+ sort: asc
8
+ filters:
9
+ exclude:
10
+ - "^chore"
11
+
12
+ release:
13
+ footer: >-
14
+
15
+ ---
16
+
17
+ Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 3.4
2
+ TargetRubyVersion: 4.0
3
3
  DisplayCopNames: true
4
4
  NewCops: enable
5
5
  Exclude:
@@ -10,6 +10,9 @@ AllCops:
10
10
  Layout/LineLength:
11
11
  Max: 150
12
12
 
13
+ Lint/HashCompareByIdentity:
14
+ Enabled: false
15
+
13
16
  Metrics/MethodLength:
14
17
  Max: 20
15
18
 
@@ -25,8 +28,8 @@ Metrics/ClassLength:
25
28
  Style/Documentation:
26
29
  Enabled: false
27
30
 
28
- Lint/HashCompareByIdentity:
31
+ Style/NumericPredicate:
29
32
  Enabled: false
30
33
 
31
- Style/NumericPredicate:
34
+ Style/FileOpen:
32
35
  Enabled: false
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nonnative (1.108.0)
4
+ nonnative (2.0)
5
5
  concurrent-ruby (>= 1, < 2)
6
6
  config (>= 5, < 6)
7
7
  cucumber (>= 7, < 11)
@@ -42,45 +42,45 @@ GEM
42
42
  multi_test (~> 1.1)
43
43
  sys-uname (~> 1.3)
44
44
  cucumber-ci-environment (11.0.0)
45
- cucumber-core (16.0.0)
46
- cucumber-gherkin (> 33, < 40)
47
- cucumber-messages (> 28, < 33)
45
+ cucumber-core (16.2.0)
46
+ cucumber-gherkin (> 36, < 40)
47
+ cucumber-messages (> 31, < 33)
48
48
  cucumber-tag-expressions (> 6, < 9)
49
49
  cucumber-cucumber-expressions (18.0.1)
50
50
  bigdecimal
51
- cucumber-gherkin (36.1.0)
52
- cucumber-messages (> 25, < 30)
53
- cucumber-html-formatter (22.2.0)
54
- cucumber-messages (> 19, < 31)
55
- cucumber-messages (29.0.1)
51
+ cucumber-gherkin (39.0.0)
52
+ cucumber-messages (>= 31, < 33)
53
+ cucumber-html-formatter (22.3.0)
54
+ cucumber-messages (> 23, < 33)
55
+ cucumber-messages (32.2.0)
56
56
  cucumber-tag-expressions (8.1.0)
57
57
  deep_merge (1.2.2)
58
58
  diff-lcs (1.6.2)
59
59
  docile (1.4.1)
60
60
  domain_name (0.6.20240107)
61
- ffi (1.17.2-x86_64-darwin)
62
- ffi (1.17.2-x86_64-linux-gnu)
61
+ ffi (1.17.3-x86_64-darwin)
62
+ ffi (1.17.3-x86_64-linux-gnu)
63
63
  get_process_mem (1.0.0)
64
64
  bigdecimal (>= 2.0)
65
65
  ffi (~> 1.0)
66
- google-protobuf (4.33.5-x86_64-darwin)
66
+ google-protobuf (4.34.0-x86_64-darwin)
67
67
  bigdecimal
68
- rake (>= 13)
69
- google-protobuf (4.33.5-x86_64-linux-gnu)
68
+ rake (~> 13.3)
69
+ google-protobuf (4.34.0-x86_64-linux-gnu)
70
70
  bigdecimal
71
- rake (>= 13)
71
+ rake (~> 13.3)
72
72
  googleapis-common-protos-types (1.22.0)
73
73
  google-protobuf (~> 4.26)
74
- grpc (1.78.0-x86_64-darwin)
74
+ grpc (1.78.1-x86_64-darwin)
75
75
  google-protobuf (>= 3.25, < 5.0)
76
76
  googleapis-common-protos-types (~> 1.0)
77
- grpc (1.78.0-x86_64-linux-gnu)
77
+ grpc (1.78.1-x86_64-linux-gnu)
78
78
  google-protobuf (>= 3.25, < 5.0)
79
79
  googleapis-common-protos-types (~> 1.0)
80
80
  http-accept (1.7.0)
81
81
  http-cookie (1.1.0)
82
82
  domain_name (~> 0.5)
83
- json (2.18.1)
83
+ json (2.19.2)
84
84
  language_server-protocol (3.17.0.5)
85
85
  lint_roller (1.1.0)
86
86
  logger (1.7.0)
@@ -88,7 +88,7 @@ GEM
88
88
  mime-types (3.7.0)
89
89
  logger
90
90
  mime-types-data (~> 3.2025, >= 3.2025.0507)
91
- mime-types-data (3.2025.0924)
91
+ mime-types-data (3.2026.0303)
92
92
  mini_mime (1.1.5)
93
93
  multi_test (1.1.0)
94
94
  mustermann (3.0.4)
@@ -97,14 +97,14 @@ GEM
97
97
  nio4r (2.7.5)
98
98
  ostruct (0.6.3)
99
99
  parallel (1.27.0)
100
- parser (3.3.10.1)
100
+ parser (3.3.10.2)
101
101
  ast (~> 2.4.1)
102
102
  racc
103
103
  prism (1.9.0)
104
104
  puma (7.2.0)
105
105
  nio4r (~> 2.0)
106
106
  racc (1.8.1)
107
- rack (3.2.4)
107
+ rack (3.2.5)
108
108
  rack-protection (4.2.1)
109
109
  base64 (>= 0.1.0)
110
110
  logger (>= 1.6.0)
@@ -123,7 +123,7 @@ GEM
123
123
  http-cookie (>= 1.0.2, < 2.0)
124
124
  mime-types (>= 1.16, < 4.0)
125
125
  netrc (~> 0.8)
126
- retriable (3.1.2)
126
+ retriable (3.4.1)
127
127
  rexml (3.4.4)
128
128
  rspec (3.13.2)
129
129
  rspec-core (~> 3.13.0)
@@ -139,13 +139,13 @@ GEM
139
139
  rspec-expectations (3.13.5)
140
140
  diff-lcs (>= 1.2.0, < 2.0)
141
141
  rspec-support (~> 3.13.0)
142
- rspec-mocks (3.13.7)
142
+ rspec-mocks (3.13.8)
143
143
  diff-lcs (>= 1.2.0, < 2.0)
144
144
  rspec-support (~> 3.13.0)
145
- rspec-support (3.13.6)
145
+ rspec-support (3.13.7)
146
146
  rspec-wait (1.0.2)
147
147
  rspec (>= 3.4)
148
- rubocop (1.84.2)
148
+ rubocop (1.86.0)
149
149
  json (~> 2.3)
150
150
  language_server-protocol (~> 3.17.0.2)
151
151
  lint_roller (~> 1.1.0)
@@ -156,10 +156,10 @@ GEM
156
156
  rubocop-ast (>= 1.49.0, < 2.0)
157
157
  ruby-progressbar (~> 1.7)
158
158
  unicode-display_width (>= 2.4.0, < 4.0)
159
- rubocop-ast (1.49.0)
159
+ rubocop-ast (1.49.1)
160
160
  parser (>= 3.3.7.2)
161
161
  prism (~> 1.7)
162
- ruby-lsp (0.26.6)
162
+ ruby-lsp (0.26.8)
163
163
  language_server-protocol (~> 3.17.0)
164
164
  prism (>= 1.2, < 2.0)
165
165
  rbs (>= 3, < 5)
@@ -181,10 +181,10 @@ GEM
181
181
  rack-protection (= 4.2.1)
182
182
  rack-session (>= 2.0.0, < 3)
183
183
  tilt (~> 2.0)
184
- sys-uname (1.4.1)
184
+ sys-uname (1.5.0)
185
185
  ffi (~> 1.1)
186
186
  memoist3 (~> 1.0.0)
187
- tilt (2.6.1)
187
+ tilt (2.7.0)
188
188
  tsort (0.2.0)
189
189
  unicode-display_width (3.2.0)
190
190
  unicode-emoji (~> 4.1)
@@ -204,4 +204,4 @@ DEPENDENCIES
204
204
  simplecov-cobertura
205
205
 
206
206
  BUNDLED WITH
207
- 4.0.3
207
+ 4.0.8
@@ -49,12 +49,8 @@ Given('I should see {string} as unhealthy') do |service|
49
49
  read_timeout: 10, open_timeout: 10
50
50
  }
51
51
 
52
- wait_for do
53
- @response = Nonnative.observability.health(opts)
54
- @response.code
55
- end.to eq(503)
56
-
57
- expect(@response.body).to include(service)
52
+ wait_for { Nonnative.observability.health(opts).code }.to eq(503)
53
+ wait_for { Nonnative.observability.health(opts).body }.to include(service)
58
54
  end
59
55
 
60
56
  Then('I should reset the proxy for process {string}') do |name|
@@ -104,10 +100,6 @@ Then('I should see {string} as healthy') do |service|
104
100
  read_timeout: 10, open_timeout: 10
105
101
  }
106
102
 
107
- wait_for do
108
- @response = Nonnative.observability.health(opts)
109
- @response.code
110
- end.to eq(200)
111
-
112
- expect(@response.body).to_not include(service)
103
+ wait_for { Nonnative.observability.health(opts).code }.to eq(200)
104
+ wait_for { Nonnative.observability.health(opts).body }.to_not include(service)
113
105
  end
@@ -4,5 +4,5 @@ module Nonnative
4
4
  # The current gem version.
5
5
  #
6
6
  # @return [String]
7
- VERSION = '1.108.0'
7
+ VERSION = '2.0'
8
8
  end
data/nonnative.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.bindir = 'exe'
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ['lib']
24
- spec.required_ruby_version = ['>= 3.4.0', '< 4.0.0']
24
+ spec.required_ruby_version = ['>= 4.0.0', '< 5.0.0']
25
25
  spec.metadata['rubygems_mfa_required'] = 'true'
26
26
 
27
27
  spec.add_dependency 'concurrent-ruby', '>= 1', '< 2'
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.108.0
4
+ version: '2.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alejandro Falkowski
@@ -263,9 +263,9 @@ files:
263
263
  - ".github/dependabot.yml"
264
264
  - ".gitignore"
265
265
  - ".gitmodules"
266
+ - ".goreleaser.yml"
266
267
  - ".rubocop.yml"
267
268
  - AGENTS.md
268
- - CHANGELOG.md
269
269
  - Gemfile
270
270
  - Gemfile.lock
271
271
  - LICENSE
@@ -321,17 +321,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
321
321
  requirements:
322
322
  - - ">="
323
323
  - !ruby/object:Gem::Version
324
- version: 3.4.0
324
+ version: 4.0.0
325
325
  - - "<"
326
326
  - !ruby/object:Gem::Version
327
- version: 4.0.0
327
+ version: 5.0.0
328
328
  required_rubygems_version: !ruby/object:Gem::Requirement
329
329
  requirements:
330
330
  - - ">="
331
331
  - !ruby/object:Gem::Version
332
332
  version: '0'
333
333
  requirements: []
334
- rubygems_version: 4.0.3
334
+ rubygems_version: 4.0.8
335
335
  specification_version: 4
336
336
  summary: Allows you to keep using the power of ruby to test other systems
337
337
  test_files: []