validate-website 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +8 -2
- data/Rakefile +6 -3
- data/{share → data}/schemas/frameset.dtd +0 -0
- data/{share → data}/schemas/loose.dtd +0 -0
- data/{share → data}/schemas/strict.dtd +0 -0
- data/{share → data}/schemas/xframes-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-access-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-applet-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-attribs-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-base-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-basic-form-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-basic-table-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-basic10-model-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-basic10-module-redefines-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-basic10-modules-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-basic10.xsd +0 -0
- data/{share → data}/schemas/xhtml-basic11-model-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-basic11-modules-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-basic11.dtd +0 -0
- data/{share → data}/schemas/xhtml-basic11.xsd +0 -0
- data/{share → data}/schemas/xhtml-bdo-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-blkphras-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-blkpres-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-blkstruct-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-charent-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-copyright-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-csismap-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-datatypes-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-edit-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-events-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-form-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-frames-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-framework-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-hypertext-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-iframe-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-image-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-inlphras-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-inlpres-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-inlstruct-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-inlstyle-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-inputmode-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-lat1.ent +0 -0
- data/{share → data}/schemas/xhtml-legacy-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-link-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-list-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-meta-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-metaAttributes-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-misc-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-nameident-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-notations-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-object-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-param-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-pres-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-print-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-print-model-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-print-modules-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-rdfa-1.dtd +0 -0
- data/{share → data}/schemas/xhtml-rdfa-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-rdfa-model-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-rdfa-modules-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-ruby-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-ruby-basic-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-script-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-special.ent +0 -0
- data/{share → data}/schemas/xhtml-ssismap-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-struct-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-style-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-symbol.ent +0 -0
- data/{share → data}/schemas/xhtml-table-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-target-1.xsd +0 -0
- data/{share → data}/schemas/xhtml-text-1.xsd +0 -0
- data/{share → data}/schemas/xhtml1-frameset.dtd +0 -0
- data/{share → data}/schemas/xhtml1-frameset.xsd +0 -0
- data/{share → data}/schemas/xhtml1-strict.dtd +0 -0
- data/{share → data}/schemas/xhtml1-strict.xsd +0 -0
- data/{share → data}/schemas/xhtml1-transitional.dtd +0 -0
- data/{share → data}/schemas/xhtml1-transitional.xsd +0 -0
- data/{share → data}/schemas/xhtml11-model-1.xsd +0 -0
- data/{share → data}/schemas/xhtml11-module-redefines-1.xsd +0 -0
- data/{share → data}/schemas/xhtml11-modules-1.xsd +0 -0
- data/{share → data}/schemas/xhtml11.xsd +0 -0
- data/{share → data}/schemas/xhtml2.xsd +0 -0
- data/{share → data}/schemas/xml-events-1.xsd +0 -0
- data/{share → data}/schemas/xml-events-2.xsd +0 -0
- data/{share → data}/schemas/xml-events-attribs-1.xsd +0 -0
- data/{share → data}/schemas/xml-events-attribs-2.xsd +0 -0
- data/{share → data}/schemas/xml-events-copyright-1.xsd +0 -0
- data/{share → data}/schemas/xml-events-copyright-2.xsd +0 -0
- data/{share → data}/schemas/xml-handlers-1.xsd +0 -0
- data/{share → data}/schemas/xml-handlers-2.xsd +0 -0
- data/{share → data}/schemas/xml-script-1.xsd +0 -0
- data/{share → data}/schemas/xml.xsd +0 -0
- data/lib/validate_website/core.rb +16 -1
- data/lib/validate_website/option_parser.rb +11 -0
- data/lib/validate_website/runner.rb +18 -3
- data/lib/validate_website/validator.rb +1 -1
- data/man/man1/validate-website-static.1 +13 -3
- data/man/man1/validate-website.1 +3 -3
- metadata +101 -100
data/README.rdoc
CHANGED
@@ -18,8 +18,10 @@
|
|
18
18
|
== DESCRIPTION
|
19
19
|
|
20
20
|
validate-website is a web crawler for checking the markup validity and not
|
21
|
-
found urls.
|
22
|
-
|
21
|
+
found urls (more info doc/validate-website.txt).
|
22
|
+
|
23
|
+
validate-website-static check the markup validity of your local documents
|
24
|
+
(more info doc/validate-website-static.txt).
|
23
25
|
|
24
26
|
== VALIDATE WEBSITE OPTIONS
|
25
27
|
|
@@ -66,6 +68,10 @@ validate-website-static check the markup validity of your local documents.
|
|
66
68
|
* Thanks tenderlove for Nokogiri, this tool is inspired from markup_validity.
|
67
69
|
* And Chris Kite for Anemone web-spider framework.
|
68
70
|
|
71
|
+
== CONTRIBUTORS
|
72
|
+
|
73
|
+
* François de Metz (francois2metz)
|
74
|
+
|
69
75
|
== LICENSE
|
70
76
|
The MIT License
|
71
77
|
|
data/Rakefile
CHANGED
@@ -7,10 +7,10 @@ require "rspec/core/rake_task" # RSpec 2.0
|
|
7
7
|
# Globals
|
8
8
|
|
9
9
|
PKG_NAME = 'validate-website'
|
10
|
-
PKG_VERSION = '0.6.
|
10
|
+
PKG_VERSION = '0.6.1'
|
11
11
|
|
12
12
|
PKG_FILES = ['README.rdoc', 'Rakefile', 'LICENSE']
|
13
|
-
Find.find('bin/', 'lib/', 'man/', 'spec/', '
|
13
|
+
Find.find('bin/', 'lib/', 'man/', 'spec/', 'data/') do |f|
|
14
14
|
if FileTest.directory?(f) and f =~ /\.svn|\.git/
|
15
15
|
Find.prune
|
16
16
|
else
|
@@ -43,6 +43,7 @@ spec = Gem::Specification.new do |s|
|
|
43
43
|
s.summary = 'Web crawler for checking the validity of your documents'
|
44
44
|
s.name = PKG_NAME
|
45
45
|
s.version = PKG_VERSION
|
46
|
+
s.license = 'MIT'
|
46
47
|
s.requirements << 'anemone' << 'rainbow'
|
47
48
|
s.add_dependency('anemone', '>= 0.5.0')
|
48
49
|
s.add_dependency('rainbow', '>= 1.1')
|
@@ -55,6 +56,7 @@ spec = Gem::Specification.new do |s|
|
|
55
56
|
s.files = PKG_FILES
|
56
57
|
s.description = 'validate-website is a web crawler for checking the markup' +
|
57
58
|
'validity and not found urls.'
|
59
|
+
s.test_files = Dir.glob('spec/*_spec.rb')
|
58
60
|
end
|
59
61
|
|
60
62
|
Rake::GemPackageTask.new(spec) do |pkg|
|
@@ -68,7 +70,8 @@ task :manpage do
|
|
68
70
|
end
|
69
71
|
|
70
72
|
# RSpec 2.0
|
71
|
-
RSpec::Core::RakeTask.new(:
|
73
|
+
RSpec::Core::RakeTask.new(:test) do |spec|
|
72
74
|
spec.pattern = 'spec/*_spec.rb'
|
73
75
|
spec.rspec_opts = ['--backtrace']
|
74
76
|
end
|
77
|
+
task :spec => :test
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -22,7 +22,7 @@ module ValidateWebsite
|
|
22
22
|
EXIT_FAILURE_NOT_FOUND = 65
|
23
23
|
EXIT_FAILURE_MARKUP_NOT_FOUND = 66
|
24
24
|
|
25
|
-
def initialize(options={}, validation_type
|
25
|
+
def initialize(options={}, validation_type=:crawl)
|
26
26
|
@markup_error = nil
|
27
27
|
@not_found_error = nil
|
28
28
|
|
@@ -108,6 +108,21 @@ module ValidateWebsite
|
|
108
108
|
end
|
109
109
|
end
|
110
110
|
|
111
|
+
# check files linked on static document
|
112
|
+
# see lib/validate_website/runner.rb
|
113
|
+
def check_static_not_found(links, opts={})
|
114
|
+
opts = @options.merge(opts)
|
115
|
+
if opts[:not_found]
|
116
|
+
links.each do |l|
|
117
|
+
unless File.exists?(l.path)
|
118
|
+
@not_found_error = true
|
119
|
+
puts error("%s linked but not exist" % l)
|
120
|
+
to_file(l)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
111
126
|
def exit_status
|
112
127
|
if @markup_error && @not_found_error
|
113
128
|
EXIT_FAILURE_MARKUP_NOT_FOUND
|
@@ -26,6 +26,9 @@ module ValidateWebsite
|
|
26
26
|
:file => nil,
|
27
27
|
:validate_verbose => false,
|
28
28
|
:quiet => false,
|
29
|
+
:markup_validation => true,
|
30
|
+
# log not found url (not on filesystem, pwd considered as root « / »)
|
31
|
+
:not_found => false,
|
29
32
|
}
|
30
33
|
|
31
34
|
def self.parse(options, type)
|
@@ -117,6 +120,14 @@ module ValidateWebsite
|
|
117
120
|
"Save not well formed urls") { |v|
|
118
121
|
options[:file] = v
|
119
122
|
}
|
123
|
+
o.on("-m", "--[no-]markup-validation",
|
124
|
+
"Markup validation (Default: #{@@default_opts[:markup_validation]})") { |v|
|
125
|
+
options[:markup_validation] = v
|
126
|
+
}
|
127
|
+
o.on("-n", "--not-found",
|
128
|
+
"Log files not on filesystem, pwd considered as root « / » (Default: #{@@default_opts[:not_found]})") { |v|
|
129
|
+
options[:not_found] = v
|
130
|
+
}
|
120
131
|
o.on("-v", "--verbose",
|
121
132
|
"Show validator errors (Default: #{@@default_opts[:validate_verbose]})") { |v|
|
122
133
|
options[:validate_verbose] = v
|
@@ -19,16 +19,31 @@ module ValidateWebsite
|
|
19
19
|
def self.run_static(args)
|
20
20
|
trap_interrupt
|
21
21
|
validate_website = ValidateWebsite::Core.new(args, :static)
|
22
|
-
|
23
|
-
|
22
|
+
opts = validate_website.options
|
23
|
+
links = []
|
24
|
+
files = Dir.glob(opts[:pattern])
|
24
25
|
files.each do |f|
|
25
26
|
next unless File.file?(f)
|
26
27
|
|
27
28
|
body = open(f).read
|
28
29
|
doc = Nokogiri::HTML(body)
|
29
30
|
|
30
|
-
|
31
|
+
if opts[:not_found]
|
32
|
+
doc.search("//a[@href]").each do |a|
|
33
|
+
u = a['href']
|
34
|
+
next if u.nil? || u.empty?
|
35
|
+
next if u.match(/^https?:\/\//)
|
36
|
+
abs = URI(File.join(Dir.getwd, u)) rescue next
|
37
|
+
links << abs if abs.host.nil?
|
38
|
+
end
|
39
|
+
links.uniq!
|
40
|
+
end
|
41
|
+
|
42
|
+
if opts[:markup_validation]
|
43
|
+
validate_website.validate(doc, body, f)
|
44
|
+
end
|
31
45
|
end
|
46
|
+
validate_website.check_static_not_found(links)
|
32
47
|
validate_website.exit_status
|
33
48
|
end
|
34
49
|
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
module ValidateWebsite
|
4
4
|
class Validator
|
5
|
-
XHTML_PATH = File.join(File.dirname(__FILE__), '..', '..', '
|
5
|
+
XHTML_PATH = File.join(File.dirname(__FILE__), '..', '..', 'data', 'schemas')
|
6
6
|
|
7
7
|
attr_reader :original_doc, :body, :dtd, :doc, :namespace, :xsd, :errors
|
8
8
|
|
@@ -2,12 +2,12 @@
|
|
2
2
|
.\" Title: validate-website-static
|
3
3
|
.\" Author: [see the "AUTHOR" section]
|
4
4
|
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
5
|
-
.\" Date:
|
5
|
+
.\" Date: 04/11/2011
|
6
6
|
.\" Manual: \ \&
|
7
7
|
.\" Source: \ \&
|
8
8
|
.\" Language: English
|
9
9
|
.\"
|
10
|
-
.TH "VALIDATE\-WEBSITE\-S" "1" "
|
10
|
+
.TH "VALIDATE\-WEBSITE\-S" "1" "04/11/2011" "\ \&" "\ \&"
|
11
11
|
.\" -----------------------------------------------------------------
|
12
12
|
.\" * Define some portability stuff
|
13
13
|
.\" -----------------------------------------------------------------
|
@@ -47,6 +47,16 @@ Change filenames pattern (Default: **/*\&.html)
|
|
47
47
|
Save not well formed urls
|
48
48
|
.RE
|
49
49
|
.PP
|
50
|
+
\fB\-m\fR, \fB\-\-[no\-]markup\-validation\fR
|
51
|
+
.RS 4
|
52
|
+
Markup validation (Default: true)
|
53
|
+
.RE
|
54
|
+
.PP
|
55
|
+
\fB\-n\fR, \fB\-\-not\-found\fR
|
56
|
+
.RS 4
|
57
|
+
Log files not on filesystem, pwd considered as root \(Fo / \(Fc (Default: false)
|
58
|
+
.RE
|
59
|
+
.PP
|
50
60
|
\fB\-v\fR, \fB\-\-verbose\fR
|
51
61
|
.RS 4
|
52
62
|
Show detail of validator errors (Default: false)\&.
|
@@ -79,4 +89,4 @@ Laurent Arnoud <laurent@spkdev\&.net>
|
|
79
89
|
.sp
|
80
90
|
The MIT License
|
81
91
|
.sp
|
82
|
-
Copyright (c) 2009\-
|
92
|
+
Copyright (c) 2009\-2011 Laurent Arnoud <laurent@spkdev\&.net>
|
data/man/man1/validate-website.1
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
.\" Title: validate-website
|
3
3
|
.\" Author: [see the "AUTHOR" section]
|
4
4
|
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
5
|
-
.\" Date:
|
5
|
+
.\" Date: 04/11/2011
|
6
6
|
.\" Manual: \ \&
|
7
7
|
.\" Source: \ \&
|
8
8
|
.\" Language: English
|
9
9
|
.\"
|
10
|
-
.TH "VALIDATE\-WEBSITE" "1" "
|
10
|
+
.TH "VALIDATE\-WEBSITE" "1" "04/11/2011" "\ \&" "\ \&"
|
11
11
|
.\" -----------------------------------------------------------------
|
12
12
|
.\" * Define some portability stuff
|
13
13
|
.\" -----------------------------------------------------------------
|
@@ -121,4 +121,4 @@ Laurent Arnoud <laurent@spkdev\&.net>
|
|
121
121
|
.sp
|
122
122
|
The MIT License
|
123
123
|
.sp
|
124
|
-
Copyright (c) 2009\-
|
124
|
+
Copyright (c) 2009\-2011 Laurent Arnoud <laurent@spkdev\&.net>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: validate-website
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 5
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 1
|
10
|
+
version: 0.6.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Laurent Arnoud
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-04-11 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -112,100 +112,100 @@ files:
|
|
112
112
|
- spec/data/html5.html
|
113
113
|
- spec/data/xhtml1-strict.html
|
114
114
|
- spec/fakeweb_helper.rb
|
115
|
-
-
|
116
|
-
-
|
117
|
-
-
|
118
|
-
-
|
119
|
-
-
|
120
|
-
-
|
121
|
-
-
|
122
|
-
-
|
123
|
-
-
|
124
|
-
-
|
125
|
-
-
|
126
|
-
-
|
127
|
-
-
|
128
|
-
-
|
129
|
-
-
|
130
|
-
-
|
131
|
-
-
|
132
|
-
-
|
133
|
-
-
|
134
|
-
-
|
135
|
-
-
|
136
|
-
-
|
137
|
-
-
|
138
|
-
-
|
139
|
-
-
|
140
|
-
-
|
141
|
-
-
|
142
|
-
-
|
143
|
-
-
|
144
|
-
-
|
145
|
-
-
|
146
|
-
-
|
147
|
-
-
|
148
|
-
-
|
149
|
-
-
|
150
|
-
-
|
151
|
-
-
|
152
|
-
-
|
153
|
-
-
|
154
|
-
-
|
155
|
-
-
|
156
|
-
-
|
157
|
-
-
|
158
|
-
-
|
159
|
-
-
|
160
|
-
-
|
161
|
-
-
|
162
|
-
-
|
163
|
-
-
|
164
|
-
-
|
165
|
-
-
|
166
|
-
-
|
167
|
-
-
|
168
|
-
-
|
169
|
-
-
|
170
|
-
-
|
171
|
-
-
|
172
|
-
-
|
173
|
-
-
|
174
|
-
-
|
175
|
-
-
|
176
|
-
-
|
177
|
-
-
|
178
|
-
-
|
179
|
-
-
|
180
|
-
-
|
181
|
-
-
|
182
|
-
-
|
183
|
-
-
|
184
|
-
-
|
185
|
-
-
|
186
|
-
-
|
187
|
-
-
|
188
|
-
-
|
189
|
-
-
|
190
|
-
-
|
191
|
-
-
|
192
|
-
-
|
193
|
-
-
|
194
|
-
-
|
195
|
-
-
|
196
|
-
-
|
197
|
-
-
|
198
|
-
-
|
199
|
-
-
|
200
|
-
-
|
201
|
-
-
|
202
|
-
-
|
203
|
-
-
|
204
|
-
-
|
115
|
+
- data/schemas/xhtml-blkphras-1.xsd
|
116
|
+
- data/schemas/xhtml1-transitional.xsd
|
117
|
+
- data/schemas/xhtml1-strict.xsd
|
118
|
+
- data/schemas/xhtml-blkstruct-1.xsd
|
119
|
+
- data/schemas/xhtml11-modules-1.xsd
|
120
|
+
- data/schemas/xhtml-blkpres-1.xsd
|
121
|
+
- data/schemas/xhtml-basic11.dtd
|
122
|
+
- data/schemas/xhtml-inlpres-1.xsd
|
123
|
+
- data/schemas/xhtml-inlphras-1.xsd
|
124
|
+
- data/schemas/xhtml-misc-1.xsd
|
125
|
+
- data/schemas/xhtml-symbol.ent
|
126
|
+
- data/schemas/xhtml1-frameset.xsd
|
127
|
+
- data/schemas/xhtml-meta-1.xsd
|
128
|
+
- data/schemas/xhtml1-frameset.dtd
|
129
|
+
- data/schemas/xml-events-copyright-2.xsd
|
130
|
+
- data/schemas/xml-handlers-2.xsd
|
131
|
+
- data/schemas/xhtml-object-1.xsd
|
132
|
+
- data/schemas/xhtml-bdo-1.xsd
|
133
|
+
- data/schemas/frameset.dtd
|
134
|
+
- data/schemas/xml-events-1.xsd
|
135
|
+
- data/schemas/loose.dtd
|
136
|
+
- data/schemas/xhtml-basic10-model-1.xsd
|
137
|
+
- data/schemas/xhtml-table-1.xsd
|
138
|
+
- data/schemas/xhtml2.xsd
|
139
|
+
- data/schemas/xhtml-print-model-1.xsd
|
140
|
+
- data/schemas/xhtml-rdfa-1.xsd
|
141
|
+
- data/schemas/xhtml-basic-form-1.xsd
|
142
|
+
- data/schemas/xhtml-inputmode-1.xsd
|
143
|
+
- data/schemas/xhtml-ssismap-1.xsd
|
144
|
+
- data/schemas/xhtml-basic10-modules-1.xsd
|
145
|
+
- data/schemas/xhtml-events-1.xsd
|
146
|
+
- data/schemas/xhtml-form-1.xsd
|
147
|
+
- data/schemas/xhtml-struct-1.xsd
|
148
|
+
- data/schemas/xml-script-1.xsd
|
149
|
+
- data/schemas/xhtml-print-modules-1.xsd
|
150
|
+
- data/schemas/xhtml-basic10.xsd
|
151
|
+
- data/schemas/xframes-1.xsd
|
152
|
+
- data/schemas/xhtml-rdfa-1.dtd
|
153
|
+
- data/schemas/xhtml-datatypes-1.xsd
|
154
|
+
- data/schemas/xhtml-pres-1.xsd
|
155
|
+
- data/schemas/xhtml-charent-1.xsd
|
156
|
+
- data/schemas/xhtml1-transitional.dtd
|
157
|
+
- data/schemas/xhtml-access-1.xsd
|
158
|
+
- data/schemas/xhtml-target-1.xsd
|
159
|
+
- data/schemas/xhtml-param-1.xsd
|
160
|
+
- data/schemas/xhtml-special.ent
|
161
|
+
- data/schemas/xhtml-legacy-1.xsd
|
162
|
+
- data/schemas/xhtml-frames-1.xsd
|
163
|
+
- data/schemas/xhtml11-model-1.xsd
|
164
|
+
- data/schemas/xhtml-inlstyle-1.xsd
|
165
|
+
- data/schemas/xhtml-text-1.xsd
|
166
|
+
- data/schemas/xhtml1-strict.dtd
|
167
|
+
- data/schemas/xhtml-list-1.xsd
|
168
|
+
- data/schemas/xhtml-framework-1.xsd
|
169
|
+
- data/schemas/xml-events-copyright-1.xsd
|
170
|
+
- data/schemas/xhtml-print-1.xsd
|
171
|
+
- data/schemas/xml-events-2.xsd
|
172
|
+
- data/schemas/xhtml-applet-1.xsd
|
173
|
+
- data/schemas/xhtml-style-1.xsd
|
174
|
+
- data/schemas/xhtml-base-1.xsd
|
175
|
+
- data/schemas/xhtml-nameident-1.xsd
|
176
|
+
- data/schemas/xhtml-iframe-1.xsd
|
177
|
+
- data/schemas/xhtml-inlstruct-1.xsd
|
178
|
+
- data/schemas/xhtml-notations-1.xsd
|
179
|
+
- data/schemas/xhtml11-module-redefines-1.xsd
|
180
|
+
- data/schemas/xhtml-basic11-modules-1.xsd
|
181
|
+
- data/schemas/xml-events-attribs-2.xsd
|
182
|
+
- data/schemas/xhtml-rdfa-model-1.xsd
|
183
|
+
- data/schemas/xhtml-script-1.xsd
|
184
|
+
- data/schemas/xhtml-hypertext-1.xsd
|
185
|
+
- data/schemas/xhtml-rdfa-modules-1.xsd
|
186
|
+
- data/schemas/xhtml-image-1.xsd
|
187
|
+
- data/schemas/xml.xsd
|
188
|
+
- data/schemas/xhtml-ruby-basic-1.xsd
|
189
|
+
- data/schemas/xhtml-basic11.xsd
|
190
|
+
- data/schemas/xml-handlers-1.xsd
|
191
|
+
- data/schemas/xml-events-attribs-1.xsd
|
192
|
+
- data/schemas/xhtml-link-1.xsd
|
193
|
+
- data/schemas/xhtml-metaAttributes-1.xsd
|
194
|
+
- data/schemas/xhtml-basic-table-1.xsd
|
195
|
+
- data/schemas/xhtml-csismap-1.xsd
|
196
|
+
- data/schemas/xhtml-basic11-model-1.xsd
|
197
|
+
- data/schemas/xhtml-copyright-1.xsd
|
198
|
+
- data/schemas/xhtml-basic10-module-redefines-1.xsd
|
199
|
+
- data/schemas/strict.dtd
|
200
|
+
- data/schemas/xhtml-edit-1.xsd
|
201
|
+
- data/schemas/xhtml11.xsd
|
202
|
+
- data/schemas/xhtml-lat1.ent
|
203
|
+
- data/schemas/xhtml-attribs-1.xsd
|
204
|
+
- data/schemas/xhtml-ruby-1.xsd
|
205
205
|
has_rdoc: true
|
206
206
|
homepage: http://github.com/spk/validate-website
|
207
|
-
licenses:
|
208
|
-
|
207
|
+
licenses:
|
208
|
+
- MIT
|
209
209
|
post_install_message:
|
210
210
|
rdoc_options: []
|
211
211
|
|
@@ -233,9 +233,10 @@ requirements:
|
|
233
233
|
- anemone
|
234
234
|
- rainbow
|
235
235
|
rubyforge_project:
|
236
|
-
rubygems_version: 1.
|
236
|
+
rubygems_version: 1.6.2
|
237
237
|
signing_key:
|
238
238
|
specification_version: 3
|
239
239
|
summary: Web crawler for checking the validity of your documents
|
240
|
-
test_files:
|
241
|
-
|
240
|
+
test_files:
|
241
|
+
- spec/core_spec.rb
|
242
|
+
- spec/validator_spec.rb
|