paperclip-dropbox 1.3.1 → 1.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: 56d82c4f4b21910c0e04e5de1d92d1745f37137e
4
- data.tar.gz: 9ee87a1f927f0e858937124e8e3c6fb5ad87c860
3
+ metadata.gz: d86d20d338feeb9af83f50f016fb8776da8b6921
4
+ data.tar.gz: 6a4f614468e11004c9b1684a81f04d885f0fc839
5
5
  SHA512:
6
- metadata.gz: 6a4c400baaca51a723a26f3dc4909d549efaa5f9ab6e5a06d46b258173578f3dab1f122bc6f15fb5c6b7032b05885e260a6bdc0f32b1e5a2ab3de940a3884a07
7
- data.tar.gz: 6e64a4d5d73e8e3d9170af985bfe592563165da4a8152c21226c5730c7d4e71f04c01743bd8266570abc8105bf1eadb3a33b0a17e40cfb1ccfabb085d6799238
6
+ metadata.gz: 6bbceed3a168c0bc32c6e64f9fc1d37978a21f6e66dc460f4e418e1da462ecc69f7aca5a564d571de3a5122bde573cda9aecc40742d550ceb852c2998b3f968b
7
+ data.tar.gz: 1ce8513d048dbfbb594624005a6b6982d6cfa80143a7f85639459384541dfa71f58b2be92f26413cc4a2777552b3996dcc1bf9262ba9933e0d83a4f2419703c3
@@ -7,7 +7,7 @@ module Paperclip
7
7
  url = URI.parse("https://dl.dropboxusercontent.com/u/#{user_id}/")
8
8
  path = @attachment.path(style)
9
9
  path = path.match(/^Public\//).try(:post_match)
10
- url.merge!(path)
10
+ url.merge!(URI.encode(path))
11
11
  url.to_s
12
12
  end
13
13
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "paperclip-dropbox"
5
- gem.version = "1.3.1"
5
+ gem.version = "1.3.2"
6
6
 
7
7
  gem.homepage = "https://github.com/janko-m/paperclip-dropbox"
8
8
  gem.description = %q{Extends Paperclip with Dropbox storage.}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip-dropbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janko Marohnić
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-29 00:00:00.000000000 Z
11
+ date: 2015-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paperclip
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  version: '0'
177
177
  requirements: []
178
178
  rubyforge_project:
179
- rubygems_version: 2.4.5
179
+ rubygems_version: 2.2.2
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: Extends Paperclip with Dropbox storage.