unsavory 1.3 → 1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/unsavory +2 -2
- metadata +5 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 92cf8eafa325240bed7a4d7df4bef979b0cd216f
|
|
4
|
+
data.tar.gz: 3769a17db5f9d3baee2a060c13c96af552891bbb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db549c469cc2e2a66eb1525911a726bb623e6756ccd693a7c52446ac5edbe4593ccab19a4fde1097c4941b90ffe9cc505240972b10bab8fbaaec5537a1c35a26
|
|
7
|
+
data.tar.gz: 3c191a5e9b889f94360d50f2fba388a1d25f69160ad7af430cb8753f8bdc5f8eae788e68cf4d41f3529f52121c4b1efefb6a63209a01e2ecb9db80ec15a0b349
|
data/bin/unsavory
CHANGED
|
@@ -31,11 +31,11 @@ if opts[:dry_run]
|
|
|
31
31
|
puts "You are using dry run mode. No links will be deleted!\n\n"
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
pbar = ProgressBar.
|
|
34
|
+
pbar = ProgressBar.create(:title => "Checking", :total => urls.size)
|
|
35
35
|
moved = 0
|
|
36
36
|
|
|
37
37
|
urls.each do |url|
|
|
38
|
-
pbar.
|
|
38
|
+
pbar.increment
|
|
39
39
|
delete = false
|
|
40
40
|
use_ssl = false
|
|
41
41
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: unsavory
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '1.
|
|
4
|
+
version: '1.4'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Kohl
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-01-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
33
|
+
version: 1.8.1
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version:
|
|
40
|
+
version: 1.8.1
|
|
41
41
|
description: unsavory is a little Ruby script which checks your Pinboard bookmarks
|
|
42
42
|
for dead links (ENOENT or HTTP status code 404) and removes them. Additionally it
|
|
43
43
|
will also inform you about links which return a status code other than 200 (OK).
|
|
@@ -71,9 +71,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
71
71
|
version: '0'
|
|
72
72
|
requirements: []
|
|
73
73
|
rubyforge_project:
|
|
74
|
-
rubygems_version: 2.2
|
|
74
|
+
rubygems_version: 2.5.2
|
|
75
75
|
signing_key:
|
|
76
76
|
specification_version: 4
|
|
77
77
|
summary: Removes outdated links from your Pinboard bookmarks
|
|
78
78
|
test_files: []
|
|
79
|
-
has_rdoc: false
|