Skip to content

Commit 4190826

Browse files
committed
Finish 3.1.1
2 parents 6eabc80 + c70a728 commit 4190826

File tree

19 files changed

+229
-123
lines changed

19 files changed

+229
-123
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Community contributions are essential for keeping Ruby RDF great. We want to kee
66

77
This repository uses [Git Flow](https://github.com/nvie/gitflow) to manage development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
88

9-
* create or respond to an issue on the [Github Repository](http://github.com/ruby-rdf/rdf-microdata/issues)
9+
* create or respond to an issue on the [Github Repository](https://github.com/ruby-rdf/rdf-microdata/issues)
1010
* Fork and clone the repo:
1111
`git clone [email protected]:your-username/rdf-microdata.git`
1212
* Install bundle:
@@ -30,7 +30,7 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to manage devel
3030
of thumb, additions larger than about 15 lines of code), we need an
3131
explicit [public domain dedication][PDD] on record from you.
3232

33-
[YARD]: http://yardoc.org/
34-
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
35-
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
33+
[YARD]: https://yardoc.org/
34+
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
35+
[PDD]: https://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
3636
[pr]: https://github.com/ruby-rdf/rdf-microdata/compare/

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
source "http://rubygems.org"
1+
source "https://rubygems.org"
22

33
gemspec
44

@@ -15,6 +15,7 @@ group :development do
1515
gem 'rdf-isomorphic', git: "https://github.com/ruby-rdf/rdf-isomorphic", branch: "develop"
1616
gem "rdf-spec", git: "https://github.com/ruby-rdf/rdf-spec", branch: "develop"
1717
gem 'rdf-turtle', git: "https://github.com/ruby-rdf/rdf-turtle", branch: "develop"
18+
gem 'rdf-vocab', git: "https://github.com/ruby-rdf/rdf-vocab", branch: "develop"
1819
gem 'sxp', git: "https://github.com/dryruby/sxp.rb", branch: "develop"
1920
end
2021

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
[Microdata][] parser for RDF.rb.
44

5-
[![Gem Version](https://badge.fury.io/rb/rdf-microdata.png)](http://badge.fury.io/rb/rdf-microdata)
6-
[![Build Status](https://secure.travis-ci.org/ruby-rdf/rdf-microdata.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf-microdata)
5+
[![Gem Version](https://badge.fury.io/rb/rdf-microdata.png)](https://badge.fury.io/rb/rdf-microdata)
6+
[![Build Status](https://secure.travis-ci.org/ruby-rdf/rdf-microdata.png?branch=master)](https://travis-ci.org/ruby-rdf/rdf-microdata)
77

88
## DESCRIPTION
99
RDF::Microdata is a Microdata reader for Ruby using the [RDF.rb][RDF.rb] library suite.
@@ -45,10 +45,10 @@ GRDDL-type triple generation, such as for html>head>title anchor tags.
4545
If the `RDFa` parser is available, {RDF::Microdata::Format} will not assert content type `text/html` or file extension `.html`, as this is also asserted by RDFa. Instead, the RDFa reader will invoke the microdata reader if an `@itemscope` attribute is detected.
4646

4747
## Dependencies
48-
* [RDF.rb](http://rubygems.org/gems/rdf) (>= 3.1)
49-
* [RDF::XSD](http://rubygems.org/gems/rdf-xsd) (>= 3.1)
48+
* [RDF.rb](https://rubygems.org/gems/rdf) (>= 3.1)
49+
* [RDF::XSD](https://rubygems.org/gems/rdf-xsd) (>= 3.1)
5050
* [HTMLEntities](https://rubygems.org/gems/htmlentities) ('>= 4.3.0')
51-
* [Nokogiri](http://rubygems.org/gems/nokogiri) (>= 1.10)
51+
* [Nokogiri](https://rubygems.org/gems/nokogiri) (>= 1.10)
5252
* Soft dependency on [Nokogumbo](https://github.com/rubys/nokogumbo) (~> 2.0)
5353

5454
## Documentation
@@ -70,13 +70,13 @@ The reader exposes a `#rdfa` method, which can be used to retrieve the transform
7070

7171
## Resources
7272
* [RDF.rb][RDF.rb]
73-
* [Documentation](http://www.rubydoc.info/github/ruby-rdf/rdf-microdata/)
73+
* [Documentation](https://www.rubydoc.info/github/ruby-rdf/rdf-microdata/)
7474
* [History](file:History.md)
7575
* [Microdata][]
7676
* [Microdata RDF][]
7777

7878
## Author
79-
* [Gregg Kellogg](http://github.com/gkellogg) - <http://greggkellogg.net/>
79+
* [Gregg Kellogg](https://github.com/gkellogg) - <https://greggkellogg.net/>
8080

8181
## Contributing
8282

@@ -95,20 +95,20 @@ The reader exposes a `#rdfa` method, which can be used to retrieve the transform
9595
## License
9696

9797
This is free and unencumbered public domain software. For more information,
98-
see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
98+
see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
9999

100100
## FEEDBACK
101101

102102
103-
* <http://rubygems.org/rdf-microdata>
104-
* <http://github.com/ruby-rdf/rdf-microdata>
105-
* <http://lists.w3.org/Archives/Public/public-rdf-ruby/>
103+
* <https://rubygems.org/rdf-microdata>
104+
* <https://github.com/ruby-rdf/rdf-microdata>
105+
* <https://lists.w3.org/Archives/Public/public-rdf-ruby/>
106106

107107
[RDF.rb]: https://github.com/ruby-rdf/rdf
108-
[YARD]: http://yardoc.org/
109-
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
110-
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
111-
[Microdata]: http://dev.w3.org/html5/md/Overview.html "HTML Microdata"
112-
[Microdata RDF]: http://dvcs.w3.org/hg/htmldata/raw-file/default/microdata-rdf/index.html "Microdata to RDF"
113-
[Microdata doc]: http://rubydoc.info/github/ruby-rdf/rdf-microdata/frames
108+
[YARD]: https://yardoc.org/
109+
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
110+
[PDD]: https://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
111+
[Microdata]: https://dev.w3.org/html5/md/Overview.html "HTML Microdata"
112+
[Microdata RDF]: https://dvcs.w3.org/hg/htmldata/raw-file/default/microdata-rdf/index.html "Microdata to RDF"
113+
[Microdata doc]: https://rubydoc.info/github/ruby-rdf/rdf-microdata/frames
114114
[Nokogumbo]: https://github.com/rubys/nokogumbo/#readme

UNLICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
2121
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2222
OTHER DEALINGS IN THE SOFTWARE.
2323

24-
For more information, please refer to <http://unlicense.org/>
24+
For more information, please refer to <https://unlicense.org/1.0/>

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.0
1+
3.1.1

etc/doap.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<title lang="en" itemprop="shortdesc">Microdata reader for Ruby.</title>
55
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
6-
<base href="http://rubygems.org/gems/rdf-microdata">
6+
<base href="https://rubygems.org/gems/rdf-microdata">
77
</head>
88
<body>
99
<p>Project description for <span itemprop="name">RDF::Microdata</span>.</p>
@@ -18,26 +18,26 @@
1818
<dt>Created</dt><dd><time itemprop="created" datetime="2011-08-29">2011-08-29</time></dd>
1919
<dt>Blog</dt><dd><a href="http://greggkellogg.net/" itemprop="blog">http://greggkellogg.net/</a></dd>
2020
<dt>Bug DB</dt><dd>
21-
<a href="http://github.com/ruby-rdf/rdf-microdata/issues" itemprop="bug-database">
22-
http://github.com/ruby-rdf/rdf-microdata/issues
21+
<a href="https://github.com/ruby-rdf/rdf-microdata/issues" itemprop="bug-database">
22+
https://github.com/ruby-rdf/rdf-microdata/issues
2323
</a>
2424
</dd>
2525
<dt>Category</dt><dd>
2626
<a itemprop="category" href="http://dbpedia.org/resource/Resource_Description_Framework">Resource Description Framework</a>
2727
for
28-
<a itemprop="programming-language" href="http://dbpedia.org/resource/Ruby_(programming_language)">Ruby</a>
28+
<span itemprop="programming-language">Ruby</span>
2929
</dd>
3030
<dt>Implements</dt><dd>
3131
<a itemprop="implements" href="http://www.w3.org/TR/microdata-rdf/">Microdata to RDF</a>
3232
</dd>
33-
<dt>Download</dt><dd><a href="http://rubygems.org/gems/rdf-microdata" itemprop="download-page">
34-
http://rubygems.org/gems/rdf-microdata
33+
<dt>Download</dt><dd><a href="https://rubygems.org/gems/rdf-microdata" itemprop="download-page">
34+
https://rubygems.org/gems/rdf-microdata
3535
</a></dd>
36-
<dt>Home Page</dt><dd><a href="http://github.com/ruby-rdf/rdf-microdata" itemprop="homepage">
37-
http://github.com/ruby-rdf/rdf-microdata
36+
<dt>Home Page</dt><dd><a href="https://github.com/ruby-rdf/rdf-microdata" itemprop="homepage">
37+
https://github.com/ruby-rdf/rdf-microdata
3838
</a></dd>
3939
<dt>License</dt><dd>
40-
<a href="http://creativecommons.org/licenses/publicdomain/" itemprop="license">Public Domain</a>
40+
<a href="https://unlicense.org/1.0/" itemprop="license">Public Domain</a>
4141
</dd>
4242
<dt>Mailing List</dt><dd><a href="http://lists.w3.org/Archives/Public/public-rdf-ruby/" itemprop="mailing-list">
4343
http://lists.w3.org/Archives/Public/public-rdf-ruby/

etc/doap.nt

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
<http://rubygems.org/gems/rdf-microdata> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://usefulinc.com/ns/doap#Project> .
2-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#shortdesc> "Microdata reader for Ruby."@en .
3-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#description> "\n RDF::Microdata is an Microdata reader for Ruby using the RDF.rb library suite.\n "@en .
4-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#name> "RDF::Microdata" .
5-
<http://rubygems.org/gems/rdf-microdata> <http://purl.org/dc/terms/creator> <http://greggkellogg.net/foaf#me> .
6-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#developer> <http://greggkellogg.net/foaf#me> .
7-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#documenter> <http://greggkellogg.net/foaf#me> .
8-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#maintainer> <http://greggkellogg.net/foaf#me> .
9-
<http://rubygems.org/gems/rdf-microdata> <http://xmlns.com/foaf/0.1/creator> <http://greggkellogg.net/foaf#me> .
10-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#created> "2011-08-29"^^<http://www.w3.org/2001/XMLSchema#date> .
11-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#blog> <http://greggkellogg.net/> .
12-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#bug-database> <http://github.com/ruby-rdf/rdf-microdata/issues> .
13-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Resource_Description_Framework> .
14-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#programming-language> <http://dbpedia.org/resource/Ruby_(programming_language)> .
15-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#implements> <http://www.w3.org/TR/microdata-rdf/> .
16-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#download-page> <http://rubygems.org/gems/rdf-microdata> .
17-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#homepage> <http://github.com/ruby-rdf/rdf-microdata> .
18-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#license> <http://creativecommons.org/licenses/publicdomain/> .
19-
<http://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#mailing-list> <http://lists.w3.org/Archives/Public/public-rdf-ruby/> .
1+
<https://rubygems.org/gems/rdf-microdata> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://usefulinc.com/ns/doap#Project> .
2+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#shortdesc> "Microdata reader for Ruby."@en .
3+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#description> "\n RDF::Microdata is an Microdata reader for Ruby using the RDF.rb library suite.\n "@en .
4+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#name> "RDF::Microdata" .
5+
<https://rubygems.org/gems/rdf-microdata> <http://purl.org/dc/terms/creator> <http://greggkellogg.net/foaf#me> .
6+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#developer> <http://greggkellogg.net/foaf#me> .
7+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#documenter> <http://greggkellogg.net/foaf#me> .
8+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#maintainer> <http://greggkellogg.net/foaf#me> .
9+
<https://rubygems.org/gems/rdf-microdata> <http://xmlns.com/foaf/0.1/creator> <http://greggkellogg.net/foaf#me> .
10+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#created> "2011-08-29"^^<http://www.w3.org/2001/XMLSchema#date> .
11+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#blog> <http://greggkellogg.net/> .
12+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#bug-database> <https://github.com/ruby-rdf/rdf-microdata/issues> .
13+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Resource_Description_Framework> .
14+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#programming-language> "Ruby" .
15+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#implements> <http://www.w3.org/TR/microdata-rdf/> .
16+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#download-page> <https://rubygems.org/gems/rdf-microdata> .
17+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#homepage> <https://github.com/ruby-rdf/rdf-microdata> .
18+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#license> <https://unlicense.org/1.0/> .
19+
<https://rubygems.org/gems/rdf-microdata> <http://usefulinc.com/ns/doap#mailing-list> <http://lists.w3.org/Archives/Public/public-rdf-ruby/> .

etc/doap.ttl

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
1-
@prefix dc: <http://purl.org/dc/terms/> .
1+
@base <https://rubygems.org/gems/rdf-microdata> .
2+
@prefix dc: <http://purl.org/dc/terms/> .
23
@prefix doap: <http://usefulinc.com/ns/doap#> .
34
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
4-
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
5-
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
6+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
67

7-
<http://rubygems.org/gems/rdf-microdata> a doap:Project;
8-
dc:creator <http://greggkellogg.net/foaf#me>;
9-
doap:blog <http://greggkellogg.net/>;
10-
doap:bug-database <http://github.com/ruby-rdf/rdf-microdata/issues>;
8+
<> a doap:Project;
9+
dc:creator <https://greggkellogg.net/foaf#me>;
10+
doap:blog <https://greggkellogg.net/>;
11+
doap:bug-database <https://github.com/ruby-rdf/rdf-microdata/issues>;
1112
doap:category <http://dbpedia.org/resource/Resource_Description_Framework>;
1213
doap:created "2011-08-29"^^xsd:date;
1314
doap:description """
1415
RDF::Microdata is an Microdata reader for Ruby using the RDF.rb library suite.
1516
"""@en;
16-
doap:developer <http://greggkellogg.net/foaf#me>;
17-
doap:documenter <http://greggkellogg.net/foaf#me>;
18-
doap:download-page <http://rubygems.org/gems/rdf-microdata>;
19-
doap:homepage <http://github.com/ruby-rdf/rdf-microdata>;
17+
doap:developer <https://greggkellogg.net/foaf#me>;
18+
doap:documenter <https://greggkellogg.net/foaf#me>;
19+
doap:download-page <>;
20+
doap:homepage <https://github.com/ruby-rdf/rdf-microdata>;
2021
doap:implements <http://www.w3.org/TR/microdata-rdf/>;
21-
doap:license <http://creativecommons.org/licenses/publicdomain/>;
22-
doap:mailing-list <http://lists.w3.org/Archives/Public/public-rdf-ruby/>;
23-
doap:maintainer <http://greggkellogg.net/foaf#me>;
22+
doap:license <https://unlicense.org/1.0/>;
23+
doap:mailing-list <https://lists.w3.org/Archives/Public/public-rdf-ruby/>;
24+
doap:maintainer <https://greggkellogg.net/foaf#me>;
2425
doap:name "RDF::Microdata";
25-
doap:programming-language <http://dbpedia.org/resource/Ruby_(programming_language)>;
26+
doap:programming-language "Ruby";
2627
doap:shortdesc "Microdata reader for Ruby."@en;
27-
foaf:creator <http://greggkellogg.net/foaf#me> .
28+
foaf:creator <https://greggkellogg.net/foaf#me> .

lib/rdf/microdata.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ module RDF
1515
# end
1616
# end
1717
#
18-
# @see http://www.rubydoc.info/github/ruby-rdf/rdf/
19-
# @see http://www.w3.org/TR/2011/WD-microdata-20110525/
18+
# @see https://www.rubydoc.info/github/ruby-rdf/rdf/
19+
# @see https://www.w3.org/TR/2011/WD-microdata-20110525/
2020
#
21-
# @author [Gregg Kellogg](http://greggkellogg.net/)
21+
# @author [Gregg Kellogg](https://greggkellogg.net/)
2222
module Microdata
2323
USES_VOCAB = RDF::URI("http://www.w3.org/ns/rdfa#usesVocabulary")
2424
DEFAULT_REGISTRY = File.expand_path("../../../etc/registry.json", __FILE__)

lib/rdf/microdata/format.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module RDF::Microdata
1919
# @example Obtaining serialization format MIME types
2020
# RDF::Format.content_types #=> {"text/html" => [RDF::Microdata::Format]}
2121
#
22-
# @see http://www.w3.org/TR/rdf-testcases/#ntriples
22+
# @see https://www.w3.org/TR/rdf-testcases/#ntriples
2323
class Format < RDF::Format
2424
content_encoding 'utf-8'
2525

0 commit comments

Comments
 (0)