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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3ec3a0388baa39783f30de6e8585e67ed91fcd9
4
- data.tar.gz: fcd82850422ddbf883bc4deef4d7bd2c7db561a0
3
+ metadata.gz: e465a6cca55b6035d40afa2f37f503b5464cdce2
4
+ data.tar.gz: b84b12385336333410a3fa7af4c034b6ab9506a3
5
5
  SHA512:
6
- metadata.gz: 6e43144f24a1fbd94f7fb30f03f96147b8893c73528a45c14ebeefd173cfee197cef5c795e1acf859853f4fab7235a4cad77f7a7498cf13ad8f38d30b614c97b
7
- data.tar.gz: af60c2ea45e9fd4c858a182a4cf56175b9b2adb3381781769ff329d855ec76f7e27043ad3d6259b3a06156a03f410f178dbd370c96d8c775fba35e35bc301504
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
@@ -1,3 +1,3 @@
1
1
  module CarrierwaveRoz
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
3
3
  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.2
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-25 00:00:00.000000000 Z
11
+ date: 2014-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: carrierwave