camelpunch-markup_validity 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/.autotest +23 -0
  2. data/CHANGELOG.rdoc +22 -0
  3. data/Manifest.txt +105 -0
  4. data/README.rdoc +101 -0
  5. data/Rakefile +15 -0
  6. data/lib/markup_validity.rb +12 -0
  7. data/lib/markup_validity/MarkUp.html +1095 -0
  8. data/lib/markup_validity/SCHEMA.html +90 -0
  9. data/lib/markup_validity/assertions.rb +32 -0
  10. data/lib/markup_validity/examples.html +25 -0
  11. data/lib/markup_validity/rspec.rb +77 -0
  12. data/lib/markup_validity/templates.html +15 -0
  13. data/lib/markup_validity/validator.rb +65 -0
  14. data/lib/markup_validity/xframes-1.xsd +166 -0
  15. data/lib/markup_validity/xhtml-access-1.xsd +43 -0
  16. data/lib/markup_validity/xhtml-applet-1.xsd +66 -0
  17. data/lib/markup_validity/xhtml-attribs-1.xsd +67 -0
  18. data/lib/markup_validity/xhtml-base-1.xsd +31 -0
  19. data/lib/markup_validity/xhtml-basic-form-1.xsd +195 -0
  20. data/lib/markup_validity/xhtml-basic-table-1.xsd +169 -0
  21. data/lib/markup_validity/xhtml-basic10-model-1.xsd +385 -0
  22. data/lib/markup_validity/xhtml-basic10-module-redefines-1.xsd +61 -0
  23. data/lib/markup_validity/xhtml-basic10-modules-1.xsd +233 -0
  24. data/lib/markup_validity/xhtml-basic10.xsd +99 -0
  25. data/lib/markup_validity/xhtml-basic11-model-1.xsd +622 -0
  26. data/lib/markup_validity/xhtml-basic11-modules-1.xsd +508 -0
  27. data/lib/markup_validity/xhtml-basic11.xsd +105 -0
  28. data/lib/markup_validity/xhtml-bdo-1.xsd +72 -0
  29. data/lib/markup_validity/xhtml-blkphras-1.xsd +155 -0
  30. data/lib/markup_validity/xhtml-blkpres-1.xsd +32 -0
  31. data/lib/markup_validity/xhtml-blkstruct-1.xsd +44 -0
  32. data/lib/markup_validity/xhtml-charent-1.xsd +38 -0
  33. data/lib/markup_validity/xhtml-copyright-1.xsd +29 -0
  34. data/lib/markup_validity/xhtml-csismap-1.xsd +91 -0
  35. data/lib/markup_validity/xhtml-datatypes-1.xsd +177 -0
  36. data/lib/markup_validity/xhtml-edit-1.xsd +34 -0
  37. data/lib/markup_validity/xhtml-events-1.xsd +130 -0
  38. data/lib/markup_validity/xhtml-form-1.xsd +321 -0
  39. data/lib/markup_validity/xhtml-frames-1.xsd +113 -0
  40. data/lib/markup_validity/xhtml-framework-1.xsd +62 -0
  41. data/lib/markup_validity/xhtml-hypertext-1.xsd +47 -0
  42. data/lib/markup_validity/xhtml-iframe-1.xsd +68 -0
  43. data/lib/markup_validity/xhtml-image-1.xsd +40 -0
  44. data/lib/markup_validity/xhtml-inlphras-1.xsd +158 -0
  45. data/lib/markup_validity/xhtml-inlpres-1.xsd +34 -0
  46. data/lib/markup_validity/xhtml-inlstruct-1.xsd +45 -0
  47. data/lib/markup_validity/xhtml-inlstyle-1.xsd +22 -0
  48. data/lib/markup_validity/xhtml-inputmode-1.xsd +35 -0
  49. data/lib/markup_validity/xhtml-lat1.ent +196 -0
  50. data/lib/markup_validity/xhtml-legacy-1.xsd +97 -0
  51. data/lib/markup_validity/xhtml-link-1.xsd +45 -0
  52. data/lib/markup_validity/xhtml-list-1.xsd +94 -0
  53. data/lib/markup_validity/xhtml-meta-1.xsd +54 -0
  54. data/lib/markup_validity/xhtml-metaAttributes-1.xsd +39 -0
  55. data/lib/markup_validity/xhtml-misc-1.xsd +441 -0
  56. data/lib/markup_validity/xhtml-nameident-1.xsd +63 -0
  57. data/lib/markup_validity/xhtml-notations-1.xsd +69 -0
  58. data/lib/markup_validity/xhtml-object-1.xsd +71 -0
  59. data/lib/markup_validity/xhtml-param-1.xsd +46 -0
  60. data/lib/markup_validity/xhtml-pres-1.xsd +46 -0
  61. data/lib/markup_validity/xhtml-print-1.xsd +85 -0
  62. data/lib/markup_validity/xhtml-print-model-1.xsd +604 -0
  63. data/lib/markup_validity/xhtml-print-modules-1.xsd +422 -0
  64. data/lib/markup_validity/xhtml-rdfa-1.dtd +438 -0
  65. data/lib/markup_validity/xhtml-rdfa-1.xsd +116 -0
  66. data/lib/markup_validity/xhtml-rdfa-model-1.xsd +461 -0
  67. data/lib/markup_validity/xhtml-rdfa-modules-1.xsd +548 -0
  68. data/lib/markup_validity/xhtml-ruby-1.xsd +170 -0
  69. data/lib/markup_validity/xhtml-ruby-basic-1.xsd +84 -0
  70. data/lib/markup_validity/xhtml-script-1.xsd +65 -0
  71. data/lib/markup_validity/xhtml-special.ent +80 -0
  72. data/lib/markup_validity/xhtml-ssismap-1.xsd +38 -0
  73. data/lib/markup_validity/xhtml-struct-1.xsd +85 -0
  74. data/lib/markup_validity/xhtml-style-1.xsd +47 -0
  75. data/lib/markup_validity/xhtml-symbol.ent +237 -0
  76. data/lib/markup_validity/xhtml-table-1.xsd +267 -0
  77. data/lib/markup_validity/xhtml-target-1.xsd +49 -0
  78. data/lib/markup_validity/xhtml-text-1.xsd +62 -0
  79. data/lib/markup_validity/xhtml1-strict.dtd +978 -0
  80. data/lib/markup_validity/xhtml1-strict.xsd +2211 -0
  81. data/lib/markup_validity/xhtml1-transitional.dtd +1201 -0
  82. data/lib/markup_validity/xhtml1-transitional.xsd +2755 -0
  83. data/lib/markup_validity/xhtml11-model-1.xsd +715 -0
  84. data/lib/markup_validity/xhtml11-module-redefines-1.xsd +335 -0
  85. data/lib/markup_validity/xhtml11-modules-1.xsd +605 -0
  86. data/lib/markup_validity/xhtml11.xsd +107 -0
  87. data/lib/markup_validity/xhtml2.xsd +21 -0
  88. data/lib/markup_validity/xml-events-1.xsd +73 -0
  89. data/lib/markup_validity/xml-events-2.xsd +73 -0
  90. data/lib/markup_validity/xml-events-attribs-1.xsd +73 -0
  91. data/lib/markup_validity/xml-events-attribs-2.xsd +75 -0
  92. data/lib/markup_validity/xml-events-copyright-1.xsd +34 -0
  93. data/lib/markup_validity/xml-events-copyright-2.xsd +34 -0
  94. data/lib/markup_validity/xml-handlers-1.xsd +136 -0
  95. data/lib/markup_validity/xml-handlers-2.xsd +98 -0
  96. data/lib/markup_validity/xml-script-1.xsd +38 -0
  97. data/lib/markup_validity/xml.xsd +286 -0
  98. data/spec/matcher_spec.rb +55 -0
  99. data/test/assets/invalid_entity.xhtml +109 -0
  100. data/test/assets/invalid_entity_transitional.xhtml +109 -0
  101. data/test/assets/order.xml +24 -0
  102. data/test/assets/shipment.xsd +33 -0
  103. data/test/helper.rb +96 -0
  104. data/test/test_markup_validity.rb +105 -0
  105. metadata +198 -0
