noths 0.2.0 → 0.2.1
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 +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +32 -32
- data/lib/noths/api_client.rb +1 -1
- data/lib/noths/configuration.rb +1 -1
- data/lib/noths/version.rb +1 -1
- data/templates/api_client.mustache +1 -1
- data/templates/configuration.mustache +1 -1
- metadata +23 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9fba23956a17ac06c8ec040991102197bcb75ccc26fd4a4a5813c9309a32cdc
|
|
4
|
+
data.tar.gz: 35b8367d4add14a0a38717b112a26d59cd3fc4fa81a7a9b9c09735b879fc6c58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 461024a4369385e279522ee5e33b18724f52d74cacdebfe83ed0bb0009757779f97291692feeab0e6461f825266e7eadc36e3a7909572c2eff31254475dd2030
|
|
7
|
+
data.tar.gz: 0cb6f7af7882fdef9480c4433a85df6b21244498acc1926537ac30f5842c06c1f1c7b21e5f9f23315f061f514c745b8b47ea84cd3931140b460c8aeb6e286fad
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
noths (0.
|
|
4
|
+
noths (0.2.1)
|
|
5
5
|
json (~> 2.1, >= 2.1.0)
|
|
6
6
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
ZenTest (4.
|
|
12
|
-
addressable (2.
|
|
13
|
-
public_suffix (>= 2.0.2, <
|
|
11
|
+
ZenTest (4.12.0)
|
|
12
|
+
addressable (2.8.0)
|
|
13
|
+
public_suffix (>= 2.0.2, < 5.0)
|
|
14
14
|
autotest (4.4.6)
|
|
15
15
|
ZenTest (>= 4.4.1)
|
|
16
|
-
autotest-fsevent (0.2.
|
|
16
|
+
autotest-fsevent (0.2.18)
|
|
17
17
|
sys-uname
|
|
18
18
|
autotest-growl (0.2.16)
|
|
19
19
|
autotest-rails-pure (4.1.2)
|
|
20
|
-
crack (0.4.
|
|
21
|
-
|
|
22
|
-
diff-lcs (1.
|
|
23
|
-
ethon (0.
|
|
24
|
-
ffi (>= 1.
|
|
25
|
-
ffi (1.
|
|
26
|
-
hashdiff (0.
|
|
27
|
-
json (2.1
|
|
28
|
-
public_suffix (
|
|
29
|
-
rake (12.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
rspec-
|
|
33
|
-
rspec-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
20
|
+
crack (0.4.5)
|
|
21
|
+
rexml
|
|
22
|
+
diff-lcs (1.4.4)
|
|
23
|
+
ethon (0.14.0)
|
|
24
|
+
ffi (>= 1.15.0)
|
|
25
|
+
ffi (1.15.3)
|
|
26
|
+
hashdiff (1.0.1)
|
|
27
|
+
json (2.5.1)
|
|
28
|
+
public_suffix (4.0.6)
|
|
29
|
+
rake (12.3.3)
|
|
30
|
+
rexml (3.2.5)
|
|
31
|
+
rspec (3.10.0)
|
|
32
|
+
rspec-core (~> 3.10.0)
|
|
33
|
+
rspec-expectations (~> 3.10.0)
|
|
34
|
+
rspec-mocks (~> 3.10.0)
|
|
35
|
+
rspec-core (3.10.1)
|
|
36
|
+
rspec-support (~> 3.10.0)
|
|
37
|
+
rspec-expectations (3.10.1)
|
|
37
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
38
|
-
rspec-support (~> 3.
|
|
39
|
-
rspec-mocks (3.
|
|
39
|
+
rspec-support (~> 3.10.0)
|
|
40
|
+
rspec-mocks (3.10.2)
|
|
40
41
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
41
|
-
rspec-support (~> 3.
|
|
42
|
-
rspec-support (3.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
typhoeus (1.3.0)
|
|
42
|
+
rspec-support (~> 3.10.0)
|
|
43
|
+
rspec-support (3.10.2)
|
|
44
|
+
sys-uname (1.2.2)
|
|
45
|
+
ffi (~> 1.1)
|
|
46
|
+
typhoeus (1.4.0)
|
|
47
47
|
ethon (>= 0.9.0)
|
|
48
48
|
vcr (3.0.3)
|
|
49
49
|
webmock (1.24.6)
|
|
@@ -60,10 +60,10 @@ DEPENDENCIES
|
|
|
60
60
|
autotest-growl (~> 0.2, >= 0.2.16)
|
|
61
61
|
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
|
62
62
|
noths!
|
|
63
|
-
rake (~> 12.
|
|
63
|
+
rake (~> 12.3.3)
|
|
64
64
|
rspec (~> 3.6, >= 3.6.0)
|
|
65
65
|
vcr (~> 3.0, >= 3.0.1)
|
|
66
66
|
webmock (~> 1.24, >= 1.24.3)
|
|
67
67
|
|
|
68
68
|
BUNDLED WITH
|
|
69
|
-
|
|
69
|
+
2.2.24
|
data/lib/noths/api_client.rb
CHANGED
|
@@ -253,7 +253,7 @@ module Noths
|
|
|
253
253
|
def build_request_url(path)
|
|
254
254
|
# Add leading and trailing slashes to path
|
|
255
255
|
path = "/#{path}".gsub(/\/+/, '/')
|
|
256
|
-
URI.
|
|
256
|
+
URI::DEFAULT_PARSER.escape(@config.base_url + path)
|
|
257
257
|
end
|
|
258
258
|
|
|
259
259
|
# Builds the HTTP request body
|
data/lib/noths/configuration.rb
CHANGED
data/lib/noths/version.rb
CHANGED
|
@@ -256,7 +256,7 @@ module {{moduleName}}
|
|
|
256
256
|
def build_request_url(path)
|
|
257
257
|
# Add leading and trailing slashes to path
|
|
258
258
|
path = "/#{path}".gsub(/\/+/, '/')
|
|
259
|
-
URI.
|
|
259
|
+
URI::DEFAULT_PARSER.escape(@config.base_url + path)
|
|
260
260
|
end
|
|
261
261
|
|
|
262
262
|
# Builds the HTTP request body
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: noths
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rustam Sharshenov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-07-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -355,43 +355,42 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
355
355
|
- !ruby/object:Gem::Version
|
|
356
356
|
version: '0'
|
|
357
357
|
requirements: []
|
|
358
|
-
|
|
359
|
-
rubygems_version: 2.7.7
|
|
358
|
+
rubygems_version: 3.2.15
|
|
360
359
|
signing_key:
|
|
361
360
|
specification_version: 4
|
|
362
361
|
summary: Swagger client for https://www.notonthehighstreet.com/
|
|
363
362
|
test_files:
|
|
364
|
-
- spec/api/refunds_api_spec.rb
|
|
365
363
|
- spec/api/orders_api_spec.rb
|
|
364
|
+
- spec/api/refunds_api_spec.rb
|
|
366
365
|
- spec/api_client_spec.rb
|
|
367
366
|
- spec/configuration_spec.rb
|
|
368
367
|
- spec/models/error_spec.rb
|
|
369
|
-
- spec/models/
|
|
370
|
-
- spec/models/
|
|
368
|
+
- spec/models/item_spec.rb
|
|
369
|
+
- spec/models/delivery_address_spec.rb
|
|
370
|
+
- spec/models/dispatch_bulk_model_spec.rb
|
|
371
|
+
- spec/models/decline_bulk_model_spec.rb
|
|
371
372
|
- spec/models/delivery_service_spec.rb
|
|
372
|
-
- spec/models/product_spec.rb
|
|
373
373
|
- spec/models/order_refund_spec.rb
|
|
374
|
-
- spec/models/
|
|
375
|
-
- spec/models/manual_payment_spec.rb
|
|
376
|
-
- spec/models/acceptance_bulk_model_spec.rb
|
|
377
|
-
- spec/models/decline_bulk_model_spec.rb
|
|
378
|
-
- spec/models/delivery_address_spec.rb
|
|
379
|
-
- spec/models/image_url_spec.rb
|
|
374
|
+
- spec/models/financials_details_spec.rb
|
|
380
375
|
- spec/models/enquiry_spec.rb
|
|
381
|
-
- spec/models/
|
|
376
|
+
- spec/models/financials_spec.rb
|
|
382
377
|
- spec/models/money_spec.rb
|
|
383
|
-
- spec/models/
|
|
378
|
+
- spec/models/order_index_spec.rb
|
|
379
|
+
- spec/models/user_spec.rb
|
|
380
|
+
- spec/models/item_financials_spec.rb
|
|
384
381
|
- spec/models/currency_spec.rb
|
|
385
|
-
- spec/models/enquiry_message_spec.rb
|
|
386
382
|
- spec/models/dispatch_notes_bulk_model_spec.rb
|
|
383
|
+
- spec/models/delivery_zone_spec.rb
|
|
384
|
+
- spec/models/image_url_spec.rb
|
|
385
|
+
- spec/models/manual_payment_spec.rb
|
|
386
|
+
- spec/models/enquiry_message_spec.rb
|
|
387
|
+
- spec/models/link_spec.rb
|
|
387
388
|
- spec/models/product_option_spec.rb
|
|
388
389
|
- spec/models/order_spec.rb
|
|
389
|
-
- spec/models/
|
|
390
|
+
- spec/models/acceptance_bulk_model_spec.rb
|
|
391
|
+
- spec/models/order_details_bulk_model_spec.rb
|
|
392
|
+
- spec/models/order_detail_spec.rb
|
|
390
393
|
- spec/models/refund_response_spec.rb
|
|
391
|
-
- spec/models/
|
|
392
|
-
- spec/models/
|
|
393
|
-
- spec/models/financials_details_spec.rb
|
|
394
|
-
- spec/models/dispatch_bulk_model_spec.rb
|
|
395
|
-
- spec/models/order_index_spec.rb
|
|
396
|
-
- spec/models/link_spec.rb
|
|
394
|
+
- spec/models/product_spec.rb
|
|
395
|
+
- spec/models/search_result_meta_spec.rb
|
|
397
396
|
- spec/spec_helper.rb
|