nonnative 1.63.0 → 1.64.0

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: bfe0d932d85223e7327d74f99452eb1a525920e999bfc4e7315f590be9890b23
4
- data.tar.gz: 3343f8405f2edd03fa5481e6f680215dc65b450dc86229112c29cdf9012c1483
3
+ metadata.gz: 1eddcb84e088459dffd4685869f2f6a02961ba55882f04ba0f1ec6d444ed9660
4
+ data.tar.gz: 4055310b41240d5eb144f683ecd27125b523d4bcafb7bed105ba003ef26e1347
5
5
  SHA512:
6
- metadata.gz: 9a4555d3f828c09b2b103bb1ba84c57c1c68dd39f64e4b2bfd107dabf554cdbd2208a2fe2efdc77d26540a41f0819e1b5648ce7fcbe2a3606db917c170ff799f
7
- data.tar.gz: 888e8d60327f65ef828026b0b8ed17abb134600428536142ccfc12ff734d8429c33ac13f68b77ad605ba50d0047d1f6ad1a605d3db6970f75521777ff69c1fa7
6
+ metadata.gz: 8a9a6fa974ebb2b2fb9ee37c25ecdbaf2153e07a75f87fed4c5cfadf56c75f43aea79b2e4e4bce12eb189ec8c682b1f32d79c13d4dcf5ec3ab93e335fbb891bd
7
+ data.tar.gz: 139d54e0ab08f892896305e74f8252fcbda81bdabf523ade77c4f841ab58ec225641240c9dda3f274954110d5365180f21ae4257c07c061ea83a111830411db6
data/.circleci/config.yml CHANGED
@@ -15,14 +15,15 @@ jobs:
15
15
  key: nonnative-gem-cache-{{ checksum "Gemfile.lock" }}
16
16
  paths:
17
17
  - vendor/bundle
18
+ - run: make lint
18
19
  - run: make features
19
20
  - store_test_results:
20
21
  path: reports
21
- - run: make lint
22
22
  - store_artifacts:
23
23
  path: coverage
24
24
  - store_artifacts:
25
25
  path: features/logs
26
+ resource_class: large
26
27
  release:
27
28
  docker:
28
29
  - image: alexfalkowski/release:2.0
