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.
Files changed (99) hide show
  1. data/README.rdoc +8 -2
  2. data/Rakefile +6 -3
  3. data/{share → data}/schemas/frameset.dtd +0 -0
  4. data/{share → data}/schemas/loose.dtd +0 -0
  5. data/{share → data}/schemas/strict.dtd +0 -0
  6. data/{share → data}/schemas/xframes-1.xsd +0 -0
  7. data/{share → data}/schemas/xhtml-access-1.xsd +0 -0
  8. data/{share → data}/schemas/xhtml-applet-1.xsd +0 -0
  9. data/{share → data}/schemas/xhtml-attribs-1.xsd +0 -0
  10. data/{share → data}/schemas/xhtml-base-1.xsd +0 -0
  11. data/{share → data}/schemas/xhtml-basic-form-1.xsd +0 -0
  12. data/{share → data}/schemas/xhtml-basic-table-1.xsd +0 -0
  13. data/{share → data}/schemas/xhtml-basic10-model-1.xsd +0 -0
  14. data/{share → data}/schemas/xhtml-basic10-module-redefines-1.xsd +0 -0
  15. data/{share → data}/schemas/xhtml-basic10-modules-1.xsd +0 -0
  16. data/{share → data}/schemas/xhtml-basic10.xsd +0 -0
  17. data/{share → data}/schemas/xhtml-basic11-model-1.xsd +0 -0
  18. data/{share → data}/schemas/xhtml-basic11-modules-1.xsd +0 -0
  19. data/{share → data}/schemas/xhtml-basic11.dtd +0 -0
  20. data/{share → data}/schemas/xhtml-basic11.xsd +0 -0
  21. data/{share → data}/schemas/xhtml-bdo-1.xsd +0 -0
  22. data/{share → data}/schemas/xhtml-blkphras-1.xsd +0 -0
  23. data/{share → data}/schemas/xhtml-blkpres-1.xsd +0 -0
  24. data/{share → data}/schemas/xhtml-blkstruct-1.xsd +0 -0
  25. data/{share → data}/schemas/xhtml-charent-1.xsd +0 -0
  26. data/{share → data}/schemas/xhtml-copyright-1.xsd +0 -0
  27. data/{share → data}/schemas/xhtml-csismap-1.xsd +0 -0
  28. data/{share → data}/schemas/xhtml-datatypes-1.xsd +0 -0
  29. data/{share → data}/schemas/xhtml-edit-1.xsd +0 -0
  30. data/{share → data}/schemas/xhtml-events-1.xsd +0 -0
  31. data/{share → data}/schemas/xhtml-form-1.xsd +0 -0
  32. data/{share → data}/schemas/xhtml-frames-1.xsd +0 -0
  33. data/{share → data}/schemas/xhtml-framework-1.xsd +0 -0
  34. data/{share → data}/schemas/xhtml-hypertext-1.xsd +0 -0
  35. data/{share → data}/schemas/xhtml-iframe-1.xsd +0 -0
  36. data/{share → data}/schemas/xhtml-image-1.xsd +0 -0
  37. data/{share → data}/schemas/xhtml-inlphras-1.xsd +0 -0
  38. data/{share → data}/schemas/xhtml-inlpres-1.xsd +0 -0
  39. data/{share → data}/schemas/xhtml-inlstruct-1.xsd +0 -0
  40. data/{share → data}/schemas/xhtml-inlstyle-1.xsd +0 -0
  41. data/{share → data}/schemas/xhtml-inputmode-1.xsd +0 -0
  42. data/{share → data}/schemas/xhtml-lat1.ent +0 -0
  43. data/{share → data}/schemas/xhtml-legacy-1.xsd +0 -0
  44. data/{share → data}/schemas/xhtml-link-1.xsd +0 -0
  45. data/{share → data}/schemas/xhtml-list-1.xsd +0 -0
  46. data/{share → data}/schemas/xhtml-meta-1.xsd +0 -0
  47. data/{share → data}/schemas/xhtml-metaAttributes-1.xsd +0 -0
  48. data/{share → data}/schemas/xhtml-misc-1.xsd +0 -0
  49. data/{share → data}/schemas/xhtml-nameident-1.xsd +0 -0
  50. data/{share → data}/schemas/xhtml-notations-1.xsd +0 -0
  51. data/{share → data}/schemas/xhtml-object-1.xsd +0 -0
  52. data/{share → data}/schemas/xhtml-param-1.xsd +0 -0
  53. data/{share → data}/schemas/xhtml-pres-1.xsd +0 -0
  54. data/{share → data}/schemas/xhtml-print-1.xsd +0 -0
  55. data/{share → data}/schemas/xhtml-print-model-1.xsd +0 -0
  56. data/{share → data}/schemas/xhtml-print-modules-1.xsd +0 -0
  57. data/{share → data}/schemas/xhtml-rdfa-1.dtd +0 -0
  58. data/{share → data}/schemas/xhtml-rdfa-1.xsd +0 -0
  59. data/{share → data}/schemas/xhtml-rdfa-model-1.xsd +0 -0
  60. data/{share → data}/schemas/xhtml-rdfa-modules-1.xsd +0 -0
  61. data/{share → data}/schemas/xhtml-ruby-1.xsd +0 -0
  62. data/{share → data}/schemas/xhtml-ruby-basic-1.xsd +0 -0
  63. data/{share → data}/schemas/xhtml-script-1.xsd +0 -0
  64. data/{share → data}/schemas/xhtml-special.ent +0 -0
  65. data/{share → data}/schemas/xhtml-ssismap-1.xsd +0 -0
  66. data/{share → data}/schemas/xhtml-struct-1.xsd +0 -0
  67. data/{share → data}/schemas/xhtml-style-1.xsd +0 -0
  68. data/{share → data}/schemas/xhtml-symbol.ent +0 -0
  69. data/{share → data}/schemas/xhtml-table-1.xsd +0 -0
  70. data/{share → data}/schemas/xhtml-target-1.xsd +0 -0
  71. data/{share → data}/schemas/xhtml-text-1.xsd +0 -0
  72. data/{share → data}/schemas/xhtml1-frameset.dtd +0 -0
  73. data/{share → data}/schemas/xhtml1-frameset.xsd +0 -0
  74. data/{share → data}/schemas/xhtml1-strict.dtd +0 -0
  75. data/{share → data}/schemas/xhtml1-strict.xsd +0 -0
  76. data/{share → data}/schemas/xhtml1-transitional.dtd +0 -0
  77. data/{share → data}/schemas/xhtml1-transitional.xsd +0 -0
  78. data/{share → data}/schemas/xhtml11-model-1.xsd +0 -0
  79. data/{share → data}/schemas/xhtml11-module-redefines-1.xsd +0 -0
  80. data/{share → data}/schemas/xhtml11-modules-1.xsd +0 -0
  81. data/{share → data}/schemas/xhtml11.xsd +0 -0
  82. data/{share → data}/schemas/xhtml2.xsd +0 -0
  83. data/{share → data}/schemas/xml-events-1.xsd +0 -0
  84. data/{share → data}/schemas/xml-events-2.xsd +0 -0
  85. data/{share → data}/schemas/xml-events-attribs-1.xsd +0 -0
  86. data/{share → data}/schemas/xml-events-attribs-2.xsd +0 -0
  87. data/{share → data}/schemas/xml-events-copyright-1.xsd +0 -0
  88. data/{share → data}/schemas/xml-events-copyright-2.xsd +0 -0
  89. data/{share → data}/schemas/xml-handlers-1.xsd +0 -0
  90. data/{share → data}/schemas/xml-handlers-2.xsd +0 -0
  91. data/{share → data}/schemas/xml-script-1.xsd +0 -0
  92. data/{share → data}/schemas/xml.xsd +0 -0
  93. data/lib/validate_website/core.rb +16 -1
  94. data/lib/validate_website/option_parser.rb +11 -0
  95. data/lib/validate_website/runner.rb +18 -3
  96. data/lib/validate_website/validator.rb +1 -1
  97. data/man/man1/validate-website-static.1 +13 -3
  98. data/man/man1/validate-website.1 +3 -3
  99. metadata +101 -100
