shoptet 0.0.32 → 0.0.33

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: d8ebaa8244bc4a4cba5afd3a9bb1347cb0cc96b9b74d91831b683a130278a417
4
- data.tar.gz: 17327086963c82f18cb128ed71bd8e00ea5c1d965c7d018357a21efa8c6acb91
3
+ metadata.gz: 39a9609c9d76f20a78afdbb77a8d776804a3ac85f3a83c49296455ea51a001ff
4
+ data.tar.gz: f7368c759f78aa2868e949869bbcc812a5416ccfbafb05b97ae8f7c2a2e6d51a
5
5
  SHA512:
6
- metadata.gz: c56de1c106ae2a1d2d78379d05bdd4abd812a814cc1257613541563929dcad4b5385bed7713b07568692007ee4569549d5cd2667f15e12c90615ff87a454c650
7
- data.tar.gz: 520e8120f0b7837d088cbd0ac96061879d5fb794fe2aa4f4d4ee9bbb427fd7d60111374daed8c71faa90e97490e9a7e648eae55ac65a5c3d40d70254d1582f70
6
+ metadata.gz: 89c4a47b8458bde5dae9b1e1a0531b926618fa12d4614719775b5c1e01d38d091b2215d9d449fec9425b5124f3cf5355ccfd18bc22e25bac64066a00b66ed024
7
+ data.tar.gz: 72641fd75d6533cff81902dc2573d7cfb7f15bf3bcc470050a5c3e750f74cae7b6bc1a71a057673b44f4a90f162804ca036f931f8f327799e7ada2ed978367ed
data/lib/shoptet.rb CHANGED
@@ -23,7 +23,7 @@ class Shoptet
23
23
  end
24
24
 
25
25
  def self.version
26
- '0.0.32'
26
+ '0.0.33'
27
27
  end
28
28
 
29
29
  def self.ar_on_token_error(model)
@@ -6,10 +6,10 @@ class Shoptet
6
6
  def self.get url, headers
7
7
  http = Net::HTTP.new(url.host, url.port)
8
8
  http.use_ssl = true
9
- http.open_timeout = 5
10
- http.read_timeout = 5
11
- http.write_timeout = 5
12
- http.ssl_timeout = 5
9
+ http.open_timeout = 30
10
+ http.read_timeout = 30
11
+ http.write_timeout = 30
12
+ http.ssl_timeout = 30
13
13
 
14
14
  request = Net::HTTP::Get.new(url)
15
15
  headers.each do |key, value|
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.32
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Premysl Donat