data/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
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.64.0](https://github.com/alexfalkowski/nonnative/compare/v1.63.4...v1.64.0) (2022-06-13)
6
+
7
+
8
+ ### Features
9
+
10
+ * rename to kind ([#133](https://github.com/alexfalkowski/nonnative/issues/133)) ([c0adc32](https://github.com/alexfalkowski/nonnative/commit/c0adc32320f8ccb32602c68b5b449baf13cd0d34))
11
+
12
+ ### [1.63.4](https://github.com/alexfalkowski/nonnative/compare/v1.63.3...v1.63.4) (2022-06-07)
13
+
14
+ ### [1.63.3](https://github.com/alexfalkowski/nonnative/compare/v1.63.2...v1.63.3) (2022-06-03)
15
+
16
+ ### [1.63.2](https://github.com/alexfalkowski/nonnative/compare/v1.63.1...v1.63.2) (2022-05-30)
17
+
18
+ ### [1.63.1](https://github.com/alexfalkowski/nonnative/compare/v1.63.0...v1.63.1) (2022-05-30)
19
+
5
20
  ## [1.63.0](https://github.com/alexfalkowski/nonnative/compare/v1.62.5...v1.63.0) (2022-05-24)
6
21
 
7
22
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nonnative (1.63.0)
4
+ nonnative (1.64.0)
5
5
  concurrent-ruby (~> 1.0, >= 1.0.5)
6
6
  cucumber (>= 7, < 9)
7
7
  get_process_mem (~> 0.2.1)
@@ -45,10 +45,10 @@ GEM
45
45
  cucumber-gherkin (~> 23.0, >= 23.0.1)
46
46
  cucumber-messages (~> 18.0, >= 18.0.0)
47
47
  cucumber-tag-expressions (~> 4.1, >= 4.1.0)
48
- cucumber-cucumber-expressions (15.1.1)
48
+ cucumber-cucumber-expressions (15.2.0)
49
49
  cucumber-gherkin (23.0.1)
50
50
  cucumber-messages (~> 18.0, >= 18.0.0)
51
- cucumber-html-formatter (19.1.0)
51
+ cucumber-html-formatter (19.2.0)
52
52
  cucumber-messages (~> 18.0, >= 18.0.0)
53
53
  cucumber-messages (18.0.0)
54
54
  cucumber-tag-expressions (4.1.0)
@@ -60,8 +60,8 @@ GEM
60
60
  ffi (1.15.5)
61
61
  get_process_mem (0.2.7)
62
62
  ffi (~> 1.0)
63
- google-protobuf (3.20.1-x86_64-darwin)
64
- google-protobuf (3.20.1-x86_64-linux)
63
+ google-protobuf (3.21.1-x86_64-darwin)
64
+ google-protobuf (3.21.1-x86_64-linux)
65
65
  googleapis-common-protos-types (1.3.1)
66
66
  google-protobuf (~> 3.14)
67
67
  grpc (1.46.3-x86_64-darwin)
@@ -71,7 +71,7 @@ GEM
71
71
  google-protobuf (~> 3.19)
72
72
  googleapis-common-protos-types (~> 1.0)
73
73
  http-accept (1.7.0)
74
- http-cookie (1.0.4)
74
+ http-cookie (1.0.5)
75
75
  domain_name (~> 0.5)
76
76
  jaro_winkler (1.5.4)
77
77
  kramdown (2.4.0)
@@ -96,11 +96,11 @@ GEM
96
96
  puma (5.6.4)
97
97
  nio4r (~> 2.0)
98
98
  racc (1.6.0)
99
- rack (2.2.3)
99
+ rack (2.2.3.1)
100
100
  rack-protection (2.2.0)
101
101
  rack
102
102
  rainbow (3.1.1)
103
- regexp_parser (2.4.0)
103
+ regexp_parser (2.5.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,13 +127,13 @@ 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.29.1)
130
+ rubocop (1.30.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
135
  rexml (>= 3.2.5, < 4.0)
136
- rubocop-ast (>= 1.17.0, < 2.0)
136
+ rubocop-ast (>= 1.18.0, < 2.0)
137
137
  ruby-progressbar (~> 1.7)
138
138
  unicode-display_width (>= 1.4.0, < 3.0)
139
139
  rubocop-ast (1.18.0)
@@ -177,10 +177,10 @@ GEM
177
177
  sync
178
178
  unf (0.1.4)
179
179
  unf_ext
180
- unf_ext (0.0.8.1)
180
+ unf_ext (0.0.8.2)
181
181
  unicode-display_width (2.1.0)
182
182
  webrick (1.7.0)
183
- yard (0.9.27)
183
+ yard (0.9.28)
184
184
  webrick (~> 1.7.0)
185
185
 
186
186
  PLATFORMS
@@ -191,7 +191,7 @@ DEPENDENCIES
191
191
  bundler (~> 2.3)
192
192
  coveralls_reborn (~> 0.24.0)
193
193
  nonnative!
194
- rubocop (~> 1.26)
194
+ rubocop (~> 1.30)
195
195
  solargraph (~> 0.45.0)
196
196
 
197
197
  BUNDLED WITH
data/README.md CHANGED
@@ -384,7 +384,7 @@ require 'nonnative'
384
384
  Nonnative.configure do |config|
385
385
  config.process do |p|
386
386
  p.proxy = {
387
- type: 'fault_injection',
387
+ kind: 'fault_injection',
388
388
  port: 20_000,
389
389
  log: 'features/logs/proxy_server.log',
390
390
  options: {
@@ -402,7 +402,7 @@ version: 1.0
402
402
  processes:
403
403
  -
404
404
  proxy:
405
- type: fault_injection
405
+ kind: fault_injection
406
406
  port: 20000
407
407
  log: features/logs/proxy_server.log
408
408
  options:
@@ -419,7 +419,7 @@ require 'nonnative'
419
419
  Nonnative.configure do |config|
420
420
  config.server do |s|
421
421
  s.proxy = {
422
- type: 'fault_injection',
422
+ kind: 'fault_injection',
423
423
  port: 20_000,
424
424
  log: 'features/logs/proxy_server.log',
425
425
  options: {
@@ -437,7 +437,7 @@ version: 1.0
437
437
  servers:
438
438
  -
439
439
  proxy:
440
- type: fault_injection
440
+ kind: fault_injection
441
441
  port: 20000
442
442
  log: features/logs/proxy_server.log
443
443
  options:
@@ -454,7 +454,7 @@ require 'nonnative'
454
454
  Nonnative.configure do |config|
455
455
  config.service do |s|
456
456
  s.proxy = {
457
- type: 'fault_injection',
457
+ kind: 'fault_injection',
458
458
  port: 20_000,
459
459
  log: 'features/logs/proxy_server.log',
460
460
  options: {
@@ -472,7 +472,7 @@ version: 1.0
472
472
  services:
473
473
  -
474
474
  proxy:
475
- type: fault_injection
475
+ kind: fault_injection
476
476
  port: 20000
477
477
  log: features/logs/proxy_server.log
478
478
  options:
@@ -107,7 +107,7 @@ module Nonnative
107
107
  return unless proxy
108
108
 
109
109
  p = {
110
- type: proxy['type'],
110
+ kind: proxy['kind'],
111
111
  port: proxy['port'],
112
112
  log: proxy['log'],
113
113
  options: proxy['options']
@@ -2,10 +2,10 @@
2
2
 
3
3
  module Nonnative
4
4
  class ConfigurationProxy
5
- attr_accessor :type, :host, :port, :log, :options
5
+ attr_accessor :kind, :host, :port, :log, :options
6
6
 
7
7
  def initialize
8
- self.type = 'none'
8
+ self.kind = 'none'
9
9
  self.host = '0.0.0.0'
10
10
  self.port = 0
11
11
  self.options = {}
@@ -13,7 +13,7 @@ module Nonnative
13
13
  end
14
14
 
15
15
  def proxy=(value)
16
- proxy.type = value[:type]
16
+ proxy.kind = value[:kind]
17
17
  proxy.host = value[:host] if value[:host]
18
18
  proxy.port = value[:port]
19
19
  proxy.log = value[:log]
@@ -4,7 +4,7 @@ module Nonnative
4
4
  class ProxyFactory
5
5
  class << self
6
6
  def create(service)
7
- proxy = case service.proxy.type
7
+ proxy = case service.proxy.kind
8
8
  when 'fault_injection'
9
9
  FaultInjectionProxy
10
10
  else
@@ -3,8 +3,8 @@
3
3
  module Nonnative
4
4
  class SocketPairFactory
5
5
  class << self
6
- def create(type, proxy)
7
- pair = case type
6
+ def create(kind, proxy)
7
+ pair = case kind
8
8
  when :close_all
9
9
  CloseAllSocketPair
10
10
  when :delay
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nonnative
4
- VERSION = '1.63.0'
4
+ VERSION = '1.64.0'
5
5
  end
data/nonnative.gemspec CHANGED
@@ -36,6 +36,6 @@ Gem::Specification.new do |spec|
36
36
 
37
37
  spec.add_development_dependency 'bundler', '~> 2.3'
38
38
  spec.add_development_dependency 'coveralls_reborn', '~> 0.24.0'
39
- spec.add_development_dependency 'rubocop', '~> 1.26'
39
+ spec.add_development_dependency 'rubocop', '~> 1.30'
40
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.63.0
4
+ version: 1.64.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-05-24 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -200,14 +200,14 @@ dependencies:
200
200
  requirements:
201
201
  - - "~>"
202
202
  - !ruby/object:Gem::Version
203
- version: '1.26'
203
+ version: '1.30'
204
204
  type: :development
205
205
  prerelease: false
206
206
  version_requirements: !ruby/object:Gem::Requirement
207
207
  requirements:
208
208
  - - "~>"
209
209
  - !ruby/object:Gem::Version
210
- version: '1.26'
210
+ version: '1.30'
211
211
  - !ruby/object:Gem::Dependency
212
212
  name: solargraph
213
213
  requirement: !ruby/object:Gem::Requirement