Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

renaming info files

  • Loading branch information...
commit 9697d50a7adbbfb459740fc5f228a5bbcc6b1fca 1 parent 563e7a0
@tenderlove authored
View
0  History.txt → CHANGELOG.rdoc
File renamed without changes
View
16 Manifest.txt
@@ -1,9 +1,17 @@
.autotest
-History.txt
+CHANGELOG.rdoc
Manifest.txt
-README.txt
+README.rdoc
Rakefile
lib/markup_validity.rb
-lib/xhtml1-transitional.xsd
-lib/xml.xsd
+lib/markup_validity/assertions.rb
+lib/markup_validity/rspec.rb
+lib/markup_validity/validator.rb
+lib/markup_validity/xhtml1-strict.xsd
+lib/markup_validity/xhtml1-transitional.xsd
+lib/markup_validity/xml.xsd
+spec/matcher_spec.rb
+test/assets/order.xml
+test/assets/shipment.xsd
+test/helper.rb
test/test_markup_validity.rb
View
0  README.txt → README.rdoc
File renamed without changes
View
5 Rakefile
@@ -9,7 +9,10 @@ require 'markup_validity'
Hoe.new('markup_validity', MarkupValidity::VERSION) do |p|
p.developer('Aaron Patterson', 'aaronp@rubyforge.org')
- p.extra_deps = [['nokogiri', '>= 1.3.1']]
+ p.readme_file = 'README.rdoc'
+ p.history_file = 'CHANGELOG.rdoc'
+ p.extra_rdoc_files = FileList['*.rdoc']
+ p.extra_deps = [['nokogiri', '>= 1.3.1']]
end
# vim: syntax=Ruby
View
6 lib/markup_validity/rspec.rb
@@ -1,5 +1,7 @@
module Spec
module Matchers
+ ###
+ # Assert that something is XHTML transitional
def be_xhtml_transitional
Matcher.new :be_xhtml_transitional do
validator = nil
@@ -15,6 +17,8 @@ def be_xhtml_transitional
end
alias :be_xhtml :be_xhtml_transitional
+ ###
+ # Assert that something is XHTML strict
def be_xhtml_strict
Matcher.new :be_xhtml_strict do
validator = nil
@@ -32,6 +36,8 @@ def be_xhtml_strict
end
end
+ ###
+ # Assert that something validates given +schema+
def be_valid_with_schema schema
Matcher.new :be_xhtml_strict, schema do |_schema_|
validator = nil
Please sign in to comment.
Something went wrong with that request. Please try again.