tb_cms 1.2.0.beta3 → 1.2.0

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: 603c1fdda41198a90994c4437b1ef98b77c2d53e
4
- data.tar.gz: 6b7756d1a544e4d0cd23435bb471085d1b5a7020
3
+ metadata.gz: 605748db3cf3fd63c1605b3fef7298d1eace65c7
4
+ data.tar.gz: 7a6d640888624de140b24cfde91098057aeb4b94
5
5
  SHA512:
6
- metadata.gz: 0b6bf5a0086d59e8d294a82172f556658f38de6bd0bd20ed850cb3cf04257dc56ca8f5816abdb7f885877e107cd4d02c8f79427e67fb2f5dea550cd7f3b4b8b4
7
- data.tar.gz: 42fbc6c40d02f55d97b4acd74a9c0bd707c2f521fedfbc8fe00933e2764c5c875fc439d329f2891fbf529ee45e41d134df9e8c8cebb7673eca51d58846a8254e
6
+ metadata.gz: c24b3c28ec9157510f1e3ef94126bc1eb608d64651e32d9344e01f1dca2756e5d7817e8a31986dc0e03dd66d38b8707568170b1c66b3be4afd4ea04488af8d8e
7
+ data.tar.gz: fffcbe87671ed135abe1489aadfa030ea758dd708d6b5c3312fb64782ccd9f270a9ff4ea3a8d2aec7a62b14c9b74d7037fce3a773adfb2b00c79350ca508358d
@@ -4,7 +4,7 @@ class Admin::PagesController < Admin::ApplicationController
4
4
  before_filter :load_page,:only => [:edit,:update,:show,:destroy]
5
5
 
6
6
  def index
7
- @pages = SpudPage.site(session[:admin_site]).where(:spud_page_id => nil).order(:page_order).includes(:spud_pages)
7
+ @pages = SpudPage.where(:spud_page_id => nil).order(:page_order).includes(:spud_pages)
8
8
  home_page = SpudPage.where(:url_name => Spud::Cms.root_page_name).first
9
9
  if home_page.blank?
10
10
  flash.now[:warning] = "You have not setup your default CMS page. This page will be your homepage. To do so, create a page with the name '#{Spud::Cms.root_page_name.titlecase}'"
@@ -5,7 +5,7 @@ class Admin::SnippetsController < Admin::ApplicationController
5
5
  before_filter :load_snippet, :only => [:show, :edit, :update, :destroy]
6
6
 
7
7
  def index
8
- @snippets = SpudSnippet.site(session[:admin_site]).order(:name).paginate :page => params[:page]
8
+ @snippets = SpudSnippet.order(:name).paginate :page => params[:page]
9
9
  respond_with @snippets
10
10
  end
11
11
 
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Cms
3
- VERSION = "1.2.0.beta3"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tb_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.beta3
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Westlake Design
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-08 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tb_core
@@ -324,9 +324,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
324
324
  version: '0'
325
325
  required_rubygems_version: !ruby/object:Gem::Requirement
326
326
  requirements:
327
- - - ">"
327
+ - - ">="
328
328
  - !ruby/object:Gem::Version
329
- version: 1.3.1
329
+ version: '0'
330
330
  requirements: []
331
331
  rubyforge_project:
332
332
  rubygems_version: 2.2.1