nonnative 1.82.0 → 1.84.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: 907535aa2e9c03a9308967fae8459aa4a2dbab352c77f39df8c9f594011da826
4
- data.tar.gz: 7c7afcde38443e276cfb00fffe4e659b059e2a1ff3687617563ed4ae6355a6fa
3
+ metadata.gz: 1a54190af331c4410928da35c7fed461a281029037585183b0ce36a1a113172b
4
+ data.tar.gz: 2835a5ebc4c5ec94027398c5e896b0c4c1490ae0b1187771dc91268ddff47b60
5
5
  SHA512:
6
- metadata.gz: 5f04e1fdb873c5f0c5e367206b51ec03ca0ea5e2a0da02002d27bcb1ba43606e558c7b95e1a6736851e779917a0c861851d82f98177b54a82e874acd10c8e1fe
7
- data.tar.gz: 6a3a5ef3a93ef6d861e638ab85f53de220aecea128c2ed78b98d1c6a0a3e770bdb9eb224db5f7da5fb4effc10f682ab9b594f785c5bf7ffe59d1a9913eb76ed4
6
+ metadata.gz: c50ea9468db90a56b0cceba79d71b7adcb0234c0ac5d9fc93b1849743f7db9e90ea663e279888cc001a3a740bb47ca4db0a373bcd0f8c125df3f5a1207a20eda
7
+ data.tar.gz: e4ee6103689a6b8c19124e411b58226c4556c1c86175d37ca7325c262bb27629274988abb490def987731b05d7c81ceb2043163ea4aeb01f2c7dc4df373706b4
data/.circleci/config.yml CHANGED
@@ -1,8 +1,5 @@
1
1
  version: 2.1
2
2
 
3
- orbs:
4
- codecov: codecov/codecov@4.0.1
5
-
6
3
  jobs:
7
4
  build:
8
5
  docker:
@@ -26,11 +23,10 @@ jobs:
26
23
  - run: make lint
27
24
  - run: make features
28
25
  - store_test_results:
29
- path: reports
26
+ path: test/reports
30
27
  - store_artifacts:
31
- path: reports
32
- - codecov/upload:
33
- file: reports/coverage.xml
28
+ path: test/reports
29
+ - run: make codecov-upload
34
30
  resource_class: large
35
31
  release:
36
32
  docker:
data/.config/cucumber.yml CHANGED
@@ -1 +1 @@
1
- report: --format junit --out reports --format html --out reports/index.html --format pretty --publish-quiet
1
+ report: --format junit --out test/reports --format html --out test/reports/index.html --format pretty --publish-quiet
data/.gitignore CHANGED
@@ -3,6 +3,6 @@
3
3
  /_yardoc/
4
4
  /doc/
5
5
  /pkg/
