grabzit 3.3.4 → 3.3.4.1

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
- SHA256:
3
- metadata.gz: b008159790031a6b48c83352122969f121af177dc29b54a8ac034aeaff45603c
4
- data.tar.gz: c84c76cd66c538b8dbd04225e546647ee065a938130337906bd94b3f70cd42f6
2
+ SHA1:
3
+ metadata.gz: e54b7a156348da8b07ac68291a087989bdda1a3d
4
+ data.tar.gz: add47bd227816eb7fff782c529712d053b74740b
5
5
  SHA512:
6
- metadata.gz: d104fd508dd7663e5eaa83f4c993f95512132ed07c2fb382c3dadb3d27707e76cab92c67748053369a754336846ec24564637d296681e4bd1e7e3febdb23ef31
7
- data.tar.gz: b98bc6ffcd76cef35caccf9a4bf76e015c8b2db001ef72f138abadf501d32fd52b4374580b9911096b80f2d43d8080f53a0c5feb2e820132c04f8946b8cc7789
6
+ metadata.gz: 797fd441594b640c6c85c3dbc63d9b9b271291b1c65351578767d31893063719f50dde9bfa7d59722f86292ab737223844f79744ef02e25ad3a8e58101cfc651
7
+ data.tar.gz: 942eaa771d1d3445a5a25d11efdd21f46e53c895fe9ff66eaaf350e89915ab53890f0fa9feb050a004e3036bdf259143e42f4bce566ad38dbf66fc54a83e5808
@@ -645,7 +645,7 @@ module GrabzIt
645
645
  private
646
646
  def get(url)
647
647
  uri = URI.parse(url)
648
- response = Net::HTTP.start(uri.host, uri.port, @proxy.host(), @proxy.port(), @proxy.username(), @proxy.password(), :use_ssl => uri.scheme == 'https') { |http| http.get(uri.request_uri) }
648
+ response = Net::HTTP.start(uri.host, uri.port, @proxy.host(), @proxy.port(), @proxy.username(), @proxy.password(), :use_ssl => uri.scheme == 'https', :read_timeout => 600) { |http| http.get(uri.request_uri) }
649
649
  response_check(response)
650
650
  return response.body
651
651
  end
@@ -654,7 +654,7 @@ module GrabzIt
654
654
  def post(url, params)
655
655
  headers = {'Content-Type' => 'application/x-www-form-urlencoded'}
656
656
  uri = URI.parse(url)
657
- response = Net::HTTP.start(uri.host, uri.port, @proxy.host(), @proxy.port(), @proxy.username(), @proxy.password(), :use_ssl => uri.scheme == 'https') { |http| http.post(uri.request_uri, params, headers) }
657
+ response = Net::HTTP.start(uri.host, uri.port, @proxy.host(), @proxy.port(), @proxy.username(), @proxy.password(), :use_ssl => uri.scheme == 'https', :read_timeout => 600) { |http| http.post(uri.request_uri, params, headers) }
658
658
  response_check(response)
659
659
  return response.body
660
660
  end
@@ -71,6 +71,7 @@ module GrabzIt
71
71
  PARAMETER_INVALID_NO_ADS = 172
72
72
  PARAMETER_INVALID_PROXY = 173
73
73
  PARAMETER_INVALID_NO_NOTIFY = 174
74
+ PARAMETER_INVALID_HD = 176
74
75
  NETWORK_SERVER_OFFLINE = 200
75
76
  NETWORK_GENERAL_ERROR = 201
76
77
  NETWORK_DDOS_ATTACK = 202
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grabzit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.4
4
+ version: 3.3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GrabzIt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-19 00:00:00.000000000 Z
11
+ date: 2019-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -71,7 +71,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.0.3
74
+ rubyforge_project:
75
+ rubygems_version: 2.4.5.2
75
76
  signing_key:
76
77
  specification_version: 4
77
78
  summary: GrabzIt Ruby Client