nsrr 7.0.0 → 8.0.0

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: b433dcda839233f397d05a81a4ce0c49adde566947eb34c96c29c543553528fa
4
- data.tar.gz: a40cc44ea9962d07fe5f9a80a2811ccf19b94bd26419021b71c1363dac365c92
3
+ metadata.gz: 4b100c526a2c495b60d331025f5d41a7b42c7665483198feaf75f7cf1b02790a
4
+ data.tar.gz: 22fc81dc33d64b6bd080003269115153094fbaec519ac8f0b4cfabeb8b4a0fcf
5
5
  SHA512:
6
- metadata.gz: 5f7612061deeb3b32302a93bf4635c885e180635069c79856c0fa4603b115ba5d890b1d0f45774a0bfe65b24b4da1ee219208674b02f3df73e32ab022d472fc4
7
- data.tar.gz: 6c98712083ec799a08f4fc32b1f07a1f8760f3d5046da7f96575e579d6f8fa8e4b38964f0ea8d003e0619b074d85aa86de81065df1ac0554450868b388322eb8
6
+ metadata.gz: 4128e2ab10af765f53ebb7f78aa2ec1404ad3b70b66a4dccf464ca3e451ca6e6f33c08920f785a02e691b33a9455d3b49e204cc51ffa5bf609f46467b553f806
7
+ data.tar.gz: 906cacc94f180fab43e6adeafc76534dfd414b73e8c31bda2e045e2b5126b4d599114c5a1582112503b0bc3ef3fec8c10f81a69c8fc89ea8f38d9cadeecd5d29
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 8.0.0 (August 7, 2021)
2
+
3
+ ### Bug Fix
4
+ - Fixed a bug that prevented folders and files with spaces in their paths from
5
+ being downloaded
6
+
1
7
  ## 7.0.0 (April 18, 2021)
2
8
 
3
9
  ### Enhancements
@@ -17,7 +17,7 @@ module Nsrr
17
17
  attr_reader :url, :error, :file_size
18
18
 
19
19
  def initialize(url, download_folder)
20
- @url = URI.parse(url)
20
+ @url = URI.parse(url.gsub(/\s/, "%20"))
21
21
  @http = Net::HTTP.new(@url.host, @url.port)
22
22
  if @url.scheme == "https"
23
23
  @http.use_ssl = true
data/lib/nsrr/version.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Nsrr
4
4
  module VERSION #:nodoc:
5
- MAJOR = 7
5
+ MAJOR = 8
6
6
  MINOR = 0
7
7
  TINY = 0
8
8
  BUILD = nil # "pre", "beta1", "beta2", "rc", "rc2", nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nsrr
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Remo Mueller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-18 00:00:00.000000000 Z
11
+ date: 2021-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler