bbc_data_service 1.8 → 1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module BBCDataService
2
- VERSION = "1.8"
2
+ VERSION = "1.9"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  module BBCDataService
2
2
  class XMLParser
3
3
  def self.parse_feed(app_fixture)
4
- return Nokogiri::Slop(File.open(app_fixture[:feed_url]))
4
+ return Nokogiri::XML(File.open(app_fixture[:feed_url]))
5
5
  end
6
6
  end
7
7
  end
@@ -52,7 +52,7 @@ describe BBCDataService::FixtureLoader do
52
52
 
53
53
  it "should allow parsing of XML" do
54
54
  object = BBCDataService::FixtureLoader.load_fixture(:xml_test)
55
- object.class.should == Nokogiri::HTML::Document
55
+ object.class.should == Nokogiri::XML::Document
56
56
  end
57
57
 
58
58
  it "should allow RDF to be filtered by mappings" do
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bbc_data_service
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
- - 8
9
- version: "1.8"
8
+ - 9
9
+ version: "1.9"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matthew Crouch
@@ -14,12 +14,10 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-11-01 00:00:00 Z
17
+ date: 2011-12-08 00:00:00 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
- name: sinatra
21
- prerelease: false
22
- requirement: &id001 !ruby/object:Gem::Requirement
20
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
21
  none: false
24
22
  requirements:
25
23
  - - ~>
@@ -30,12 +28,12 @@ dependencies:
30
28
  - 2
31
29
  - 6
32
30
  version: 1.2.6
31
+ requirement: *id001
33
32
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: activesupport
37
33
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
34
+ name: sinatra
35
+ - !ruby/object:Gem::Dependency
36
+ version_requirements: &id002 !ruby/object:Gem::Requirement
39
37
  none: false
40
38
  requirements:
41
39
  - - ~>
@@ -46,12 +44,12 @@ dependencies:
46
44
  - 1
47
45
  - 0
48
46
  version: 3.1.0
47
+ requirement: *id002
49
48
  type: :runtime
50
- version_requirements: *id002
51
- - !ruby/object:Gem::Dependency
52
- name: activemodel
53
49
  prerelease: false
54
- requirement: &id003 !ruby/object:Gem::Requirement
50
+ name: activesupport
51
+ - !ruby/object:Gem::Dependency
52
+ version_requirements: &id003 !ruby/object:Gem::Requirement
55
53
  none: false
56
54
  requirements:
57
55
  - - ~>
@@ -62,12 +60,12 @@ dependencies:
62
60
  - 1
63
61
  - 0
64
62
  version: 3.1.0
63
+ requirement: *id003
65
64
  type: :runtime
66
- version_requirements: *id003
67
- - !ruby/object:Gem::Dependency
68
- name: rdf-rdfxml
69
65
  prerelease: false
70
- requirement: &id004 !ruby/object:Gem::Requirement
66
+ name: activemodel
67
+ - !ruby/object:Gem::Dependency
68
+ version_requirements: &id004 !ruby/object:Gem::Requirement
71
69
  none: false
72
70
  requirements:
73
71
  - - ~>
@@ -78,12 +76,12 @@ dependencies:
78
76
  - 3
79
77
  - 4
80
78
  version: 0.3.4
79
+ requirement: *id004
81
80
  type: :runtime
82
- version_requirements: *id004
83
- - !ruby/object:Gem::Dependency
84
- name: rdf-json
85
81
  prerelease: false
86
- requirement: &id005 !ruby/object:Gem::Requirement
82
+ name: rdf-rdfxml
83
+ - !ruby/object:Gem::Dependency
84
+ version_requirements: &id005 !ruby/object:Gem::Requirement
87
85
  none: false
88
86
  requirements:
89
87
  - - ~>
@@ -94,12 +92,12 @@ dependencies:
94
92
  - 3
95
93
  - 0
96
94
  version: 0.3.0
95
+ requirement: *id005
97
96
  type: :runtime
98
- version_requirements: *id005
99
- - !ruby/object:Gem::Dependency
100
- name: nokogiri
101
97
  prerelease: false
102
- requirement: &id006 !ruby/object:Gem::Requirement
98
+ name: rdf-json
99
+ - !ruby/object:Gem::Dependency
100
+ version_requirements: &id006 !ruby/object:Gem::Requirement
103
101
  none: false
104
102
  requirements:
105
103
  - - "="
@@ -110,12 +108,12 @@ dependencies:
110
108
  - 5
111
109
  - 0
112
110
  version: 1.5.0
111
+ requirement: *id006
113
112
  type: :runtime
114
- version_requirements: *id006
115
- - !ruby/object:Gem::Dependency
116
- name: rspec
117
113
  prerelease: false
118
- requirement: &id007 !ruby/object:Gem::Requirement
114
+ name: nokogiri
115
+ - !ruby/object:Gem::Dependency
116
+ version_requirements: &id007 !ruby/object:Gem::Requirement
119
117
  none: false
120
118
  requirements:
121
119
  - - ~>
@@ -126,12 +124,12 @@ dependencies:
126
124
  - 6
127
125
  - 0
128
126
  version: 2.6.0
127
+ requirement: *id007
129
128
  type: :development
130
- version_requirements: *id007
131
- - !ruby/object:Gem::Dependency
132
- name: turn
133
129
  prerelease: false
134
- requirement: &id008 !ruby/object:Gem::Requirement
130
+ name: rspec
131
+ - !ruby/object:Gem::Dependency
132
+ version_requirements: &id008 !ruby/object:Gem::Requirement
135
133
  none: false
136
134
  requirements:
137
135
  - - ~>
@@ -142,12 +140,12 @@ dependencies:
142
140
  - 8
143
141
  - 2
144
142
  version: 0.8.2
143
+ requirement: *id008
145
144
  type: :development
146
- version_requirements: *id008
147
- - !ruby/object:Gem::Dependency
148
- name: rake
149
145
  prerelease: false
150
- requirement: &id009 !ruby/object:Gem::Requirement
146
+ name: turn
147
+ - !ruby/object:Gem::Dependency
148
+ version_requirements: &id009 !ruby/object:Gem::Requirement
151
149
  none: false
152
150
  requirements:
153
151
  - - ~>
@@ -158,8 +156,10 @@ dependencies:
158
156
  - 9
159
157
  - 2
160
158
  version: 0.9.2
159
+ requirement: *id009
161
160
  type: :development
162
- version_requirements: *id009
161
+ prerelease: false
162
+ name: rake
163
163
  description: BBC Data Service for fixture management
164
164
  email:
165
165
  - matthew.crouch@bbc.co.uk