carrierwave-roz 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/carrierwave/storage/roz.rb +2 -0
- data/lib/carrierwave_roz/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e465a6cca55b6035d40afa2f37f503b5464cdce2
|
4
|
+
data.tar.gz: b84b12385336333410a3fa7af4c034b6ab9506a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f52a8881c61bf1d4599204474c451c63b4c26bba0fde31299d0261b3fdea82daf20729eadddc0d9575f2f1dd2e59292ce0ec5ed3dc21c706dbc1cac2aec52995
|
7
|
+
data.tar.gz: 07569c404b9cacd8cb7061f307f7f5a5464487416b5f4945d7596a04ac09480093d7d0d65678dfc122fa0474d7d0d78e0ac68b4b54dbd8f22c4d4b5ca029cc8c
|
@@ -5,6 +5,8 @@ module CarrierWave
|
|
5
5
|
module Storage
|
6
6
|
class Roz < Abstract
|
7
7
|
def identifier
|
8
|
+
return nil unless uploader.filename
|
9
|
+
|
8
10
|
full_filename = [uploader.version_name, uploader.filename].compact.join('_')
|
9
11
|
::File.join(*[uploader.access_id, uploader.store_dir, full_filename].map(&:to_s))
|
10
12
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave-roz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Crownoble
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carrierwave
|