bbc_standards 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
@@ -5,5 +5,5 @@ require 'bbc_standards/validator'
5
5
  require 'bbc_standards/rspec'
6
6
 
7
7
  module BBCStandards
8
- VERSION = '0.1.0'
8
+ VERSION = '0.1.1'
9
9
  end
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.0
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: 2009-12-23 00:00:00 +00:00
12
+ date: 2010-01-07 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency