validate-website 0.7.6 → 0.7.7

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  === Debian
6
6
 
7
- aptitude install rubygems ruby1.8-dev libxslt-dev libxml2-dev
7
+ aptitude install rubygems ruby-dev libxslt-dev libxml2-dev
8
8
 
9
9
  === RubyGems
10
10
 
@@ -105,8 +105,10 @@ validation service.
105
105
  == CONTRIBUTORS
106
106
 
107
107
  * François de Metz (francois2metz)
108
+ * Bruno Michel (nono)
109
+ * Matt Brictson (mbrictson)
108
110
 
109
111
  == LICENSE
110
112
  The MIT License
111
113
 
112
- Copyright (c) 2009-2011 Laurent Arnoud <laurent@spkdev.net>
114
+ Copyright (c) 2009-2012 Laurent Arnoud <laurent@spkdev.net>
@@ -132,6 +132,11 @@ module ValidateWebsite
132
132
  "Save not well formed urls") { |v|
133
133
  options[:file] = v
134
134
  }
135
+ o.on("-i", "--ignore-errors 'IGNORE'", String,
136
+ "Validation errors to ignore (regex)") { |v|
137
+ options[:ignore_errors] = v
138
+ }
139
+
135
140
  o.on("-m", "--[no-]markup-validation",
136
141
  "Markup validation (Default: #{@@default_opts[:markup_validation]})") { |v|
137
142
  options[:markup_validation] = v
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validate-website
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-18 00:00:00.000000000 Z
12
+ date: 2012-07-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: anemone
16
- requirement: &12974460 !ruby/object:Gem::Requirement
16
+ requirement: &27685000 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.6.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *12974460
24
+ version_requirements: *27685000
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rainbow
27
- requirement: &12973920 !ruby/object:Gem::Requirement
27
+ requirement: &27683920 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.1.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *12973920
35
+ version_requirements: *27683920
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: multipart_body
38
- requirement: &12973460 !ruby/object:Gem::Requirement
38
+ requirement: &27683420 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.2.1
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *12973460
46
+ version_requirements: *27683420
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
- requirement: &12972980 !ruby/object:Gem::Requirement
49
+ requirement: &27682940 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.8.7
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *12972980
57
+ version_requirements: *27682940
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: minitest
60
- requirement: &12972520 !ruby/object:Gem::Requirement
60
+ requirement: &27682280 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 2.1.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *12972520
68
+ version_requirements: *27682280
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: fakeweb
71
- requirement: &12972040 !ruby/object:Gem::Requirement
71
+ requirement: &27681620 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: 1.3.0
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *12972040
79
+ version_requirements: *27681620
80
80
  description: validate-website is a web crawler for checking the markup validity with
81
81
  XML Schema / DTD and not found urls.
82
82
  email: laurent@spkdev.net
@@ -234,3 +234,4 @@ summary: Web crawler for checking the validity of your documents
234
234
  test_files:
235
235
  - spec/validator_spec.rb
236
236
  - spec/core_spec.rb
237
+ has_rdoc: