plate_api 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.byebug_history +5 -0
- data/Gemfile.lock +2 -2
- data/lib/plate_api/post_multipart_request.rb +1 -0
- data/lib/plate_api/version.rb +1 -1
- data/plate_api.gemspec +3 -3
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 241acd37c44f327c4a66c225d00d0d85945924a81fa8dd84b4560d3c5ec35889
|
4
|
+
data.tar.gz: 5573a6e2cdb622e6aaf50126649cf6cb41d21932e3eb774693f95f6942fc8f65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c87dab560422762e7bfcfc62f8b8622c264954e7f4d4bbfb2c8f4c275981c17ab5a0af65b144bc7b4abc6c65c1533e29eaf73af5916df3b2fffa9d4a3cc704e7
|
7
|
+
data.tar.gz: 2717dc00e02a3432eea125d0ff8409c12b4a3a406fe596f549752428103764dda74636c38a8efe77a7bcfb269356842b47ff4ebe7e8656912430ae9828291b20
|
data/.byebug_history
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
plate_api (1.1.
|
4
|
+
plate_api (1.1.5)
|
5
5
|
faraday (~> 0.15.4)
|
6
6
|
faraday_middleware (~> 0.13.1)
|
7
7
|
mimemagic (~> 0.3.3)
|
@@ -34,7 +34,7 @@ GEM
|
|
34
34
|
i18n (1.5.3)
|
35
35
|
concurrent-ruby (~> 1.0)
|
36
36
|
json (2.1.0)
|
37
|
-
mimemagic (0.3.
|
37
|
+
mimemagic (0.3.4)
|
38
38
|
minitest (5.11.3)
|
39
39
|
multipart-post (2.1.1)
|
40
40
|
public_suffix (3.0.3)
|
@@ -3,6 +3,7 @@ require 'mimemagic'
|
|
3
3
|
module PlateApi
|
4
4
|
class PostMultipartRequest < Request
|
5
5
|
HttpAdapter = :net_http
|
6
|
+
MimeMagic.add('image/jpeg', extensions: "jfif")
|
6
7
|
|
7
8
|
def initialize(public_key, secret, path, parameters={}, custom_server=nil)
|
8
9
|
super(public_key, secret, "POST", path, custom_server)
|
data/lib/plate_api/version.rb
CHANGED
data/plate_api.gemspec
CHANGED
@@ -8,11 +8,11 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = PlateApi::VERSION
|
9
9
|
spec.date = '2019-01-05'
|
10
10
|
spec.summary = "Connector for the Plate API"
|
11
|
-
spec.description = "This gem can be used to connect to the Plate API. It takes care
|
11
|
+
spec.description = "This gem can be used to connect to the Plate API. It takes care
|
12
12
|
of the authentication procedure. It also provides a basic wrapper around the Plate API,
|
13
13
|
so objects in Plate can be manipulated as local objects."
|
14
|
-
spec.authors = ["David Kortleven"]
|
15
|
-
spec.email = 'david@getplate.com'
|
14
|
+
spec.authors = ["David Kortleven", "Harmen Fuite"]
|
15
|
+
spec.email = ['david@getplate.com', 'harmen@getplate.com']
|
16
16
|
spec.files = ["lib/plate_api.rb"]
|
17
17
|
spec.license = 'MIT'
|
18
18
|
|
metadata
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plate_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Kortleven
|
8
|
+
- Harmen Fuite
|
8
9
|
autorequire:
|
9
10
|
bindir: exe
|
10
11
|
cert_chain: []
|
@@ -164,11 +165,12 @@ dependencies:
|
|
164
165
|
- - ">="
|
165
166
|
- !ruby/object:Gem::Version
|
166
167
|
version: '0'
|
167
|
-
description:
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
168
|
+
description: "This gem can be used to connect to the Plate API. It takes care \n of
|
169
|
+
the authentication procedure. It also provides a basic wrapper around the Plate
|
170
|
+
API,\n so objects in Plate can be manipulated as local objects."
|
171
|
+
email:
|
172
|
+
- david@getplate.com
|
173
|
+
- harmen@getplate.com
|
172
174
|
executables: []
|
173
175
|
extensions: []
|
174
176
|
extra_rdoc_files: []
|
@@ -228,8 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
230
|
- !ruby/object:Gem::Version
|
229
231
|
version: '0'
|
230
232
|
requirements: []
|
231
|
-
|
232
|
-
rubygems_version: 2.7.6
|
233
|
+
rubygems_version: 3.0.6
|
233
234
|
signing_key:
|
234
235
|
specification_version: 4
|
235
236
|
summary: Connector for the Plate API
|