microformats2 3.0.1 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/microformats2.rb +15 -0
- data/lib/microformats2/version.rb +1 -1
- data/microformats2.gemspec +43 -2
- metadata +45 -270
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.html +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.js +0 -16
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.html +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.js +0 -16
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.html +0 -4
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.html +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.js +0 -15
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.js +0 -26
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.js +0 -30
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.js +0 -29
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.html +0 -16
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.js +0 -15
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.html +0 -4
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.html +0 -21
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.js +0 -28
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.html +0 -22
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.js +0 -21
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.html +0 -14
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.js +0 -57
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.html +0 -15
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.js +0 -35
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.html +0 -9
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.html +0 -45
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.js +0 -22
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.html +0 -51
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.js +0 -21
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.html +0 -22
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.js +0 -20
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.html +0 -5
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.html +0 -7
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.html +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.js +0 -13
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.html +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.html +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.html +0 -26
- data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.js +0 -37
- data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.html +0 -37
- data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.js +0 -48
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.html +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.js +0 -23
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.html +0 -22
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.js +0 -42
- data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.html +0 -9
- data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.html +0 -67
- data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.js +0 -51
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.html +0 -20
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.js +0 -39
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.html +0 -17
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.js +0 -54
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.html +0 -15
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.js +0 -54
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.html +0 -15
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.js +0 -12
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.html +0 -13
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.js +0 -27
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.html +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.js +0 -19
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.html +0 -20
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.js +0 -26
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.html +0 -15
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.js +0 -23
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.js +0 -11
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.html +0 -6
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.js +0 -19
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.html +0 -8
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.js +0 -20
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.html +0 -24
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.js +0 -37
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-0.html +0 -18
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-0.js +0 -43
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-1.html +0 -26
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-1.js +0 -54
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-2.html +0 -13
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-2.js +0 -20
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-3.html +0 -20
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-3.js +0 -40
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-4.html +0 -23
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-4.js +0 -42
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-0.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-0.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-1.html +0 -3
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-1.js +0 -10
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-2.html +0 -12
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-2.js +0 -19
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-3.html +0 -21
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-3.js +0 -26
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-4.html +0 -15
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-4.js +0 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46b5f126e90b94a12f9385d641c42638e61652c6
|
4
|
+
data.tar.gz: b5b653ef0cd1fe2e8bad9b4dd98bfa8c56d44e2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c26d4efb2e69bb5901b23e42f7c097e35c24d81de86a90b7e97af48c7b36bae7c76f3c88ea41c21ce8cb403739fdc8991e97af44ab7ffc6afd91f8d9e203453e
|
7
|
+
data.tar.gz: 723164f9c0fa2f51fa14fb9098fb7520f0b17369b23d919bd925ca419d97bfca4fb848e09bb2b55e41ec7202322513b66249eb6c1bb6bdbed9e07387d3f00228
|
data/README.md
CHANGED
data/lib/microformats2.rb
CHANGED
@@ -26,3 +26,18 @@ module Microformats2
|
|
26
26
|
|
27
27
|
class InvalidPropertyPrefix < StandardError; end
|
28
28
|
end
|
29
|
+
|
30
|
+
#duplicate of above to allow for early adopters to use Microformats.parse instead of Microformats2.parse
|
31
|
+
module Microformats
|
32
|
+
class << self
|
33
|
+
def parse(html, base: nil)
|
34
|
+
Microformats2::Parser.new.parse(html, base: base)
|
35
|
+
end
|
36
|
+
|
37
|
+
def read_html(html)
|
38
|
+
Microformats2::Parser.new.read_html(html)
|
39
|
+
end
|
40
|
+
end # class << self
|
41
|
+
|
42
|
+
class InvalidPropertyPrefix < StandardError; end
|
43
|
+
end
|
data/microformats2.gemspec
CHANGED
@@ -6,8 +6,8 @@ require 'microformats2/version'
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = "microformats2"
|
8
8
|
gem.version = Microformats2::VERSION
|
9
|
-
gem.authors = ["Shane Becker", "Jessica Lynn Suttles", "
|
10
|
-
gem.email = ["veganstraightedge@gmail.com", "jlsuttles@gmail.com", "
|
9
|
+
gem.authors = ["Shane Becker", "Jessica Lynn Suttles", "Ben Roberts"]
|
10
|
+
gem.email = ["veganstraightedge@gmail.com", "jlsuttles@gmail.com", "ben@thatmustbe.me"]
|
11
11
|
gem.description = %q{Parses HTML for microformats and return a collection of dynamically defined Ruby objects}
|
12
12
|
gem.summary = %q{microformats2 parser}
|
13
13
|
gem.homepage = "https://github.com/indieweb/microformats2-ruby"
|
@@ -17,6 +17,47 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
|
+
gem.post_install_message = %q{
|
21
|
+
|
22
|
+
The name of the Microformats Ruby Parser is changing from
|
23
|
+
"microformats2" to "microformats". This is a one time change.
|
24
|
+
(Thanks to @chrisjpowers for transferring the namespace to us.)
|
25
|
+
|
26
|
+
Follow these instructions to migrate.
|
27
|
+
|
28
|
+
1. Install the new gem. Uninstall the old gem.
|
29
|
+
|
30
|
+
gem install microformats
|
31
|
+
gem uninstall microformats2
|
32
|
+
|
33
|
+
|
34
|
+
2. Change any Gemfiles from:
|
35
|
+
|
36
|
+
gem "microformats2"
|
37
|
+
|
38
|
+
to
|
39
|
+
|
40
|
+
gem "microformats"
|
41
|
+
bundle
|
42
|
+
|
43
|
+
|
44
|
+
3. Change any requires from:
|
45
|
+
|
46
|
+
require "microformats2"
|
47
|
+
|
48
|
+
to
|
49
|
+
|
50
|
+
require "microformats"
|
51
|
+
|
52
|
+
4. Change any references to the module such as:
|
53
|
+
|
54
|
+
Microformats2.parse(source)
|
55
|
+
|
56
|
+
to
|
57
|
+
Microformats.parse(source)
|
58
|
+
|
59
|
+
}
|
60
|
+
|
20
61
|
gem.required_ruby_version = ">= 2.0"
|
21
62
|
|
22
63
|
gem.add_runtime_dependency "nokogiri"
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: microformats2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Becker
|
8
8
|
- Jessica Lynn Suttles
|
9
|
-
-
|
9
|
+
- Ben Roberts
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-05-
|
13
|
+
date: 2017-05-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: nokogiri
|
@@ -129,7 +129,7 @@ description: Parses HTML for microformats and return a collection of dynamically
|
|
129
129
|
email:
|
130
130
|
- veganstraightedge@gmail.com
|
131
131
|
- jlsuttles@gmail.com
|
132
|
-
-
|
132
|
+
- ben@thatmustbe.me
|
133
133
|
executables: []
|
134
134
|
extensions: []
|
135
135
|
extra_rdoc_files: []
|
@@ -158,138 +158,6 @@ files:
|
|
158
158
|
- spec/lib/microformats2/parser_spec.rb
|
159
159
|
- spec/lib/microformats2_spec.rb
|
160
160
|
- spec/spec_helper.rb
|
161
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.html
|
162
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.js
|
163
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.html
|
164
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.js
|
165
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.html
|
166
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.js
|
167
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.html
|
168
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.js
|
169
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.html
|
170
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.js
|
171
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.html
|
172
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.js
|
173
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.html
|
174
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.js
|
175
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.html
|
176
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.js
|
177
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.html
|
178
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.js
|
179
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.html
|
180
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.js
|
181
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.html
|
182
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.js
|
183
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.html
|
184
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.js
|
185
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.html
|
186
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.js
|
187
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.html
|
188
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.js
|
189
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.html
|
190
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.js
|
191
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.html
|
192
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.js
|
193
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.html
|
194
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.js
|
195
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.html
|
196
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.js
|
197
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.html
|
198
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.js
|
199
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.html
|
200
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.js
|
201
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.html
|
202
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.js
|
203
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.html
|
204
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.js
|
205
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.html
|
206
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.js
|
207
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.html
|
208
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.js
|
209
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.html
|
210
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.js
|
211
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.html
|
212
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.js
|
213
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.html
|
214
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.js
|
215
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.html
|
216
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.js
|
217
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.html
|
218
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.js
|
219
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.html
|
220
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.js
|
221
|
-
- spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.html
|
222
|
-
- spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.js
|
223
|
-
- spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.html
|
224
|
-
- spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.js
|
225
|
-
- spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.html
|
226
|
-
- spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.js
|
227
|
-
- spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.html
|
228
|
-
- spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.js
|
229
|
-
- spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.html
|
230
|
-
- spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.js
|
231
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.html
|
232
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.js
|
233
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.html
|
234
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.js
|
235
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.html
|
236
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.js
|
237
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.html
|
238
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.js
|
239
|
-
- spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.html
|
240
|
-
- spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.js
|
241
|
-
- spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.html
|
242
|
-
- spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.js
|
243
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.html
|
244
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.js
|
245
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.html
|
246
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.js
|
247
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.html
|
248
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.js
|
249
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.html
|
250
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.js
|
251
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.html
|
252
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.js
|
253
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.html
|
254
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.js
|
255
|
-
- spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.html
|
256
|
-
- spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.js
|
257
|
-
- spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.html
|
258
|
-
- spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.js
|
259
|
-
- spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.html
|
260
|
-
- spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.js
|
261
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.html
|
262
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.js
|
263
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.html
|
264
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.js
|
265
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.html
|
266
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.js
|
267
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.html
|
268
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.js
|
269
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.html
|
270
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.js
|
271
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.html
|
272
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.js
|
273
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-0.html
|
274
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-0.js
|
275
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-1.html
|
276
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-1.js
|
277
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-2.html
|
278
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-2.js
|
279
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-3.html
|
280
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-3.js
|
281
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-4.html
|
282
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-4.js
|
283
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-0.html
|
284
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-0.js
|
285
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-1.html
|
286
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-1.js
|
287
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-2.html
|
288
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-2.js
|
289
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-3.html
|
290
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-3.js
|
291
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-4.html
|
292
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-4.js
|
293
161
|
- spec/support/cases/microformats.org/microformats-2/microformats-2-0.html
|
294
162
|
- spec/support/cases/microformats.org/microformats-2/microformats-2-0.js
|
295
163
|
- spec/support/cases/microformats.org/microformats-2/microformats-2-1.html
|
@@ -611,7 +479,46 @@ files:
|
|
611
479
|
homepage: https://github.com/indieweb/microformats2-ruby
|
612
480
|
licenses: []
|
613
481
|
metadata: {}
|
614
|
-
post_install_message:
|
482
|
+
post_install_message: |2+
|
483
|
+
|
484
|
+
|
485
|
+
The name of the Microformats Ruby Parser is changing from
|
486
|
+
"microformats2" to "microformats". This is a one time change.
|
487
|
+
(Thanks to @chrisjpowers for transferring the namespace to us.)
|
488
|
+
|
489
|
+
Follow these instructions to migrate.
|
490
|
+
|
491
|
+
1. Install the new gem. Uninstall the old gem.
|
492
|
+
|
493
|
+
gem install microformats
|
494
|
+
gem uninstall microformats2
|
495
|
+
|
496
|
+
|
497
|
+
2. Change any Gemfiles from:
|
498
|
+
|
499
|
+
gem "microformats2"
|
500
|
+
|
501
|
+
to
|
502
|
+
|
503
|
+
gem "microformats"
|
504
|
+
bundle
|
505
|
+
|
506
|
+
|
507
|
+
3. Change any requires from:
|
508
|
+
|
509
|
+
require "microformats2"
|
510
|
+
|
511
|
+
to
|
512
|
+
|
513
|
+
require "microformats"
|
514
|
+
|
515
|
+
4. Change any references to the module such as:
|
516
|
+
|
517
|
+
Microformats2.parse(source)
|
518
|
+
|
519
|
+
to
|
520
|
+
Microformats.parse(source)
|
521
|
+
|
615
522
|
rdoc_options: []
|
616
523
|
require_paths:
|
617
524
|
- lib
|
@@ -627,7 +534,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
627
534
|
version: '0'
|
628
535
|
requirements: []
|
629
536
|
rubyforge_project:
|
630
|
-
rubygems_version: 2.
|
537
|
+
rubygems_version: 2.6.8
|
631
538
|
signing_key:
|
632
539
|
specification_version: 4
|
633
540
|
summary: microformats2 parser
|
@@ -636,138 +543,6 @@ test_files:
|
|
636
543
|
- spec/lib/microformats2/parser_spec.rb
|
637
544
|
- spec/lib/microformats2_spec.rb
|
638
545
|
- spec/spec_helper.rb
|
639
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.html
|
640
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.js
|
641
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.html
|
642
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.js
|
643
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.html
|
644
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.js
|
645
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.html
|
646
|
-
- spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.js
|
647
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.html
|
648
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.js
|
649
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.html
|
650
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.js
|
651
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.html
|
652
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.js
|
653
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.html
|
654
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.js
|
655
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.html
|
656
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.js
|
657
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.html
|
658
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.js
|
659
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.html
|
660
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.js
|
661
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.html
|
662
|
-
- spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.js
|
663
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.html
|
664
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.js
|
665
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.html
|
666
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.js
|
667
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.html
|
668
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.js
|
669
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.html
|
670
|
-
- spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.js
|
671
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.html
|
672
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.js
|
673
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.html
|
674
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.js
|
675
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.html
|
676
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.js
|
677
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.html
|
678
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.js
|
679
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.html
|
680
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.js
|
681
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.html
|
682
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.js
|
683
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.html
|
684
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.js
|
685
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.html
|
686
|
-
- spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.js
|
687
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.html
|
688
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.js
|
689
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.html
|
690
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.js
|
691
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.html
|
692
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.js
|
693
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.html
|
694
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.js
|
695
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.html
|
696
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.js
|
697
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.html
|
698
|
-
- spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.js
|
699
|
-
- spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.html
|
700
|
-
- spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.js
|
701
|
-
- spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.html
|
702
|
-
- spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.js
|
703
|
-
- spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.html
|
704
|
-
- spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.js
|
705
|
-
- spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.html
|
706
|
-
- spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.js
|
707
|
-
- spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.html
|
708
|
-
- spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.js
|
709
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.html
|
710
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.js
|
711
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.html
|
712
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.js
|
713
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.html
|
714
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.js
|
715
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.html
|
716
|
-
- spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.js
|
717
|
-
- spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.html
|
718
|
-
- spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.js
|
719
|
-
- spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.html
|
720
|
-
- spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.js
|
721
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.html
|
722
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.js
|
723
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.html
|
724
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.js
|
725
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.html
|
726
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.js
|
727
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.html
|
728
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.js
|
729
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.html
|
730
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.js
|
731
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.html
|
732
|
-
- spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.js
|
733
|
-
- spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.html
|
734
|
-
- spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.js
|
735
|
-
- spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.html
|
736
|
-
- spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.js
|
737
|
-
- spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.html
|
738
|
-
- spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.js
|
739
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.html
|
740
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.js
|
741
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.html
|
742
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.js
|
743
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.html
|
744
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.js
|
745
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.html
|
746
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.js
|
747
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.html
|
748
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.js
|
749
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.html
|
750
|
-
- spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.js
|
751
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-0.html
|
752
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-0.js
|
753
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-1.html
|
754
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-1.js
|
755
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-2.html
|
756
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-2.js
|
757
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-3.html
|
758
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-3.js
|
759
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-4.html
|
760
|
-
- spec/support/cases/microformat2-node.jit.su/includes/includes-4.js
|
761
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-0.html
|
762
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-0.js
|
763
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-1.html
|
764
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-1.js
|
765
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-2.html
|
766
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-2.js
|
767
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-3.html
|
768
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-3.js
|
769
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-4.html
|
770
|
-
- spec/support/cases/microformat2-node.jit.su/rel/rel-4.js
|
771
546
|
- spec/support/cases/microformats.org/microformats-2/microformats-2-0.html
|
772
547
|
- spec/support/cases/microformats.org/microformats-2/microformats-2-0.js
|
773
548
|
- spec/support/cases/microformats.org/microformats-2/microformats-2-1.html
|