rdf-microdata 1.1.1.2 → 1.1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48a47293f16bc88d7dd0c4b136c6f2dd74bd6ef8
4
- data.tar.gz: f5cf51faf0d3b1ac02e3e68db5f80ebbc3533a9d
3
+ metadata.gz: 6a7730b9619c5f5a60b80e55cef375edcae56126
4
+ data.tar.gz: 6fb318efa79dbaff4378e17442c6f3d61d0e5770
5
5
  SHA512:
6
- metadata.gz: 2eebd52c96c75434cd1c76882ff7c95fa0b1a15394030afef322ba28ee598ca42fe907575c333f148c6a12d9a10c06172371d8380dd8c0969e83d7934014148f
7
- data.tar.gz: 25bcdd15855893b74ddbe76b934a67848ffcf46fdaf89f58032f9404ad9fdd5886772c44eef6fde725a1cbdb5fc5801b0291b6278557fd5c2e46965d8e99997c
6
+ metadata.gz: be2e3262b1b0f8dba62f70994bf18c2a25b0eee1355f265e675fadf80639a1ee8c643a1a5997d7480536699543b56d5829a4f2550ea65295723a9e0167a40fc5
7
+ data.tar.gz: 3c05f6a812ba268c3bb34499c8f4fde097675a0c3acd8bb61caa4c3e7fc6b5e62669abd20d57ce7ed3dc5b1315cd70890edd5c7e845508fc6dfe3464510a4845
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1.2
1
+ 1.1.1.3
@@ -511,7 +511,7 @@ module RDF::Microdata
511
511
 
512
512
  ##
513
513
  # Called when values has more than one entry
514
- # @param [Nokogiri::HTML::Element] element
514
+ # @param [Nokogiri::XML::Element] element
515
515
  # @param [Array<RDF::Value>] values
516
516
  # @return [RDF::Node]
517
517
  def generateRDFCollection(element, values)
@@ -35,9 +35,9 @@ module RDF::Microdata
35
35
  # @return [String]
36
36
  def language
37
37
  language = case
38
- when @node.document.is_a?(::Nokogiri::HTML::Document) && @node.attributes["xml:lang"]
38
+ when @node.document.is_a?(::Nokogiri::XML::Document) && @node.attributes["xml:lang"]
39
39
  @node.attributes["xml:lang"].to_s
40
- when @node.document.is_a?(::Nokogiri::HTML::Document) && @node.attributes["lang"]
40
+ when @node.document.is_a?(::Nokogiri::XML::Document) && @node.attributes["lang"]
41
41
  @node.attributes["lang"].to_s
42
42
  when @node.attribute("lang")
43
43
  @node.attribute("lang").to_s
@@ -175,7 +175,7 @@ module RDF::Microdata
175
175
  def initialize_html(input, options = {})
176
176
  require 'nokogiri' unless defined?(::Nokogiri)
177
177
  @doc = case input
178
- when ::Nokogiri::HTML::Document
178
+ when ::Nokogiri::XML::Document
179
179
  input
180
180
  else
181
181
  # Try to detect charset from input
metadata CHANGED
@@ -1,218 +1,218 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-microdata
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1.2
4
+ version: 1.1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg
8
8
  - Kellogg
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-15 00:00:00.000000000 Z
12
+ date: 2014-06-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdf
16
- version_requirements: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - ~>
19
- - !ruby/object:Gem::Version
20
- version: '1.1'
21
16
  requirement: !ruby/object:Gem::Requirement
22
17
  requirements:
23
- - - ~>
18
+ - - "~>"
24
19
  - !ruby/object:Gem::Version
25
20
  version: '1.1'
26
- prerelease: false
27
21
  type: :runtime
28
- - !ruby/object:Gem::Dependency
29
- name: rdf-xsd
22
+ prerelease: false
30
23
  version_requirements: !ruby/object:Gem::Requirement
31
24
  requirements:
32
- - - ~>
25
+ - - "~>"
33
26
  - !ruby/object:Gem::Version
34
27
  version: '1.1'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rdf-xsd
35
30
  requirement: !ruby/object:Gem::Requirement
36
31
  requirements:
37
- - - ~>
32
+ - - "~>"
38
33
  - !ruby/object:Gem::Version
39
34
  version: '1.1'
40
- prerelease: false
41
35
  type: :runtime
42
- - !ruby/object:Gem::Dependency
43
- name: htmlentities
36
+ prerelease: false
44
37
  version_requirements: !ruby/object:Gem::Requirement
