ld-patch 0.3.2 → 3.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
- SHA1:
3
- metadata.gz: 27a3642a91846cb23466184a3d5bfc4397b20df4
4
- data.tar.gz: f542b62f93ad91a1899097a47c0ab5e6c4047d1a
2
+ SHA256:
3
+ metadata.gz: 5d07d0448e3c60b5914fc701865a6616b8c5f060db3ace27d3faf36c7b4e4055
4
+ data.tar.gz: 4b712590d54698ed034ccfe3240a26a473903ca52cf50848e2887ee82ed607d2
5
5
  SHA512:
6
- metadata.gz: 714a26208900d98bb44ea32b08e76624ce3712ecb90eeb2a3a6ad66c0424b780676ed83c3c723eefd0e931919c3cceb5a48c5d9d569b0fc1162e07ecd9477c3b
7
- data.tar.gz: 0b330bc3cc7892334f6c84aeea48c01cf203b0ad7d7899f5b849f346fe486b59940c9e4d2cd32d534cf05ac0c05d2c4e346b2c405a2bd332a8e03bf4ca5e77d7
6
+ metadata.gz: c7a2fd556c496f710019ad71690e942c56bad0db2cea739120ba82e87f36f6a3e2b6c9f947416c00f60cba925ef3af3296ba9fb39ea83d5cbaa355f999cfd5f0
7
+ data.tar.gz: a549e48839de8448deb97190fba247bed927a5cccd320c7b06af498f4ce356fd713a8c5adba73063c7bb39c5c1439458368f739a56397871ff42c865d040386d
data/README.md CHANGED
@@ -2,9 +2,10 @@
2
2
 
3
3
  This is a [Ruby][] implementation of [LD Patch][] for [RDF.rb][].
4
4
 
5
- [![Gem Version](https://badge.fury.io/rb/ld-patch.png)](http://badge.fury.io/rb/ld-patch)
6
- [![Build Status](https://travis-ci.org/ruby-rdf/ld-patch.png?branch=master)](http://travis-ci.org/ruby-rdf/ld-patch)
7
- [![Coverage Status](https://coveralls.io/repos/ruby-rdf/ld-patch/badge.svg)](https://coveralls.io/r/ruby-rdf/ld-patch)
5
+ [![Gem Version](https://badge.fury.io/rb/ld-patch.png)](https://badge.fury.io/rb/ld-patch)
6
+ [![Build Status](https://github.com/ruby-rdf/ld-patch/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/ld-patch/actions?query=workflow%3ACI)
7
+ [![Coverage Status](https://coveralls.io/repos/ruby-rdf/ld-patch/badge.svg?branch=develop)](https://coveralls.io/github/ruby-rdf/ld-patch?branch=develop)
8
+ [![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)
8
9
 
9
10
  ## Description
10
11
 
@@ -24,7 +25,7 @@ This gem implements the [LD Patch][] specification with a couple of changes and/
24
25
  * 100% free and unencumbered [public domain](http://unlicense.org/) software.
25
26
  * Complete [Linked Data Patch Format][LD Patch] parsing and execution
26
27
  * Implementation Report: {file:etc/earl.html EARL}
27
- * Compatible with Ruby >= 2.2.2.
28
+ * Compatible with Ruby >= 2.4.
28
29
 
29
30
  ## Documentation
30
31
  Full documentation available on [Rubydoc.info][LD-Patch doc]
@@ -50,7 +51,7 @@ Full documentation available on [Rubydoc.info][LD-Patch doc]
50
51
  Bind ?ruby <> / doap:programming-language .
51
52
  Cut ?ruby .
52
53
  )
53
- operator = LD::Patch.parse(patch, base_uri: "http://rubygems.org/gems/ld-patch")
54
+ operator = LD::Patch.parse(patch, base_uri: "https://rubygems.org/gems/ld-patch")
54
55
  operator.execute(queryable) # alternatively queryable.query(operator)
55
56
 
56
57
  ## Command Line
@@ -73,18 +74,18 @@ The parser takes branch and follow tables generated from the [LD Patch Grammar](
73
74
 
74
75
  ## Dependencies
75
76
 
76
- * [Ruby](http://ruby-lang.org/) (>= 2.2.2)
77
- * [RDF.rb](http://rubygems.org/gems/rdf) (~> 2.0)
78
- * [EBNF][] (~> 1.0)
79
- * [SPARQL][] (~> 2.0)
80
- * [SXP][] (~> 0.1.6)
81
- * [RDF::XSD][] (~> 2.0)
77
+ * [Ruby](http://ruby-lang.org/) (>= 2.4)
78
+ * [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.1)
79
+ * [EBNF][] (~> 1.2)
80
+ * [SPARQL][] (~> 3.1)
81
+ * [SXP][] (~> 1.1)
82
+ * [RDF::XSD][] (~> 3.1)
82
83
 
83
84
  ## Mailing List
84
85
  * <http://lists.w3.org/Archives/Public/public-rdf-ruby/>
85
86
 
86
87
  ## Author
87
- * [Gregg Kellogg](http://github.com/gkellogg) - <http://greggkellogg.net/>
88
+ * [Gregg Kellogg](https://github.com/gkellogg) - <http://greggkellogg.net/>
88
89
 
89
90
  ## Contributing
90
91
  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.
@@ -94,7 +95,11 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange develo
94
95
  * Do document every method you add using [YARD][] annotations. Read the [tutorial][YARD-GS] or just look at the existing code for examples.
95
96
  * Don't touch the `.gemspec`, `VERSION` or `AUTHORS` files. If you need to change them, do so on your private branch only.
96
97
  * Do feel free to add yourself to the `CREDITS` file and the corresponding list in the the `README`. Alphabetical order applies.
97
- * Do note that in order for us to merge any non-trivial changes (as a rule of thumb, additions larger than about 15 lines of code), we need an explicit [public domain dedication][PDD] on record from you.
98
+ * Do note that in order for us to merge any non-trivial changes (as a rule
99
+ of thumb, additions larger than about 15 lines of code), we need an
100
+ explicit [public domain dedication][PDD] on record from you,
101
+ which you will be asked to agree to on the first commit to a repo within the organization.
102
+ Note that the agreement applies to all repos in the [Ruby RDF](https://github.com/ruby-rdf/) organization.
98
103
 
99
104
  ## License
100
105
  This is free and unencumbered public domain software. For more information,
@@ -106,13 +111,13 @@ A copy of the [LD Patch EBNF](file:etc/ld-patch.ebnf) and derived parser files a
106
111
  [RDF]: http://www.w3.org/RDF/
107
112
  [YARD]: http://yardoc.org/
108
113
  [YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
109
- [PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
110
- [RDF.rb]: http://rubygems.org/gems/rdf
111
- [RDF::XSD]: http://rubygems.org/gems/rdf-xsd
112
- [EBNF]: http://rubygems.org/gems/ebnf
113
- [SPARQL]: http://rubygems.org/gems/sparql
114
- [Linked Data]: http://rubygems.org/gems/linkeddata
114
+ [PDD]: https://unlicense.org/#unlicensing-contributions
115
+ [RDF.rb]: https://rubygems.org/gems/rdf
116
+ [RDF::XSD]: https://rubygems.org/gems/rdf-xsd
117
+ [EBNF]: https://rubygems.org/gems/ebnf
118
+ [SPARQL]: https://rubygems.org/gems/sparql
119
+ [Linked Data]: https://rubygems.org/gems/linkeddata
115
120
  [SSE]: http://openjena.org/wiki/SSE
116
- [SXP]: http://rubygems.org/gems/sxp-ruby
121
+ [SXP]: https://rubygems.org/gems/sxp-ruby
117
122
  [LD Patch]: http://www.w3.org/TR/ldpatch/
118
123
  [LD-Patch doc]: http://rubydoc.info/github/ruby-rdf/ld-patch
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 3.1.3
data/lib/ld/patch.rb CHANGED
@@ -28,8 +28,8 @@ module LD
28
28
  # the base URI to use when resolving relative URIs
29
29
  # @option (see LD::Patch::Parser#initialize)
30
30
  # @return [SPARQL::Algebra::Operator] The executable parsed Patch
31
- def self.parse(input, options = {})
32
- LD::Patch::Parser.new(input, options).parse
31
+ def self.parse(input, **options)
32
+ LD::Patch::Parser.new(input, **options).parse
33
33
  end
34
34
 
35
35
  class Error < StandardError
@@ -42,7 +42,7 @@ module LD
42
42
  # @param [String, #to_s] message
43
43
  # @param [Hash{Symbol => Object}] options
44
44
  # @option options [Integer] :code (422)
45
- def initialize(message, options = {})
45
+ def initialize(message, **options)
46
46
  @code = options.fetch(:status_code, 422)
47
47
  super(message.to_s)
48
48
  end
@@ -70,7 +70,7 @@ module LD
70
70
  # @option options [String] :token (nil)
71
71
  # @option options [Integer] :lineno (nil)
72
72
  # @option options [Integer] :code (400)
73
- def initialize(message, options = {})
73
+ def initialize(message, **options)
74
74
  @token = options[:token]
75
75
  @lineno = options[:lineno] || (@token.lineno if @token.respond_to?(:lineno))
76
76
  super(message.to_s, code: options.fetch(:code, 400))
@@ -43,7 +43,7 @@ module LD::Patch::Algebra
43
43
  end
44
44
 
45
45
  # Also delete triples having var in the object position
46
- queryable.query(object: var).each do |statement|
46
+ queryable.query({object: var}).each do |statement|
47
47
  queryable.delete(statement)
48
48
  cut_count += 1
49
49
  end
@@ -23,10 +23,17 @@ module LD::Patch::Algebra
23
23
  def execute(graph, options = {})
24
24
  debug(options) {"Delete"}
25
25
 
26
- graph.transaction(mutable: true) do |tx|
26
+ if graph.respond_to?(:transaction)
27
+ graph.transaction(mutable: true) do |tx|
28
+ operands.inject(RDF::Query::Solutions.new([RDF::Query::Solution.new])) do |bindings, op|
29
+ # Invoke operand using bindings from prvious operation
30
+ op.execute(tx, options.merge(bindings: bindings))
31
+ end
32
+ end
33
+ else
27
34
  operands.inject(RDF::Query::Solutions.new([RDF::Query::Solution.new])) do |bindings, op|
28
35
  # Invoke operand using bindings from prvious operation
29
- op.execute(tx, options.merge(bindings: bindings))
36
+ op.execute(graph, options.merge(bindings: bindings))
30
37
  end
31
38
  end
32
39
  end
@@ -52,11 +52,11 @@ module LD::Patch::Algebra
52
52
  case op
53
53
  when RDF::URI
54
54
  terms.map do |subject|
55
- queryable.query(subject: subject, predicate: op).map(&:object)
55
+ queryable.query({subject: subject, predicate: op}).map(&:object)
56
56
  end.flatten
57
57
  when SPARQL::Algebra::Query
58
58
  # Get path solutions for each term for op
59
- op.execute(queryable, options.merge(terms: terms)).map do |soln|
59
+ op.execute(queryable, **options.merge(terms: terms)).map do |soln|
60
60
  soln.path
61
61
  end.flatten
62
62
  else
@@ -31,7 +31,7 @@ module LD::Patch::Algebra
31
31
  # @see http://www.w3.org/TR/rdf-sparql-query/#sparqlAlgebra
32
32
  def execute(queryable, options = {}, &block)
33
33
  debug(options) {"Prefix"}
34
- @solutions = queryable.query(operands.last, options.merge(depth: options[:depth].to_i + 1), &block)
34
+ @solutions = queryable.query(operands.last, **options.merge(depth: options[:depth].to_i + 1), &block)
35
35
  end
36
36
 
37
37
  ##
@@ -30,7 +30,7 @@ module LD::Patch::Algebra
30
30
  terms = Array(options.fetch(:terms))
31
31
 
32
32
  results = terms.map do |object|
33
- queryable.query(object: object, predicate: op).map(&:subject)
33
+ queryable.query({object: object, predicate: op}).map(&:subject)
34
34
  end.flatten
35
35
 
36
36
  RDF::Query::Solutions.new(results.map {|t| RDF::Query::Solution.new(path: t)})
@@ -35,7 +35,7 @@ module LD::Patch::Algebra
35
35
  var_or_iri = solution[var_or_iri]
36
36
  end
37
37
 
38
- list_heads = queryable.query(subject: var_or_iri, predicate: predicate).map {|s| s.object}
38
+ list_heads = queryable.query({subject: var_or_iri, predicate: predicate}).map {|s| s.object}
39
39
 
40
40
  raise LD::Patch::Error, "UpdateList ambigious value for #{var_or_iri.to_ntriples} and #{predicate.to_ntriples}" if list_heads.length > 1
41
41
  raise LD::Patch::Error, "UpdateList no value found for #{var_or_iri.to_ntriples} and #{predicate.to_ntriples}" if list_heads.empty?
@@ -31,8 +31,8 @@ module LD::Patch
31
31
  end
32
32
  raise ArgumentError, "Patching requires a patch or reference to patch resource" unless opts[:patch_input]
33
33
  opts[:logger].info "Patch"
34
- patch = LD::Patch.parse(opts[:patch_input], base_uri: opts.fetch(:patch_file, "http://rubygems.org/gems/ld-patch"))
35
- opts[:messages][:"S-Expression"] = [patch.to_sse] if opts[:to_sxp]
34
+ patch = LD::Patch.parse(opts[:patch_input], base_uri: opts.fetch(:patch_file, "https://rubygems.org/gems/ld-patch"))
35
+ opts[:messages][:reasoner] = {"S-Expression": [patch.to_sse]} if opts[:to_sxp]
36
36
  RDF::CLI.repository.query(patch)
37
37
  end,
38
38
  options: [
@@ -42,7 +42,7 @@ module LD::Patch
42
42
  control: :none,
43
43
  on: ["--patch-input STRING"],
44
44
  description: "Patch in URI encoded format"
45
- ) {|v| URI.decode(v)},
45
+ ) {|v| CGI.decode(v)},
46
46
  RDF::CLI::Option.new(
47
47
  symbol: :patch_file,
48
48
  datatype: String,
@@ -295,7 +295,7 @@ module LD::Patch
295
295
  str = lit.delete(:string)
296
296
  lit[:datatype] = lit.delete(:iri) if lit[:iri]
297
297
  lit[:language] = lit.delete(:language).last.downcase if lit[:language]
298
- input[:literal] = RDF::Literal.new(str, lit) if str
298
+ input[:literal] = RDF::Literal.new(str, **lit) if str
299
299
  end
300
300
  end
301
301
 
@@ -323,7 +323,7 @@ module LD::Patch
323
323
  # @yield [parser] `self`
324
324
  # @yieldparam [LD::Patch::Parser] parser
325
325
  # @return [LD::Patch::Parser] The parser instance, or result returned from block
326
- def initialize(input = nil, options = {}, &block)
326
+ def initialize(input = nil, **options, &block)
327
327
  @input = case input
328
328
  when IO, StringIO then input.read
329
329
  else input.to_s.dup
@@ -366,10 +366,13 @@ module LD::Patch
366
366
  # @return [SPARQL::Algebra::Operator, Object]
367
367
  # @raise [ParseError] when illegal grammar detected.
368
368
  def parse(prod = START)
369
- ll1_parse(@input, prod.to_sym, @options.merge(branch: BRANCH,
370
- first: FIRST,
371
- follow: FOLLOW,
372
- whitespace: WS)
369
+ ll1_parse(@input,
370
+ prod.to_sym,
371
+ branch: BRANCH,
372
+ first: FIRST,
373
+ follow: FOLLOW,
374
+ whitespace: WS,
375
+ **@options
373
376
  ) do |context, *data|
374
377
  case context
375
378
  when :trace
@@ -545,7 +548,7 @@ module LD::Patch
545
548
  end
546
549
 
547
550
  # Create a literal
548
- def literal(value, options = {})
551
+ def literal(value, **options)
549
552
  options = options.dup
550
553
  # Internal representation is to not use xsd:string, although it could arguably go the other way.
551
554
  options.delete(:datatype) if options[:datatype] == RDF::XSD.string
@@ -554,7 +557,7 @@ module LD::Patch
554
557
  "options: #{options.inspect}, " +
555
558
  "validate: #{validate?.inspect}, "
556
559
  end
557
- RDF::Literal.new(value, options.merge(validate: validate?))
560
+ RDF::Literal.new(value, validate: validate?, **options)
558
561
  end
559
562
  end
560
563
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ld-patch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 3.1.3
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-08-27 00:00:00.000000000 Z
11
+ date: 2021-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdf
@@ -16,118 +16,112 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: '3.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.0'
26
+ version: '3.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ebnf
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.0'
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 1.0.1
33
+ version: '2.1'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
38
  - - "~>"
42
39
  - !ruby/object:Gem::Version
43
- version: '1.0'
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 1.0.1
40
+ version: '2.1'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: sparql
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: '2.0'
47
+ version: '3.1'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
52
  - - "~>"
59
53
  - !ruby/object:Gem::Version
60
- version: '2.0'
54
+ version: '3.1'
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: sxp
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
59
  - - "~>"
66
60
  - !ruby/object:Gem::Version
67
- version: '1.0'
61
+ version: '1.1'
68
62
  type: :runtime
69
63
  prerelease: false
70
64
  version_requirements: !ruby/object:Gem::Requirement
71
65
  requirements:
72
66
  - - "~>"
73
67
  - !ruby/object:Gem::Version
74
- version: '1.0'
68
+ version: '1.1'
75
69
  - !ruby/object:Gem::Dependency
76
70
  name: rdf-xsd
77
71
  requirement: !ruby/object:Gem::Requirement
78
72
  requirements:
79
73
  - - "~>"
80
74
  - !ruby/object:Gem::Version
81
- version: '2.0'
75
+ version: '3.1'
82
76
  type: :runtime
83
77
  prerelease: false
84
78
  version_requirements: !ruby/object:Gem::Requirement
85
79
  requirements:
86
80
  - - "~>"
87
81
  - !ruby/object:Gem::Version
88
- version: '2.0'
82
+ version: '3.1'
89
83
  - !ruby/object:Gem::Dependency
90
84
  name: json-ld
91
85
  requirement: !ruby/object:Gem::Requirement
92
86
  requirements:
93
87
  - - "~>"
94
88
  - !ruby/object:Gem::Version
95
- version: '2.0'
89
+ version: '3.1'
96
90
  type: :development
97
91
  prerelease: false
98
92
  version_requirements: !ruby/object:Gem::Requirement
99
93
  requirements:
100
94
  - - "~>"
101
95
  - !ruby/object:Gem::Version
102
- version: '2.0'
96
+ version: '3.1'
103
97
  - !ruby/object:Gem::Dependency
104
98
  name: rack
105
99
  requirement: !ruby/object:Gem::Requirement
106
100
  requirements:
107
101
  - - "~>"
108
102
  - !ruby/object:Gem::Version
109
- version: '1.6'
103
+ version: '2.2'
110
104
  type: :development
111
105
  prerelease: false
112
106
  version_requirements: !ruby/object:Gem::Requirement
113
107
  requirements:
114
108
  - - "~>"
115
109
  - !ruby/object:Gem::Version
116
- version: '1.6'
110
+ version: '2.2'
117
111
  - !ruby/object:Gem::Dependency
118
112
  name: rdf-spec
119
113
  requirement: !ruby/object:Gem::Requirement
120
114
  requirements:
121
115
  - - "~>"
122
116
  - !ruby/object:Gem::Version
123
- version: '2.0'
117
+ version: '3.1'
124
118
  type: :development
125
119
  prerelease: false
126
120
  version_requirements: !ruby/object:Gem::Requirement
127
121
  requirements:
128
122
  - - "~>"
129
123
  - !ruby/object:Gem::Version
130
- version: '2.0'
124
+ version: '3.1'
131
125
  - !ruby/object:Gem::Dependency
132
126
  name: open-uri-cached
133
127
  requirement: !ruby/object:Gem::Requirement
@@ -154,56 +148,56 @@ dependencies:
154
148
  requirements:
155
149
  - - "~>"
156
150
  - !ruby/object:Gem::Version
157
- version: '3.4'
151
+ version: '3.10'
158
152
  type: :development
159
153
  prerelease: false
160
154
  version_requirements: !ruby/object:Gem::Requirement
161
155
  requirements:
162
156
  - - "~>"
163
157
  - !ruby/object:Gem::Version
164
- version: '3.4'
158
+ version: '3.10'
165
159
  - !ruby/object:Gem::Dependency
166
160
  name: rspec-its
167
161
  requirement: !ruby/object:Gem::Requirement
168
162
  requirements:
169
163
  - - "~>"
170
164
  - !ruby/object:Gem::Version
171
- version: '1.2'
165
+ version: '1.3'
172
166
  type: :development
173
167
  prerelease: false
174
168
  version_requirements: !ruby/object:Gem::Requirement
175
169
  requirements:
176
170
  - - "~>"
177
171
  - !ruby/object:Gem::Version
178
- version: '1.2'
172
+ version: '1.3'
179
173
  - !ruby/object:Gem::Dependency
180
174
  name: yard
181
175
  requirement: !ruby/object:Gem::Requirement
182
176
  requirements:
183
177
  - - "~>"
184
178
  - !ruby/object:Gem::Version
185
- version: '0.8'
179
+ version: '0.9'
186
180
  type: :development
187
181
  prerelease: false
188
182
  version_requirements: !ruby/object:Gem::Requirement
189
183
  requirements:
190
184
  - - "~>"
191
185
  - !ruby/object:Gem::Version
192
- version: '0.8'
186
+ version: '0.9'
193
187
  - !ruby/object:Gem::Dependency
194
188
  name: webmock
195
189
  requirement: !ruby/object:Gem::Requirement
196
190
  requirements:
197
191
  - - "~>"
198
192
  - !ruby/object:Gem::Version
199
- version: '2.3'
193
+ version: '3.11'
200
194
  type: :development
201
195
  prerelease: false
202
196
  version_requirements: !ruby/object:Gem::Requirement
203
197
  requirements:
204
198
  - - "~>"
205
199
  - !ruby/object:Gem::Version
206
- version: '2.3'
200
+ version: '3.11'
207
201
  description: |2-
208
202
 
209
203
  Implements the W3C Linked Data Patch Format and operations for RDF.rb.
@@ -236,11 +230,11 @@ files:
236
230
  - lib/ld/patch/parser.rb
237
231
  - lib/ld/patch/terminals.rb
238
232
  - lib/ld/patch/version.rb
239
- homepage: http://github.com/ruby-rdf/ld-patch
233
+ homepage: https://github.com/ruby-rdf/ld-patch
240
234
  licenses:
241
235
  - Unlicense
242
236
  metadata: {}
243
- post_install_message:
237
+ post_install_message:
244
238
  rdoc_options: []
245
239
  require_paths:
246
240
  - lib
@@ -248,16 +242,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
248
242
  requirements:
249
243
  - - ">="
250
244
  - !ruby/object:Gem::Version
251
- version: 2.2.2
245
+ version: '2.4'
252
246
  required_rubygems_version: !ruby/object:Gem::Requirement
253
247
  requirements:
254
248
  - - ">="
255
249
  - !ruby/object:Gem::Version
256
250
  version: '0'
257
251
  requirements: []
258
- rubyforge_project:
259
- rubygems_version: 2.6.12
260
- signing_key:
252
+ rubygems_version: 3.2.3
253
+ signing_key:
261
254
  specification_version: 4
262
255
  summary: W3C Linked Data Patch Format for RDF.rb.
263
256
  test_files: []