udup 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/udup/main.rb +2 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89618f0c392c4453c2eb610564b86b4e9cd34c590ccacd9513293f8ed2f3b95b
4
- data.tar.gz: 9628469e7b5ee5932144129d47570c4242d050cc2d5fee85ce285978735570e2
3
+ metadata.gz: 20ee3984f04fb5fe081bee65ec87de8a3bd438f1c11a5ce3633b19be4d19c385
4
+ data.tar.gz: 50cb8645139050e85171cc9299872729e7a04d8c1f9c8f62df05832b7b920e30
5
5
  SHA512:
6
- metadata.gz: c41ee00088458438c81b7109bfbee966fe1c17c872d109d3295fdcb29bf3564522b808eed87bf68dfe596487cf6ebef6ec6ec6f204189bd3a9783ebf4c98054a
7
- data.tar.gz: be12f5d9d105e6287884edf006ec5d8440e55bb65d77acc2fcb118d894517999e83039c8e3e2974e52ec0a00a53d9e924b717a08d6e018270f34adf93c4038ab
6
+ metadata.gz: 3458241d00c36a56921b5446db20277a60e7cbd78a99089ddb54934b871bed1541c268b6c8aa76f24472c1a89c9bf2042037c81368ba5bc1bad4b4bbb19ca2dd
7
+ data.tar.gz: a971306b5b88ab86022555b9a93229f7d7d1ccc5c004986a28aee64d699bd580cacb167b4277fdd6ea053e8d596a5ea1940cf7c41706f0e06ed4d7a659e13fc6
data/lib/udup/main.rb CHANGED
@@ -15,6 +15,8 @@ class Udup
15
15
  final_urls = Set[]
16
16
 
17
17
  urls.each do |url|
18
+ next unless url.start_with?('http')
19
+
18
20
  begin
19
21
  uri = URI.parse(url)
20
22
  rescue URI::InvalidURIError
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: udup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua MARTINELLE