rdf-trig 2.2.0 → 3.1.2

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
- SHA1:
3
- metadata.gz: 98b197e728557afd6d317fe99c7638c7d9545c5b
4
- data.tar.gz: 926d33a2a88b1ee8870889525017163ff3e67469
2
+ SHA256:
3
+ metadata.gz: f72dbe26e686e91519169554116b88ab44c8203c947a2d8e55fac50e611951ab
4
+ data.tar.gz: ff314a298fe3c0f4a29d48d200288865178fc6766dc6fb73dfc7601807bc883d
5
5
  SHA512:
6
- metadata.gz: 38e0122e3f6cfeed559ee0d2ba51f92d74526f52f5fb0d0f1203083b6b78aa3237a5c7803a578ad7718f1fe082fe7c9d1d9ecbd5c5344b3f1f04e93a08756d53
7
- data.tar.gz: 5da40dda8c646b2fc868ed92005ee4f3bfebb2274026d46beb7d066bfb284240f243327610f72524148c648a357af4a913f8668ebb2f8d432879ab8282089e55
6
+ metadata.gz: f85f92259ef67c8af2f4d5f8fc808ede0153642d13407b343f41ebf18c6a5ba6606ca3c631453e30d5bd46c180c835835febf3956156cc125095f5a722a15ba8
7
+ data.tar.gz: 735aeeeae7e05bfd889201669c6148df7b6ff65d273146712214e4bea0231e47b6a0330fe590bf80885ebe3f30e7d7cf4aa37bcee9f910da9c3a2aac8bdf94ef
data/README.md CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  [TriG][] reader/writer for [RDF.rb][RDF.rb] .
4
4
 
