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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d203c497e35600d5ec2dc9573a24240ae65119831f91289d4ca84b58b7964af
4
- data.tar.gz: 971d5e6fc93a93b1e8395af32a634b6382d194a004e914b0c71745937477355e
3
+ metadata.gz: 241acd37c44f327c4a66c225d00d0d85945924a81fa8dd84b4560d3c5ec35889
4
+ data.tar.gz: 5573a6e2cdb622e6aaf50126649cf6cb41d21932e3eb774693f95f6942fc8f65
5
5
  SHA512:
6
- metadata.gz: 0c91bd38ad455108cff1dae9e7691b89ffb41adc34ec0c7c85622d121a6d53e8637066e1628a9894b3bd6ca8569fb1869ee6440e556aea9842f0890842634ef0
7
- data.tar.gz: 0f846036826fc71e4ecb749ca2996ec51ef88d2c2727a1cce90d6b01c9281a08d073158bb1a9a280bb9fb039f113d41db09f4eddff9e481b728c1a78a65bb076
6
+ metadata.gz: c87dab560422762e7bfcfc62f8b8622c264954e7f4d4bbfb2c8f4c275981c17ab5a0af65b144bc7b4abc6c65c1533e29eaf73af5916df3b2fffa9d4a3cc704e7
7
+ data.tar.gz: 2717dc00e02a3432eea125d0ff8409c12b4a3a406fe596f549752428103764dda74636c38a8efe77a7bcfb269356842b47ff4ebe7e8656912430ae9828291b20
data/.byebug_history CHANGED
@@ -1,4 +1,9 @@
1
1
  c
2
+ MimeMagic.by_path(@full_path)
3
+ MimemMagic.by_path(@full_path)
4
+ @file
5
+ @full_path
6
+ c
2
7
  attributes
3
8
  m
4
9
  c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- plate_api (1.1.4)
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.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)
@@ -1,3 +1,3 @@
1
1
  module PlateApi
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  end
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
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
- This gem can be used to connect to the Plate API. It takes care
169
- of the authentication procedure. It also provides a basic wrapper around the Plate API,
170
- so objects in Plate can be manipulated as local objects.
171
- email: david@getplate.com
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
- rubyforge_project:
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