45
38
  requirements:
46
- - - ~>
39
+ - - "~>"
47
40
  - !ruby/object:Gem::Version
48
- version: '4.3'
41
+ version: '1.1'
42
+ - !ruby/object:Gem::Dependency
43
+ name: htmlentities
49
44
  requirement: !ruby/object:Gem::Requirement
50
45
  requirements:
51
- - - ~>
46
+ - - "~>"
52
47
  - !ruby/object:Gem::Version
53
48
  version: '4.3'
54
- prerelease: false
55
49
  type: :runtime
56
- - !ruby/object:Gem::Dependency
57
- name: nokogiri
50
+ prerelease: false
58
51
  version_requirements: !ruby/object:Gem::Requirement
59
52
  requirements:
60
- - - ~>
53
+ - - "~>"
61
54
  - !ruby/object:Gem::Version
62
- version: '1.6'
55
+ version: '4.3'
56
+ - !ruby/object:Gem::Dependency
57
+ name: nokogiri
63
58
  requirement: !ruby/object:Gem::Requirement
64
59
  requirements:
65
- - - ~>
60
+ - - "~>"
66
61
  - !ruby/object:Gem::Version
67
62
  version: '1.6'
68
- prerelease: false
69
63
  type: :runtime
70
- - !ruby/object:Gem::Dependency
71
- name: equivalent-xml
64
+ prerelease: false
72
65
  version_requirements: !ruby/object:Gem::Requirement
73
66
  requirements:
74
- - - ~>
67
+ - - "~>"
75
68
  - !ruby/object:Gem::Version
76
- version: '0.3'
69
+ version: '1.6'
70
+ - !ruby/object:Gem::Dependency
71
+ name: equivalent-xml
77
72
  requirement: !ruby/object:Gem::Requirement
78
73
  requirements:
79
- - - ~>
74
+ - - "~>"
80
75
  - !ruby/object:Gem::Version
81
76
  version: '0.3'
82
- prerelease: false
83
77
  type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '0.3'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: open-uri-cached
86
- version_requirements: !ruby/object:Gem::Requirement
86
+ requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ~>
88
+ - - "~>"
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0.0'
91
- - - '>='
91
+ - - ">="
92
92
  - !ruby/object:Gem::Version
93
93
  version: 0.0.5
94
- requirement: !ruby/object:Gem::Requirement
94
+ type: :development
95
+ prerelease: false
96
+ version_requirements: !ruby/object:Gem::Requirement
95
97
  requirements:
96
- - - ~>
98
+ - - "~>"
97
99
  - !ruby/object:Gem::Version
98
100
  version: '0.0'
99
- - - '>='
101
+ - - ">="
100
102
  - !ruby/object:Gem::Version
101
103
  version: 0.0.5
102
- prerelease: false
103
- type: :development
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: yard
106
- version_requirements: !ruby/object:Gem::Requirement
106
+ requirement: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.8'
111
- requirement: !ruby/object:Gem::Requirement
111
+ type: :development
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
112
114
  requirements:
113
- - - ~>
115
+ - - "~>"
114
116
  - !ruby/object:Gem::Version
115
117
  version: '0.8'
116
- prerelease: false
117
- type: :development
118
118
  - !ruby/object:Gem::Dependency
119
119
  name: spira
120
- version_requirements: !ruby/object:Gem::Requirement
120
+ requirement: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
124
  version: 0.0.12
125
- requirement: !ruby/object:Gem::Requirement
125
+ type: :development
126
+ prerelease: false
127
+ version_requirements: !ruby/object:Gem::Requirement
126
128
  requirements:
127
129
  - - '='
128
130
  - !ruby/object:Gem::Version
129
131
  version: 0.0.12
130
- prerelease: false
131
- type: :development
132
132
  - !ruby/object:Gem::Dependency
133
133
  name: rspec
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ~>
137
- - !ruby/object:Gem::Version
138
- version: '3.0'
139
134
  requirement: !ruby/object:Gem::Requirement
140
135
  requirements:
141
- - - ~>
136
+ - - "~>"
142
137
  - !ruby/object:Gem::Version
143
138
  version: '3.0'
144
- prerelease: false
145
139
  type: :development
146
- - !ruby/object:Gem::Dependency
147
- name: rspec-its
140
+ prerelease: false
148
141
  version_requirements: !ruby/object:Gem::Requirement
149
142
  requirements:
150
- - - ~>
143
+ - - "~>"
151
144
  - !ruby/object:Gem::Version
152
- version: '1.0'
145
+ version: '3.0'
146
+ - !ruby/object:Gem::Dependency
147
+ name: rspec-its
153
148
  requirement: !ruby/object:Gem::Requirement
154
149
  requirements:
155
- - - ~>
150
+ - - "~>"
156
151
  - !ruby/object:Gem::Version
157
152
  version: '1.0'
158
- prerelease: false
159
153
  type: :development
160
- - !ruby/object:Gem::Dependency
161
- name: rdf-spec
154
+ prerelease: false
162
155
  version_requirements: !ruby/object:Gem::Requirement
163
156
  requirements:
164
- - - ~>
157
+ - - "~>"
165
158
  - !ruby/object:Gem::Version
166
- version: '1.1'
159
+ version: '1.0'
160
+ - !ruby/object:Gem::Dependency
161
+ name: rdf-spec
167
162
  requirement: !ruby/object:Gem::Requirement
168
163
  requirements:
169
- - - ~>
164
+ - - "~>"
170
165
  - !ruby/object:Gem::Version
171
166
  version: '1.1'
172
- prerelease: false
173
167
  type: :development
174
- - !ruby/object:Gem::Dependency
175
- name: rdf-rdfa
168
+ prerelease: false
176
169
  version_requirements: !ruby/object:Gem::Requirement
177
170
  requirements:
178
- - - ~>
171
+ - - "~>"
179
172
  - !ruby/object:Gem::Version
180
173
  version: '1.1'
174
+ - !ruby/object:Gem::Dependency
175
+ name: rdf-rdfa
181
176
  requirement: !ruby/object:Gem::Requirement
182
177
  requirements:
183
- - - ~>
178
+ - - "~>"
184
179
  - !ruby/object:Gem::Version
185
180
  version: '1.1'
186
- prerelease: false
187
181
  type: :development
188
- - !ruby/object:Gem::Dependency
189
- name: rdf-turtle
182
+ prerelease: false
190
183
  version_requirements: !ruby/object:Gem::Requirement
191
184
  requirements:
192
- - - ~>
185
+ - - "~>"
193
186
  - !ruby/object:Gem::Version
194
187
  version: '1.1'
188
+ - !ruby/object:Gem::Dependency
189
+ name: rdf-turtle
195
190
  requirement: !ruby/object:Gem::Requirement
196
191
  requirements:
197
- - - ~>
192
+ - - "~>"
198
193
  - !ruby/object:Gem::Version
199
194
  version: '1.1'
200
- prerelease: false
201
195
  type: :development
202
- - !ruby/object:Gem::Dependency
203
- name: rdf-isomorphic
196
+ prerelease: false
204
197
  version_requirements: !ruby/object:Gem::Requirement
205
198
  requirements:
206
- - - ~>
199
+ - - "~>"
207
200
  - !ruby/object:Gem::Version
208
201
  version: '1.1'
202
+ - !ruby/object:Gem::Dependency
203
+ name: rdf-isomorphic
209
204
  requirement: !ruby/object:Gem::Requirement
210
205
  requirements:
211
- - - ~>
206
+ - - "~>"
212
207
  - !ruby/object:Gem::Version
213
208
  version: '1.1'
214
- prerelease: false
215
209
  type: :development
210
+ prerelease: false
211
+ version_requirements: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '1.1'
216
216
  description: Microdata reader for Ruby.
217
217
  email: public-rdf-ruby@w3.org
218
218
  executables: []
@@ -237,24 +237,24 @@ homepage: http://ruby-rdf.github.com/rdf-microdata
237
237
  licenses:
238
238
  - Public Domain
239
239
  metadata: {}
240
- post_install_message:
240
+ post_install_message:
241
241
  rdoc_options: []
242
242
  require_paths:
243
243
  - lib
244
244
  required_ruby_version: !ruby/object:Gem::Requirement
245
245
  requirements:
246
- - - '>='
246
+ - - ">="
247
247
  - !ruby/object:Gem::Version
248
248
  version: 1.9.2
249
249
  required_rubygems_version: !ruby/object:Gem::Requirement
250
250
  requirements:
251
- - - '>='
251
+ - - ">="
252
252
  - !ruby/object:Gem::Version
253
253
  version: '0'
254
254
  requirements: []
255
255
  rubyforge_project: rdf-microdata
256
256
  rubygems_version: 2.2.2
257
- signing_key:
257
+ signing_key:
258
258
  specification_version: 4
259
259
  summary: Microdata reader for Ruby.
260
260
  test_files: []