caboose-cms 0.6.35 → 0.6.36

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
- YzkxODRhZjllNzhiN2FlYTNhN2MxMTJmZmMxYWI5NmM3MTY5ZjVlZA==
4
+ NTk5YWU0ZGJhZTlmYzQwODcyZWRmYjY4YTcyMTcwZTZhNWM2ODRlZA==
5
5
  data.tar.gz: !binary |-
6
- YjQ3ZTQzN2RhZGUzMWIyNjc4YTczNmIzMjAyM2I2MzMwZTk5M2UyOQ==
6
+ Y2ZlY2FkZDQzNjQzZjBlNmI2MTM3YzE4YjM1MGExYjEyZjEzOTNmZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- M2ZlM2EyNWEwYTAyYTkyNzdiZjlhNjA2OTEwYWQ2ZjBhMDg5ODJkNDE1ODA4
10
- ZGJjYjdhYzAyNWIyYTg1ZTliYmM2NzUzNWIwOWIzY2JlN2M1ZmUyOTE3ZmZh
11
- N2M5ZDc3M2IxMGRjMTRhZGFlMTRkOTg3MDc0Yjk5NTRjODM1Y2E=
9
+ YTkwN2RjMjljZTFmNDEzN2Q2MTUyNjVjODIxYzY2ZTBiNGM5YmUyN2ZiYzU5
10
+ ZGI4MWVmN2NmNDNkNTgxMGIzNjJhY2I5NmMzZDFhYTkzYjUyYTc1ZmNkOGUz
11
+ NDQ1NDkzNmI5YTcwMjAxYTA2ZjQyN2ZjNTVhNTgwMDQ0MmQ0NDU=
12
12
  data.tar.gz: !binary |-
13
- YjUxNjk3ODVhZjdkNzE5MzllNDZmNDBmZmIyOWJhODQ2ZjgyZjA2MjNlY2M4
14
- NzljMDgzMzg2MDNkMzMxMDdjMTlhYmVjYjIxMzY5YjBjYjM3YWYyZDkzZTg2
15
- ZGFjOGM5NjEyODg0N2Q3Yzk3ODU0YThjOGJhMjEzMGMzZDM2MDU=
13
+ N2ZmNGU0YmRjNmJmNjQwMWVjZmZmYmVjYTc5NmQ4ZjE1NWI2ZGYxZDExMjk4
14
+ MjJkMTY5NWRhMzI5M2ViMWNkOTI5MjY2ODZkOGM5ZmU2NjFjZWJkNzBjOTk4
15
+ YTM5Y2ZiMTViMDg4ZjM0MDY5M2QwZjExNjI0ZTRlMDZlMDFjYzc=
@@ -75,7 +75,7 @@ class Caboose::Post < ActiveRecord::Base
75
75
  if fv.nil?
76
76
  f = Caboose::PostCustomField.where(:site_id => self.site_id, :key => key).first
77
77
  return nil if f.nil?
78
- fv = Caboose::PostCustomFieldValue.create(:post_id => self.id, :key => key, :value => f.default_value, :sort_order => f.sort_order)
78
+ fv = Caboose::PostCustomFieldValue.create(:post_id => self.id, :post_custom_field_id => f.id, :key => key, :value => f.default_value, :sort_order => f.sort_order)
79
79
  end
80
80
  return fv.value
81
81
  end
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.6.35'
2
+ VERSION = '0.6.36'
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.35
4
+ version: 0.6.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
@@ -601,7 +601,6 @@ files:
601
601
  - app/assets/templates/caboose/product/images.jst.ejs
602
602
  - app/assets/templates/caboose/product/images_old.jst.ejs
603
603
  - app/assets/templates/caboose/product/options.jst.ejs
604
- - app/controllers/caboose/#Untitled-1#
605
604
  - app/controllers/caboose/ab_options_controller.rb
606
605
  - app/controllers/caboose/ab_variants_controller.rb
607
606
  - app/controllers/caboose/admin_controller.rb
@@ -1,2 +0,0 @@
1
-
2
- post.custom_field_value('photographer_name')