refinerycms-calendar 1.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ en:
4
4
  image_picker:
5
5
  image: image
6
6
  plugins:
7
- events:
7
+ calendar:
8
8
  title: Events
9
9
  admin:
10
10
  events:
@@ -4,7 +4,7 @@ lolcat:
4
4
  image_picker:
5
5
  image: IMAGE
6
6
  plugins:
7
- events:
7
+ calendar:
8
8
  title: Events
9
9
  admin:
10
10
  events:
@@ -3,7 +3,7 @@ nb:
3
3
  events:
4
4
  title: Events
5
5
  admin:
6
- events:
6
+ calendar:
7
7
  index:
8
8
  title: Events
9
9
  create_new: Lag en ny Event
@@ -3,7 +3,7 @@ nl:
3
3
  events:
4
4
  title: Events
5
5
  admin:
6
- events:
6
+ calendar:
7
7
  index:
8
8
  title: Events
9
9
  create_new: Maak een nieuwe Event
@@ -0,0 +1,6 @@
1
+ class RefinerycmsCalendar < Refinery::Generators::EngineInstaller
2
+
3
+ source_root File.expand_path('../../../', __FILE__)
4
+ engine_name "calendar"
5
+
6
+ end
@@ -1,7 +1,7 @@
1
1
  require 'refinery'
2
2
 
3
3
  module Refinery
4
- module Events
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 = "events"
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
@@ -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
- version: "1.0"
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/refinerycms_events_generator.rb
91
- - lib/refinerycms-events.rb
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
@@ -1,6 +0,0 @@
1
- class RefinerycmsEvents < Refinery::Generators::EngineInstaller
2
-
3
- source_root File.expand_path('../../../', __FILE__)
4
- engine_name "events"
5
-
6
- end