mojfile-uploader-api-client 0.7 → 0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/Gemfile.lock +4 -4
- data/README.md +3 -0
- data/lib/mojfile_uploader_api_client/http_client.rb +3 -1
- data/lib/mojfile_uploader_api_client/status.rb +5 -0
- data/lib/mojfile_uploader_api_client/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5eae5458ae6b6a1830ee6eeb2ec2bbaed3757efb
|
|
4
|
+
data.tar.gz: a6035423b4977ff08ac71f8dd97ccdbd2fe97642
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f59ca9334478ba5e63b42332f175ec95121ce006ee618fb992277c7a89001ec0b485ebaf4807f85ffcdbbde9aa9fe231bfae15bb6d916a4d4413419da5007cab
|
|
7
|
+
data.tar.gz: a8a15e220491a03faa914aad1fd411b57ed1ae2e2936adb5fd5c9f3f8ef3e54c75a1fe4cd2c6bb6f36d85c7814aa9cf3123a8a7270490b1912798175f3e944bb
|
data/.travis.yml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
language: ruby
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
mojfile-uploader-api-client (0.
|
|
4
|
+
mojfile-uploader-api-client (0.8)
|
|
5
5
|
rest-client (~> 2.0.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -25,7 +25,7 @@ GEM
|
|
|
25
25
|
equalizer (~> 0.0.9)
|
|
26
26
|
diff-lcs (1.2.5)
|
|
27
27
|
docile (1.1.5)
|
|
28
|
-
domain_name (0.5.
|
|
28
|
+
domain_name (0.5.20170404)
|
|
29
29
|
unf (>= 0.0.5, < 1.0.0)
|
|
30
30
|
equalizer (0.0.11)
|
|
31
31
|
http-cookie (1.0.3)
|
|
@@ -82,7 +82,7 @@ GEM
|
|
|
82
82
|
rainbow (2.2.1)
|
|
83
83
|
rake (10.5.0)
|
|
84
84
|
regexp_parser (0.3.6)
|
|
85
|
-
rest-client (2.0.
|
|
85
|
+
rest-client (2.0.2)
|
|
86
86
|
http-cookie (>= 1.0.2, < 2.0)
|
|
87
87
|
mime-types (>= 1.16, < 4.0)
|
|
88
88
|
netrc (~> 0.8)
|
|
@@ -115,7 +115,7 @@ GEM
|
|
|
115
115
|
thread_safe (0.3.6)
|
|
116
116
|
unf (0.1.4)
|
|
117
117
|
unf_ext
|
|
118
|
-
unf_ext (0.0.7.
|
|
118
|
+
unf_ext (0.0.7.4)
|
|
119
119
|
unicode-display_width (1.1.3)
|
|
120
120
|
unparser (0.2.5)
|
|
121
121
|
abstract_type (~> 0.0.7)
|
data/README.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
[](https://travis-ci.org/ministryofjustice/mojfile-uploader-api-client)
|
|
3
|
+
|
|
1
4
|
# mojfile-uploader-api-client
|
|
2
5
|
An API client for [mojfile-uploader](https://github.com/ministryofjustice/mojfile-uploader)
|
|
3
6
|
|
|
@@ -41,7 +41,9 @@ module MojFileUploaderApiClient
|
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
def options
|
|
44
|
-
|
|
44
|
+
# Using `self.class.options` allows overriding defaults in individual API
|
|
45
|
+
# calls and ensure that overrides do not persist across calls.
|
|
46
|
+
DEFAULT_OPTIONS.merge(self.class.options || {})
|
|
45
47
|
end
|
|
46
48
|
|
|
47
49
|
private
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mojfile-uploader-api-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '0.
|
|
4
|
+
version: '0.8'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jesus Laiz
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-
|
|
12
|
+
date: 2017-05-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -134,6 +134,7 @@ files:
|
|
|
134
134
|
- ".gitignore"
|
|
135
135
|
- ".rubocop.yml"
|
|
136
136
|
- ".ruby-version"
|
|
137
|
+
- ".travis.yml"
|
|
137
138
|
- Gemfile
|
|
138
139
|
- Gemfile.lock
|
|
139
140
|
- LICENSE
|