ld-patch 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -9
- data/VERSION +1 -1
- data/lib/ld/patch/format.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb352bd5bbc3691896fc9db702efc945b23f1c788839a0b0455ba353f4b37ae8
|
4
|
+
data.tar.gz: b07b9e419fd2dc3b290af7d399c4b05b3e2e81c5edd2a8fc22cfb483892240b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfa6ad6e3127cc6d0ce8827675e9ee223c7dd68d513c2c86588b0b53ec145e08c514cef5aa20a613ad939c607f4bb80e33a8ecd6a0692980ac742275f4e35198
|
7
|
+
data.tar.gz: bf91d175b92ebd050bf9f6f77b5e9482e9fec9421d4f52d241b82fc4bb2d7781db49ee2cf371bbe1d205d34d5a9067b48024b822d3bd853801b6e5d0cdfebfeb
|
data/README.md
CHANGED
@@ -50,7 +50,7 @@ Full documentation available on [Rubydoc.info][LD-Patch doc]
|
|
50
50
|
Bind ?ruby <> / doap:programming-language .
|
51
51
|
Cut ?ruby .
|
52
52
|
)
|
53
|
-
operator = LD::Patch.parse(patch, base_uri: "
|
53
|
+
operator = LD::Patch.parse(patch, base_uri: "https://rubygems.org/gems/ld-patch")
|
54
54
|
operator.execute(queryable) # alternatively queryable.query(operator)
|
55
55
|
|
56
56
|
## Command Line
|
@@ -74,7 +74,7 @@ The parser takes branch and follow tables generated from the [LD Patch Grammar](
|
|
74
74
|
## Dependencies
|
75
75
|
|
76
76
|
* [Ruby](http://ruby-lang.org/) (>= 2.4)
|
77
|
-
* [RDF.rb](
|
77
|
+
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.1)
|
78
78
|
* [EBNF][] (~> 1.2)
|
79
79
|
* [SPARQL][] (~> 3.1)
|
80
80
|
* [SXP][] (~> 1.1)
|
@@ -84,7 +84,7 @@ The parser takes branch and follow tables generated from the [LD Patch Grammar](
|
|
84
84
|
* <http://lists.w3.org/Archives/Public/public-rdf-ruby/>
|
85
85
|
|
86
86
|
## Author
|
87
|
-
* [Gregg Kellogg](
|
87
|
+
* [Gregg Kellogg](https://github.com/gkellogg) - <http://greggkellogg.net/>
|
88
88
|
|
89
89
|
## Contributing
|
90
90
|
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.
|
@@ -107,12 +107,12 @@ A copy of the [LD Patch EBNF](file:etc/ld-patch.ebnf) and derived parser files a
|
|
107
107
|
[YARD]: http://yardoc.org/
|
108
108
|
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
109
109
|
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
|
110
|
-
[RDF.rb]:
|
111
|
-
[RDF::XSD]:
|
112
|
-
[EBNF]:
|
113
|
-
[SPARQL]:
|
114
|
-
[Linked Data]:
|
110
|
+
[RDF.rb]: https://rubygems.org/gems/rdf
|
111
|
+
[RDF::XSD]: https://rubygems.org/gems/rdf-xsd
|
112
|
+
[EBNF]: https://rubygems.org/gems/ebnf
|
113
|
+
[SPARQL]: https://rubygems.org/gems/sparql
|
114
|
+
[Linked Data]: https://rubygems.org/gems/linkeddata
|
115
115
|
[SSE]: http://openjena.org/wiki/SSE
|
116
|
-
[SXP]:
|
116
|
+
[SXP]: https://rubygems.org/gems/sxp-ruby
|
117
117
|
[LD Patch]: http://www.w3.org/TR/ldpatch/
|
118
118
|
[LD-Patch doc]: http://rubydoc.info/github/ruby-rdf/ld-patch
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.1
|
data/lib/ld/patch/format.rb
CHANGED
@@ -31,7 +31,7 @@ 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, "
|
34
|
+
patch = LD::Patch.parse(opts[:patch_input], base_uri: opts.fetch(:patch_file, "https://rubygems.org/gems/ld-patch"))
|
35
35
|
opts[:messages][:reasoner] = {"S-Expression": [patch.to_sse]} if opts[:to_sxp]
|
36
36
|
RDF::CLI.repository.query(patch)
|
37
37
|
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: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg Kellogg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sparql
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -230,7 +230,7 @@ files:
|
|
230
230
|
- lib/ld/patch/parser.rb
|
231
231
|
- lib/ld/patch/terminals.rb
|
232
232
|
- lib/ld/patch/version.rb
|
233
|
-
homepage:
|
233
|
+
homepage: https://github.com/ruby-rdf/ld-patch
|
234
234
|
licenses:
|
235
235
|
- Unlicense
|
236
236
|
metadata: {}
|
@@ -249,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: '0'
|
251
251
|
requirements: []
|
252
|
-
rubygems_version: 3.
|
252
|
+
rubygems_version: 3.1.3
|
253
253
|
signing_key:
|
254
254
|
specification_version: 4
|
255
255
|
summary: W3C Linked Data Patch Format for RDF.rb.
|