pulse-downloader 0.1.8 → 0.1.9

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: 436723a4794bf433393fee28354ab8651f4d53117659fc78b135e0908aa0cace
4
- data.tar.gz: b0e43da3b2388d7b61490f667597ac9cdc75ef54f6aea9f132132ff9e54b8af1
3
+ metadata.gz: b6062b23861d00bffe9abfa30adefc1acd6e4e585bd6d8d5b088abb413602a7f
4
+ data.tar.gz: 97dade0776f86e397c334fb82dbe242edfd9fb0431bb322c46decede8a0437f8
5
5
  SHA512:
6
- metadata.gz: 7ce6dd19019b842cda6d133c85ffcb8cb707593c329bccd68b3e67c0494ea74ff0ae01459f10cda843876dc55e5de5091849f1de7dd0997edaa127f339e7d107
7
- data.tar.gz: 70a51cb0da1d1614f04f89a6bfef195f8cbd5b8a582fcab39a3d4bddd0053b256ae1006417aff91560298578a195d3501b44e5ffd319d47ce307337baad17d99
6
+ metadata.gz: 3e3846244c78ba9d90ab37a19c5fde92618ebf3db1f52b68e7b50a2bbcfd9233b45fd154e26fd788361588c7737e7bcc04200920e8132d9aadefe9d3799864e6
7
+ data.tar.gz: 181ab8446777a7be665d20aac80b284b5c197d710cca5a11b58066a049b143dfaf974931d7ef60c98ec6742a935333232f80b9756a7d6ad3318aaa0ead2c531e
@@ -26,6 +26,7 @@ module Pulse
26
26
  # TODO: Retry
27
27
  # TODO: DNS
28
28
  # TODO: Multiple filetypes
29
+ # TODO: lib/pulse/downloader/file_downloader.rb:13: warning: URI.escape is obsolete
29
30
  def initialize(url:,
30
31
  file_type:,
31
32
  save_data: false,
@@ -10,7 +10,7 @@ module Pulse
10
10
  private
11
11
 
12
12
  def compute_save_path(url)
13
- "#{save_path}/#{compute_filename(url)}".gsub('//', '/')
13
+ "#{save_path}/#{compute_filename(url)}".gsub('//', '/').gsub(' ', '')
14
14
  end
15
15
 
16
16
  def compute_filename(file_path)
@@ -1,5 +1,5 @@
1
1
  module Pulse
2
2
  module Downloader
3
- VERSION = "0.1.8"
3
+ VERSION = "0.1.9"
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.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - trex22