caboose-cms 0.6.14 → 0.6.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODhkODg1YWVmZWY4NDQ1ZmUxNjNiNDhlODZhOGE3ZjlmZmZkZDYyOQ==
4
+ MzY2MjdlZGYxZmY2MGE1ZDYxOTVhODYzMGU1ZjgxNzg3ZTg2NjU1Nw==
5
5
  data.tar.gz: !binary |-
6
- OGNjYzg0MzJjMGQ0Y2RkYjFiY2UzNDA0Y2NkYTAyNTkwYzk5ZjhiMw==
6
+ YzMwNjdkYjczNjcxOTVkMDFiMjAxMDYyMDUyZDE2N2Y4OWUxNTVmYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODYxMDVmY2ZkY2YyNGJkOGIwMzQ0NDBkZGYxNWE2OTkzNTE4NmJmOTE1MGZl
10
- ZDk1ODllNzg5MDVhNjRkYjYyOWNiYWJmMDIxMjBiODkyYjRjYzQ5ZWYwZjRm
11
- OTZiMTUzMDIzZDg2Nzc4ZGEwYjI2MTRkYTdmMjA0ZGUyY2RjMWQ=
9
+ Yzk1MjBmYjJlN2NjZjNlYWFiYjFmMTkxYzllOGEzYjkwODdiNTU2MjZlNjM2
10
+ OTNhZTg3MjdhZjk0YTliMzEwOTk5NjQ2MzRhNmI5MjY0ZDRhZjMwM2U2ZTFm
11
+ YzBmNTJhNjg0YzBmODFkZjdkNjg5MDk5M2NkYjFmZTQ0NDM0OWU=
12
12
  data.tar.gz: !binary |-
13
- ZjkxNDFjNTljN2UzYjQ2NzNhMmQ2ZGIyZjgxYWNlYjc0OGYzZDdjODNkY2Fl
14
- MDFlYTJmZWExNzE1MTkyZWE2MzI5MzhlNjFiMWIyNmIyYzgxYmE0ZWNiODI4
15
- YmMxOWVhMmQ2OWMxMDAxM2M0ZDI4NGZlNDg1YmVlN2EyMWFjZjM=
13
+ YTQ4YmQwY2E5YzcxNmE5OWI0ZWEwODU1NDFiNTRkMTQ2MzJlMzc2N2MwYzk3
14
+ MDAxMDIzMTcwMTZhMGExNzJjMWIyZThmYTc4Y2ZlZGQ2NDAyZTBiNGIxOTc5
15
+ M2Y1NTUwYTcxOTRhYWEwYjkwMTliNWRiZDQ5MTlhMjY3Nzg2YzI=
@@ -0,0 +1,2 @@
1
+
2
+
@@ -46,7 +46,7 @@ module Caboose
46
46
  end
47
47
 
48
48
  def url(size) # 'tiny', 'thumb', 'medium', 'large', 'huge'
49
- return self.media.image.url(size) if !self.media_id.blank?
49
+ return self.media.image.url(size) if self.media
50
50
  return self.image.url(size)
51
51
  end
52
52
 
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.6.14'
2
+ VERSION = '0.6.15'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.14
4
+ version: 0.6.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
@@ -592,6 +592,7 @@ files:
592
592
  - app/assets/templates/caboose/product/images.jst.ejs
593
593
  - app/assets/templates/caboose/product/images_old.jst.ejs
594
594
  - app/assets/templates/caboose/product/options.jst.ejs
595
+ - app/controllers/caboose/#Untitled-1#
595
596
  - app/controllers/caboose/ab_options_controller.rb
596
597
  - app/controllers/caboose/ab_variants_controller.rb
597
598
  - app/controllers/caboose/admin_controller.rb