nonnative 1.13.0 → 1.14.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: b5c276daf057940e81f971c7f81d468e3d521bc728fa42d7a2ee3ee5a783d148
4
- data.tar.gz: 16bee98b94493966114a4d660d7af6dd08f13ec4b340db5a7e4046a557516685
3
+ metadata.gz: d3d063b72e79c07612ef45de94f2b318c59d600be60823a3b72b97e14b819863
4
+ data.tar.gz: e49d9d93bd0657896c7fb1abba459ca59c6c8fc3e59b409fe9c231b20f77cf34
5
5
  SHA512:
6
- metadata.gz: f802c188acdd0729db5ca63b71aae85ee861b51ea3847a4366a7fbfc7a60876fbda981cfd38592d85497ea121455e296bbacfd81302739a33e589108c1d7fba0
7
- data.tar.gz: 074d2d35b363dcf0bd8a7968655a6555868a623d19a1fead5000e57c344cf7a58b9ea8472bb6f896ac4aa97e761b9cdc949debf24937cc466bbd1e1b427ea49b
6
+ metadata.gz: 7d12d87e1f2681fc8e9fef1eecb5b55d81eb773b1845ffb22ab094c17cd9d73bced1874ee277e11c024ca82d66d9f7c4c9d49f6f3827052f06d0ce3bdc86f1f5
7
+ data.tar.gz: 6436da5c0393b9842881722a50f23e80f3264c0a36006e9aeb8402b26910645e875313b430da8df9bd2ba02b5ff08bce576cc74f590a8b5707f6454a27ca83b4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nonnative (1.13.0)
4
+ nonnative (1.14.0)
5
5
  cucumber (~> 3.1, >= 3.1.2)
6
6
  grpc (~> 1.28)
7
7
  puma (~> 4.3, >= 4.3.3)
@@ -16,9 +16,9 @@ GEM
16
16
  amatch (0.4.0)
17
17
  mize
18
18
  tins (~> 1.0)
19
- ast (2.4.0)
19
+ ast (2.4.1)
20
20
  backport (1.1.2)
21
- backports (3.17.1)
21
+ backports (3.17.2)
22
22
  benchmark (0.1.0)
23
23
  benchmark-malloc (0.2.0)
24
24
  benchmark-perf (0.6.0)
@@ -31,7 +31,7 @@ GEM
31
31
  pastel (~> 0.7)
32
32
  tty-pie (~> 0.3)
33
33
  concurrent-ruby (1.1.6)
34
- cucumber (3.1.2)
34
+ cucumber (3.2.0)
35
35
  builder (>= 2.1.2)
36
36
  cucumber-core (~> 3.2.0)
37
37
  cucumber-expressions (~> 6.0.1)
@@ -54,7 +54,7 @@ GEM
54
54
  e2mmap (0.1.0)
55
55
  equatable (0.6.1)
56
56
  gherkin (5.1.0)
57
- google-protobuf (3.11.4)
57
+ google-protobuf (3.12.2)
58
58
  googleapis-common-protos-types (1.0.5)
59
59
  google-protobuf (~> 3.11)
60
60
  grpc (1.28.0)
@@ -64,7 +64,7 @@ GEM
64
64
  http-accept (1.7.0)
65
65
  http-cookie (1.0.3)
66
66
  domain_name (~> 0.5)
67
- i18n (1.8.2)
67
+ i18n (1.8.3)
68
68
  concurrent-ruby (~> 1.0)
69
69
  jaro_winkler (1.5.4)
70
70
  json (2.3.0)
@@ -83,17 +83,17 @@ GEM
83
83
  nio4r (2.5.2)
84
84
  nokogiri (1.10.9)
85
85
  mini_portile2 (~> 2.4.0)
86
- parallel (1.19.1)
87
- parser (2.7.1.2)
86
+ parallel (1.19.2)
87
+ parser (2.7.1.3)
88
88
  ast (~> 2.4.0)
89
89
  pastel (0.7.4)
90
90
  equatable (~> 0.6)
