cartoonist-announcements 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,4 @@
|
|
1
|
-
class Admin::AnnouncementsController <
|
2
|
-
before_filter :ensure_ssl!
|
3
|
-
before_filter :check_admin!
|
4
|
-
|
1
|
+
class Admin::AnnouncementsController < AdminCartoonistController
|
5
2
|
def index
|
6
3
|
@unposted = Announcement.future.all
|
7
4
|
@active = Announcement.active.all
|
@@ -7,10 +7,10 @@ module CartoonistAnnouncements
|
|
7
7
|
Announcement.order(:id)
|
8
8
|
end
|
9
9
|
Cartoonist::Routes.add do
|
10
|
-
resources :announcements
|
10
|
+
resources :announcements, :only => []
|
11
11
|
|
12
12
|
namespace :admin do
|
13
|
-
resources :announcements
|
13
|
+
resources :announcements, :only => [:index]
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
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.
|
4
|
+
version: 0.0.13
|
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-
|
12
|
+
date: 2012-11-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cartoonist
|
16
|
-
requirement: &
|
16
|
+
requirement: &15752440 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - =
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.0.
|
21
|
+
version: 0.0.13
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *15752440
|
25
25
|
description: This plugin for Cartoonist adds announcements for things like announcing
|
26
26
|
a new website.
|
27
27
|
email: reasonnumber@gmail.com
|
@@ -40,6 +40,7 @@ files:
|
|
40
40
|
- db/migrate/20120412035009_create_announcements.rb
|
41
41
|
- lib/cartoonist-announcements.rb
|
42
42
|
- lib/cartoonist-announcements/engine.rb
|
43
|
+
- lib/cartoonist-announcements/version.rb
|
43
44
|
homepage: http://reasonnumber.com/cartoonist
|
44
45
|
licenses: []
|
45
46
|
post_install_message:
|