@@ -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
- validate-website-static check the markup validity of your local documents.
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.0'
10
+ PKG_VERSION = '0.6.1'
11
11
 
12
12
  PKG_FILES = ['README.rdoc', 'Rakefile', 'LICENSE']
13
- Find.find('bin/', 'lib/', 'man/', 'spec/', 'share/') do |f|
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(:spec) do |spec|
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
@@ -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 = :crawl)
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
- files = Dir.glob(validate_website.options[:pattern])
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
- validate_website.validate(doc, body, f)
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__), '..', '..', 'share', 'schemas')
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: 12/24/2010
5
+ .\" Date: 04/11/2011
6
6
  .\" Manual: \ \&
7
7
  .\" Source: \ \&
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "VALIDATE\-WEBSITE\-S" "1" "12/24/2010" "\ \&" "\ \&"
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\-2010 Laurent Arnoud <laurent@spkdev\&.net>
92
+ Copyright (c) 2009\-2011 Laurent Arnoud <laurent@spkdev\&.net>
@@ -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: 12/10/2010
5
+ .\" Date: 04/11/2011
6
6
  .\" Manual: \ \&
7
7
  .\" Source: \ \&
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "VALIDATE\-WEBSITE" "1" "12/10/2010" "\ \&" "\ \&"
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\-2010 Laurent Arnoud <laurent@spkdev\&.net>
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: 7
5
- prerelease: false
4
+ hash: 5
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
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: 2010-12-26 00:00:00 +01:00
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
- - share/schemas/xhtml-blkphras-1.xsd
116
- - share/schemas/xhtml1-transitional.xsd
117
- - share/schemas/xhtml1-strict.xsd
118
- - share/schemas/xhtml-blkstruct-1.xsd
119
- - share/schemas/xhtml11-modules-1.xsd
120
- - share/schemas/xhtml-blkpres-1.xsd
121
- - share/schemas/xhtml-basic11.dtd
122
- - share/schemas/xhtml-inlpres-1.xsd
123
- - share/schemas/xhtml-inlphras-1.xsd
124
- - share/schemas/xhtml-misc-1.xsd
125
- - share/schemas/xhtml-symbol.ent
126
- - share/schemas/xhtml1-frameset.xsd
127
- - share/schemas/xhtml-meta-1.xsd
128
- - share/schemas/xhtml1-frameset.dtd
129
- - share/schemas/xml-events-copyright-2.xsd
130
- - share/schemas/xml-handlers-2.xsd
131
- - share/schemas/xhtml-object-1.xsd
132
- - share/schemas/xhtml-bdo-1.xsd
133
- - share/schemas/frameset.dtd
134
- - share/schemas/xml-events-1.xsd
135
- - share/schemas/loose.dtd
136
- - share/schemas/xhtml-basic10-model-1.xsd
137
- - share/schemas/xhtml-table-1.xsd
138
- - share/schemas/xhtml2.xsd
139
- - share/schemas/xhtml-print-model-1.xsd
140
- - share/schemas/xhtml-rdfa-1.xsd
141
- - share/schemas/xhtml-basic-form-1.xsd
142
- - share/schemas/xhtml-inputmode-1.xsd
143
- - share/schemas/xhtml-ssismap-1.xsd
144
- - share/schemas/xhtml-basic10-modules-1.xsd
145
- - share/schemas/xhtml-events-1.xsd
146
- - share/schemas/xhtml-form-1.xsd
147
- - share/schemas/xhtml-struct-1.xsd
148
- - share/schemas/xml-script-1.xsd
149
- - share/schemas/xhtml-print-modules-1.xsd
150
- - share/schemas/xhtml-basic10.xsd
151
- - share/schemas/xframes-1.xsd
152
- - share/schemas/xhtml-rdfa-1.dtd
153
- - share/schemas/xhtml-datatypes-1.xsd
154
- - share/schemas/xhtml-pres-1.xsd
155
- - share/schemas/xhtml-charent-1.xsd
156
- - share/schemas/xhtml1-transitional.dtd
157
- - share/schemas/xhtml-access-1.xsd
158
- - share/schemas/xhtml-target-1.xsd
159
- - share/schemas/xhtml-param-1.xsd
160
- - share/schemas/xhtml-special.ent
161
- - share/schemas/xhtml-legacy-1.xsd
162
- - share/schemas/xhtml-frames-1.xsd
163
- - share/schemas/xhtml11-model-1.xsd
164
- - share/schemas/xhtml-inlstyle-1.xsd
165
- - share/schemas/xhtml-text-1.xsd
166
- - share/schemas/xhtml1-strict.dtd
167
- - share/schemas/xhtml-list-1.xsd
168
- - share/schemas/xhtml-framework-1.xsd
169
- - share/schemas/xml-events-copyright-1.xsd
170
- - share/schemas/xhtml-print-1.xsd
171
- - share/schemas/xml-events-2.xsd
172
- - share/schemas/xhtml-applet-1.xsd
173
- - share/schemas/xhtml-style-1.xsd
174
- - share/schemas/xhtml-base-1.xsd
175
- - share/schemas/xhtml-nameident-1.xsd
176
- - share/schemas/xhtml-iframe-1.xsd
177
- - share/schemas/xhtml-inlstruct-1.xsd
178
- - share/schemas/xhtml-notations-1.xsd
179
- - share/schemas/xhtml11-module-redefines-1.xsd
180
- - share/schemas/xhtml-basic11-modules-1.xsd
181
- - share/schemas/xml-events-attribs-2.xsd
182
- - share/schemas/xhtml-rdfa-model-1.xsd
183
- - share/schemas/xhtml-script-1.xsd
184
- - share/schemas/xhtml-hypertext-1.xsd
185
- - share/schemas/xhtml-rdfa-modules-1.xsd
186
- - share/schemas/xhtml-image-1.xsd
187
- - share/schemas/xml.xsd
188
- - share/schemas/xhtml-ruby-basic-1.xsd
189
- - share/schemas/xhtml-basic11.xsd
190
- - share/schemas/xml-handlers-1.xsd
191
- - share/schemas/xml-events-attribs-1.xsd
192
- - share/schemas/xhtml-link-1.xsd
193
- - share/schemas/xhtml-metaAttributes-1.xsd
194
- - share/schemas/xhtml-basic-table-1.xsd
195
- - share/schemas/xhtml-csismap-1.xsd
196
- - share/schemas/xhtml-basic11-model-1.xsd
197
- - share/schemas/xhtml-copyright-1.xsd
198
- - share/schemas/xhtml-basic10-module-redefines-1.xsd
199
- - share/schemas/strict.dtd
200
- - share/schemas/xhtml-edit-1.xsd
201
- - share/schemas/xhtml11.xsd
202
- - share/schemas/xhtml-lat1.ent
203
- - share/schemas/xhtml-attribs-1.xsd
204
- - share/schemas/xhtml-ruby-1.xsd
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.3.7
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