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 +5 -5
- data/README.md +25 -20
- data/VERSION +1 -1
- data/lib/ld/patch.rb +4 -4
- data/lib/ld/patch/algebra/cut.rb +1 -1
- data/lib/ld/patch/algebra/patch.rb +9 -2
- data/lib/ld/patch/algebra/path.rb +2 -2
- data/lib/ld/patch/algebra/prefix.rb +1 -1
- data/lib/ld/patch/algebra/reverse.rb +1 -1
- data/lib/ld/patch/algebra/update_list.rb +1 -1
- data/lib/ld/patch/format.rb +3 -3
- data/lib/ld/patch/parser.rb +11 -8
- metadata +32 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5d07d0448e3c60b5914fc701865a6616b8c5f060db3ace27d3faf36c7b4e4055
|
4
|
+
data.tar.gz: 4b712590d54698ed034ccfe3240a26a473903ca52cf50848e2887ee82ed607d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)](
|
6
|
-
[![Build Status](https://
|
7
|
-
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/ld-patch/badge.svg)](https://coveralls.io/
|
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.
|
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: "
|
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.
|
77
|
-
* [RDF.rb](
|
78
|
-
* [EBNF][] (~> 1.
|
79
|
-
* [SPARQL][] (~>
|
80
|
-
* [SXP][] (~>
|
81
|
-
* [RDF::XSD][] (~>
|
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](
|
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
|
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]:
|
110
|
-
[RDF.rb]:
|
111
|
-
[RDF::XSD]:
|
112
|
-
[EBNF]:
|
113
|
-
[SPARQL]:
|
114
|
-
[Linked Data]:
|
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]:
|
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
|
-
|
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))
|
data/lib/ld/patch/algebra/cut.rb
CHANGED
@@ -23,10 +23,17 @@ module LD::Patch::Algebra
|
|
23
23
|
def execute(graph, options = {})
|
24
24
|
debug(options) {"Delete"}
|
25
25
|
|
26
|
-
graph.
|
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(
|
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?
|
data/lib/ld/patch/format.rb
CHANGED
@@ -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, "
|
35
|
-
opts[:messages][:"S-Expression"
|
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|
|
45
|
+
) {|v| CGI.decode(v)},
|
46
46
|
RDF::CLI::Option.new(
|
47
47
|
symbol: :patch_file,
|
48
48
|
datatype: String,
|
data/lib/ld/patch/parser.rb
CHANGED
@@ -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
|
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,
|
370
|
-
|
371
|
-
|
372
|
-
|
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,
|
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:
|
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:
|
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: '
|
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: '
|
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
|
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
|
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: '
|
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: '
|
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.
|
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.
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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: '
|
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: '
|
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:
|
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.
|
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
|
-
|
259
|
-
|
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: []
|