rdf-ordered-repo 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rdf/ordered_repo.rb +3 -2
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e84528471b98fa7ebf587a129bc5fa4468ed0bee38990979b801f74e0210a82
|
4
|
+
data.tar.gz: 484bf7ece240325a9948623e2ef68fd7814475341e7f936df0c5f4758c41443d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65e78d64e67a9d621cb5abd8dd86a733807587e54a2daf15ccae4d3f9035e1d15de3af224bbc912285763af4327a7507efa90893eeda6e64393869f40b7ac902
|
7
|
+
data.tar.gz: 86440c4f3fef41d33fae607364472a6970db7dd53a6341a50948b107163f8cd1e8026665c736a4856b5f25ffd3cfd419c5bc5e78d504d39ceddeeacf732c6d5e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.1
|
data/lib/rdf/ordered_repo.rb
CHANGED
@@ -17,13 +17,14 @@ module RDF
|
|
17
17
|
# only the default graph is supported.
|
18
18
|
# @option options [Boolean] :with_validity (true)
|
19
19
|
# Indicates that the repository supports named validation.
|
20
|
-
# @option options [Boolean] :transaction_class (
|
20
|
+
# @option options [Boolean] :transaction_class (RDF::Transaction::SerializedTransaction)
|
21
21
|
# Specifies the RDF::Transaction implementation to use in this Repository.
|
22
22
|
# @yield [repository]
|
23
23
|
# @yieldparam [Repository] repository
|
24
|
-
def initialize(uri: nil, title: nil, **options, &block)
|
24
|
+
def initialize(uri: nil, title: nil, transaction_class: RDF::Transaction::SerializedTransaction, **options, &block)
|
25
25
|
@data = options.delete(:data) || {}
|
26
26
|
super do
|
27
|
+
@tx_class = transaction_class
|
27
28
|
if block_given?
|
28
29
|
case block.arity
|
29
30
|
when 1 then block.call(self)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-ordered-repo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.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: 2021-12-
|
11
|
+
date: 2021-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.2'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.2.1
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,6 +27,9 @@ dependencies:
|
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '3.2'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.2.1
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rdf-spec
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|