valkyrie 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +9 -0
- data/lib/generators/valkyrie/templates/resource_spec.rb.erb +1 -1
- data/lib/valkyrie/persistence/solr/repository.rb +1 -1
- data/lib/valkyrie/version.rb +1 -1
- data/valkyrie.gemspec +1 -0
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2f8a25a4907164098b326abda6efecd2e8312c44
|
4
|
+
data.tar.gz: 527a724741b2be29ae313179b0d9d44acee1588c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e5d8ab1685035c009f3aece230c97189f51c5382e33bd45677afaf8464da3893fab299ea3c3cd7a35d71943db4c292379ac9531dbbf6f33df4c7e51bf6ddb9e
|
7
|
+
data.tar.gz: 532b506eed5ffd247c6dca88d01893190a56f5dcdd88ad6d38775ff93de8e2aa647d3397006d9aab7be4bba610fafae5523707c3135218d8b0a312fdbe236d56
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# v1.2.1 2018-09-25
|
2
|
+
|
3
|
+
## Changes since last release
|
4
|
+
|
5
|
+
* Fix solr persister to pass through exceptions on timeout
|
6
|
+
[hackmastera](https://github.com/hackmastera)
|
7
|
+
* Fix generated specs to work with shared_specs expectation
|
8
|
+
[revgum](https://github.com/revgum)
|
9
|
+
|
1
10
|
# v1.2.0 2018-08-29
|
2
11
|
|
3
12
|
## Changes since last release
|
@@ -38,7 +38,7 @@ module Valkyrie::Persistence::Solr
|
|
38
38
|
connection.add documents, params: COMMIT_PARAMS
|
39
39
|
rescue RSolr::Error::Http => exception
|
40
40
|
# Error 409 conflict is returned when versions do not match
|
41
|
-
if exception.response
|
41
|
+
if exception.response&.fetch(:status) == 409
|
42
42
|
handle_conflict
|
43
43
|
end
|
44
44
|
raise exception
|
data/lib/valkyrie/version.rb
CHANGED
data/valkyrie.gemspec
CHANGED
@@ -39,6 +39,7 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.add_development_dependency "rake", "~> 10.0"
|
40
40
|
spec.add_development_dependency "rspec", "~> 3.0"
|
41
41
|
spec.add_development_dependency "pry"
|
42
|
+
spec.add_development_dependency "webmock"
|
42
43
|
spec.add_development_dependency "pry-byebug"
|
43
44
|
spec.add_development_dependency "database_cleaner"
|
44
45
|
spec.add_development_dependency "simplecov"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: valkyrie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trey Pendragon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|
@@ -276,6 +276,20 @@ dependencies:
|
|
276
276
|
- - ">="
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: '0'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: webmock
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
279
293
|
- !ruby/object:Gem::Dependency
|
280
294
|
name: pry-byebug
|
281
295
|
requirement: !ruby/object:Gem::Requirement
|
@@ -575,7 +589,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
575
589
|
version: '0'
|
576
590
|
requirements: []
|
577
591
|
rubyforge_project:
|
578
|
-
rubygems_version: 2.
|
592
|
+
rubygems_version: 2.6.14
|
579
593
|
signing_key:
|
580
594
|
specification_version: 4
|
581
595
|
summary: An ORM using the Data Mapper pattern, specifically built to solve Digital
|