pulse-downloader 0.1.20 → 0.1.21

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: 8a2d2732c3a0307e7dffaf1ec3b60691e7b54ca3de4c4084325908f6fdf1b801
4
- data.tar.gz: 06b3a802a55f186f8fccceec0e29d6b6e3dbade7be776699a6a327ccacf68060
3
+ metadata.gz: db7034531cb0590f5975013cb817d4093d603d93a7d89d16d099203c063125f9
4
+ data.tar.gz: e6277a95389810ebcd11957645318daf6829d05d44bea2e73bd2b05fcdda56d1
5
5
  SHA512:
6
- metadata.gz: 27c5f745685fbb5b2c207113b4fe28eb97b8638551afb931e3be1e4d9f073c5959ba0cc1ed59db44fbdfaae26218840ca8663da95fba37ef7c0cf18a37f2aefc
7
- data.tar.gz: 3a06bbe0fafe7329eec9ba1d90e483da181f309915b06bfb67d49c3de9f1c96402047d775f672ed172979ca210d988e7063acd5c53860dc61bfcf508a6f64457
6
+ metadata.gz: 72109c3a8509f1da9f1d2c25c1958d8e5cc897e03224dda26ce6ae5da50ac96c754ec502fa44a2bbb8a1ae99fe34b30841f6eb2c3dfa64181f32b3b6c9866e9c
7
+ data.tar.gz: 780396541173f9fd8e1ce8044522bc876a3b55123adf169a8a62161252bf3e5905f09b38741c4faa70a064a8a89f01192005ff5a4ad924725b83a5b31c9ae9e1
@@ -1,5 +1,5 @@
1
1
  module Pulse
2
2
  module Downloader
3
- VERSION = "0.1.20"
3
+ VERSION = "0.1.21"
4
4
  end
5
5
  end
@@ -51,9 +51,7 @@ module Pulse
51
51
  end
52
52
 
53
53
  def add_base_url(str)
54
- unless str.include?('https://')
55
- str
56
- unless str.include?(base_url)
54
+ if !str.include?('https://') || !str.include?(base_url)
57
55
  "https://#{base_url}#{str}"
58
56
  else
59
57
  str
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.20
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - trex22