metadata ADDED
@@ -0,0 +1,198 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: camelpunch-markup_validity
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 1
8
+ - 1
9
+ version: 1.1.1
10
+ platform: ruby
11
+ authors:
12
+ - Aaron Patterson
13
+ - Andrew Bruce
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-03-09 00:00:00 +00:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: nokogiri
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 1
30
+ - 3
31
+ - 1
32
+ version: 1.3.1
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: hoe
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 1
44
+ - 12
45
+ - 2
46
+ version: 1.12.2
47
+ type: :development
48
+ version_requirements: *id002
49
+ description: MarkupValidity provides test/unit and rspec helpers for checking the validity of your documents. Shortcuts for verifying xhtml-transitional and xhtml-strict documents are provided as well. MarkupValidity will not only tell you when your document is invalid, but it will tell you what it *should* be.
50
+ email:
51
+ - aaronp@rubyforge.org
52
+ - andrew@camelpunch.com
53
+ executables: []
54
+
55
+ extensions: []
56
+
57
+ extra_rdoc_files:
58
+ - Manifest.txt
59
+ - README.rdoc
60
+ - CHANGELOG.rdoc
61
+ files:
62
+ - .autotest
63
+ - CHANGELOG.rdoc
64
+ - Manifest.txt
65
+ - README.rdoc
66
+ - Rakefile
67
+ - lib/markup_validity.rb
68
+ - lib/markup_validity/MarkUp.html
69
+ - lib/markup_validity/SCHEMA.html
70
+ - lib/markup_validity/assertions.rb
71
+ - lib/markup_validity/examples.html
72
+ - lib/markup_validity/rspec.rb
73
+ - lib/markup_validity/templates.html
74
+ - lib/markup_validity/validator.rb
75
+ - lib/markup_validity/xframes-1.xsd
76
+ - lib/markup_validity/xhtml-access-1.xsd
77
+ - lib/markup_validity/xhtml-applet-1.xsd
78
+ - lib/markup_validity/xhtml-attribs-1.xsd
79
+ - lib/markup_validity/xhtml-base-1.xsd
80
+ - lib/markup_validity/xhtml-basic-form-1.xsd
81
+ - lib/markup_validity/xhtml-basic-table-1.xsd
82
+ - lib/markup_validity/xhtml-basic10-model-1.xsd
83
+ - lib/markup_validity/xhtml-basic10-module-redefines-1.xsd
84
+ - lib/markup_validity/xhtml-basic10-modules-1.xsd
85
+ - lib/markup_validity/xhtml-basic10.xsd
86
+ - lib/markup_validity/xhtml-basic11-model-1.xsd
87
+ - lib/markup_validity/xhtml-basic11-modules-1.xsd
88
+ - lib/markup_validity/xhtml-basic11.xsd
89
+ - lib/markup_validity/xhtml-bdo-1.xsd
90
+ - lib/markup_validity/xhtml-blkphras-1.xsd
91
+ - lib/markup_validity/xhtml-blkpres-1.xsd
92
+ - lib/markup_validity/xhtml-blkstruct-1.xsd
93
+ - lib/markup_validity/xhtml-charent-1.xsd
94
+ - lib/markup_validity/xhtml-copyright-1.xsd
95
+ - lib/markup_validity/xhtml-csismap-1.xsd
96
+ - lib/markup_validity/xhtml-datatypes-1.xsd
97
+ - lib/markup_validity/xhtml-edit-1.xsd
98
+ - lib/markup_validity/xhtml-events-1.xsd
99
+ - lib/markup_validity/xhtml-form-1.xsd
100
+ - lib/markup_validity/xhtml-frames-1.xsd
101
+ - lib/markup_validity/xhtml-framework-1.xsd
102
+ - lib/markup_validity/xhtml-hypertext-1.xsd
103
+ - lib/markup_validity/xhtml-iframe-1.xsd
104
+ - lib/markup_validity/xhtml-image-1.xsd
105
+ - lib/markup_validity/xhtml-inlphras-1.xsd
106
+ - lib/markup_validity/xhtml-inlpres-1.xsd
107
+ - lib/markup_validity/xhtml-inlstruct-1.xsd
108
+ - lib/markup_validity/xhtml-inlstyle-1.xsd
109
+ - lib/markup_validity/xhtml-inputmode-1.xsd
110
+ - lib/markup_validity/xhtml-lat1.ent
111
+ - lib/markup_validity/xhtml-legacy-1.xsd
112
+ - lib/markup_validity/xhtml-link-1.xsd
113
+ - lib/markup_validity/xhtml-list-1.xsd
114
+ - lib/markup_validity/xhtml-meta-1.xsd
115
+ - lib/markup_validity/xhtml-metaAttributes-1.xsd
116
+ - lib/markup_validity/xhtml-misc-1.xsd
117
+ - lib/markup_validity/xhtml-nameident-1.xsd
118
+ - lib/markup_validity/xhtml-notations-1.xsd
119
+ - lib/markup_validity/xhtml-object-1.xsd
120
+ - lib/markup_validity/xhtml-param-1.xsd
121
+ - lib/markup_validity/xhtml-pres-1.xsd
122
+ - lib/markup_validity/xhtml-print-1.xsd
123
+ - lib/markup_validity/xhtml-print-model-1.xsd
124
+ - lib/markup_validity/xhtml-print-modules-1.xsd
125
+ - lib/markup_validity/xhtml-rdfa-1.dtd
126
+ - lib/markup_validity/xhtml-rdfa-1.xsd
127
+ - lib/markup_validity/xhtml-rdfa-model-1.xsd
128
+ - lib/markup_validity/xhtml-rdfa-modules-1.xsd
129
+ - lib/markup_validity/xhtml-ruby-1.xsd
130
+ - lib/markup_validity/xhtml-ruby-basic-1.xsd
131
+ - lib/markup_validity/xhtml-script-1.xsd
132
+ - lib/markup_validity/xhtml-special.ent
133
+ - lib/markup_validity/xhtml-ssismap-1.xsd
134
+ - lib/markup_validity/xhtml-struct-1.xsd
135
+ - lib/markup_validity/xhtml-style-1.xsd
136
+ - lib/markup_validity/xhtml-symbol.ent
137
+ - lib/markup_validity/xhtml-table-1.xsd
138
+ - lib/markup_validity/xhtml-target-1.xsd
139
+ - lib/markup_validity/xhtml-text-1.xsd
140
+ - lib/markup_validity/xhtml1-strict.dtd
141
+ - lib/markup_validity/xhtml1-strict.xsd
142
+ - lib/markup_validity/xhtml1-transitional.dtd
143
+ - lib/markup_validity/xhtml1-transitional.xsd
144
+ - lib/markup_validity/xhtml11-model-1.xsd
145
+ - lib/markup_validity/xhtml11-module-redefines-1.xsd
146
+ - lib/markup_validity/xhtml11-modules-1.xsd
147
+ - lib/markup_validity/xhtml11.xsd
148
+ - lib/markup_validity/xhtml2.xsd
149
+ - lib/markup_validity/xml-events-1.xsd
150
+ - lib/markup_validity/xml-events-2.xsd
151
+ - lib/markup_validity/xml-events-attribs-1.xsd
152
+ - lib/markup_validity/xml-events-attribs-2.xsd
153
+ - lib/markup_validity/xml-events-copyright-1.xsd
154
+ - lib/markup_validity/xml-events-copyright-2.xsd
155
+ - lib/markup_validity/xml-handlers-1.xsd
156
+ - lib/markup_validity/xml-handlers-2.xsd
157
+ - lib/markup_validity/xml-script-1.xsd
158
+ - lib/markup_validity/xml.xsd
159
+ - spec/matcher_spec.rb
160
+ - test/assets/invalid_entity.xhtml
161
+ - test/assets/invalid_entity_transitional.xhtml
162
+ - test/assets/order.xml
163
+ - test/assets/shipment.xsd
164
+ - test/helper.rb
165
+ - test/test_markup_validity.rb
166
+ has_rdoc: true
167
+ homepage: http://github.com/camelpunch/markup_validity
168
+ licenses: []
169
+
170
+ post_install_message:
171
+ rdoc_options:
172
+ - --main
173
+ - README.rdoc
174
+ require_paths:
175
+ - lib
176
+ required_ruby_version: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ segments:
181
+ - 0
182
+ version: "0"
183
+ required_rubygems_version: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ segments:
188
+ - 0
189
+ version: "0"
190
+ requirements: []
191
+
192
+ rubyforge_project: seattlerb
193
+ rubygems_version: 1.3.6
194
+ signing_key:
195
+ specification_version: 2
196
+ summary: MarkupValidity provides test/unit and rspec helpers for checking the validity of your documents
197
+ test_files:
198
+ - test/test_markup_validity.rb