unsavory 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +2 -1
  2. data/bin/unsavory +2 -1
  3. metadata +44 -59
data/README.rdoc CHANGED
@@ -34,7 +34,8 @@ Any link that returns an HTTP status code of 404 will be deleted without warning
34
34
 
35
35
  == Todo
36
36
 
37
- # None at the moment.
37
+ # Write tests.
38
+ # Use tests to clean up code.
38
39
 
39
40
  == Author
40
41
 
data/bin/unsavory CHANGED
@@ -50,7 +50,8 @@ pbar = ProgressBar.new("URLs", urls.size)
50
50
 
51
51
  urls.each_with_index do |url, idx|
52
52
  pbar.inc
53
- uri = URI.parse(url)
53
+ # Hackety fix for #1
54
+ uri = URI.parse(url) rescue next
54
55
  response = nil
55
56
 
56
57
  begin
metadata CHANGED
@@ -1,96 +1,81 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: unsavory
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 0
8
- - 0
9
- version: 1.0.0
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 1.0.1
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Michael Kohl
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2011-03-11 00:00:00 +01:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-02-11 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ type: :runtime
21
16
  name: httparty
22
17
  prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 0.4.3
24
23
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- - 4
31
- - 3
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ! '>='
27
+ - !ruby/object:Gem::Version
32
28
  version: 0.4.3
29
+ none: false
30
+ - !ruby/object:Gem::Dependency
33
31
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
32
  name: progressbar
37
33
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: 0.9.0
39
39
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- segments:
44
- - 0
45
- - 9
46
- - 0
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
47
44
  version: 0.9.0
48
- type: :runtime
49
- version_requirements: *id002
45
+ none: false
50
46
  description:
51
47
  email: citizen428@gmail.com
52
- executables:
48
+ executables:
53
49
  - unsavory
54
50
  extensions: []
55
-
56
51
  extra_rdoc_files: []
57
-
58
- files:
52
+ files:
59
53
  - lib/pinboard.rb
60
54
  - bin/unsavory
61
55
  - ./LICENSE
62
56
  - ./README.rdoc
63
- has_rdoc: true
64
57
  homepage: http://github.com/citizen428/unsavory
65
58
  licenses: []
66
-
67
59
  post_install_message:
68
60
  rdoc_options: []
69
-
70
- require_paths:
61
+ require_paths:
71
62
  - lib
72
- required_ruby_version: !ruby/object:Gem::Requirement
63
+ required_ruby_version: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
73
68
  none: false
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- segments:
78
- - 0
79
- version: "0"
80
- required_rubygems_version: !ruby/object:Gem::Requirement
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ! '>='
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
81
74
  none: false
82
- requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- segments:
86
- - 0
87
- version: "0"
88
75
  requirements: []
89
-
90
76
  rubyforge_project:
91
- rubygems_version: 1.3.7
77
+ rubygems_version: 1.8.23
92
78
  signing_key:
93
79
  specification_version: 3
94
80
  summary: Removes outdated links from your Pinboard bookmarks
95
81
  test_files: []
96
-