caboose-cms 0.9.162 → 0.9.163

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: 4ff8dda14d423d69c0f37041dd91c1c9b498c034
4
- data.tar.gz: 03480f6f6c4f63ef1910c67ace85ab45fa0a1226
3
+ metadata.gz: e81b5e959f5700883248c2a026030e0338423120
4
+ data.tar.gz: 75d8aa80a958573c030512067944fb4ee92dbbdd
5
5
  SHA512:
6
- metadata.gz: 3d63c0cf3d69878011d13c713f5c98ccfac32dae72779fbe65da3feb032ad92c9227eede09247459f4bf03e558e9aacd61986ef3a0818c5c1fc467ca7a441fe6
7
- data.tar.gz: bc77eba4793bb58fcac02e94ffb721ccac93f03548ce788af3fd6e80e265950fbf78677009f18647ac19f1735eaecd38ee0cbe29777fb52bb2818b7445c40d4a
6
+ metadata.gz: d6ced582df9dd50f1d55894c263db7381c295aabb925800663c9e77f8fe3388231bce56149e2dcfd5a4523db49c9f536450bd3b1898fb75f6dfb0dc4d7d0e13f
7
+ data.tar.gz: e98813ecbc21ea355af831c02e7a1fb92d0da95696e0ac426ac654e2dd2b45cdaee215eb190d22d69ba19ad1aa37fcf00e9cc0421a15e177a059aa85e1aacdba
@@ -7,9 +7,8 @@ module Caboose
7
7
  return if !user_is_allowed('invoices', 'view')
8
8
 
9
9
  if !params[:game_id].blank?
10
- game = Colonnade::Game.find(params[:game_id])
11
- menu = Colonnade::Menu.where(:game_id => game.id).first if game
12
- invoice_ids = Colonnade::SuiteMenu.where(:menu_id => menu.id).pluq(:invoice_id) if menu
10
+ menu_ids = Colonnade::Menu.where(:game_id => params[:game_id]).pluq(:id)
11
+ invoice_ids = Colonnade::SuiteMenu.where(:menu_id => menu_ids).pluq(:invoice_id) if !menu_ids.blank?
13
12
  invoice_ids = invoice_ids.to_s.gsub('[','').gsub(']','')
14
13
  end
15
14
 
@@ -788,7 +788,8 @@ class Caboose::Schema < Caboose::Utilities::Schema
788
788
  [ :sitemap_xml , :text ],
789
789
  [ :robots_txt , :text ],
790
790
  [ :theme_color , :string ],
791
- [ :assets_url , :string ]
791
+ [ :assets_url , :string ],
792
+ [ :rets_office_id, :string ]
792
793
  #[ :custom_css , :text ],
793
794
  #[ :custom_css_files , :text ],
794
795
  #[ :custom_js , :text ],
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.162'
2
+ VERSION = '0.9.163'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.162
4
+ version: 0.9.163
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-20 00:00:00.000000000 Z
11
+ date: 2018-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg