nonnative 1.64.0 → 1.66.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: 1eddcb84e088459dffd4685869f2f6a02961ba55882f04ba0f1ec6d444ed9660
4
- data.tar.gz: 4055310b41240d5eb144f683ecd27125b523d4bcafb7bed105ba003ef26e1347
3
+ metadata.gz: a8195824d3fa09877d13c3e925568b41cd3d40a15cbabee19465940957afaeb2
4
+ data.tar.gz: 75adcfc730dba5601cc16751ac3b3e16955a5f4740e8e3b9557d85ce584e164a
5
5
  SHA512:
6
- metadata.gz: 8a9a6fa974ebb2b2fb9ee37c25ecdbaf2153e07a75f87fed4c5cfadf56c75f43aea79b2e4e4bce12eb189ec8c682b1f32d79c13d4dcf5ec3ab93e335fbb891bd
7
- data.tar.gz: 139d54e0ab08f892896305e74f8252fcbda81bdabf523ade77c4f841ab58ec225641240c9dda3f274954110d5365180f21ae4257c07c061ea83a111830411db6
6
+ metadata.gz: 547982fdba4410eadf23545f298a02bafa29c599b1dd15ef9e681b0796bc3f08cf639bbdd7ba77ad1fa0d22f213e19db1633b431215b0a3638e8ddd21c72f131
7
+ data.tar.gz: 0771f7e8c231ba5a153952ab5f5210223e2abe1902f759ecf0ba2bce30234d341a9e700b801ba1b6de7b0db99b5d99cefd915e4f86b4a48bc344253d440d0e50
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:3.0
6
+ - image: alexfalkowski/ruby:3.1
7
7
  steps:
8
8
  - checkout
