refinerycms-pc_banners 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,8 @@ module Refinery
5
5
 
6
6
  acts_as_indexed :fields => [:name, :url, :title, :description]
7
7
 
8
+ attr_accessible :name, :title, :description, :image_id, :url, :is_active, :start_date, :expiry_date, :position, :page_ids
9
+
8
10
  validates :name, :presence => true
9
11
  validates_presence_of :start_date
10
12
  validates_length_of :title, :in => 0..255, :allow_nil => true
@@ -24,4 +26,14 @@ module Refinery
24
26
 
25
27
  end
26
28
  end
27
- end
29
+ end
30
+
31
+ #t.string :name
32
+ #t.string :title
33
+ #t.string :description
34
+ #t.integer :image_id
35
+ #t.string :url
36
+ #t.boolean :is_active
37
+ #t.date :start_date
38
+ #t.date :expiry_date
39
+ #t.integer :position
data/readme.md CHANGED
@@ -12,7 +12,7 @@ Refinery CMS version 2.0.0 and above.
12
12
 
13
13
  Open up your ``Gemfile`` and add the following:
14
14
 
15
- gem 'refinerycms-pc_banners', '2.0.0', :git => 'git://github.com/julesce/refinerycms-pc_banners.git'
15
+ gem 'refinerycms-pc_banners', '2.0.1'
16
16
 
17
17
  Now, run:
18
18
 
@@ -48,4 +48,4 @@ Let's say you are using the [Nivo Slider](http://nivo.dev7studios.com/) for your
48
48
 
49
49
  Or you can use the following to accomplish something very similar to the above:
50
50
 
51
- <%= render :partial => 'refinery/banners/shared/banners' %>
51
+ <%= render :partial => 'refinery/banners/shared/banners' %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-pc_banners
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-11 00:00:00.000000000Z
12
+ date: 2012-04-02 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: refinerycms-core