preservation-client 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +2 -15
- data/lib/preservation/client/version.rb +1 -1
- data/lib/preservation/client/versioned_api_service.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87f6d28de114c911290ae02d86e45dc39728ffd2ca63e76c7868f40a44656b01
|
4
|
+
data.tar.gz: 623f1c5881b8cb1cc402376bd934494708c0ee5d388ee3e6e7d78a366d6ebdee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a8a7c2f696815790e7fc8142049867f5a5a138cde7e22d966ddef7ba4f12b5314b25266d9093757008e81eab5943221c234b4ce3618791fa20a7d93aa5d63f9
|
7
|
+
data.tar.gz: a9e1d7b4b08b208882b900c83509a5f4f79699f2aec5509ae206ff1659b032ed5bd43a63a130ceccfab11ac68c02092a913d184802ab63c1e073f38ff939691f
|
data/.rubocop_todo.yml
CHANGED
@@ -1,24 +1,11 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2019-09-
|
3
|
+
# on 2019-09-24 11:53:40 -0700 using RuboCop version 0.74.0.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
-
# Offense count:
|
9
|
+
# Offense count: 2
|
10
10
|
Metrics/AbcSize:
|
11
|
-
Max: 24
|
12
|
-
|
13
|
-
# Offense count: 1
|
14
|
-
# Configuration parameters: CountComments, ExcludedMethods.
|
15
|
-
# ExcludedMethods: refine
|
16
|
-
Metrics/BlockLength:
|
17
11
|
Max: 26
|
18
|
-
|
19
|
-
# Offense count: 1
|
20
|
-
# Cop supports --auto-correct.
|
21
|
-
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
22
|
-
# URISchemes: http, https
|
23
|
-
Metrics/LineLength:
|
24
|
-
Max: 137
|
@@ -20,7 +20,7 @@ module Preservation
|
|
20
20
|
req.headers['Content-Type'] = 'application/json'
|
21
21
|
req.headers['Accept'] = 'application/json'
|
22
22
|
end
|
23
|
-
return resp.body if resp.success?
|
23
|
+
return JSON.parse(resp.body).with_indifferent_access if resp.success?
|
24
24
|
|
25
25
|
errmsg = ResponseErrorFormatter
|
26
26
|
.format(response: resp, object_id: object_id, client_method_name: caller_method_name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: preservation-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naomi Dushay
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|