5
- [![Gem Version](https://badge.fury.io/rb/rdf-trig.png)](http://badge.fury.io/rb/rdf-trig)
6
- [![Build Status](https://travis-ci.org/ruby-rdf/rdf-trig.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf-trig)
7
- [![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-trig/badge.svg)](https://coveralls.io/r/ruby-rdf/rdf-trig)
8
- [![Dependency Status](https://gemnasium.com/ruby-rdf/rdf-trig.png)](https://gemnasium.com/ruby-rdf/rdf-trig)
5
+ [![Gem Version](https://badge.fury.io/rb/rdf-trig.png)](https://badge.fury.io/rb/rdf-trig)
6
+ [![Build Status](https://github.com/ruby-rdf/rdf-trig/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/rdf-trig/actions?query=workflow%3ACI)
7
+ [![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-trig/badge.svg?branch=develop)](https://coveralls.io/github/ruby-rdf/rdf-trig?branch=develop)
8
+ [![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)
9
9
 
10
10
  ## Description
11
11
  This is a [Ruby][] implementation of a [TriG][] reader and writer for [RDF.rb][].
@@ -15,7 +15,7 @@ RDF::TriG parses [TriG][Trig] into statements or quads. It also serializes to Tr
15
15
 
16
16
  Install with `gem install rdf-trig`
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 and serializer for [TriG][].
20
20
  * Compatible with Ruby 2.x, and JRuby 1.7+.
21
21
  * Optional streaming writer, to serialize large graphs
@@ -58,22 +58,22 @@ There is a new `:stream` option to {RDF::TriG::Writer} which is more efficient f
58
58
 
59
59
  ## Dependencies
60
60
 
61
- * [Ruby](http://ruby-lang.org/) (>= 2.2.2)
62
- * [RDF.rb](http://rubygems.org/gems/rdf) (~> 2.0)
63
- * [rdf-turtle](http://rubygems.org/gems/rdf-turtle) (~> 2.0)
61
+ * [Ruby](https://ruby-lang.org/) (>= 2.2.2)
62
+ * [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.0)
63
+ * [rdf-turtle](https://rubygems.org/gems/rdf-turtle) (~> 3.0)
64
64
 
65
65
  ## Installation
66
66
 
67
- The recommended installation method is via [RubyGems](http://rubygems.org/).
67
+ The recommended installation method is via [RubyGems](https://rubygems.org/).
68
68
  To install the latest official release of the `RDF::TriG` gem, do:
69
69
 
70
70
  % [sudo] gem install rdf-trig
71
71
 
72
72
  ## Mailing List
73
- * <http://lists.w3.org/Archives/Public/public-rdf-ruby/>
73
+ * <https://lists.w3.org/Archives/Public/public-rdf-ruby/>
74
74
 
75
75
  ## Author
76
- * [Gregg Kellogg](http://github.com/gkellogg) - <http://greggkellogg.net/>
76
+ * [Gregg Kellogg](https://github.com/gkellogg) - <https://greggkellogg.net/>
77
77
 
78
78
  ## Contributing
79
79
  * Do your best to adhere to the existing coding conventions and idioms.
@@ -86,22 +86,24 @@ To install the latest official release of the `RDF::TriG` gem, do:
86
86
  list in the the `README`. Alphabetical order applies.
87
87
  * Do note that in order for us to merge any non-trivial changes (as a rule
88
88
  of thumb, additions larger than about 15 lines of code), we need an
89
- explicit [public domain dedication][PDD] on record from you.
89
+ explicit [public domain dedication][PDD] on record from you,
90
+ which you will be asked to agree to on the first commit to a repo within the organization.
91
+ Note that the agreement applies to all repos in the [Ruby RDF](https://github.com/ruby-rdf/) organization.
90
92
 
91
93
  ## License
92
94
  This is free and unencumbered public domain software. For more information,
93
- see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
94
-
95
- A copy of the [TriG 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).
96
-
97
- [Ruby]: http://ruby-lang.org/
98
- [RDF]: http://www.w3.org/RDF/
99
- [YARD]: http://yardoc.org/
100
- [YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
101
- [PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
102
- [RDF.rb]: http://rubydoc.info/github/ruby-rdf/rdf/master/frames
103
- [Backports]: http://rubygems.org/gems/backports
104
- [TriG]: http://www.w3.org/TR/trig/
105
- [TriG doc]: http://rubydoc.info/github/ruby-rdf/rdf-trig/master/file/README.markdown
106
- [TriG EBNF]: http://dvcs.w3.org/hg/rdf/raw-file/default/trig/trig.bnf
107
- [Turtle doc]: http://rubydoc.info/github/ruby-rdf/rdf-turtle/master/file/README.markdown
95
+ see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
96
+
97
+ A copy of the [TriG 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).
98
+
99
+ [Ruby]: https://ruby-lang.org/
100
+ [RDF]: https://www.w3.org/RDF/
101
+ [YARD]: https://yardoc.org/
102
+ [YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
103
+ [PDD]: https://unlicense.org/#unlicensing-contributions
104
+ [RDF.rb]: https://rubydoc.info/github/ruby-rdf/rdf/master/frames
105
+ [Backports]: https://rubygems.org/gems/backports
106
+ [TriG]: https://www.w3.org/TR/trig/
107
+ [TriG doc]: https://rubydoc.info/github/ruby-rdf/rdf-trig/master/file/README.markdown
108
+ [TriG EBNF]: https://dvcs.w3.org/hg/rdf/raw-file/default/trig/trig.bnf
109
+ [Turtle doc]: https://rubydoc.info/github/ruby-rdf/rdf-turtle/master/file/README.markdown
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
- 2.2.0
1
+ 3.1.2
data/lib/rdf/trig.rb CHANGED
@@ -15,11 +15,11 @@ module RDF
15
15
  # end
16
16
  # end
17
17
  #
18
- # @see http://rubydoc.info/github/ruby-rdf/rdf-turtle/
19
- # @see http://rubydoc.info/github/ruby-rdf/rdf/master/
20
- # @see http://www.w3.org/TR/trig/
18
+ # @see https://rubydoc.info/github/ruby-rdf/rdf-turtle/
19
+ # @see https://rubydoc.info/github/ruby-rdf/rdf/master/
20
+ # @see https://www.w3.org/TR/trig/
21
21
  #
22
- # @author [Gregg Kellogg](http://greggkellogg.net/)
22
+ # @author [Gregg Kellogg](https://greggkellogg.net/)
23
23
  module TriG
24
24
  require 'rdf/trig/format'
25
25
  autoload :Reader, 'rdf/trig/reader'
@@ -14,7 +14,7 @@ module RDF::TriG
14
14
  # @example Obtaining serialization format file extension mappings
15
15
  # RDF::Format.file_extensions #=> {trig: "application/trig"}
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 'application/trig', extension: :trig, alias: 'application/x-trig;q=0.2'
20
20
  content_encoding 'utf-8'
@@ -23,7 +23,15 @@ module RDF::TriG
23
23
  terminal(:STRING_LITERAL_SINGLE_QUOTE, STRING_LITERAL_SINGLE_QUOTE, unescape: true)
24
24
 
25
25
  # String terminals
26
- terminal(nil, %r([\{\}\(\),.;\[\]a]|\^\^|true|false))
26
+ terminal(nil, %r(
27
+ [\(\),.;\[\]Aa]
28
+ | \^\^
29
+ | \{\|
30
+ | \|\}
31
+ | [\{\}]
32
+ | true|false
33
+ | <<|>>
34
+ )x)
27
35
 
28
36
  terminal(:GRAPH, /graph/i)
29
37
  terminal(:PREFIX, PREFIX)
@@ -112,7 +120,7 @@ module RDF::TriG
112
120
  read_triplesOrGraph || error("Expected triplesOrGraph", production: :block, token: @lexer.first)
113
121
  when '{'
114
122
  read_wrappedGraph || error("Expected wrappedGraph", production: :block, token: @lexer.first)
115
- when '(', '['
123
+ when '(', '[', '<<'
116
124
  read_triples2 || error("Expected collection or blankNodePropertyList", production: :block, token: @lexer.first)
117
125
  when nil
118
126
  # End of input
@@ -183,6 +191,23 @@ module RDF::TriG
183
191
  end
184
192
  true
185
193
  end
194
+ when '<<'
195
+ prod(:triples2) do
196
+ subject = read_embTriple || error("Failed to parse embedded triple", production: :triples2, token: @lexer.first)
197
+ token = @lexer.first
198
+ case token && (token.type || token.value)
199
+ when 'a', :IRIREF, :PNAME_LN, :PNAME_NS then read_predicateObjectList(subject)
200
+ else error("Expected predicateObjectList after collection subject", production: :triples2, token: token)
201
+ end
202
+ if !@recovering || @lexer.first === '.'
203
+ # If recovering, we will have eaten the closing '.'
204
+ token = @lexer.shift
205
+ unless token && token.value == '.'
206
+ error("Expected '.' following triple", production: :triples2, token: token)
207
+ end
208
+ end
209
+ true
210
+ end
186
211
  end
187
212
  end
188
213
 
@@ -1,7 +1,7 @@
1
1
  module RDF::TriG
2
2
  ##
3
3
  # Streaming writer interface
4
- # @author [Gregg Kellogg](http://greggkellogg.net/)
4
+ # @author [Gregg Kellogg](https://greggkellogg.net/)
5
5
  module StreamingWriter
6
6
  ##
7
7
  # Write out a statement, retaining current
@@ -11,24 +11,24 @@ module RDF::TriG
11
11
  if statement.graph_name != @streaming_graph
12
12
  stream_epilogue
13
13
  if statement.graph_name
14
- @output.write "#{format_term(statement.graph_name, options)} {"
14
+ @output.write "#{format_term(statement.graph_name, **options)} {"
15
15
  end
16
16
  @streaming_graph, @streaming_subject, @streaming_predicate = statement.graph_name, statement.subject, statement.predicate
17
- @output.write "#{format_term(statement.subject, options)} "
18
- @output.write "#{format_term(statement.predicate, options)} "
17
+ @output.write "#{format_term(statement.subject, **options)} "
18
+ @output.write "#{statement.predicate == RDF.type ? 'a' : format_term(statement.predicate, **options)} "
19
19
  elsif statement.subject != @streaming_subject
20
20
  @output.puts " ." if @previous_statement
21
21
  @output.write "#{indent(@streaming_subject ? 1 : 0)}"
22
22
  @streaming_subject, @streaming_predicate = statement.subject, statement.predicate
23
- @output.write "#{format_term(statement.subject, options)} "
24
- @output.write "#{format_term(statement.predicate, options)} "
23
+ @output.write "#{format_term(statement.subject, **options)} "
24
+ @output.write "#{statement.predicate == RDF.type ? 'a' : format_term(statement.predicate, **options)} "
25
25
  elsif statement.predicate != @streaming_predicate
26
26
  @streaming_predicate = statement.predicate
27
- @output.write ";\n#{indent(@streaming_subject ? 2 : 1)}#{format_term(statement.predicate, options)} "
27
+ @output.write ";\n#{indent(@streaming_subject ? 2 : 1)}#{statement.predicate == RDF.type ? 'a' : format_term(statement.predicate, **options)} "
28
28
  else
29
29
  @output.write ",\n#{indent(@streaming_subject ? 3 : 2)}"
30
30
  end
31
- @output.write("#{format_term(statement.object, options)}")
31
+ @output.write("#{format_term(statement.object, **options)}")
32
32
  @previous_statement = statement
33
33
  end
34
34
 
@@ -54,7 +54,7 @@ module RDF::TriG
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::Turtle::Writer
59
59
  include StreamingWriter
60
60
  format RDF::TriG::Format
@@ -87,7 +87,7 @@ module RDF::TriG
87
87
  # @yieldreturn [void]
88
88
  # @yield [writer]
89
89
  # @yieldparam [RDF::Writer] writer
90
- def initialize(output = $stdout, options = {}, &block)
90
+ def initialize(output = $stdout, **options, &block)
91
91
  super do
92
92
  # Set both @repo and @graph to a new repository.
93
93
  @repo = @graph = RDF::Repository.new
@@ -100,7 +100,6 @@ module RDF::TriG
100
100
  end
101
101
  end
102
102
 
103
-
104
103
  ##
105
104
  # Adds a triple to be serialized
106
105
  # @param [RDF::Resource] subject
@@ -149,7 +148,8 @@ module RDF::TriG
149
148
  preprocess
150
149
  start_document
151
150
 
152
- order_graphs.each do |graph_name|
151
+ @graph_names = order_graphs
152
+ @graph_names.each do |graph_name|
153
153
  log_depth do
154
154
  log_debug {"graph_name: #{graph_name.inspect}"}
155
155
  reset
@@ -164,6 +164,16 @@ module RDF::TriG
164
164
 
165
165
  # Pre-process statements again, but in the specified graph
166
166
  @graph.each {|st| preprocess_statement(st)}
167
+
168
+ # Remove lists that are referenced and have non-list properties,
169
+ # or are present in more than one graph, or have elements
170
+ # that are present in more than one graph;
171
+ # these are legal, but can't be serialized as lists
172
+ @lists.reject! do |node, list|
173
+ ref_count(node) > 0 && prop_count(node) > 0 ||
174
+ list.subjects.any? {|elt| !resource_in_single_graph?(elt)}
175
+ end
176
+
167
177
  order_subjects.each do |subject|
168
178
  unless is_done?(subject)
169
179
  statement(subject)
@@ -180,18 +190,14 @@ module RDF::TriG
180
190
  protected
181
191
 
182
192
  # Add additional constraint that the resource must be in a single graph
183
- def blankNodePropertyList?(subject)
184
- super && resource_in_single_graph?(subject)
185
- end
186
-
187
- # Add additional constraint that the resource must be in a single graph
188
- def p_squared?(resource, position)
189
- super && resource_in_single_graph?(resource)
193
+ # and must not be a graph name
194
+ def blankNodePropertyList?(resource, position)
195
+ super && resource_in_single_graph?(resource) && !@graph_names.include?(resource)
190
196
  end
191
197
 
192
198
  def resource_in_single_graph?(resource)
193
- graph_names = @repo.query(subject: resource).map(&:graph_name)
194
- graph_names += @repo.query(object: resource).map(&:graph_name)
199
+ graph_names = @repo.query({subject: resource}).map(&:graph_name)
200
+ graph_names += @repo.query({object: resource}).map(&:graph_name)
195
201
  graph_names.uniq.length <= 1
196
202
  end
197
203
 
@@ -201,7 +207,7 @@ module RDF::TriG
201
207
  graph_names = @repo.graph_names.to_a.sort
202
208
 
203
209
  # include default graph, if necessary
204
- graph_names.unshift(nil) unless @repo.query(graph_name: false).to_a.empty?
210
+ graph_names.unshift(nil) unless @repo.query({graph_name: false}).to_a.empty?
205
211
 
206
212
  graph_names
207
213
  end
metadata CHANGED
@@ -1,143 +1,113 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-trig
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg Kellogg
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-14 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdf
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '2.2'
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '4.0'
19
+ version: '3.1'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '2.2'
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '4.0'
26
+ version: '3.1'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: ebnf
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '1.0'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 1.0.1
33
+ version: '2.1'
43
34
  type: :runtime
44
35
  prerelease: false
45
36
  version_requirements: !ruby/object:Gem::Requirement
46
37
  requirements:
47
38
  - - "~>"
48
39
  - !ruby/object:Gem::Version
49
- version: '1.0'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 1.0.1
40
+ version: '2.1'
53
41
  - !ruby/object:Gem::Dependency
54
42
  name: rdf-turtle
55
43
  requirement: !ruby/object:Gem::Requirement
56
44
  requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: '2.2'
60
- - - "<"
45
+ - - "~>"
61
46
  - !ruby/object:Gem::Version
62
- version: '4.0'
47
+ version: '3.1'
63
48
  type: :runtime
64
49
  prerelease: false
65
50
  version_requirements: !ruby/object:Gem::Requirement
66
51
  requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: '2.2'
70
- - - "<"
52
+ - - "~>"
71
53
  - !ruby/object:Gem::Version
72
- version: '4.0'
54
+ version: '3.1'
73
55
  - !ruby/object:Gem::Dependency
74
56
  name: json-ld
75
57
  requirement: !ruby/object:Gem::Requirement
76
58
  requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- version: '2.1'
80
- - - "<"
59
+ - - "~>"
81
60
  - !ruby/object:Gem::Version
82
- version: '4.0'
61
+ version: '3.1'
83
62
  type: :development
84
63
  prerelease: false
85
64
  version_requirements: !ruby/object:Gem::Requirement
86
65
  requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '2.1'
90
- - - "<"
66
+ - - "~>"
91
67
  - !ruby/object:Gem::Version
92
- version: '4.0'
68
+ version: '3.1'
93
69
  - !ruby/object:Gem::Dependency
94
70
  name: rspec
95
71
  requirement: !ruby/object:Gem::Requirement
96
72
  requirements:
97
73
  - - "~>"
98
74
  - !ruby/object:Gem::Version
99
- version: '3.7'
75
+ version: '3.10'
100
76
  type: :development
101
77
  prerelease: false
102
78
  version_requirements: !ruby/object:Gem::Requirement
103
79
  requirements:
104
80
  - - "~>"
105
81
  - !ruby/object:Gem::Version
106
- version: '3.7'
82
+ version: '3.10'
107
83
  - !ruby/object:Gem::Dependency
108
84
  name: rspec-its
109
85
  requirement: !ruby/object:Gem::Requirement
110
86
  requirements:
111
87
  - - "~>"
112
88
  - !ruby/object:Gem::Version
113
- version: '1.2'
89
+ version: '1.3'
114
90
  type: :development
115
91
  prerelease: false
116
92
  version_requirements: !ruby/object:Gem::Requirement
117
93
  requirements:
118
94
  - - "~>"
119
95
  - !ruby/object:Gem::Version
120
- version: '1.2'
96
+ version: '1.3'
121
97
  - !ruby/object:Gem::Dependency
122
98
  name: rdf-isomorphic
123
99
  requirement: !ruby/object:Gem::Requirement
124
100
  requirements:
125
- - - ">="
126
- - !ruby/object:Gem::Version
127
- version: '2.0'
128
- - - "<"
101
+ - - "~>"
129
102
  - !ruby/object:Gem::Version
130
- version: '4.0'
103
+ version: '3.1'
131
104
  type: :development
132
105
  prerelease: false
133
106
  version_requirements: !ruby/object:Gem::Requirement
134
107
  requirements:
135
- - - ">="
136
- - !ruby/object:Gem::Version
137
- version: '2.0'
138
- - - "<"
108
+ - - "~>"
139
109
  - !ruby/object:Gem::Version
140
- version: '4.0'
110
+ version: '3.1'
141
111
  - !ruby/object:Gem::Dependency
142
112
  name: yard
143
113
  requirement: !ruby/object:Gem::Requirement
@@ -154,38 +124,18 @@ dependencies:
154
124
  version: '0.9'
155
125
  - !ruby/object:Gem::Dependency
156
126
  name: rdf-spec
157
- requirement: !ruby/object:Gem::Requirement
158
- requirements:
159
- - - ">="
160
- - !ruby/object:Gem::Version
161
- version: '2.2'
162
- - - "<"
163
- - !ruby/object:Gem::Version
164
- version: '4.0'
165
- type: :development
166
- prerelease: false
167
- version_requirements: !ruby/object:Gem::Requirement
168
- requirements:
169
- - - ">="
170
- - !ruby/object:Gem::Version
171
- version: '2.2'
172
- - - "<"
173
- - !ruby/object:Gem::Version
174
- version: '4.0'
175
- - !ruby/object:Gem::Dependency
176
- name: rake
177
127
  requirement: !ruby/object:Gem::Requirement
178
128
  requirements:
179
129
  - - "~>"
180
130
  - !ruby/object:Gem::Version
181
- version: '12.0'
131
+ version: '3.1'
182
132
  type: :development
183
133
  prerelease: false
184
134
  version_requirements: !ruby/object:Gem::Requirement
185
135
  requirements:
186
136
  - - "~>"
187
137
  - !ruby/object:Gem::Version
188
- version: '12.0'
138
+ version: '3.1'
189
139
  description: RDF::TriG is an TriG reader/writer for the RDF.rb library suite.
190
140
  email: public-rdf-ruby@w3.org
191
141
  executables: []
@@ -203,11 +153,11 @@ files:
203
153
  - lib/rdf/trig/streaming_writer.rb
204
154
  - lib/rdf/trig/version.rb
205
155
  - lib/rdf/trig/writer.rb
206
- homepage: http://ruby-rdf.github.com/rdf-trig
156
+ homepage: https://github.com/ruby-rdf/rdf-trig
207
157
  licenses:
208
158
  - Unlicense
209
159
  metadata: {}
210
- post_install_message:
160
+ post_install_message:
211
161
  rdoc_options: []
212
162
  require_paths:
213
163
  - lib
@@ -215,16 +165,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
215
165
  requirements:
216
166
  - - ">="
217
167
  - !ruby/object:Gem::Version
218
- version: 2.2.2
168
+ version: '2.4'
219
169
  required_rubygems_version: !ruby/object:Gem::Requirement
220
170
  requirements:
221
171
  - - ">="
222
172
  - !ruby/object:Gem::Version
223
173
  version: '0'
224
174
  requirements: []
225
- rubyforge_project:
226
- rubygems_version: 2.6.14
227
- signing_key:
175
+ rubygems_version: 3.2.3
176
+ signing_key:
228
177
  specification_version: 4
229
178
  summary: TriG reader/writer for Ruby.
230
179
  test_files: []