6
- /reports/
6
+ test/reports/*
7
7
  /tmp/
8
8
  vendor
data/CHANGELOG.md CHANGED
@@ -6,6 +6,183 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## [v1.84.0](https://github.com/alexfalkowski/nonnative/releases/tag/v1.84.0) - 2024-12-17
10
+
11
+ - [`14daed4`](https://github.com/alexfalkowski/nonnative/commit/14daed43ab1d64baa32d004d875409784813590c) feat(cucumber): add ability to control faults (#466)
12
+
13
+ ## [v1.83.8](https://github.com/alexfalkowski/nonnative/releases/tag/v1.83.8) - 2024-12-13
14
+
15
+ - [`64a5686`](https://github.com/alexfalkowski/nonnative/commit/64a568628ad845cc274c0b5dbe18a9d77c806be7) fix(deps): bump rubocop from 1.69.1 to 1.69.2 (#465)
16
+ - [`fcdf19e`](https://github.com/alexfalkowski/nonnative/commit/fcdf19e96220c5a9e5dab558c0965f86fe693f03) build(deps): bump bin from `cf4a7d3` to `10049eb` (#464)
17
+
18
+ ## [v1.83.7](https://github.com/alexfalkowski/nonnative/releases/tag/v1.83.7) - 2024-12-04
19
+
20
+ - [`9f70167`](https://github.com/alexfalkowski/nonnative/commit/9f70167f308c78bf8d8686fbf453977cf72d80c7) fix(deps): bump grpc from 1.67.0 to 1.68.1 (#462)
21
+
22
+ ## [v1.83.6](https://github.com/alexfalkowski/nonnative/releases/tag/v1.83.6) - 2024-12-04
23
+
24
+ - [`194daad`](https://github.com/alexfalkowski/nonnative/commit/194daad98aabbbb616e1f79d4425d10501e9feeb) fix(deps): bump rubocop from 1.69.0 to 1.69.1 (#463)
25
+
26
+ ## [v1.83.5](https://github.com/alexfalkowski/nonnative/releases/tag/v1.83.5) - 2024-11-27
27
+
28
+ - [`4431063`](https://github.com/alexfalkowski/nonnative/commit/44310634ec5a19ea9e60fee9084a31fd8ae1dbf3) fix(deps): bump rubocop from 1.68.0 to 1.69.0 (#461)
29
+
30
+ ## [v1.83.4](https://github.com/alexfalkowski/nonnative/releases/tag/v1.83.4) - 2024-11-25
31
+
32
+ - [`85641f3`](https://github.com/alexfalkowski/nonnative/commit/85641f3d31c7b4289a01aa3f9a5e7fc90e546fcf) fix(deps): bump puma from 6.4.3 to 6.5.0 (#460)
33
+ - [`2108665`](https://github.com/alexfalkowski/nonnative/commit/210866595806aa3ec27e7de94098fcf1157433bb) fix(deps): bump ruby-lsp from 0.22.0 to 0.22.1 (#459)
34
+
35
+ ## [v1.83.3](https://github.com/alexfalkowski/nonnative/releases/tag/v1.83.3) - 2024-11-21
36
+
37
+ - [`dd188d2`](https://github.com/alexfalkowski/nonnative/commit/dd188d2821943b21c53390af3046c993e9293393) fix(deps): bump sinatra from 4.1.0 to 4.1.1 (#457)
38
+
39
+ ## [v1.83.2](https://github.com/alexfalkowski/nonnative/releases/tag/v1.83.2) - 2024-11-21
40
+
41
+ - [`88c2e8b`](https://github.com/alexfalkowski/nonnative/commit/88c2e8bebdd66a91d2fd05d266774605195c0bd7) fix(deps): bump ruby-lsp from 0.21.3 to 0.22.0 (#458)
42
+
43
+ ## [v1.83.1](https://github.com/alexfalkowski/nonnative/releases/tag/v1.83.1) - 2024-11-19
44
+
45
+ - [`4a68ac0`](https://github.com/alexfalkowski/nonnative/commit/4a68ac08a523af60dc2882451152e159ca4977ba) fix(deps): bump sinatra from 4.0.0 to 4.1.0 (#456)
46
+
47
+ ## [v1.83.0](https://github.com/alexfalkowski/nonnative/releases/tag/v1.83.0) - 2024-11-06
48
+
49
+ - [`7e69c40`](https://github.com/alexfalkowski/nonnative/commit/7e69c40dcdae1f9f6e0051ce19421a661c68a7f8) feat(sinatra): update sinatra (>= 4, < 5) (#455)
50
+
51
+ ## [v1.82.31](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.31) - 2024-11-06
52
+
53
+ - [`b22be99`](https://github.com/alexfalkowski/nonnative/commit/b22be99cc218fa4ad5a08c1ed34cb2be8508f15c) fix(deps): bump ruby-lsp from 0.21.2 to 0.21.3 (#454)
54
+
55
+ ## [v1.82.30](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.30) - 2024-11-04
56
+
57
+ - [`7b58e44`](https://github.com/alexfalkowski/nonnative/commit/7b58e44c7a2ae4d8f47632cb072c27066dd0cf48) build(deps): bump bin from `e8f9d73` to `cf4a7d3` (#453)
58
+ - [`841dce2`](https://github.com/alexfalkowski/nonnative/commit/841dce25ee68f5089c70f805ca6d4c731d5cc9d9) fix(deps): bump ruby-lsp from 0.21.1 to 0.21.2 (#452)
59
+
60
+ ## [v1.82.29](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.29) - 2024-11-01
61
+
62
+ - [`e1b54c0`](https://github.com/alexfalkowski/nonnative/commit/e1b54c05f00f9296e951112daf9e87afdebcf820) fix(deps): bump rubocop from 1.67.0 to 1.68.0 (#451)
63
+
64
+ ## [v1.82.28](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.28) - 2024-11-01
65
+
66
+ - [`45acf48`](https://github.com/alexfalkowski/nonnative/commit/45acf48ad07dc44318bba5ed175d61204347717e) fix(deps): bump ruby-lsp from 0.20.1 to 0.21.1 (#450)
67
+
68
+ ## [v1.82.27](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.27) - 2024-10-28
69
+
70
+ - [`b3a5237`](https://github.com/alexfalkowski/nonnative/commit/b3a52378229ae59d1da64f02157b259959fe6d8c) fix(deps): bump rexml from 3.3.6 to 3.3.9 (#449)
71
+
72
+ ## [v1.82.26](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.26) - 2024-10-17
73
+
74
+ - [`9f087a6`](https://github.com/alexfalkowski/nonnative/commit/9f087a6bd2d1c7125e8abaa64c5c8a05e049d56d) fix(deps): bump ruby-lsp from 0.20.0 to 0.20.1 (#448)
75
+
76
+ ## [v1.82.25](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.25) - 2024-10-16
77
+
78
+ - [`9b23326`](https://github.com/alexfalkowski/nonnative/commit/9b23326466c432dee2c35b53b0c906eb8ec7f280) fix(deps): bump rubocop from 1.66.1 to 1.67.0 (#447)
79
+
80
+ ## [v1.82.24](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.24) - 2024-10-14
81
+
82
+ - [`594c2b5`](https://github.com/alexfalkowski/nonnative/commit/594c2b567a7d4e72cffaad5391262954048d6829) fix(deps): bump ruby-lsp from 0.19.1 to 0.20.0 (#446)
83
+
84
+ ## [v1.82.23](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.23) - 2024-10-09
85
+
86
+ - [`acabeee`](https://github.com/alexfalkowski/nonnative/commit/acabeeec459a81725dd805d2e05b5972d7cc9c69) fix(deps): bump grpc from 1.66.0 to 1.67.0 (#445)
87
+
88
+ ## [v1.82.22](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.22) - 2024-10-07
89
+
90
+ - [`75d2034`](https://github.com/alexfalkowski/nonnative/commit/75d2034595d14028a3622fda2dcc8bfb632f47c0) fix(deps): bump ruby-lsp from 0.19.0 to 0.19.1 (#444)
91
+
92
+ ## [v1.82.21](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.21) - 2024-10-03
93
+
94
+ - [`354c8f8`](https://github.com/alexfalkowski/nonnative/commit/354c8f838a0e0b9231858c00883796a78a1ce7a8) fix(deps): bump ruby-lsp from 0.18.4 to 0.19.0 (#443)
95
+ - [`550b592`](https://github.com/alexfalkowski/nonnative/commit/550b5922ce6f5adc2834bbe885e588a79d031aa1) build(deps): bump bin from `8b87d26` to `e8f9d73` (#442)
96
+
97
+ ## [v1.82.20](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.20) - 2024-10-01
98
+
99
+ - [`c4e0678`](https://github.com/alexfalkowski/nonnative/commit/c4e0678aa023aebc22390ea7cd2f4575cabc8f2f) fix(deps): bump ruby-lsp from 0.18.3 to 0.18.4 (#441)
100
+
101
+ ## [v1.82.19](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.19) - 2024-09-25
102
+
103
+ - [`e5a6be0`](https://github.com/alexfalkowski/nonnative/commit/e5a6be05baafd994c51444dc22bbd8aca3d2d1ec) fix(deps): bump config from 5.5.1 to 5.5.2 (#439)
104
+
105
+ ## [v1.82.18](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.18) - 2024-09-25
106
+
107
+ - [`0e1611c`](https://github.com/alexfalkowski/nonnative/commit/0e1611c975414b1c1c315acc53450bbe254c6236) fix(deps): bump ruby-lsp from 0.18.2 to 0.18.3 (#440)
108
+
109
+ ## [v1.82.17](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.17) - 2024-09-24
110
+
111
+ - [`2720287`](https://github.com/alexfalkowski/nonnative/commit/272028740a35aaa1abd9b404ec6210201cbce1d6) fix(deps): bump ruby-lsp from 0.18.1 to 0.18.2 (#438)
112
+
113
+ ## [v1.82.16](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.16) - 2024-09-23
114
+
115
+ - [`b4fa2e3`](https://github.com/alexfalkowski/nonnative/commit/b4fa2e35cfed944477e4e76f727676e6b14b5450) fix(deps): bump ruby-lsp from 0.18.0 to 0.18.1 (#437)
116
+
117
+ ## [v1.82.15](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.15) - 2024-09-20
118
+
119
+ - [`4ab696d`](https://github.com/alexfalkowski/nonnative/commit/4ab696ddf9740bd463f2ee2a9a6ec884da9db66c) fix(deps): bump ruby-lsp from 0.17.17 to 0.18.0 (#435)
120
+
121
+ ## [v1.82.14](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.14) - 2024-09-20
122
+
123
+ - [`ecedac6`](https://github.com/alexfalkowski/nonnative/commit/ecedac692a5e208cd84173396670e8bf9661e0d7) fix(deps): bump puma from 6.4.2 to 6.4.3 (#436)
124
+
125
+ ## [v1.82.13](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.13) - 2024-09-19
126
+
127
+ - [`de28cfe`](https://github.com/alexfalkowski/nonnative/commit/de28cfebf3d1a80251fe55b42eb001ffdbb0400a) fix(deps): bump google-protobuf from 4.27.3 to 4.27.5 (#434)
128
+ - [`efbbd21`](https://github.com/alexfalkowski/nonnative/commit/efbbd217a51b4685407dffb25055223a8d6364d7) build(deps): bump bin from `b975eab` to `8b87d26` (#433)
129
+ - [`075a229`](https://github.com/alexfalkowski/nonnative/commit/075a22999e5c0d1216260fcd8ed6f8f11bc3d74b) build(deps): bump bin from `1eca781` to `b975eab` (#432)
130
+
131
+ ## [v1.82.12](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.12) - 2024-09-09
132
+
133
+ - [`38b36cf`](https://github.com/alexfalkowski/nonnative/commit/38b36cfca4b4e3237e38cb04adc581d5fd69808f) fix(deps): bump rspec-expectations from 3.13.2 to 3.13.3 (#431)
134
+
135
+ ## [v1.82.11](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.11) - 2024-09-05
136
+
137
+ - [`6bf96b3`](https://github.com/alexfalkowski/nonnative/commit/6bf96b3597950ab155f79e3a06ffa19f44fdac96) fix(deps): bump rubocop from 1.66.0 to 1.66.1 (#430)
138
+
139
+ ## [v1.82.10](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.10) - 2024-09-02
140
+
141
+ - [`d63f105`](https://github.com/alexfalkowski/nonnative/commit/d63f105855bfe943b724b4609ee9e4c2964f509d) fix(deps): bump rubocop from 1.65.1 to 1.66.0 (#429)
142
+
143
+ ## [v1.82.9](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.9) - 2024-08-30
144
+
145
+ - [`c25e578`](https://github.com/alexfalkowski/nonnative/commit/c25e57807789edcbc2cdeb9f31515ba849a0bde7) fix(deps): bump ruby-lsp from 0.17.16 to 0.17.17 (#428)
146
+ - [`4c279fd`](https://github.com/alexfalkowski/nonnative/commit/4c279fd1977508915bceac3b635bdf36fe0bb66e) build(deps): bump bin from `4d2cb2a` to `1eca781` (#427)
147
+ - [`12b6bf3`](https://github.com/alexfalkowski/nonnative/commit/12b6bf320d4ffc903d4b6b76a2c195b58bede1f1) build(deps): bump bin from `41b7c8b` to `4d2cb2a` (#426)
148
+
149
+ ## [v1.82.8](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.8) - 2024-08-27
150
+
151
+ - [`a76fa2b`](https://github.com/alexfalkowski/nonnative/commit/a76fa2bd5daa22636cb3dd4135fd02639840f030) fix(deps): bump grpc from 1.65.2 to 1.66.0 (#424)
152
+
153
+ ## [v1.82.7](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.7) - 2024-08-27
154
+
155
+ - [`5781e49`](https://github.com/alexfalkowski/nonnative/commit/5781e491f94f57aab410ce90cd880ffed31cfd5b) fix(deps): bump ruby-lsp from 0.17.15 to 0.17.16 (#425)
156
+
157
+ ## [v1.82.6](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.6) - 2024-08-23
158
+
159
+ - [`cf86bbf`](https://github.com/alexfalkowski/nonnative/commit/cf86bbfba349523e6f4ee7e00d6136c27543c055) fix(deps): bump rexml from 3.3.4 to 3.3.6 (#423)
160
+
161
+ ## [v1.82.5](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.5) - 2024-08-21
162
+
163
+ - [`ab539f2`](https://github.com/alexfalkowski/nonnative/commit/ab539f26edfab85be209e4012ed9c4f2dc9441a3) fix(deps): bump rspec-expectations from 3.13.1 to 3.13.2 (#422)
164
+
165
+ ## [v1.82.4](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.4) - 2024-08-21
166
+
167
+ - [`a34e93d`](https://github.com/alexfalkowski/nonnative/commit/a34e93d6204420f67cf0e6fb21ccb43241a3ecfa) fix(deps): bump ruby-lsp from 0.17.14 to 0.17.15 (#421)
168
+
169
+ ## [v1.82.3](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.3) - 2024-08-20
170
+
171
+ - [`e26d004`](https://github.com/alexfalkowski/nonnative/commit/e26d004cff6a2f2ae80f2f2884be339a7b407cef) fix(deps): bump ruby-lsp from 0.17.13 to 0.17.14 (#420)
172
+
173
+ ## [v1.82.2](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.2) - 2024-08-15
174
+
175
+ - [`03912b7`](https://github.com/alexfalkowski/nonnative/commit/03912b77e9a7bd81bfb6904aa50a8b4ab1a03f60) fix(deps): bump ruby-lsp from 0.17.12 to 0.17.13 (#418)
176
+ - [`905aadc`](https://github.com/alexfalkowski/nonnative/commit/905aadcca14bd65b13e4c955a2189996dddf94b6) build(deps): bump bin from `bc89e5f` to `41b7c8b` (#419)
177
+ - [`e2ea08d`](https://github.com/alexfalkowski/nonnative/commit/e2ea08d1bfb02a6c04d4a6be52753d620e462b8f) build(deps): bump bin from `9871d16` to `bc89e5f` (#417)
178
+ - [`062c5d7`](https://github.com/alexfalkowski/nonnative/commit/062c5d7ea58ccdb18e3e2dffb3fd2e2c74580320) build(codecov): add codecov (#415)
179
+ - [`9e9c4ce`](https://github.com/alexfalkowski/nonnative/commit/9e9c4ce7d127bec4d38fc8686a433a848735d510) build(deps): bump bin from `808558f` to `9871d16` (#416)
180
+
181
+ ## [v1.82.1](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.1) - 2024-08-12
182
+
183
+ - [`6be5886`](https://github.com/alexfalkowski/nonnative/commit/6be588625e0d04ce9132d00ef7bfabf9edc720bc) fix(deps): bump concurrent-ruby from 1.3.3 to 1.3.4 (#414)
184
+ - [`3cf27d7`](https://github.com/alexfalkowski/nonnative/commit/3cf27d707c8dea111d879659f7d2aaf99fa23b86) build(deps): bump bin from `44badfa` to `808558f` (#413)
185
+
9
186
  ## [v1.82.0](https://github.com/alexfalkowski/nonnative/releases/tag/v1.82.0) - 2024-08-08
10
187
 
11
188
  - [`fff293e`](https://github.com/alexfalkowski/nonnative/commit/fff293ed25a062a474913f2fbf7625c4762da245) feat(go): do not truncate after 16 chars (#412)
@@ -1206,7 +1383,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1206
1383
  - [`787e490`](https://github.com/alexfalkowski/nonnative/commit/787e490b71884c8dcd0920778b88fd94d520dfab) feat: remove logs
1207
1384
  - [`1b3b01c`](https://github.com/alexfalkowski/nonnative/commit/1b3b01c17cb3b634e17a68e8e88404ff66fa6be5) feat: add puma (4.3.3)
1208
1385
  - [`4e0c55d`](https://github.com/alexfalkowski/nonnative/commit/4e0c55d8b4776c0e1142b1fcc66d7816fde6c875) Merge pull request #27 from alexfalkowski/feature/add-tests
1209
- - [`111d81d`](https://github.com/alexfalkowski/nonnative/commit/111d81da298a7203c08fa5725e2310736b613fb9) feat: successfully starting of HTTP servers programatically with not found message
1386
+ - [`111d81d`](https://github.com/alexfalkowski/nonnative/commit/111d81da298a7203c08fa5725e2310736b613fb9) feat: successfully starting of HTTP servers programmatically with not found message
1210
1387
  - [`047efaf`](https://github.com/alexfalkowski/nonnative/commit/047efaf9d6e2b721d92ce17fa348326b07705008) test: cover post
1211
1388
  - [`c38d8a3`](https://github.com/alexfalkowski/nonnative/commit/c38d8a34b54f4bf7036d0794fa788015a9de9043) Merge pull request #26 from alexfalkowski/feature/debt
1212
1389
  - [`cb93b23`](https://github.com/alexfalkowski/nonnative/commit/cb93b23a3c8ae463b656fb4a43e2b7dab83db2f5) fix: add comments
@@ -1233,14 +1410,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1233
1410
  - [`3719e3c`](https://github.com/alexfalkowski/nonnative/commit/3719e3ce45c44ddfa26da87e41cc1604e2dcd88d) refactor: move to greeter file
1234
1411
  - [`d9f58b2`](https://github.com/alexfalkowski/nonnative/commit/d9f58b212e729f3316b3d790078610d2312e100d) Merge pull request #22 from alexfalkowski/feature/observability
1235
1412
  - [`1df039d`](https://github.com/alexfalkowski/nonnative/commit/1df039d931aa04ce105e91b9bfb6452d9a0ce64a) build: bump to version 1.7.0
1236
- - [`4536904`](https://github.com/alexfalkowski/nonnative/commit/45369041a8d95e240b5533d2132b60fa4d31278f) feat: successfully starting of HTTP servers programatically and getting metrics
1237
- - [`be9ae06`](https://github.com/alexfalkowski/nonnative/commit/be9ae06952e83af666f654a9782b596673709c87) feat: successfully starting of HTTP servers programatically and getting health
1413
+ - [`4536904`](https://github.com/alexfalkowski/nonnative/commit/45369041a8d95e240b5533d2132b60fa4d31278f) feat: successfully starting of HTTP servers programmatically and getting metrics
1414
+ - [`be9ae06`](https://github.com/alexfalkowski/nonnative/commit/be9ae06952e83af666f654a9782b596673709c87) feat: successfully starting of HTTP servers programmatically and getting health
1238
1415
  - [`fdb61da`](https://github.com/alexfalkowski/nonnative/commit/fdb61da719e6cf3d35db7d8af6acea19481a8ff9) feat: use ruby 2.6.6
1239
1416
  - [`87f6e0f`](https://github.com/alexfalkowski/nonnative/commit/87f6e0feb0c2a504d773bc1d77e5c00a403c6365) Merge pull request #21 from alexfalkowski/feature/fake-servers
1240
1417
  - [`1093f30`](https://github.com/alexfalkowski/nonnative/commit/1093f30717f1891a4644c63c4fea3d0640599578) build: bump to version 1.6.0
1241
1418
  - [`7aa120e`](https://github.com/alexfalkowski/nonnative/commit/7aa120e282eca41384c73f0c233b348f489b7e60) docs: add examples for http and grpc
1242
- - [`cc92276`](https://github.com/alexfalkowski/nonnative/commit/cc9227620ecb8133277871967eb835f67943ccad) feat: successfully starting of grpc servers programatically
1243
- - [`93373f1`](https://github.com/alexfalkowski/nonnative/commit/93373f1b85d50328b54ee49236f55acd2c5c0180) feat: successfully starting of HTTP servers programatically
1419
+ - [`cc92276`](https://github.com/alexfalkowski/nonnative/commit/cc9227620ecb8133277871967eb835f67943ccad) feat: successfully starting of grpc servers programmatically
1420
+ - [`93373f1`](https://github.com/alexfalkowski/nonnative/commit/93373f1b85d50328b54ee49236f55acd2c5c0180) feat: successfully starting of HTTP servers programmatically
1244
1421
  - [`d27904b`](https://github.com/alexfalkowski/nonnative/commit/d27904b7e6c4c9b510ae860e42a7d10a4cc0035f) test: rename to tcp
1245
1422
  - [`42c10e9`](https://github.com/alexfalkowski/nonnative/commit/42c10e99e951450efce4a529b75f18a0f4f5fd36) test: add grpc-tools (~> 1.28)
1246
1423
  - [`6cabe9e`](https://github.com/alexfalkowski/nonnative/commit/6cabe9e6e6107405459be0cdf93afc9fae742d6e) feat: add grpc (~> 1.28)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nonnative (1.82.0)
4
+ nonnative (1.84.0)
5
5
  concurrent-ruby (>= 1, < 2)
6
6
  config (>= 5, < 6)
7
7
  cucumber (>= 7, < 10)
@@ -11,7 +11,8 @@ PATH
11
11
  rest-client (>= 2, < 3)
12
12
  rspec-benchmark (>= 0, < 1)
13
13
  rspec-expectations (>= 3, < 4)
14
- sinatra (>= 2, < 5)
14
+ rspec-wait (>= 1, < 2)
15
+ sinatra (>= 4, < 5)
15
16
 
16
17
  GEM
17
18
  remote: https://rubygems.org/
@@ -23,9 +24,10 @@ GEM
23
24
  benchmark-trend (0.4.0)
24
25
  bigdecimal (3.1.8)
25
26
  builder (3.3.0)
26
- concurrent-ruby (1.3.3)
27
- config (5.5.1)
27
+ concurrent-ruby (1.3.4)
28
+ config (5.5.2)
28
29
  deep_merge (~> 1.2, >= 1.2.1)
30
+ ostruct
29
31
  cucumber (9.2.0)
30
32
  builder (~> 3.2)
31
33
  cucumber-ci-environment (> 9, < 11)
@@ -47,10 +49,10 @@ GEM
47
49
  bigdecimal
48
50
  cucumber-gherkin (27.0.0)
49
51
  cucumber-messages (>= 19.1.4, < 23)
50
- cucumber-html-formatter (21.6.0)
51
- cucumber-messages (> 19, < 25)
52
+ cucumber-html-formatter (21.7.0)
53
+ cucumber-messages (> 19, < 27)
52
54
  cucumber-messages (22.0.0)
53
- cucumber-tag-expressions (6.1.0)
55
+ cucumber-tag-expressions (6.1.1)
54
56
  deep_merge (1.2.2)
55
57
  diff-lcs (1.5.1)
56
58
  docile (1.4.1)
@@ -61,67 +63,69 @@ GEM
61
63
  get_process_mem (1.0.0)
62
64
  bigdecimal (>= 2.0)
63
65
  ffi (~> 1.0)
64
- google-protobuf (4.27.3-arm64-darwin)
66
+ google-protobuf (4.29.1-arm64-darwin)
65
67
  bigdecimal
66
68
  rake (>= 13)
67
- google-protobuf (4.27.3-x86_64-darwin)
69
+ google-protobuf (4.29.1-x86_64-darwin)
68
70
  bigdecimal
69
71
  rake (>= 13)
70
- google-protobuf (4.27.3-x86_64-linux)
72
+ google-protobuf (4.29.1-x86_64-linux)
71
73
  bigdecimal
72
74
  rake (>= 13)
73
- googleapis-common-protos-types (1.15.0)
75
+ googleapis-common-protos-types (1.16.0)
74
76
  google-protobuf (>= 3.18, < 5.a)
75
- grpc (1.65.2-arm64-darwin)
77
+ grpc (1.68.1-arm64-darwin)
76
78
  google-protobuf (>= 3.25, < 5.0)
77
79
  googleapis-common-protos-types (~> 1.0)
78
- grpc (1.65.2-x86_64-darwin)
80
+ grpc (1.68.1-x86_64-darwin)
79
81
  google-protobuf (>= 3.25, < 5.0)
80
82
  googleapis-common-protos-types (~> 1.0)
81
- grpc (1.65.2-x86_64-linux)
83
+ grpc (1.68.1-x86_64-linux)
82
84
  google-protobuf (>= 3.25, < 5.0)
83
85
  googleapis-common-protos-types (~> 1.0)
84
86
  http-accept (1.7.0)
85
- http-cookie (1.0.6)
87
+ http-cookie (1.0.8)
86
88
  domain_name (~> 0.5)
87
- json (2.7.2)
89
+ json (2.9.0)
88
90
  language_server-protocol (3.17.0.3)
89
- logger (1.6.0)
90
- mime-types (3.5.2)
91
+ logger (1.6.3)
92
+ mime-types (3.6.0)
93
+ logger
91
94
  mime-types-data (~> 3.2015)
92
- mime-types-data (3.2024.0806)
95
+ mime-types-data (3.2024.1203)
93
96
  mini_mime (1.1.5)
94
97
  multi_test (1.1.0)
95
- mustermann (3.0.1)
98
+ mustermann (3.0.3)
96
99
  ruby2_keywords (~> 0.0.1)
97
100
  netrc (0.11.0)
98
- nio4r (2.7.3)
99
- parallel (1.26.1)
100
- parser (3.3.4.2)
101
+ nio4r (2.7.4)
102
+ ostruct (0.6.1)
103
+ parallel (1.26.3)
104
+ parser (3.3.6.0)
101
105
  ast (~> 2.4.1)
102
106
  racc
103
- prism (0.30.0)
104
- puma (6.4.2)
107
+ prism (1.2.0)
108
+ puma (6.5.0)
105
109
  nio4r (~> 2.0)
106
110
  racc (1.8.1)
107
- rack (3.1.7)
108
- rack-protection (4.0.0)
111
+ rack (3.1.8)
112
+ rack-protection (4.1.1)
109
113
  base64 (>= 0.1.0)
114
+ logger (>= 1.6.0)
110
115
  rack (>= 3.0.0, < 4)
111
116
  rack-session (2.0.0)
112
117
  rack (>= 3.0.0)
113
118
  rainbow (3.1.1)
114
119
  rake (13.2.1)
115
- rbs (3.5.2)
120
+ rbs (3.7.0)
116
121
  logger
117
- regexp_parser (2.9.2)
122
+ regexp_parser (2.9.3)
118
123
  rest-client (2.1.0)
119
124
  http-accept (>= 1.7.0, < 2.0)
120
125
  http-cookie (>= 1.0.2, < 2.0)
121
126
  mime-types (>= 1.16, < 4.0)
122
127
  netrc (~> 0.8)
123
- rexml (3.3.4)
124
- strscan
128
+ rexml (3.4.0)
125
129
  rspec (3.13.0)
126
130
  rspec-core (~> 3.13.0)
127
131
  rspec-expectations (~> 3.13.0)
@@ -131,31 +135,32 @@ GEM
131
135
  benchmark-perf (~> 0.6)
132
136
  benchmark-trend (~> 0.4)
133
137
  rspec (>= 3.0)
134
- rspec-core (3.13.0)
138
+ rspec-core (3.13.2)
135
139
  rspec-support (~> 3.13.0)
136
- rspec-expectations (3.13.1)
140
+ rspec-expectations (3.13.3)
137
141
  diff-lcs (>= 1.2.0, < 2.0)
138
142
  rspec-support (~> 3.13.0)
139
- rspec-mocks (3.13.1)
143
+ rspec-mocks (3.13.2)
140
144
  diff-lcs (>= 1.2.0, < 2.0)
141
145
  rspec-support (~> 3.13.0)
142
- rspec-support (3.13.1)
143
- rubocop (1.65.1)
146
+ rspec-support (3.13.2)
147
+ rspec-wait (1.0.1)
148
+ rspec (>= 3.4)
149
+ rubocop (1.69.2)
144
150
  json (~> 2.3)
145
151
  language_server-protocol (>= 3.17.0)
146
152
  parallel (~> 1.10)
147
153
  parser (>= 3.3.0.2)
148
154
  rainbow (>= 2.2.2, < 4.0)
149
- regexp_parser (>= 2.4, < 3.0)
150
- rexml (>= 3.2.5, < 4.0)
151
- rubocop-ast (>= 1.31.1, < 2.0)
155
+ regexp_parser (>= 2.9.3, < 3.0)
156
+ rubocop-ast (>= 1.36.2, < 2.0)
152
157
  ruby-progressbar (~> 1.7)
153
- unicode-display_width (>= 2.4.0, < 3.0)
154
- rubocop-ast (1.32.0)
158
+ unicode-display_width (>= 2.4.0, < 4.0)
159
+ rubocop-ast (1.37.0)
155
160
  parser (>= 3.3.1.0)
156
- ruby-lsp (0.17.12)
161
+ ruby-lsp (0.22.1)
157
162
  language_server-protocol (~> 3.17.0)
158
- prism (>= 0.29.0, < 0.31)
163
+ prism (>= 1.2, < 2.0)
159
164
  rbs (>= 3, < 4)
160
165
  sorbet-runtime (>= 0.5.10782)
161
166
  ruby-progressbar (1.13.0)
@@ -167,20 +172,22 @@ GEM
167
172
  simplecov-cobertura (2.1.0)
168
173
  rexml
169
174
  simplecov (~> 0.19)
170
- simplecov-html (0.12.3)
175
+ simplecov-html (0.13.1)
171
176
  simplecov_json_formatter (0.1.4)
172
- sinatra (4.0.0)
177
+ sinatra (4.1.1)
178
+ logger (>= 1.6.0)
173
179
  mustermann (~> 3.0)
174
180
  rack (>= 3.0.0, < 4)
175
- rack-protection (= 4.0.0)
181
+ rack-protection (= 4.1.1)
176
182
  rack-session (>= 2.0.0, < 3)
177
183
  tilt (~> 2.0)
178
- sorbet-runtime (0.5.11514)
179
- strscan (3.1.0)
180
- sys-uname (1.3.0)
184
+ sorbet-runtime (0.5.11699)
185
+ sys-uname (1.3.1)
181
186
  ffi (~> 1.1)
182
187
  tilt (2.4.0)
183
- unicode-display_width (2.5.0)
188
+ unicode-display_width (3.1.2)
189
+ unicode-emoji (~> 4.0, >= 4.0.4)
190
+ unicode-emoji (4.0.4)
184
191
 
185
192
  PLATFORMS
186
193
  arm64-darwin-22
data/README.md CHANGED
@@ -35,6 +35,8 @@ Or install it yourself as:
35
35
 
36
36
  Configure nonnative with the following:
37
37
 
38
+ - The version of the configuration (1.0).
39
+ - The URL of the service.
38
40
  - Process, Server or Service that you want to start.
39
41
  - A timeout value.
40
42
  - A time to wait.
@@ -60,13 +62,16 @@ Setup it up programmatically:
60
62
  require 'nonnative'
61
63
 
62
64
  Nonnative.configure do |config|
65
+ config.version = '1.0'
66
+ config.url = 'http://localhost:4567'
67
+
63
68
  config.process do |p|
64
69
  p.name = 'start_1'
65
70
  p.command = -> { 'features/support/bin/start 12_321' }
66
71
  p.timeout = 5
67
72
  p.wait = 0.1
68
73
  p.port = 12_321
69
- p.log = 'reports/12_321.log'
74
+ p.log = '12_321.log'
70
75
  p.signal = 'INT' # Possible values are described in Signal.list.keys.
71
76
  p.environment = { # Pass environment variables to process.
72
77
  'TEST' => 'true'
@@ -79,7 +84,7 @@ Nonnative.configure do |config|
79
84
  p.timeout = 0.5
80
85
  p.wait = 0.1
81
86
  p.port = 12_322
82
- p.log = 'reports/12_322.log'
87
+ p.log = '12_322.log'
83
88
  end
84
89
  end
85
90
  ```
@@ -88,6 +93,7 @@ Setup it up through configuration:
88
93
 
89
94
  ```yaml
90
95
  version: 1.0
96
+ url: http://localhost:4567
91
97
  processes:
92
98
  -
93
99
  name: start_1
@@ -95,7 +101,7 @@ processes:
95
101
  timeout: 5
96
102
  wait: 0.1
97
103
  port: 12321
98
- log: reports/12_321.log
104
+ log: 12_321.log
99
105
  signal: INT # Possible values are described in Signal.list.keys.
100
106
  environment: # Pass environment variables to process.
101
107
  TEST: true
@@ -105,7 +111,7 @@ processes:
105
111
  timeout: 5
106
112
  wait: 0.1
107
113
  port: 12322
108
- log: reports/12_322.log
114
+ log: 12_322.log
109
115
  ```
110
116
 
111
117
  Then load the file with
@@ -157,12 +163,15 @@ Setup it up programmatically:
157
163
  require 'nonnative'
158
164
 
159
165
  Nonnative.configure do |config|
166
+ config.version = '1.0'
167
+ config.url = 'http://localhost:4567'
168
+
160
169
  config.server do |s|
161
170
  s.name = 'server_1'
162
171
  s.klass = Nonnative::EchoServer
163
172
  s.timeout = 1
164
173
  s.port = 12_323
165
- s.log = 'reports/server_1.log'
174
+ s.log = 'server_1.log'
166
175
  end
167
176
 
168
177
  config.server do |s|
@@ -170,7 +179,7 @@ Nonnative.configure do |config|
170
179
  s.klass = Nonnative::EchoServer
171
180
  s.timeout = 1
172
181
  s.port = 12_324
173
- s.log = 'reports/server_2.log'
182
+ s.log = 'server_2.log'
174
183
  end
175
184
  end
176
185
  ```
@@ -179,19 +188,20 @@ Setup it up through configuration:
179
188
 
180
189
  ```yaml
181
190
  version: 1.0
191
+ url: http://localhost:4567
182
192
  servers:
183
193
  -
184
194
  name: server_1
185
195
  class: Nonnative::EchoServer
186
196
  timeout: 1
187
197
  port: 12323
188
- log: reports/server_1.log
198
+ log: server_1.log
189
199
  -
190
200
  name: server_2
191
201
  class: Nonnative::EchoServer
192
202
  timeout: 1
193
203
  port: 12324
194
- log: reports/server_2.log
204
+ log: server_2.log
195
205
  ```
196
206
 
197
207
  Then load the file with:
@@ -236,12 +246,15 @@ Setup it up programmatically:
236
246
  require 'nonnative'
237
247
 
238
248
  Nonnative.configure do |config|
249
+ config.version = '1.0'
250
+ config.url = 'http://localhost:4567'
251
+
239
252
  config.server do |s|
240
253
  s.name = 'http_server_1'
241
254
  s.klass = Nonnative::Features::HTTPServer
242
255
  s.timeout = 1
243
256
  s.port = 4567
244
- s.log = 'reports/http_server_1.log'
257
+ s.log = 'http_server_1.log'
245
258
  end
246
259
  end
247
260
  ```
@@ -250,13 +263,14 @@ Setup it up through configuration:
250
263
 
251
264
  ```yaml
252
265
  version: 1.0
266
+ url: http://localhost:4567
253
267
  servers:
254
268
  -
255
269
  name: http_server_1
256
270
  class: Nonnative::Features::HTTPServer
257
271
  timeout: 1
258
272
  port: 4567
259
- log: reports/http_server_1.log
273
+ log: http_server_1.log
260
274
  ```
261
275
 
262
276
  Then load the file with:
@@ -297,12 +311,15 @@ Setup it up programmatically:
297
311
  require 'nonnative'
298
312
 
299
313
  Nonnative.configure do |config|
314
+ config.version = '1.0'
315
+ config.url = 'http://localhost:4567'
316
+
300
317
  config.server do |s|
301
318
  s.name = 'grpc_server_1'
302
319
  s.klass = Nonnative::Features::GRPCServer
303
320
  s.timeout = 1
304
321
  s.port = 9002
305
- s.log = 'reports/grpc_server_1.log'
322
+ s.log = 'grpc_server_1.log'
306
323
  end
307
324
  end
308
325
  ```
@@ -311,13 +328,14 @@ Setup it up through configuration:
311
328
 
312
329
  ```yaml
313
330
  version: 1.0
331
+ url: http://localhost:4567
314
332
  servers:
315
333
  -
316
334
  name: grpc_server_1
317
335
  class: Nonnative::Features::GRPCServer
318
336
  timeout: 1
319
337
  port: 9002
320
- log: reports/grpc_server_1.log
338
+ log: grpc_server_1.log
321
339
  ```
322
340
 
323
341
  Then load the file with:
@@ -340,6 +358,9 @@ Setup it up programmatically:
340
358
  require 'nonnative'
341
359
 
342
360
  Nonnative.configure do |config|
361
+ config.version = '1.0'
362
+ config.url = 'http://localhost:4567'
363
+
343
364
  config.service do |s|
344
365
  s.name = 'postgres'
345
366
  p.port = 5432
@@ -389,11 +410,14 @@ Setup it up programmatically:
389
410
  require 'nonnative'
390
411
 
391
412
  Nonnative.configure do |config|
413
+ config.version = '1.0'
414
+ config.url = 'http://localhost:4567'
415
+
392
416
  config.process do |p|
393
417
  p.proxy = {
394
418
  kind: 'fault_injection',
395
419
  port: 20_000,
396
- log: 'reports/proxy_server.log',
420
+ log: 'proxy_server.log',
397
421
  options: {
398
422
  delay: 5
399
423
  }
@@ -406,12 +430,13 @@ Setup it up through configuration:
406
430
 
407
431
  ```yaml
408
432
  version: 1.0
433
+ url: http://localhost:4567
409
434
  processes:
410
435
  -
411
436
  proxy:
412
437
  kind: fault_injection
413
438
  port: 20000
414
- log: reports/proxy_server.log
439
+ log: proxy_server.log
415
440
  options:
416
441
  delay: 5
417
442
  ```
@@ -424,11 +449,14 @@ Setup it up programmatically:
424
449
  require 'nonnative'
425
450
 
426
451
  Nonnative.configure do |config|
452
+ config.version = '1.0'
453
+ config.url = 'http://localhost:4567'
454
+
427
455
  config.server do |s|
428
456
  s.proxy = {
429
457
  kind: 'fault_injection',
430
458
  port: 20_000,
431
- log: 'reports/proxy_server.log',
459
+ log: 'proxy_server.log',
432
460
  options: {
433
461
  delay: 5
434
462
  }
@@ -441,12 +469,13 @@ Setup it up through configuration:
441
469
 
442
470
  ```yaml
443
471
  version: 1.0
472
+ url: http://localhost:4567
444
473
  servers:
445
474
  -
446
475
  proxy:
447
476
  kind: fault_injection
448
477
  port: 20000
449
- log: reports/proxy_server.log
478
+ log: proxy_server.log
450
479
  options:
451
480
  delay: 5
452
481
  ```
@@ -459,11 +488,14 @@ Setup it up programmatically:
459
488
  require 'nonnative'
460
489
 
461
490
  Nonnative.configure do |config|
491
+ config.version = '1.0'
492
+ config.url = 'http://localhost:4567'
493
+
462
494
  config.service do |s|
463
495
  s.proxy = {
464
496
  kind: 'fault_injection',
465
497
  port: 20_000,
466
- log: 'reports/proxy_server.log',
498
+ log: 'proxy_server.log',
467
499
  options: {
468
500
  delay: 5
469
501
  }
@@ -476,12 +508,13 @@ Setup it up through configuration:
476
508
 
477
509
  ```yaml
478
510
  version: 1.0
511
+ url: http://localhost:4567
479
512
  services:
480
513
  -
481
514
  proxy:
482
515
  kind: fault_injection
483
516
  port: 20000
484
- log: reports/proxy_server.log
517
+ log: proxy_server.log
485
518
  options:
486
519
  delay: 5
487
520
  ```
@@ -586,6 +619,7 @@ Setup it up through configuration:
586
619
 
587
620
  ```yaml
588
621
  version: 1.0
622
+ url: http://localhost:4567
589
623
  processes:
590
624
  -
591
625
  name: go
@@ -598,5 +632,5 @@ processes:
598
632
  - --config config.yaml
599
633
  timeout: 5
600
634
  port: 8000
601
- log: reports/go.log
635
+ log: go.log
602
636
  ```
@@ -8,7 +8,7 @@ module Nonnative
8
8
  @services = []
9
9
  end
10
10
 
11
- attr_accessor :processes, :servers, :services
11
+ attr_accessor :version, :url, :processes, :servers, :services
12
12
 
13
13
  def load_file(path)
14
14
  cfg = Nonnative.configurations(path)
@@ -1,6 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  World(RSpec::Benchmark::Matchers)
4
+ World(RSpec::Matchers)
5
+ World(RSpec::Wait)
4
6
 
5
7
  Before('@startup') do
6
8
  Nonnative.start
@@ -37,6 +39,20 @@ Given('I start the system') do
37
39
  Nonnative.start
38
40
  end
39
41
 
42
+ Given('I should see {string} as unhealthy') do |service|
43
+ opts = {
44
+ headers: { content_type: :json, accept: :json },
45
+ read_timeout: 10, open_timeout: 10
46
+ }
47
+
48
+ wait_for do
49
+ @response = Nonnative.observability.health(opts)
50
+ @response.code
51
+ end.to eq(503)
52
+
53
+ expect(@response.body).to include(service)
54
+ end
55
+
40
56
  Then('I should reset the proxy for process {string}') do |name|
41
57
  process = Nonnative.pool.process_by_name(name)
42
58
  process.proxy.reset
@@ -77,3 +93,17 @@ end
77
93
  Then('I should see a log entry of {string} in the file {string}') do |message, path|
78
94
  expect(Nonnative.log_lines(path, ->(l) { l.include?(message) }).first).to include(message)
79
95
  end
96
+
97
+ Then('I should see {string} as healthy') do |service|
98
+ opts = {
99
+ headers: { content_type: :json, accept: :json },
100
+ read_timeout: 10, open_timeout: 10
101
+ }
102
+
103
+ wait_for do
104
+ @response = Nonnative.observability.health(opts)
105
+ @response.code
106
+ end.to eq(200)
107
+
108
+ expect(@response.body).to_not include(service)
109
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nonnative
4
- VERSION = '1.82.0'
4
+ VERSION = '1.84.0'
5
5
  end
data/lib/nonnative.rb CHANGED
@@ -16,6 +16,8 @@ require 'config'
16
16
  require 'cucumber'
17
17
  require 'get_process_mem'
18
18
  require 'rspec-benchmark'
19
+ require 'rspec/expectations'
20
+ require 'rspec/wait'
19
21
 
20
22
  require 'nonnative/version'
21
23
  require 'nonnative/error'
@@ -68,6 +70,10 @@ module Nonnative
68
70
  Nonnative::GoCommand.new(tools, exec, output).executable(cmd, params)
69
71
  end
70
72
 
73
+ def observability
74
+ @observability ||= Nonnative::Observability.new(configuration.url)
75
+ end
76
+
71
77
  def configuration
72
78
  @configuration ||= Nonnative::Configuration.new
73
79
  end
data/nonnative.gemspec CHANGED
@@ -33,5 +33,6 @@ Gem::Specification.new do |spec|
33
33
  spec.add_dependency 'rest-client', '>= 2', '< 3'
34
34
  spec.add_dependency 'rspec-benchmark', '>= 0', '< 1'
35
35
  spec.add_dependency 'rspec-expectations', '>= 3', '< 4'
36
- spec.add_dependency 'sinatra', '>= 2', '< 5'
36
+ spec.add_dependency 'rspec-wait', '>= 1', '< 2'
37
+ spec.add_dependency 'sinatra', '>= 4', '< 5'
37
38
  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.82.0
4
+ version: 1.84.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: 2024-08-08 00:00:00.000000000 Z
11
+ date: 2024-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -191,12 +191,32 @@ dependencies:
191
191
  - !ruby/object:Gem::Version
192
192
  version: '4'
193
193
  - !ruby/object:Gem::Dependency
194
- name: sinatra
194
+ name: rspec-wait
195
195
  requirement: !ruby/object:Gem::Requirement
196
196
  requirements:
197
197
  - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: '1'
200
+ - - "<"
198
201
  - !ruby/object:Gem::Version
199
202
  version: '2'
203
+ type: :runtime
204
+ prerelease: false
205
+ version_requirements: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: '1'
210
+ - - "<"
211
+ - !ruby/object:Gem::Version
212
+ version: '2'
213
+ - !ruby/object:Gem::Dependency
214
+ name: sinatra
215
+ requirement: !ruby/object:Gem::Requirement
216
+ requirements:
217
+ - - ">="
218
+ - !ruby/object:Gem::Version
219
+ version: '4'
200
220
  - - "<"
201
221
  - !ruby/object:Gem::Version
202
222
  version: '5'
@@ -206,7 +226,7 @@ dependencies:
206
226
  requirements:
207
227
  - - ">="
208
228
  - !ruby/object:Gem::Version
209
- version: '2'
229
+ version: '4'
210
230
  - - "<"
211
231
  - !ruby/object:Gem::Version
212
232
  version: '5'
@@ -224,7 +244,6 @@ files:
224
244
  - ".gitignore"
225
245
  - ".gitmodules"
226
246
  - ".rubocop.yml"
227
- - ".ruby-version"
228
247
  - CHANGELOG.md
229
248
  - Gemfile
230
249
  - Gemfile.lock
@@ -291,7 +310,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
291
310
  - !ruby/object:Gem::Version
292
311
  version: '0'
293
312
  requirements: []
294
- rubygems_version: 3.5.11
313
+ rubygems_version: 3.5.22
295
314
  signing_key:
296
315
  specification_version: 4
297
316
  summary: Allows you to keep using the power of ruby to test other systems
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- ruby-3.3.3