pushfile 0.1.2 → 0.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b640190bce1efb45bbf88de4cad12f28d615a176
4
- data.tar.gz: f252b01349bdddc9cbba41a6d70fd56047df1acf
3
+ metadata.gz: 0edc98c778929bc38a9d2c0a393e31aa7938d932
4
+ data.tar.gz: a34c96099f1f7571d0ba3cc48fb0cbcc2a2b43da
5
5
  SHA512:
6
- metadata.gz: 7e6db594a7f266de5084682de0715501eeb03ca1305a2c7c0e1b89fb04aa2cfe1d7631ebe4c8bf2ae50f144304dbd3eac11bf387ad694297f7e68ef0169de2ec
7
- data.tar.gz: dcef9f976bc09062d367f46c50165c382786133a8352e72ce2c99fcd91e0176cc68f9c3b9a5e1776f8c2ed63c43389c55127b29c5854f11d3f68c0bb2a6d8128
6
+ metadata.gz: cf6b85e2ce74ad3755fa0866d45b48fe7dda398f03a9101f86bc1e7b8a3089482ae248289db81e89187bd3442727367bfceaf4b1a62aab2af3dc5bc15f555862
7
+ data.tar.gz: d0591bd2439ecbb3dee54fe1bf887606ab86884c2461ddac93b0102a8addd7aa380c2eb05dcf8181191cb5c4cfb9f653f4f5d4fa67c52718397cda333d04319d
@@ -1,3 +1,7 @@
1
+ **Version 0.1.3** - *2018-05-20*
2
+
3
+ - Symbolize keys in upload
4
+
1
5
  **Version 0.1.2** - *2017-03-09*
2
6
 
3
7
  - Error handling for empty name in URL upload
@@ -13,6 +13,9 @@ module Pushfile
13
13
  attr_accessor :provider, :file, :timestamp, :name, :thumb, :type, :cdn, :container, :max, :status, :service, :width, :height, :data
14
14
 
15
15
  def initialize(o = {})
16
+ # Convert option keys to symbols
17
+ o = o.symbolize_keys
18
+
16
19
  # Set provider
17
20
  @provider = o[:provider] || Pushfile.provider || 'amazon'
18
21
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'pushfile'
3
- s.version = '0.1.2'
4
- s.date = '2017-03-09'
3
+ s.version = '0.1.3'
4
+ s.date = '2018-05-20'
5
5
  s.summary = "Pushfile Cloud File Uploader"
6
6
  s.description = "Upload files to Rackspace Cloud or Amazon S3 by URL or file with automatic image resizing."
7
7
  s.authors = ["Fugroup Limited"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pushfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fugroup Limited
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-09 00:00:00.000000000 Z
11
+ date: 2018-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  version: '0'
192
192
  requirements: []
193
193
  rubyforge_project:
194
- rubygems_version: 2.6.10
194
+ rubygems_version: 2.6.12
195
195
  signing_key:
196
196
  specification_version: 4
197
197
  summary: Pushfile Cloud File Uploader