rdf-turtle 3.0.5 → 3.0.6

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
  SHA256:
3
- metadata.gz: 42fd402701c100deb4335bf42ef55682de098f3c1967063a42c5a67d7cbd5282
4
- data.tar.gz: 390e3920be8a0a7fc722f08e670a7f45a99982085795df4badca0334a5df27b5
3
+ metadata.gz: 582a788ffb136828fd308fa62706746f3b5bf5f57a2b99d95e12c45e8cc83e5a
4
+ data.tar.gz: ffa78f04312e2c1aa9545093d2cfc319c29bd857d307f43ebc4c5311063ce633
5
5
  SHA512:
6
- metadata.gz: 40bdf89cc4dc83e8dc8f032912772a91c446759f1f842022ecfd5d159cf84a5c9fce0f48d51a4a1220f769398f06e297e1f3fea99c2da654bd01cc20c9863db0
7
- data.tar.gz: 4a243b9d8426f08ee16e1d31c634d6dbf3d8ce9f5c5f6f9816a8cc04a3ad92dcc1409df91ce8c365677faf0fbf6503250a28a224e903089995e9c367fdb60d41
6
+ metadata.gz: 8af6158a03de6d9a4317e1a7ecc2541201c4ee4029a5da0b356d8ec5bb368733fa24218b33cac5d558b3158b6697a70ee50b54639fda97e058725dd8d013193e
7
+ data.tar.gz: a061f5a8e7a784ad1c9037ed1fec8d23c1558748a8c7f36f612290754fa9d7e84b10e8c2539e40574a49bc46886ea2742631033c35ccbccc6336a71e404f56e6
data/History CHANGED
@@ -30,7 +30,7 @@
30
30
  * Replace remaining uses of SPARQL with RDF::Turtle or RDF::LL1
31
31
 
32
32
  ### 0.0.3
33
- * Completed RDF 1.1 Turtle based on http://www.w3.org/TR/2011/WD-turtle-20110809/
33
+ * Completed RDF 1.1 Turtle based on https://www.w3.org/TR/2011/WD-turtle-20110809/
34
34
  * Reader
35
35
  * Writer
36
36
  * Issues:
data/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  [Turtle][] reader/writer for [RDF.rb][RDF.rb] .
4
4
 
5
- [![Gem Version](https://badge.fury.io/rb/rdf-turtle.png)](http://badge.fury.io/rb/rdf-turtle)
6
- [![Build Status](https://travis-ci.org/ruby-rdf/rdf-turtle.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf-turtle)
5
+ [![Gem Version](https://badge.fury.io/rb/rdf-turtle.png)](https://badge.fury.io/rb/rdf-turtle)
6
+ [![Build Status](https://travis-ci.org/ruby-rdf/rdf-turtle.png?branch=master)](https://travis-ci.org/ruby-rdf/rdf-turtle)
7
7
  [![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-turtle/badge.svg)](https://coveralls.io/r/ruby-rdf/rdf-turtle)
8
8
  [![Dependency Status](https://gemnasium.com/ruby-rdf/rdf-turtle.png)](https://gemnasium.com/ruby-rdf/rdf-turtle)
9
9
 
@@ -15,7 +15,7 @@ RDF::Turtle parses [Turtle][Turtle] and [N-Triples][N-Triples] into statements o
15
15
 
16
16
  Install with `gem install rdf-turtle`
17
17
 
18
- * 100% free and unencumbered [public domain](http://unlicense.org/) software.
18
+ * 100% free and unencumbered [public domain](https://unlicense.org/) software.
19
19
  * Implements a complete parser for [Turtle][].
20
20
  * Compatible with Ruby >= 2.2.2.
21
21
  * Optional streaming writer, to serialize large graphs
@@ -85,22 +85,22 @@ This version uses a hand-written parser using the Lexer from the [EBNF][] gem in
85
85
 
86
86
  ## Dependencies
87
87
 
88
- * [Ruby](http://ruby-lang.org/) (>= 2.2)
89
- * [RDF.rb](http://rubygems.org/gems/rdf) (~> 3.0)
88
+ * [Ruby](https://ruby-lang.org/) (>= 2.2)
89
+ * [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.0)
90
90
  * [EBNF][] (~> 1.1)
91
91
 
92
92
  ## Installation
93
93
 
94
- The recommended installation method is via [RubyGems](http://rubygems.org/).
94
+ The recommended installation method is via [RubyGems](https://rubygems.org/).
95
95
  To install the latest official release of the `RDF::Turtle` gem, do:
96
96
 
97
97
  % [sudo] gem install rdf-turtle
98
98
 
99
99
  ## Mailing List
100
- * <http://lists.w3.org/Archives/Public/public-rdf-ruby/>
100
+ * <https://lists.w3.org/Archives/Public/public-rdf-ruby/>
101
101
 
102
102
  ## Author
103
- * [Gregg Kellogg](http://github.com/gkellogg) - <http://greggkellogg.net/>
103
+ * [Gregg Kellogg](https://github.com/gkellogg) - <https://greggkellogg.net/>
104
104
 
105
105
  ## Contributing
106
106
  This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
@@ -119,20 +119,20 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange develo
119
119
 
120
120
  ## License
121
121
  This is free and unencumbered public domain software. For more information,
122
- see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
123
-
124
- A copy of the [Turtle EBNF][] and derived parser files are included in the repository, which are not covered under the UNLICENSE. These files are covered via the [W3C Document License](http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231).
125
-
126
- [Ruby]: http://ruby-lang.org/
127
- [RDF]: http://www.w3.org/RDF/
128
- [YARD]: http://yardoc.org/
129
- [YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
130
- [PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
131
- [RDF.rb]: http://rubydoc.info/github/ruby-rdf/rdf
132
- [EBNF]: http://rubygems.org/gems/ebnf
133
- [Backports]: http://rubygems.org/gems/backports
134
- [N-Triples]: http://www.w3.org/TR/rdf-testcases/#ntriples
135
- [Turtle]: http://www.w3.org/TR/2012/WD-turtle-20120710/
136
- [Turtle doc]: http://rubydoc.info/github/ruby-rdf/rdf-turtle/master/file/README.md
137
- [Turtle EBNF]: http://dvcs.w3.org/hg/rdf/file/default/rdf-turtle/turtle.bnf
122
+ see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
123
+
124
+ A copy of the [Turtle EBNF][] and derived parser files are included in the repository, which are not covered under the UNLICENSE. These files are covered via the [W3C Document License](https://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231).
125
+
126
+ [Ruby]: https://ruby-lang.org/
127
+ [RDF]: https://www.w3.org/RDF/
128
+ [YARD]: https://yardoc.org/
129
+ [YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
130
+ [PDD]: https://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
131
+ [RDF.rb]: https://rubydoc.info/github/ruby-rdf/rdf
132
+ [EBNF]: https://rubygems.org/gems/ebnf
133
+ [Backports]: https://rubygems.org/gems/backports
134
+ [N-Triples]: https://www.w3.org/TR/rdf-testcases/#ntriples
135
+ [Turtle]: https://www.w3.org/TR/2012/WD-turtle-20120710/
136
+ [Turtle doc]: https://rubydoc.info/github/ruby-rdf/rdf-turtle/master/file/README.md
137
+ [Turtle EBNF]: https://dvcs.w3.org/hg/rdf/file/default/rdf-turtle/turtle.bnf
138
138
  [Freebase Dumps]: https://developers.google.com/freebase/data
data/UNLICENSE CHANGED
@@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
21
  ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
22
  OTHER DEALINGS IN THE SOFTWARE.
23
23
 
24
- For more information, please refer to <http://unlicense.org/>
24
+ For more information, please refer to <https://unlicense.org/>
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.5
1
+ 3.0.6
@@ -15,10 +15,10 @@ module RDF
15
15
  # end
16
16
  # end
17
17
  #
18
- # @see http://rubydoc.info/github/ruby-rdf/rdf/master/frames
19
- # @see http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html
18
+ # @see https://rubydoc.info/github/ruby-rdf/rdf/master/frames
19
+ # @see https://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html
20
20
  #
21
- # @author [Gregg Kellogg](http://greggkellogg.net/)
21
+ # @author [Gregg Kellogg](https://greggkellogg.net/)
22
22
  module Turtle
23
23
  require 'rdf/turtle/format'
24
24
  autoload :Reader, 'rdf/turtle/reader'
@@ -14,7 +14,7 @@ module RDF::Turtle
14
14
  # @example Obtaining serialization format file extension mappings
15
15
  # RDF::Format.file_extensions #=> {ttl: "text/turtle"}
16
16
  #
17
- # @see http://www.w3.org/TR/rdf-testcases/#ntriples
17
+ # @see https://www.w3.org/TR/rdf-testcases/#ntriples
18
18
  class Format < RDF::Format
19
19
  content_type 'text/turtle',
20
20
  extension: :ttl,
@@ -74,7 +74,7 @@ module RDF::Turtle
74
74
 
75
75
  ##
76
76
  # @return [RDF::Literal]
77
- # @see http://www.w3.org/TR/rdf-testcases/#ntrip_grammar (literal)
77
+ # @see https://www.w3.org/TR/rdf-testcases/#ntrip_grammar (literal)
78
78
  def read_literal
79
79
  if literal_str = match(LITERAL_PLAIN)
80
80
  literal_str = self.class.unescape(literal_str)
@@ -33,7 +33,7 @@ module RDF::Turtle
33
33
 
34
34
  ##
35
35
  # Reader options
36
- # @see http://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Reader#options-class_method
36
+ # @see https://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Reader#options-class_method
37
37
  def self.options
38
38
  super + [
39
39
  RDF::CLI::Option.new(
@@ -3,7 +3,7 @@ require 'rdf/turtle/terminals'
3
3
  module RDF::Turtle
4
4
  ##
5
5
  # Streaming writer interface
6
- # @author [Gregg Kellogg](http://greggkellogg.net/)
6
+ # @author [Gregg Kellogg](https://greggkellogg.net/)
7
7
  module StreamingWriter
8
8
  ##
9
9
  # Write out declarations
@@ -54,7 +54,7 @@ module RDF::Turtle
54
54
  # end
55
55
  # end
56
56
  #
57
- # @author [Gregg Kellogg](http://greggkellogg.net/)
57
+ # @author [Gregg Kellogg](https://greggkellogg.net/)
58
58
  class Writer < RDF::Writer
59
59
  include StreamingWriter
60
60
  include RDF::Util::Logger
@@ -65,7 +65,7 @@ module RDF::Turtle
65
65
 
66
66
  ##
67
67
  # Writer options
68
- # @see http://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Writer#options-class_method
68
+ # @see https://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Writer#options-class_method
69
69
  def self.options
70
70
  super + [
71
71
  RDF::CLI::Option.new(
@@ -363,7 +363,7 @@ module RDF::Turtle
363
363
  # Mark as seen lists that are part of another list
364
364
  @lists.values.map(&:statements).
365
365
  flatten.each do |st|
366
- seen[st.object] if @lists.has_key?(st.object)
366
+ seen[st.object] = true if @lists.has_key?(st.object)
367
367
  end
368
368
 
369
369
  # List elements which are bnodes should not be targets for top-level serialization
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-turtle
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg Kellogg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-10 00:00:00.000000000 Z
11
+ date: 2019-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdf
@@ -175,7 +175,7 @@ files:
175
175
  - lib/rdf/turtle/terminals.rb
176
176
  - lib/rdf/turtle/version.rb
177
177
  - lib/rdf/turtle/writer.rb
178
- homepage: http://ruby-rdf.github.com/rdf-turtle
178
+ homepage: https://ruby-rdf.github.com/rdf-turtle
179
179
  licenses:
180
180
  - Unlicense
181
181
  metadata: {}
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  - !ruby/object:Gem::Version
195
195
  version: '0'
196
196
  requirements: []
197
- rubygems_version: 3.0.2
197
+ rubygems_version: 3.0.3
198
198
  signing_key:
199
199
  specification_version: 4
200
200
  summary: Turtle reader/writer for Ruby.