startback 0.3.1 → 0.3.2

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
  SHA1:
3
- metadata.gz: 9f1310630a538267bf38193493fba48f9e97cae6
4
- data.tar.gz: e4fd13e830e706e131f132d153282fb5ee71b2e3
3
+ metadata.gz: 3fc7693502b41602c25fdb83d5b1ce160a214a1c
4
+ data.tar.gz: 429f09c3de3d416ce371297951c844f1deeb85e1
5
5
  SHA512:
6
- metadata.gz: 7b1834a0ddd45c1dc9a487d58bc3d79c0ab8e42089cf22a79236fe4501e8ea3fe3c357defc06e3d8c5436ba3cc8828781834f1ec674a38a46f57f1f0d5c6ec95
7
- data.tar.gz: 0a3852e622d89e1c5fe5a304c0dd5a99d04fd834cfd9d8a69f41c9603406c53a02c0b69f8feec5ce29bc9804653a4c1929f6e7ffc6896bdd92d9003b52dbe71e
6
+ metadata.gz: 38d598f797939a93b6f0f82562eba2b597ebfb75d1ce9f66f12847e73199bd40878af18c03f540a9769a292ce48440c4ba2beb82cd565c4c14624684fdd437e4
7
+ data.tar.gz: 805e9cdef2b6f37c0761ff000bd1f63da1b9a8a5e000e32476ef1e3e993a9492e228f59f9dd05a6fb20f619043fe8e8f620ab844703253e2cf71d86bf2a6b63f
@@ -2,7 +2,7 @@ module Startback
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- TINY = 1
5
+ TINY = 2
6
6
  end
7
7
  VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::TINY}"
8
8
  end
@@ -36,7 +36,8 @@ module Startback
36
36
  when /json/
37
37
  json_body
38
38
  when /multipart\/form-data/
39
- file_body params[:file], Path(file[:filename]).extname
39
+ file = params[:file]
40
+ file_body file, Path(file[:filename]).extname
40
41
  else
41
42
  unsupported_content_type(ctype)
42
43
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: startback
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernard Lambeau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-27 00:00:00.000000000 Z
11
+ date: 2019-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake