pulse-downloader 0.1.7 → 0.1.8

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: 5ae10b909855b29f8c3f0cd5b4c2bd38ee83fc69761ae7e109411b85add11957
4
- data.tar.gz: 7eedaf2bc8852e66a7db83a1830f2d369683092293ae16255b3c26746d69a32f
3
+ metadata.gz: 436723a4794bf433393fee28354ab8651f4d53117659fc78b135e0908aa0cace
4
+ data.tar.gz: b0e43da3b2388d7b61490f667597ac9cdc75ef54f6aea9f132132ff9e54b8af1
5
5
  SHA512:
6
- metadata.gz: f02637f88ecb337014b6141c4855540cf72a6c52c5123f528999590ec5f0c88a21da7a1e01c3c968c7d823b7da7240f63c433610da4fec947a4331d78a8c5f0f
7
- data.tar.gz: a4d222d168bcec0388c535749fd44f30616458fdb798a44a4229004c56bf6298ee6a4ba388e01afbc4fbccad1390f0cbaad0d618a441e134f6e870e39a77feb0
6
+ metadata.gz: 7ce6dd19019b842cda6d133c85ffcb8cb707593c329bccd68b3e67c0494ea74ff0ae01459f10cda843876dc55e5de5091849f1de7dd0997edaa127f339e7d107
7
+ data.tar.gz: 70a51cb0da1d1614f04f89a6bfef195f8cbd5b8a582fcab39a3d4bddd0053b256ae1006417aff91560298578a195d3501b44e5ffd319d47ce307337baad17d99
@@ -25,6 +25,7 @@ module Pulse
25
25
  # TODO: Validation
26
26
  # TODO: Retry
27
27
  # TODO: DNS
28
+ # TODO: Multiple filetypes
28
29
  def initialize(url:,
29
30
  file_type:,
30
31
  save_data: false,
@@ -10,7 +10,7 @@ module Pulse
10
10
 
11
11
  @start_time = get_micro_second_time
12
12
 
13
- file_data = HTTParty.get(compute_file_link(file_path), verify: verify_ssl)
13
+ file_data = HTTParty.get(URI.escape(compute_file_link(file_path)), verify: verify_ssl)
14
14
 
15
15
  @end_time = get_micro_second_time
16
16
 
@@ -1,5 +1,5 @@
1
1
  module Pulse
2
2
  module Downloader
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulse-downloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - trex22