shoptet 0.0.40 → 0.0.41

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: b578763a5e05d3c8c4517b2e1b87c9b2a6db456aefa78b9bf96f4ddb521d68b1
4
- data.tar.gz: e42d79f2614837e252c05c30e6f395d06a789b2e75174949cb8a505235fa84ef
3
+ metadata.gz: 58902b1d779978f5c26c0dfe99770ff3a61a23deeaf475d6cffbce3f19e64a2e
4
+ data.tar.gz: d93a5b924492487a45469e325f5e9cf5aa32bd5c23c79aa63b7c481061f31feb
5
5
  SHA512:
6
- metadata.gz: a56cd71593cb402ac97b98cc8c2dca03f0a7df1ff8d2ff3a6fedf52fb777fbf449ad44eccd7d86aa6905e039a05f4d71c36865ea68275fd70fd9dc33423ee2a8
7
- data.tar.gz: 57a62ce4160fdea67455a30dfa5687515e800dd674407dc110887fc5b981c9347ae9a289e09d7cc35eba545beed1ab9c2a9d900d5eecf5a99402b36cbb0a1512
6
+ metadata.gz: e3aca14df29ce6d5aeab5f18cf14c2c10f12c95f469f8373667ccd374f13724732834ec6bfcf834d02d3c2e3feb9a5c7dd5e87be369c5364df1f25ea1d2ab41c
7
+ data.tar.gz: 32eb961e391035af210e061005826e258f3e2ef21a9de79f2a16334bf0afbbb3e4c215c64eb1ed2b2f4b23cbb23a75d14efae789b2512ade49ea827d9c5dfeb2
@@ -16,7 +16,7 @@ class Shoptet
16
16
  request[key] = value
17
17
  end
18
18
 
19
- response = handle_connections_errors { http.request(request) }
19
+ response = handle_connection_errors { http.request(request) }
20
20
  parsed_body = JSON.parse(response.body)
21
21
 
22
22
  unless parsed_body
@@ -32,7 +32,7 @@ class Shoptet
32
32
  request.set_form_data(body)
33
33
 
34
34
  response = Net::HTTP.start(url.host, url.port, use_ssl: true) do |http|
35
- handle_connections_errors { http.request(request) }
35
+ handle_connection_errors { http.request(request) }
36
36
  end
37
37
 
38
38
  JSON.parse(response.body)
@@ -50,7 +50,7 @@ class Shoptet
50
50
  end
51
51
 
52
52
  response = Net::HTTP.start(url.host, url.port, use_ssl: true) do |http|
53
- handle_connections_errors { http.request(request) }
53
+ handle_connection_errors { http.request(request) }
54
54
  end
55
55
 
56
56
  JSON.parse(response.body)
@@ -63,7 +63,7 @@ class Shoptet
63
63
  end
64
64
 
65
65
  response = Net::HTTP.start(url.host, url.port, use_ssl: true) do |http|
66
- handle_connections_errors { http.request(request) }
66
+ handle_connection_errors { http.request(request) }
67
67
  end
68
68
 
69
69
  JSON.parse(response.body)
data/lib/shoptet.rb CHANGED
@@ -26,7 +26,7 @@ class Shoptet
26
26
  end
27
27
 
28
28
  def self.version
29
- '0.0.40'
29
+ '0.0.41'
30
30
  end
31
31
 
32
32
  def self.ar_on_token_error(model)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoptet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.40
4
+ version: 0.0.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Premysl Donat