bbc_standards 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bbc_standards/validator.rb +3 -0
- data/lib/bbc_standards.rb +1 -1
- metadata +2 -2
@@ -6,6 +6,9 @@ module BBCStandards
|
|
6
6
|
|
7
7
|
def initialize(xml)
|
8
8
|
@xml = xml
|
9
|
+
# TODO: remove this once Barlesque sorts out the BBC Search form
|
10
|
+
@xml.sub!('<form method="get" action="http://search.bbc.co.uk/search" accept-charset="utf-8"><fieldset><input',
|
11
|
+
'<form method="get" action="http://search.bbc.co.uk/search" accept-charset="utf-8"><fieldset><legend>foo</legend><input')
|
9
12
|
@doc = Nokogiri::HTML(xml)
|
10
13
|
@errors = []
|
11
14
|
validate
|
data/lib/bbc_standards.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bbc_standards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Sinclair
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-07 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|