refinerycms-calendar 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/config/locales/en.yml +1 -1
- data/config/locales/lolcat.yml +1 -1
- data/config/locales/nb.yml +1 -1
- data/config/locales/nl.yml +1 -1
- data/lib/generators/refinerycms_calendar_generator.rb +6 -0
- data/lib/{refinerycms-events.rb → refinerycms-calendar.rb} +3 -2
- data/refinerycms-calendar-1.0.gem +0 -0
- data/refinerycms-calendar.gemspec +1 -1
- metadata +5 -3
- data/lib/generators/refinerycms_events_generator.rb +0 -6
data/config/locales/en.yml
CHANGED
data/config/locales/lolcat.yml
CHANGED
data/config/locales/nb.yml
CHANGED
data/config/locales/nl.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'refinery'
|
2
2
|
|
3
3
|
module Refinery
|
4
|
-
module
|
4
|
+
module Calendar
|
5
5
|
class Engine < Rails::Engine
|
6
6
|
initializer "static assets" do |app|
|
7
7
|
app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public"
|
@@ -9,12 +9,13 @@ module Refinery
|
|
9
9
|
|
10
10
|
config.after_initialize do
|
11
11
|
Refinery::Plugin.register do |plugin|
|
12
|
-
plugin.name = "
|
12
|
+
plugin.name = "calendar"
|
13
13
|
plugin.activity = [{
|
14
14
|
:class => Event
|
15
15
|
}, {
|
16
16
|
:class => EventCategory
|
17
17
|
}]
|
18
|
+
plugin.url = {:controller => '/admin/events'}
|
18
19
|
plugin.menu_match = /^(admin|refinery)\/(event(_categorie)?s)/
|
19
20
|
end
|
20
21
|
end
|
Binary file
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.platform = Gem::Platform::RUBY
|
3
3
|
s.name = 'refinerycms-calendar'
|
4
|
-
s.version = '1.0'
|
4
|
+
s.version = '1.0.1'
|
5
5
|
s.description = 'Ruby on Rails Events engine for Refinery CMS'
|
6
6
|
s.date = '2011-03-03'
|
7
7
|
s.summary = 'Events engine for Refinery CMS'
|
metadata
CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
|
8
|
+
- 1
|
9
|
+
version: 1.0.1
|
9
10
|
platform: ruby
|
10
11
|
authors:
|
11
12
|
- Neoteric Design
|
@@ -87,11 +88,12 @@ files:
|
|
87
88
|
- features/support/factories/event_categories.rb
|
88
89
|
- features/support/factories/events.rb
|
89
90
|
- features/support/paths.rb
|
90
|
-
- lib/generators/
|
91
|
-
- lib/refinerycms-
|
91
|
+
- lib/generators/refinerycms_calendar_generator.rb
|
92
|
+
- lib/refinerycms-calendar.rb
|
92
93
|
- lib/tasks/events.rake
|
93
94
|
- public/stylesheets/refinerycms-events.css
|
94
95
|
- readme.md
|
96
|
+
- refinerycms-calendar-1.0.gem
|
95
97
|
- refinerycms-calendar.gemspec
|
96
98
|
- spec/controllers/events_controller_spec.rb
|
97
99
|
- spec/helpers/events_helper_spec.rb
|