lalala 4.0.0.dev.194 → 4.0.0.dev.195

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: c80ca1ebcffb031dde3e435252d89f23bf60cfa9
4
- data.tar.gz: 26f97680b06596592e6fe058307264d0da1479ac
3
+ metadata.gz: be14a0c77ea4a0ba2198126f3b31dd189b22e646
4
+ data.tar.gz: 31bf933a45e5ded8a63333c8cfebd2fae2d736da
5
5
  SHA512:
6
- metadata.gz: ce70258673578e29a871209897b3f2edc386e64029575f1342940480b6c780d0f92fd8cb0c41119c5bb4691b445fa6db8d32a3903a8ebf1a2a59ad967f5c57d0
7
- data.tar.gz: d915f57bb8b74525003cd6b5f33415bf12ad9829eb472699fa2e6342dfb5dd5a8b9858b6ecea9722d8f8c8b994623817a252f42a5aa0622259d88e6aecbaac38
6
+ metadata.gz: 4b36e5d18af5311f465673f9ab55857bed0aa44b002019b9b79789fd3dcc498a43dbbc7fdd9d3636fe031a07f51d824ccb164c44c15d8a25cd24262f7357cfb0
7
+ data.tar.gz: 47c9245b0726b84899c73283ac6e874d2680ce5de96891b2ad1f16ffbb71f76d1c798a8614b055def74b4ed1b6905a6a5bdc1b1753ddac60872410f9123c2a16
@@ -12,7 +12,11 @@ class Lalala::Uploaders::File < CarrierWave::Uploader::Base
12
12
  super_url = super
13
13
  if Rails.env.production? or Rails.env.staging?
14
14
  if super_url
15
- AssetURL.new(File.join("/storage/assets", super_url))
15
+ if super_url.starts_with?('/storage/assets')
16
+ super_url
17
+ else
18
+ AssetURL.new(File.join("/storage/assets", super_url))
19
+ end
16
20
  else
17
21
  super_url
18
22
  end
@@ -1,6 +1,6 @@
1
1
  module Lalala
2
2
  VERSION = "4.0.0"
3
- BUILD = "194"
3
+ BUILD = "195"
4
4
 
5
5
  if BUILD != ("{{BUILD_NUMBER" + "}}") # prevent sed replacement (see script/ci)
6
6
  BUILD_VERSION = "#{VERSION}.dev.#{BUILD}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lalala
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.dev.194
4
+ version: 4.0.0.dev.195
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Menke
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2013-06-07 00:00:00.000000000 Z
16
+ date: 2013-06-11 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: carrierwave