From 9944242e3486586f397ad4353c32c411b7ef670b Mon Sep 17 00:00:00 2001 From: Dries Steenhouwer Date: Thu, 21 Nov 2013 10:46:14 +0100 Subject: fix for refinery 2-1 --- app/models/refinery/banners/banner.rb | 14 +++----------- refinerycms-pc_banners.gemspec | 4 ++-- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/app/models/refinery/banners/banner.rb b/app/models/refinery/banners/banner.rb index 37135e9..16aa8fd 100644 --- a/app/models/refinery/banners/banner.rb +++ b/app/models/refinery/banners/banner.rb @@ -1,3 +1,5 @@ +require 'acts_as_indexed' + module Refinery module Banners class Banner < Refinery::Core::BaseModel @@ -26,14 +28,4 @@ module Refinery end end -end - -#t.string :name -#t.string :title -#t.string :description -#t.integer :image_id -#t.string :url -#t.boolean :is_active -#t.date :start_date -#t.date :expiry_date -#t.integer :position \ No newline at end of file +end \ No newline at end of file diff --git a/refinerycms-pc_banners.gemspec b/refinerycms-pc_banners.gemspec index c187d19..1ef73f6 100644 --- a/refinerycms-pc_banners.gemspec +++ b/refinerycms-pc_banners.gemspec @@ -14,8 +14,8 @@ Gem::Specification.new do |s| s.homepage = 'https://github.com/julesce/refinerycms-pods' # Runtime dependencies - s.add_dependency 'refinerycms-pages', '~> 2.0.1' + s.add_dependency 'refinerycms-pages', '~> 2.1.0' # Development dependencies (usually used for testing) - s.add_development_dependency 'refinerycms-testing', '~> 2.0.1' + s.add_development_dependency 'refinerycms-testing', '~> 2.1.0' end -- cgit v1.2.3