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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rdf/ordered_repo.rb +3 -2
  4. metadata +8 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb8d7a4252659d073d36fe704be60b62b0aff55dfae646c75a38f6cfb38743cd
4
- data.tar.gz: 5f58fc30cd2a5fa368edf75d5c39b5769176ca46d652927e394a1757ae6291a1
3
+ metadata.gz: 8e84528471b98fa7ebf587a129bc5fa4468ed0bee38990979b801f74e0210a82
4
+ data.tar.gz: 484bf7ece240325a9948623e2ef68fd7814475341e7f936df0c5f4758c41443d
5
5
  SHA512:
6
- metadata.gz: dd1df97330d99e8c99c03176d810e889f50ab1f1fd4e5f5697107a389a3e3d52451256d4418721e7396fc6c8b2c7cbf144bcb7ed2f4accc75251ac3d50cef037
7
- data.tar.gz: '011816332e445274b75221754e57927137d88ebaa80821cd05cc5188069a9869e0f4e8e0ec8d8e2406e8134d016dddbf3ec09d92e684fbfe261109209d68cd6c'
6
+ metadata.gz: 65e78d64e67a9d621cb5abd8dd86a733807587e54a2daf15ccae4d3f9035e1d15de3af224bbc912285763af4327a7507efa90893eeda6e64393869f40b7ac902
7
+ data.tar.gz: 86440c4f3fef41d33fae607364472a6970db7dd53a6341a50948b107163f8cd1e8026665c736a4856b5f25ffd3cfd419c5bc5e78d504d39ceddeeacf732c6d5e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.0
1
+ 3.2.1
@@ -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 (DEFAULT_TX_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.0
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-07 00:00:00.000000000 Z
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