pushfile 0.1.0 → 0.1.1

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: 08dd069e3ed633b00723ff573b347a12a4ec013c
4
- data.tar.gz: 57b936ba1c94284fb8c3840b62f94497bdfc2ed8
3
+ metadata.gz: 73dd773d95177422a2a3bb46bc78f65d9613a6bb
4
+ data.tar.gz: 65aa642ab4fd573a22b66baa134e8bcd9248476f
5
5
  SHA512:
6
- metadata.gz: c1240765b5250ec9965b96f56681bfc85f9bc110e368c8bcd78ed66b43017430480df1e3bf9723a0c9e536e469bc93fb492c208fefa6657a83ac1dfe971b0bc0
7
- data.tar.gz: 621a21483ec85a6b993d92a4ae51da33729b6c6f47ad8ae7f36f47bc45d1a4e0cae8219387a7b79304815cf0b4f5a106990aef318b4b87f9c3bc93793ab4d577
6
+ metadata.gz: 735ce4ca526df140d03bc863518d5c5e935af7dcb23cb0b51fdc1cb6c0f7eb2aa8d2c2462725954159479ea2038172805e71eb895a708bac0ca3c2a0e4b2df6e
7
+ data.tar.gz: 70d0645ab396c1b2502afe57d4fbc31dd1202a06ae6b944098f484d3d0a545744180cef1c6cb1702685253c91163e80f7a80ac12e9e883307d02e8111296fe6d
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- **Version 0.0.2** - *2017-01-05*
1
+ **Version 0.1.1** - *2017-02-15*
2
+
3
+ - Fixed resize config lookup
4
+
5
+ **Version 0.1.0** - *2017-01-22*
2
6
 
3
7
  - Added support for datafile params (dropzone.js)
4
8
  - Fixed a merge option issue
@@ -17,7 +17,7 @@ module Pushfile
17
17
  @provider = o[:provider] || Pushfile.provider || 'amazon'
18
18
 
19
19
  # Extract config
20
- config = o.delete(:config) || :default
20
+ config = (o.delete(:config).to_sym rescue nil) || :default
21
21
 
22
22
  # Default options
23
23
  o = {
data/pushfile.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'pushfile'
3
- s.version = '0.1.0'
4
- s.date = '2017-01-22'
3
+ s.version = '0.1.1'
4
+ s.date = '2017-02-15'
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.0
4
+ version: 0.1.1
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-01-22 00:00:00.000000000 Z
11
+ date: 2017-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport