cartoonist-announcements 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/app/models/announcement.rb +1 -0
  2. metadata +5 -5
@@ -1,4 +1,5 @@
1
1
  class Announcement < ActiveRecord::Base
2
+ attr_accessible :posted_at, :expired_at, :title, :content, :location, :enabled
2
3
  validate :posted_at_must_be_before_expired_at, :posted_at_must_exist_if_expired_at_exists
3
4
 
4
5
  def posted_at_must_be_before_expired_at
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cartoonist-announcements
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,19 +9,19 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-17 00:00:00.000000000 Z
12
+ date: 2012-04-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cartoonist
16
- requirement: &14565240 !ruby/object:Gem::Requirement
16
+ requirement: &5947840 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
20
20
  - !ruby/object:Gem::Version
21
- version: 0.0.5
21
+ version: 0.0.6
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *14565240
24
+ version_requirements: *5947840
25
25
  description: This plugin for Cartoonist adds announcements for things like announcing
26
26
  a new website.
27
27
  email: reasonnumber@gmail.com