lalala 4.0.0.dev.131 → 4.0.0.dev.132

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: 936b8964ee9b5611cfc755d35e47d58416bf0a54
4
- data.tar.gz: 62b189a933b3fa8533cb26036b1a0f36ccf3539c
3
+ metadata.gz: dc1ae17de6d849cc566a4dea2b5e7285e7c55a76
4
+ data.tar.gz: 483ce30c92bc399e37e9c0ae375612d4dd0a33bf
5
5
  SHA512:
6
- metadata.gz: c3b80afe8a1e97db95f2e184b271abf8012c9b0566977ea913de755c3df69aa640a68ee87640af8476682d8b765d14b21ff69c5810d843880dd9a19f04d90f1c
7
- data.tar.gz: 2f8c042595e35d2a2838b99701c0a59c178b45de83a427d279f1322eb1fe9cfe2eb423afdd1676c451bdf04464af2a26e44d7e18a68dcc1b137db77cfa7582bb
6
+ metadata.gz: 35f72b7546f8f5655644a4eddf0733c12f650f3af66e8b08549b7b3b5b0b17c4986531bc35f7c645f6fcdb0f89d2fbe06c45b9eb96939c225c330fcf1181e7f0
7
+ data.tar.gz: 2414f42bbfc87cc48ba422343031b9bb726263b76d7a8d7eaf0a06d86ae578cea6d08142cc078cb97a9caa3630c168ce5475762f8b1c29b8bc6b8d4678559942
@@ -17,8 +17,8 @@ class Formtastic::Inputs::GridInput
17
17
  builder.fields_for(method, asset) do |f|
18
18
  lalala_thumb = f.object.asset.lalala_thumb
19
19
 
20
- if lalala_thumb
21
- link_inner_html = template.image_tag(lalala_thumb.url)
20
+ if url = lalala_thumb.try(:url)
21
+ link_inner_html = template.image_tag(url)
22
22
  else
23
23
  link_inner_html = ""
24
24
  end
@@ -37,7 +37,7 @@ class Lalala::Uploaders::File < CarrierWave::Uploader::Base
37
37
  self
38
38
  end
39
39
 
40
- def =~(pattern)
40
+ def =~(pattern)
41
41
  return true
42
42
  end
43
43
 
@@ -1,6 +1,6 @@
1
1
  module Lalala
2
2
  VERSION = "4.0.0"
3
- BUILD = "131"
3
+ BUILD = "132"
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.131
4
+ version: 4.0.0.dev.132
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Menke