9
9
  - restore_cache:
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.0.3
1
+ ruby-3.1.2
data/CHANGELOG.md CHANGED
@@ -2,6 +2,70 @@
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.66.0](https://github.com/alexfalkowski/nonnative/compare/v1.65.15...v1.66.0) (2022-10-14)
6
+
7
+
8
+ ### Features
9
+
10
+ * **puma:** upgrade to v6.0.0 ([#161](https://github.com/alexfalkowski/nonnative/issues/161)) ([5d5b8cf](https://github.com/alexfalkowski/nonnative/commit/5d5b8cf5754d0dfc7be65d6c42a088eefc3b9dd1))
11
+
12
+ ### [1.65.15](https://github.com/alexfalkowski/nonnative/compare/v1.65.14...v1.65.15) (2022-10-05)
13
+
14
+ ### [1.65.14](https://github.com/alexfalkowski/nonnative/compare/v1.65.13...v1.65.14) (2022-10-03)
15
+
16
+ ### [1.65.13](https://github.com/alexfalkowski/nonnative/compare/v1.65.12...v1.65.13) (2022-10-03)
17
+
18
+ ### [1.65.12](https://github.com/alexfalkowski/nonnative/compare/v1.65.11...v1.65.12) (2022-09-28)
19
+
20
+ ### [1.65.11](https://github.com/alexfalkowski/nonnative/compare/v1.65.10...v1.65.11) (2022-09-27)
21
+
22
+ ### [1.65.10](https://github.com/alexfalkowski/nonnative/compare/v1.65.9...v1.65.10) (2022-09-27)
23
+
24
+ ### [1.65.9](https://github.com/alexfalkowski/nonnative/compare/v1.65.8...v1.65.9) (2022-09-26)
25
+
26
+ ### [1.65.8](https://github.com/alexfalkowski/nonnative/compare/v1.65.7...v1.65.8) (2022-09-26)
27
+
28
+ ### [1.65.7](https://github.com/alexfalkowski/nonnative/compare/v1.65.6...v1.65.7) (2022-09-13)
29
+
30
+ ### [1.65.6](https://github.com/alexfalkowski/nonnative/compare/v1.65.5...v1.65.6) (2022-09-02)
31
+
32
+ ### [1.65.5](https://github.com/alexfalkowski/nonnative/compare/v1.65.4...v1.65.5) (2022-08-24)
33
+
34
+ ### [1.65.4](https://github.com/alexfalkowski/nonnative/compare/v1.65.3...v1.65.4) (2022-08-23)
35
+
36
+ ### [1.65.3](https://github.com/alexfalkowski/nonnative/compare/v1.65.2...v1.65.3) (2022-08-23)
37
+
38
+ ### [1.65.2](https://github.com/alexfalkowski/nonnative/compare/v1.65.1...v1.65.2) (2022-08-15)
39
+
40
+ ### [1.65.1](https://github.com/alexfalkowski/nonnative/compare/v1.65.0...v1.65.1) (2022-08-10)
41
+
42
+ ## [1.65.0](https://github.com/alexfalkowski/nonnative/compare/v1.64.10...v1.65.0) (2022-08-08)
43
+
44
+
45
+ ### Features
46
+
47
+ * **ruby:** update to v3.1.2 ([#144](https://github.com/alexfalkowski/nonnative/issues/144)) ([24eea6d](https://github.com/alexfalkowski/nonnative/commit/24eea6df32e6e97672e316daa9d5b2298248eb00))
48
+
49
+ ### [1.64.10](https://github.com/alexfalkowski/nonnative/compare/v1.64.9...v1.64.10) (2022-08-08)
50
+
51
+ ### [1.64.9](https://github.com/alexfalkowski/nonnative/compare/v1.64.8...v1.64.9) (2022-08-05)
52
+
53
+ ### [1.64.8](https://github.com/alexfalkowski/nonnative/compare/v1.64.7...v1.64.8) (2022-07-25)
54
+
55
+ ### [1.64.7](https://github.com/alexfalkowski/nonnative/compare/v1.64.6...v1.64.7) (2022-07-25)
56
+
57
+ ### [1.64.6](https://github.com/alexfalkowski/nonnative/compare/v1.64.5...v1.64.6) (2022-07-22)
58
+
59
+ ### [1.64.5](https://github.com/alexfalkowski/nonnative/compare/v1.64.4...v1.64.5) (2022-07-18)
60
+
61
+ ### [1.64.4](https://github.com/alexfalkowski/nonnative/compare/v1.64.3...v1.64.4) (2022-07-12)
62
+
63
+ ### [1.64.3](https://github.com/alexfalkowski/nonnative/compare/v1.64.2...v1.64.3) (2022-07-08)
64
+
65
+ ### [1.64.2](https://github.com/alexfalkowski/nonnative/compare/v1.64.1...v1.64.2) (2022-06-30)
66
+
67
+ ### [1.64.1](https://github.com/alexfalkowski/nonnative/compare/v1.64.0...v1.64.1) (2022-06-28)
68
+
5
69
  ## [1.64.0](https://github.com/alexfalkowski/nonnative/compare/v1.63.4...v1.64.0) (2022-06-13)
6
70
 
7
71
 
data/Gemfile.lock CHANGED
@@ -1,16 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nonnative (1.64.0)
4
+ nonnative (1.66.0)
5
5
  concurrent-ruby (~> 1.0, >= 1.0.5)
6
6
  cucumber (>= 7, < 9)
7
7
  get_process_mem (~> 0.2.1)
8
8
  grpc (>= 1, < 2)
9
- puma (~> 5.0)
9
+ puma (~> 6.0)
10
10
  rest-client (~> 2.1)
11
11
  rspec-benchmark (~> 0.6.0)
12
12
  rspec-expectations (~> 3.9, >= 3.9.2)
13
- sinatra (~> 2.0, >= 2.0.8.1)
13
+ sinatra (>= 2.0.8.1, < 4)
14
14
 
15
15
  GEM
16
16
  remote: https://rubygems.org/
@@ -23,7 +23,7 @@ GEM
23
23
  benchmark-trend (0.4.0)
24
24
  builder (3.2.4)
25
25
  concurrent-ruby (1.1.10)
26
- coveralls_reborn (0.24.0)
26
+ coveralls_reborn (0.25.0)
27
27
  simplecov (>= 0.18.1, < 0.22.0)
28
28
  term-ansicolor (~> 1.6)
29
29
  thor (>= 0.20.3, < 2.0)
@@ -40,7 +40,7 @@ GEM
40
40
  mime-types (~> 3.4, >= 3.4.1)
41
41
  multi_test (~> 1.1, >= 1.1.0)
42
42
  sys-uname (~> 1.2, >= 1.2.2)
43
- cucumber-ci-environment (9.0.4)
43
+ cucumber-ci-environment (9.1.0)
44
44
  cucumber-core (11.0.0)
45
45
  cucumber-gherkin (~> 23.0, >= 23.0.1)
46
46
  cucumber-messages (~> 18.0, >= 18.0.0)
@@ -60,20 +60,17 @@ GEM
60
60
  ffi (1.15.5)
61
61
  get_process_mem (0.2.7)
62
62
  ffi (~> 1.0)
63
- google-protobuf (3.21.1-x86_64-darwin)
64
- google-protobuf (3.21.1-x86_64-linux)
65
- googleapis-common-protos-types (1.3.1)
63
+ google-protobuf (3.21.7-x86_64-darwin)
64
+ googleapis-common-protos-types (1.4.0)
66
65
  google-protobuf (~> 3.14)
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)
71
- google-protobuf (~> 3.19)
66
+ grpc (1.49.1-x86_64-darwin)
67
+ google-protobuf (~> 3.21)
72
68
  googleapis-common-protos-types (~> 1.0)
73
69
  http-accept (1.7.0)
74
70
  http-cookie (1.0.5)
75
71
  domain_name (~> 0.5)
76
72
  jaro_winkler (1.5.4)
73
+ json (2.6.2)
77
74
  kramdown (2.4.0)
78
75
  rexml
79
76
  kramdown-parser-gfm (1.1.0)
@@ -82,25 +79,25 @@ GEM
82
79
  mime-types-data (~> 3.2015)
83
80
  mime-types-data (3.2022.0105)
84
81
  multi_test (1.1.0)
85
- mustermann (1.1.1)
82
+ mustermann (3.0.0)
86
83
  ruby2_keywords (~> 0.0.1)
87
84
  netrc (0.11.0)
88
85
  nio4r (2.5.8)
89
- nokogiri (1.13.6-x86_64-darwin)
86
+ nokogiri (1.13.8-x86_64-darwin)
90
87
  racc (~> 1.4)
91
- nokogiri (1.13.6-x86_64-linux)
88
+ nokogiri (1.13.8-x86_64-linux)
92
89
  racc (~> 1.4)
93
90
  parallel (1.22.1)
94
- parser (3.1.2.0)
91
+ parser (3.1.2.1)
95
92
  ast (~> 2.4.1)
96
- puma (5.6.4)
93
+ puma (6.0.0)
97
94
  nio4r (~> 2.0)
98
95
  racc (1.6.0)
99
- rack (2.2.3.1)
100
- rack-protection (2.2.0)
96
+ rack (2.2.4)
97
+ rack-protection (3.0.2)
101
98
  rack
102
99
  rainbow (3.1.1)
103
- regexp_parser (2.5.0)
100
+ regexp_parser (2.6.0)
104
101
  rest-client (2.1.0)
105
102
  http-accept (>= 1.7.0, < 2.0)
106
103
  http-cookie (>= 1.0.2, < 2.0)
@@ -120,23 +117,24 @@ GEM
120
117
  rspec (>= 3.0)
121
118
  rspec-core (3.11.0)
122
119
  rspec-support (~> 3.11.0)
123
- rspec-expectations (3.11.0)
120
+ rspec-expectations (3.11.1)
124
121
  diff-lcs (>= 1.2.0, < 2.0)
125
122
  rspec-support (~> 3.11.0)
126
123
  rspec-mocks (3.11.1)
127
124
  diff-lcs (>= 1.2.0, < 2.0)
128
125
  rspec-support (~> 3.11.0)
129
- rspec-support (3.11.0)
130
- rubocop (1.30.1)
126
+ rspec-support (3.11.1)
127
+ rubocop (1.36.0)
128
+ json (~> 2.3)
131
129
  parallel (~> 1.10)
132
- parser (>= 3.1.0.0)
130
+ parser (>= 3.1.2.1)
133
131
  rainbow (>= 2.2.2, < 4.0)
134
132
  regexp_parser (>= 1.8, < 3.0)
135
133
  rexml (>= 3.2.5, < 4.0)
136
- rubocop-ast (>= 1.18.0, < 2.0)
134
+ rubocop-ast (>= 1.20.1, < 2.0)
137
135
  ruby-progressbar (~> 1.7)
138
136
  unicode-display_width (>= 1.4.0, < 3.0)
139
- rubocop-ast (1.18.0)
137
+ rubocop-ast (1.21.0)
140
138
  parser (>= 3.1.1.0)
141
139
  ruby-progressbar (1.11.0)
142
140
  ruby2_keywords (0.0.5)
@@ -146,12 +144,12 @@ GEM
146
144
  simplecov_json_formatter (~> 0.1)
147
145
  simplecov-html (0.12.3)
148
146
  simplecov_json_formatter (0.1.4)
149
- sinatra (2.2.0)
150
- mustermann (~> 1.0)
151
- rack (~> 2.2)
152
- rack-protection (= 2.2.0)
147
+ sinatra (3.0.2)
148
+ mustermann (~> 3.0)
149
+ rack (~> 2.2, >= 2.2.4)
150
+ rack-protection (= 3.0.2)
153
151
  tilt (~> 2.0)
154
- solargraph (0.45.0)
152
+ solargraph (0.47.2)
155
153
  backport (~> 1.2)
156
154
  benchmark
157
155
  bundler (>= 1.17.2)
@@ -172,13 +170,13 @@ GEM
172
170
  term-ansicolor (1.7.1)
173
171
  tins (~> 1.0)
174
172
  thor (1.2.1)
175
- tilt (2.0.10)
173
+ tilt (2.0.11)
176
174
  tins (1.31.1)
177
175
  sync
178
176
  unf (0.1.4)
179
177
  unf_ext
180
178
  unf_ext (0.0.8.2)
181
- unicode-display_width (2.1.0)
179
+ unicode-display_width (2.3.0)
182
180
  webrick (1.7.0)
183
181
  yard (0.9.28)
184
182
  webrick (~> 1.7.0)
@@ -189,10 +187,10 @@ PLATFORMS
189
187
 
190
188
  DEPENDENCIES
191
189
  bundler (~> 2.3)
192
- coveralls_reborn (~> 0.24.0)
190
+ coveralls_reborn (~> 0.25.0)
193
191
  nonnative!
194
192
  rubocop (~> 1.30)
195
- solargraph (~> 0.45.0)
193
+ solargraph (~> 0.47.0)
196
194
 
197
195
  BUNDLED WITH
198
196
  2.3.9
data/Makefile CHANGED
@@ -3,15 +3,27 @@
3
3
  dep:
4
4
  bin/setup
5
5
 
6
+ # Update proto deps
7
+ proto-update-all:
8
+ make -C test update-all
9
+
10
+ # Update all deps
11
+ dep-update-all: proto-update-all
12
+ bundle update
13
+
14
+ # Check outdated deps
6
15
  outdated:
7
16
  bundle outdated --only-explicit
8
17
 
18
+ # Run all the features
9
19
  features: clean
10
20
  bundle exec cucumber --profile report --fail-fast $(feature)
11
21
 
22
+ # Lint all the code
12
23
  lint:
13
24
  bundle exec rubocop
14
25
 
26
+ # Fix the lint issues in the code (if possible)
15
27
  fix-lint:
16
28
  bundle exec rubocop -A
17
29
 
@@ -4,8 +4,8 @@ module Nonnative
4
4
  class HTTPServer < Nonnative::Server
5
5
  def initialize(service)
6
6
  log = File.open(service.log, 'a')
7
- events = Puma::Events.new(log, log)
8
- @server = Puma::Server.new(app, events)
7
+ options = { log_writer: Puma::LogWriter.new(log, log) }
8
+ @server = Puma::Server.new(app, Puma::Events.new, options)
9
9
 
10
10
  super service
11
11
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nonnative
4
- VERSION = '1.64.0'
4
+ VERSION = '1.66.0'
5
5
  end
data/nonnative.gemspec CHANGED
@@ -28,14 +28,14 @@ Gem::Specification.new do |spec|
28
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
- spec.add_dependency 'puma', '~> 5.0'
31
+ spec.add_dependency 'puma', '~> 6.0'
32
32
  spec.add_dependency 'rest-client', '~> 2.1'
33
33
  spec.add_dependency 'rspec-benchmark', '~> 0.6.0'
34
34
  spec.add_dependency 'rspec-expectations', '~> 3.9', '>= 3.9.2'
35
- spec.add_dependency 'sinatra', '~> 2.0', '>= 2.0.8.1'
35
+ spec.add_dependency 'sinatra', '>= 2.0.8.1', '< 4'
36
36
 
37
37
  spec.add_development_dependency 'bundler', '~> 2.3'
38
- spec.add_development_dependency 'coveralls_reborn', '~> 0.24.0'
38
+ spec.add_development_dependency 'coveralls_reborn', '~> 0.25.0'
39
39
  spec.add_development_dependency 'rubocop', '~> 1.30'
40
- spec.add_development_dependency 'solargraph', '~> 0.45.0'
40
+ spec.add_development_dependency 'solargraph', '~> 0.47.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.64.0
4
+ version: 1.66.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-06-13 00:00:00.000000000 Z
11
+ date: 2022-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -90,14 +90,14 @@ dependencies:
90
90
  requirements:
91
91
  - - "~>"
92
92
  - !ruby/object:Gem::Version
93
- version: '5.0'
93
+ version: '6.0'
94
94
  type: :runtime
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
98
  - - "~>"
99
99
  - !ruby/object:Gem::Version
100
- version: '5.0'
100
+ version: '6.0'
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: rest-client
103
103
  requirement: !ruby/object:Gem::Requirement
@@ -150,22 +150,22 @@ dependencies:
150
150
  name: sinatra
151
151
  requirement: !ruby/object:Gem::Requirement
152
152
  requirements:
153
- - - "~>"
154
- - !ruby/object:Gem::Version
155
- version: '2.0'
156
153
  - - ">="
157
154
  - !ruby/object:Gem::Version
158
155
  version: 2.0.8.1
156
+ - - "<"
157
+ - !ruby/object:Gem::Version
158
+ version: '4'
159
159
  type: :runtime
160
160
  prerelease: false
161
161
  version_requirements: !ruby/object:Gem::Requirement
162
162
  requirements:
163
- - - "~>"
164
- - !ruby/object:Gem::Version
165
- version: '2.0'
166
163
  - - ">="
167
164
  - !ruby/object:Gem::Version
168
165
  version: 2.0.8.1
166
+ - - "<"
167
+ - !ruby/object:Gem::Version
168
+ version: '4'
169
169
  - !ruby/object:Gem::Dependency
170
170
  name: bundler
171
171
  requirement: !ruby/object:Gem::Requirement
@@ -186,14 +186,14 @@ dependencies:
186
186
  requirements:
187
187
  - - "~>"
188
188
  - !ruby/object:Gem::Version
189
- version: 0.24.0
189
+ version: 0.25.0
190
190
  type: :development
191
191
  prerelease: false
192
192
  version_requirements: !ruby/object:Gem::Requirement
193
193
  requirements:
194
194
  - - "~>"
195
195
  - !ruby/object:Gem::Version
196
- version: 0.24.0
196
+ version: 0.25.0
197
197
  - !ruby/object:Gem::Dependency
198
198
  name: rubocop
199
199
  requirement: !ruby/object:Gem::Requirement
@@ -214,14 +214,14 @@ dependencies:
214
214
  requirements:
215
215
  - - "~>"
216
216
  - !ruby/object:Gem::Version
217
- version: 0.45.0
217
+ version: 0.47.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.45.0
224
+ version: 0.47.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
@@ -304,7 +304,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
304
304
  - !ruby/object:Gem::Version
305
305
  version: '0'
306
306
  requirements: []
307
- rubygems_version: 3.2.32
307
+ rubygems_version: 3.3.7
308
308
  signing_key:
309
309
  specification_version: 4
310
310
  summary: Allows you to keep using the power of ruby to test other systems