91
91
  tty-color (~> 0.5)
92
92
  protocol (2.0.0)
93
93
  ruby_parser (~> 3.0)
94
- puma (4.3.3)
94
+ puma (4.3.5)
95
95
  nio4r (~> 2.0)
96
- rack (2.2.2)
96
+ rack (2.2.3)
97
97
  rack-protection (2.0.8.1)
98
98
  rack
99
99
  rainbow (3.0.0)
@@ -103,7 +103,7 @@ GEM
103
103
  http-cookie (>= 1.0.2, < 2.0)
104
104
  mime-types (>= 1.16, < 4.0)
105
105
  netrc (~> 0.8)
106
- reverse_markdown (1.4.0)
106
+ reverse_markdown (2.0.0)
107
107
  nokogiri
108
108
  rexml (3.2.4)
109
109
  rspec (3.9.0)
@@ -135,7 +135,7 @@ GEM
135
135
  ruby2_keywords (0.0.2)
136
136
  ruby_parser (3.14.2)
137
137
  sexp_processor (~> 4.9)
138
- sexp_processor (4.14.1)
138
+ sexp_processor (4.15.0)
139
139
  simplecov (0.17.1)
140
140
  docile (~> 1.1)
141
141
  json (>= 1.8, < 3)
@@ -146,7 +146,7 @@ GEM
146
146
  rack (~> 2.0)
147
147
  rack-protection (= 2.0.8.1)
148
148
  tilt (~> 2.0)
149
- solargraph (0.39.7)
149
+ solargraph (0.39.8)
150
150
  backport (~> 1.1)
151
151
  benchmark
152
152
  bundler (>= 1.17.2)
@@ -155,7 +155,7 @@ GEM
155
155
  maruku (~> 0.7, >= 0.7.3)
156
156
  nokogiri (~> 1.9, >= 1.9.1)
157
157
  parser (~> 2.3)
158
- reverse_markdown (~> 1.0, >= 1.0.5)
158
+ reverse_markdown (>= 1.0.5, < 3)
159
159
  rubocop (~> 0.52)
160
160
  thor (~> 1.0)
161
161
  tilt (~> 2.0)
@@ -163,7 +163,7 @@ GEM
163
163
  sync (0.5.0)
164
164
  thor (1.0.1)
165
165
  tilt (2.0.10)
166
- tins (1.24.1)
166
+ tins (1.25.0)
167
167
  sync
168
168
  tty-color (0.5.1)
169
169
  tty-cursor (0.7.1)
@@ -22,6 +22,20 @@ module Nonnative
22
22
  end
23
23
  end
24
24
 
25
+ def delete(pathname, headers = {})
26
+ with_exception do
27
+ uri = URI.join(host, pathname)
28
+ RestClient.delete(uri.to_s, headers)
29
+ end
30
+ end
31
+
32
+ def put(pathname, payload, headers = {})
33
+ with_exception do
34
+ uri = URI.join(host, pathname)
35
+ RestClient.put(uri.to_s, payload.to_json, headers)
36
+ end
37
+ end
38
+
25
39
  private
26
40
 
27
41
  attr_reader :host
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nonnative
4
- VERSION = '1.13.0'
4
+ VERSION = '1.14.0'
5
5
  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.13.0
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Falkowski
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-15 00:00:00.000000000 Z
11
+ date: 2020-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber
@@ -297,7 +297,7 @@ homepage: https://github.com/alexfalkowski/nonnative
297
297
  licenses:
298
298
  - Unlicense
299
299
  metadata: {}
300
- post_install_message:
300
+ post_install_message:
301
301
  rdoc_options: []
302
302
  require_paths:
303
303
  - lib
@@ -313,7 +313,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
313
313
  version: '0'
314
314
  requirements: []
315
315
  rubygems_version: 3.0.3
316
- signing_key:
316
+ signing_key:
317
317
  specification_version: 4
318
318
  summary: Allows you to keep using the power of ruby to test other systems
319
319
  test_files: []