html_acceptance 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +5 -2
  2. data/VERSION +1 -1
  3. data/html_acceptance.gemspec +2 -2
  4. metadata +4 -4
data/README.rdoc CHANGED
@@ -10,7 +10,7 @@ any errors and warnings.
10
10
  == Usage:
11
11
 
12
12
  h=HTMLAcceptance.new('/tmp/validation')
13
- v=h.validator("<html>foo", 'http://somesite.com/index.html')
13
+ v=h.validator("<html>foo</html>", 'http://somesite.com/index.html')
14
14
 
15
15
  # Note: the second argument (resource) is just an identifier used to name our results files,
16
16
  # and that no data is actually retrieved for you from the URL.
@@ -25,8 +25,11 @@ any errors and warnings.
25
25
 
26
26
  v.accept!
27
27
 
28
- v.valid
28
+ v.valid?
29
29
  -> true
30
+
31
+ # Note that after the exceptions string has been accepted, the exceptions are still
32
+ # available in v.exceptions even though valid? will return true.
30
33
 
31
34
  == Accepting Errors
32
35
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{html_acceptance}
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Eric Beland"]
12
- s.date = %q{2011-02-16}
12
+ s.date = %q{2011-02-17}
13
13
  s.description = %q{HTML Acceptance lets you accept warnings/errors. Less noisey validation will hopefully let you build html validation into your test suite, but break the rules if you must.}
14
14
  s.email = %q{ebeland@testomatix.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_acceptance
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric Beland
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-16 00:00:00 -05:00
18
+ date: 2011-02-17 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency