radiant-event_calendar-extension 1.4.2 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -0
- data/Rakefile +0 -19
- data/app/controllers/events_controller.rb +1 -1
- data/app/views/admin/dashboard/_coming_events.html.haml +27 -5
- data/config/initializers/radiant_config.rb +5 -0
- data/config/locales/en.yml +2 -0
- data/event_calendar_extension.rb +18 -27
- data/lib/event_calendar_admin_ui.rb +3 -3
- data/lib/radiant-event_calendar-extension.rb +8 -0
- data/public/stylesheets/sass/admin/event_calendar_dashboard.sass +48 -0
- data/radiant-event_calendar-extension.gemspec +28 -162
- metadata +27 -38
- data/.gitignore +0 -1
- data/.gitmodules +0 -0
- data/VERSION +0 -1
data/README.md
CHANGED
@@ -16,6 +16,8 @@ This is compatible with `multi_site` and with the [sites](http://github.com/span
|
|
16
16
|
|
17
17
|
There is a 0.81 tag in the repository for the last version good with radiant 0.8.1 and `scoped_admin`.
|
18
18
|
|
19
|
+
This version includes some experiments in dashboard integration. If you're using dashboard you need the spanner fork.
|
20
|
+
|
19
21
|
## Installation
|
20
22
|
|
21
23
|
Should be straightforward:
|
data/Rakefile
CHANGED
@@ -1,22 +1,3 @@
|
|
1
|
-
begin
|
2
|
-
require 'jeweler'
|
3
|
-
Jeweler::Tasks.new do |gem|
|
4
|
-
gem.name = "radiant-event_calendar-extension"
|
5
|
-
gem.summary = %Q{Event Calendar Extension for Radiant CMS}
|
6
|
-
gem.description = %Q{An event calendar extension that administers events locally or draws them from any ical or CalDAV publishers (Google Calendar, .Mac, Darwin Calendar Server, etc.)}
|
7
|
-
gem.email = "will@spanner.org"
|
8
|
-
gem.homepage = "http://github.com/radiant/radiant-event_calendar-extension"
|
9
|
-
gem.authors = ["spanner"]
|
10
|
-
gem.add_dependency "ri_cal"
|
11
|
-
gem.add_dependency "chronic"
|
12
|
-
gem.add_dependency "uuidtools"
|
13
|
-
gem.add_dependency "radiant", ">= 0.9.0"
|
14
|
-
gem.add_dependency "radiant-layouts-extension"
|
15
|
-
end
|
16
|
-
rescue LoadError
|
17
|
-
puts "Jeweler (or a dependency) not available. This is only required if you plan to package event_calendar as a gem."
|
18
|
-
end
|
19
|
-
|
20
1
|
# In rails 1.2, plugins aren't available in the path until they're loaded.
|
21
2
|
# Check to see if the rspec plugin is installed first and require
|
22
3
|
# it if it is. If not, use the gem version.
|
@@ -1,6 +1,28 @@
|
|
1
|
+
- include_stylesheet 'admin/event_calendar_dashboard'
|
2
|
+
|
1
3
|
#coming_events.dashboard_module
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
- events = Event.future_and_current.limited_to(8)
|
5
|
+
.header
|
6
|
+
%h2
|
7
|
+
= t('event_admin.dashboard.coming_events')
|
8
|
+
.blockcontent
|
9
|
+
- if events.any?
|
10
|
+
- events.each do |event|
|
11
|
+
.event
|
12
|
+
.datemark
|
13
|
+
.mon= event.short_month
|
14
|
+
.dom= event.mday_padded
|
15
|
+
.summary
|
16
|
+
%h3
|
17
|
+
= link_to event.title, edit_admin_event_url(event), :class => 'title'
|
18
|
+
%p.minor
|
19
|
+
= event.summarize_start
|
20
|
+
- if event.event_venue
|
21
|
+
= t('event_page.at')
|
22
|
+
= link_to event.event_venue.title, edit_admin_event_venue_url(event.event_venue), :class => 'location'
|
23
|
+
- elsif event.location
|
24
|
+
= event.location
|
25
|
+
- else
|
26
|
+
%p.minor
|
27
|
+
=t('dashboard_extension.no_show')
|
28
|
+
|
data/config/locales/en.yml
CHANGED
data/event_calendar_extension.rb
CHANGED
@@ -1,7 +1,12 @@
|
|
1
|
+
# Uncomment this if you reference any of your controllers in activate
|
2
|
+
# require_dependency 'application_controller'
|
3
|
+
|
4
|
+
require "radiant-event_calendar-extension"
|
5
|
+
|
1
6
|
class EventCalendarExtension < Radiant::Extension
|
2
|
-
version
|
3
|
-
description
|
4
|
-
url
|
7
|
+
version RadiantEventCalendarExtension::VERSION
|
8
|
+
description RadiantEventCalendarExtension::DESCRIPTION
|
9
|
+
url RadiantEventCalendarExtension::URL
|
5
10
|
|
6
11
|
extension_config do |config|
|
7
12
|
config.gem "ri_cal"
|
@@ -14,32 +19,18 @@ class EventCalendarExtension < Radiant::Extension
|
|
14
19
|
Status.send :include, EventStatuses # adds support for draft and submitted events
|
15
20
|
UserActionObserver.instance.send :add_observer!, Calendar # adds ownership and update hooks to the calendar data
|
16
21
|
UserActionObserver.instance.send :add_observer!, Event # adds ownership and update hooks to the event data
|
17
|
-
|
18
|
-
if Radiant::Config.table_exists? && !Radiant::Config["event_calendar.icals_path"]
|
19
|
-
Radiant::Config["event_calendar.icals_path"] = "icals"
|
20
|
-
end
|
22
|
+
Radiant::AdminUI.send :include, EventCalendarAdminUI # defines shards for further extension of the calendar admin pages
|
21
23
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
end
|
28
|
-
|
29
|
-
if admin.respond_to? :dashboard
|
30
|
-
admin.dashboard.index.add :main, "coming_events"
|
31
|
-
else
|
32
|
-
Rails.logger.warn "NO DASHBOARD!"
|
33
|
-
end
|
24
|
+
admin.calendar = Radiant::AdminUI.load_default_calendar_regions
|
25
|
+
admin.event = Radiant::AdminUI.load_default_event_regions
|
26
|
+
admin.event_venue = Radiant::AdminUI.load_default_event_venue_regions
|
27
|
+
|
28
|
+
admin.dashboard.index.add(:main, "coming_events", :before => 'recent_assets') if admin.respond_to? :dashboard
|
34
29
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
add_item('locations', '/admin/event_calendar/event_venues')
|
40
|
-
end
|
41
|
-
else
|
42
|
-
admin.tabs.add 'calendar', '/admin/event_calendar', :after => "Snippets", :visibility => [:all]
|
30
|
+
tab('calendar') do
|
31
|
+
add_item('events', '/admin/event_calendar')
|
32
|
+
add_item('calendars', '/admin/event_calendar/calendars')
|
33
|
+
add_item('locations', '/admin/event_calendar/event_venues')
|
43
34
|
end
|
44
35
|
|
45
36
|
end
|
@@ -20,7 +20,7 @@ module EventCalendarAdminUI
|
|
20
20
|
protected
|
21
21
|
|
22
22
|
def load_default_calendar_regions
|
23
|
-
|
23
|
+
OpenStruct.new.tap do |calendar|
|
24
24
|
calendar.edit = Radiant::AdminUI::RegionSet.new do |edit|
|
25
25
|
edit.main.concat %w{edit_header edit_form}
|
26
26
|
edit.form.concat %w{edit_name edit_ical edit_filing edit_description}
|
@@ -37,7 +37,7 @@ module EventCalendarAdminUI
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def load_default_event_regions
|
40
|
-
|
40
|
+
OpenStruct.new.tap do |event|
|
41
41
|
event.edit = Radiant::AdminUI::RegionSet.new do |edit|
|
42
42
|
edit.main.concat %w{edit_header edit_form}
|
43
43
|
edit.form.concat %w{edit_event edit_date edit_description}
|
@@ -55,7 +55,7 @@ module EventCalendarAdminUI
|
|
55
55
|
end
|
56
56
|
|
57
57
|
def load_default_event_venue_regions
|
58
|
-
|
58
|
+
OpenStruct.new.tap do |event_venue|
|
59
59
|
event_venue.edit = Radiant::AdminUI::RegionSet.new do |edit|
|
60
60
|
edit.main.concat %w{edit_header edit_form}
|
61
61
|
edit.form.concat %w{edit_event_venue}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RadiantEventCalendarExtension
|
2
|
+
VERSION = '1.4.5'
|
3
|
+
SUMMARY = %Q{Event Calendar Extension for Radiant CMS}
|
4
|
+
DESCRIPTION = "An event calendar extension that administers events locally or draws them from any ical or CalDAV publishers (Google Calendar, .Mac, Darwin Calendar Server, etc.)"
|
5
|
+
URL = "http://github.com/radiant/radiant-event_calendar-extension"
|
6
|
+
AUTHORS = ["Loren Johnson", "Sean Cribbs", "William Ross"]
|
7
|
+
EMAIL = ["radiant@spanner.org"]
|
8
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
@import admin/grid
|
2
|
+
|
3
|
+
#dashboard
|
4
|
+
#coming_events
|
5
|
+
+grid(4)
|
6
|
+
height: 300px
|
7
|
+
|
8
|
+
.blockcontent
|
9
|
+
position: relative
|
10
|
+
.event
|
11
|
+
position: relative
|
12
|
+
clear: left
|
13
|
+
margin-bottom: 1em
|
14
|
+
.datemark
|
15
|
+
float: left
|
16
|
+
text-align: center
|
17
|
+
line-height: 1.05
|
18
|
+
padding-top: 4px
|
19
|
+
color: #BBB8AC
|
20
|
+
.mon, .dow
|
21
|
+
display: block
|
22
|
+
font-weight: lighter
|
23
|
+
font-size: 80%
|
24
|
+
text-transform: uppercase
|
25
|
+
.day, .dom
|
26
|
+
display: block
|
27
|
+
font-weight: bold
|
28
|
+
font-size: 120%
|
29
|
+
.summary
|
30
|
+
float: left
|
31
|
+
margin-left: 10px
|
32
|
+
margin-bottom: 6px
|
33
|
+
overflow: hidden
|
34
|
+
h3
|
35
|
+
font-size: 1.3em
|
36
|
+
margin: 0
|
37
|
+
a
|
38
|
+
color: black
|
39
|
+
text-decoration: none
|
40
|
+
&:hover
|
41
|
+
color: #06c
|
42
|
+
text-decoration: underline
|
43
|
+
p
|
44
|
+
:margin-top 0
|
45
|
+
:font-size 90%
|
46
|
+
:line-height 1.4
|
47
|
+
p.venue
|
48
|
+
:font-style italic
|
@@ -1,170 +1,36 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "radiant-event_calendar-extension"
|
5
4
|
|
6
5
|
Gem::Specification.new do |s|
|
7
|
-
s.name
|
8
|
-
s.version
|
6
|
+
s.name = "radiant-event_calendar-extension"
|
7
|
+
s.version = RadiantEventCalendarExtension::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = RadiantEventCalendarExtension::AUTHORS
|
10
|
+
s.email = RadiantEventCalendarExtension::EMAIL
|
11
|
+
s.homepage = RadiantEventCalendarExtension::URL
|
12
|
+
s.summary = RadiantEventCalendarExtension::SUMMARY
|
13
|
+
s.description = RadiantEventCalendarExtension::DESCRIPTION
|
9
14
|
|
10
|
-
s.
|
11
|
-
s.
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.email = %q{will@spanner.org}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"README.md"
|
17
|
-
]
|
18
|
-
s.files = [
|
19
|
-
".gitignore",
|
20
|
-
".gitmodules",
|
21
|
-
"README.md",
|
22
|
-
"Rakefile",
|
23
|
-
"VERSION",
|
24
|
-
"app/controllers/admin/calendars_controller.rb",
|
25
|
-
"app/controllers/admin/event_venues_controller.rb",
|
26
|
-
"app/controllers/admin/events_controller.rb",
|
27
|
-
"app/controllers/admin/icals_controller.rb",
|
28
|
-
"app/controllers/events_controller.rb",
|
29
|
-
"app/models/calendar.rb",
|
30
|
-
"app/models/event.rb",
|
31
|
-
"app/models/event_calendar_page.rb",
|
32
|
-
"app/models/event_occurrence.rb",
|
33
|
-
"app/models/event_recurrence_rule.rb",
|
34
|
-
"app/models/event_venue.rb",
|
35
|
-
"app/models/ical.rb",
|
36
|
-
"app/views/admin/calendars/_form.html.haml",
|
37
|
-
"app/views/admin/calendars/edit.html.haml",
|
38
|
-
"app/views/admin/calendars/help.html.erb",
|
39
|
-
"app/views/admin/calendars/index.html.haml",
|
40
|
-
"app/views/admin/calendars/new.html.haml",
|
41
|
-
"app/views/admin/calendars/show.html.haml",
|
42
|
-
"app/views/admin/dashboard/_coming_events.html.haml",
|
43
|
-
"app/views/admin/event_venues/_event_venue.html.haml",
|
44
|
-
"app/views/admin/event_venues/_form.html.haml",
|
45
|
-
"app/views/admin/event_venues/edit.html.haml",
|
46
|
-
"app/views/admin/event_venues/index.html.haml",
|
47
|
-
"app/views/admin/event_venues/new.html.haml",
|
48
|
-
"app/views/admin/event_venues/remove.html.haml",
|
49
|
-
"app/views/admin/events/_event.html.haml",
|
50
|
-
"app/views/admin/events/_form.html.haml",
|
51
|
-
"app/views/admin/events/_list_head.html.haml",
|
52
|
-
"app/views/admin/events/edit.html.haml",
|
53
|
-
"app/views/admin/events/index.html.haml",
|
54
|
-
"app/views/admin/events/new.html.haml",
|
55
|
-
"app/views/admin/events/remove.html.haml",
|
56
|
-
"app/views/admin/icals/refresh.html.haml",
|
57
|
-
"app/views/admin/icals/refresh_all.html.haml",
|
58
|
-
"app/views/events/_defacet.html.haml",
|
59
|
-
"app/views/events/_event.html.haml",
|
60
|
-
"app/views/events/_event_postscript.html.haml",
|
61
|
-
"app/views/events/_faceting.html.haml",
|
62
|
-
"app/views/events/_keywords.html.haml",
|
63
|
-
"app/views/events/_minicalendar.html.haml",
|
64
|
-
"app/views/events/_other_page_parts.html.haml",
|
65
|
-
"app/views/events/_views.html.haml",
|
66
|
-
"app/views/events/index.html.haml",
|
67
|
-
"app/views/events/index.ics.erb",
|
68
|
-
"app/views/events/index.rss.builder",
|
69
|
-
"config/locales/de.yml",
|
70
|
-
"config/locales/en.yml",
|
71
|
-
"config/routes.rb",
|
72
|
-
"db/migrate/001_create_calendar_and_events.rb",
|
73
|
-
"db/migrate/002_calendar_add_ical_url.rb",
|
74
|
-
"db/migrate/003_add_calendar_category.rb",
|
75
|
-
"db/migrate/004_add_slug.rb",
|
76
|
-
"db/migrate/005_add_subscription_refresh_history.rb",
|
77
|
-
"db/migrate/006_create_icals.rb",
|
78
|
-
"db/migrate/007_move_subscriptions_to_ical.rb",
|
79
|
-
"db/migrate/008_clean_out_calendar.rb",
|
80
|
-
"db/migrate/009_basic_authentication.rb",
|
81
|
-
"db/migrate/010_refresh_interval.rb",
|
82
|
-
"db/migrate/011_more_properties.rb",
|
83
|
-
"db/migrate/20090818133511_simpler_ical_columns.rb",
|
84
|
-
"db/migrate/20090819130919_ownership.rb",
|
85
|
-
"db/migrate/20090820073805_site_scope.rb",
|
86
|
-
"db/migrate/20091118100725_event_status.rb",
|
87
|
-
"db/migrate/20100216080944_more_event_data.rb",
|
88
|
-
"db/migrate/20100218131410_recurrence_parts.rb",
|
89
|
-
"db/migrate/20100219102227_venues_and_categories.rb",
|
90
|
-
"db/migrate/20100221180539_recurrence_rules.rb",
|
91
|
-
"db/migrate/20100222182112_occurrences.rb",
|
92
|
-
"db/migrate/20100927140126_amended_events.rb",
|
93
|
-
"db/migrate/20100927203940_calendar_keywords.rb",
|
94
|
-
"event_calendar_extension.rb",
|
95
|
-
"lib/calendar_period.rb",
|
96
|
-
"lib/event_calendar_admin_ui.rb",
|
97
|
-
"lib/event_calendar_tags.rb",
|
98
|
-
"lib/event_search.rb",
|
99
|
-
"lib/event_statuses.rb",
|
100
|
-
"lib/tasks/event_calendar_extension_tasks.rake",
|
101
|
-
"public/icals/blank",
|
102
|
-
"public/images/admin/calendar.png",
|
103
|
-
"public/images/admin/redo.png",
|
104
|
-
"public/images/admin/redo_disabled.png",
|
105
|
-
"public/images/event_calendar/flag.png",
|
106
|
-
"public/images/event_calendar/ical.png",
|
107
|
-
"public/javascripts/admin/event_calendar.js",
|
108
|
-
"public/stylesheets/sass/admin/event_calendar.sass",
|
109
|
-
"public/stylesheets/sass/event_calendar.sass",
|
110
|
-
"radiant-event_calendar-extension.gemspec",
|
111
|
-
"spec/datasets/calendar_events_dataset.rb",
|
112
|
-
"spec/datasets/calendar_pages_dataset.rb",
|
113
|
-
"spec/datasets/calendar_sites_dataset.rb",
|
114
|
-
"spec/datasets/calendars_dataset.rb",
|
115
|
-
"spec/datasets/recurrence_dataset.rb",
|
116
|
-
"spec/files/dummy.ics",
|
117
|
-
"spec/files/ny.ics",
|
118
|
-
"spec/lib/event_calendar_page_spec.rb",
|
119
|
-
"spec/models/calendar_spec.rb",
|
120
|
-
"spec/models/event_spec.rb",
|
121
|
-
"spec/models/ical_spec.rb",
|
122
|
-
"spec/models/recurrence_rule_spec.rb",
|
123
|
-
"spec/spec.opts",
|
124
|
-
"spec/spec_helper.rb"
|
125
|
-
]
|
126
|
-
s.homepage = %q{http://github.com/radiant/radiant-event_calendar-extension}
|
127
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
128
|
-
s.require_paths = ["lib"]
|
129
|
-
s.rubygems_version = %q{1.3.7}
|
130
|
-
s.summary = %q{Event Calendar Extension for Radiant CMS}
|
131
|
-
s.test_files = [
|
132
|
-
"spec/datasets/calendar_events_dataset.rb",
|
133
|
-
"spec/datasets/calendar_pages_dataset.rb",
|
134
|
-
"spec/datasets/calendar_sites_dataset.rb",
|
135
|
-
"spec/datasets/calendars_dataset.rb",
|
136
|
-
"spec/datasets/recurrence_dataset.rb",
|
137
|
-
"spec/lib/event_calendar_page_spec.rb",
|
138
|
-
"spec/models/calendar_spec.rb",
|
139
|
-
"spec/models/event_spec.rb",
|
140
|
-
"spec/models/ical_spec.rb",
|
141
|
-
"spec/models/recurrence_rule_spec.rb",
|
142
|
-
"spec/spec_helper.rb"
|
143
|
-
]
|
144
|
-
|
145
|
-
if s.respond_to? :specification_version then
|
146
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
147
|
-
s.specification_version = 3
|
15
|
+
s.add_dependency "ri_cal"
|
16
|
+
s.add_dependency "chronic"
|
17
|
+
s.add_dependency "uuidtools"
|
18
|
+
s.add_dependency "radiant-layouts-extension"
|
148
19
|
|
149
|
-
|
150
|
-
|
151
|
-
s.add_runtime_dependency(%q<chronic>, [">= 0"])
|
152
|
-
s.add_runtime_dependency(%q<uuidtools>, [">= 0"])
|
153
|
-
s.add_runtime_dependency(%q<radiant>, [">= 0.9.0"])
|
154
|
-
s.add_runtime_dependency(%q<radiant-layouts-extension>, [">= 0"])
|
155
|
-
else
|
156
|
-
s.add_dependency(%q<ri_cal>, [">= 0"])
|
157
|
-
s.add_dependency(%q<chronic>, [">= 0"])
|
158
|
-
s.add_dependency(%q<uuidtools>, [">= 0"])
|
159
|
-
s.add_dependency(%q<radiant>, [">= 0.9.0"])
|
160
|
-
s.add_dependency(%q<radiant-layouts-extension>, [">= 0"])
|
161
|
-
end
|
20
|
+
ignores = if File.exist?('.gitignore')
|
21
|
+
File.read('.gitignore').split("\n").inject([]) {|a,p| a + Dir[p] }
|
162
22
|
else
|
163
|
-
|
164
|
-
s.add_dependency(%q<chronic>, [">= 0"])
|
165
|
-
s.add_dependency(%q<uuidtools>, [">= 0"])
|
166
|
-
s.add_dependency(%q<radiant>, [">= 0.9.0"])
|
167
|
-
s.add_dependency(%q<radiant-layouts-extension>, [">= 0"])
|
23
|
+
[]
|
168
24
|
end
|
169
|
-
|
25
|
+
s.files = Dir['**/*'] - ignores
|
26
|
+
s.test_files = Dir['test/**/*','spec/**/*','features/**/*'] - ignores
|
27
|
+
# s.executables = Dir['bin/*'] - ignores
|
28
|
+
s.require_paths = ["lib"]
|
170
29
|
|
30
|
+
s.post_install_message = %{
|
31
|
+
Add this to your radiant project with:
|
32
|
+
|
33
|
+
config.gem 'radiant-event_calendar-extension', :version => '~> #{RadiantEventCalendarExtension::VERSION}'
|
34
|
+
|
35
|
+
}
|
36
|
+
end
|
metadata
CHANGED
@@ -1,22 +1,23 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-event_calendar-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 13
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
9
|
+
- 5
|
10
|
+
version: 1.4.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
|
-
-
|
13
|
+
- Loren Johnson
|
14
|
+
- Sean Cribbs
|
15
|
+
- William Ross
|
14
16
|
autorequire:
|
15
17
|
bindir: bin
|
16
18
|
cert_chain: []
|
17
19
|
|
18
|
-
date: 2011-05
|
19
|
-
default_executable:
|
20
|
+
date: 2011-07-05 00:00:00 Z
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
22
23
|
name: ri_cal
|
@@ -60,26 +61,10 @@ dependencies:
|
|
60
61
|
version: "0"
|
61
62
|
type: :runtime
|
62
63
|
version_requirements: *id003
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: radiant
|
65
|
-
prerelease: false
|
66
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
|
-
requirements:
|
69
|
-
- - ">="
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
hash: 59
|
72
|
-
segments:
|
73
|
-
- 0
|
74
|
-
- 9
|
75
|
-
- 0
|
76
|
-
version: 0.9.0
|
77
|
-
type: :runtime
|
78
|
-
version_requirements: *id004
|
79
64
|
- !ruby/object:Gem::Dependency
|
80
65
|
name: radiant-layouts-extension
|
81
66
|
prerelease: false
|
82
|
-
requirement: &
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
83
68
|
none: false
|
84
69
|
requirements:
|
85
70
|
- - ">="
|
@@ -89,21 +74,17 @@ dependencies:
|
|
89
74
|
- 0
|
90
75
|
version: "0"
|
91
76
|
type: :runtime
|
92
|
-
version_requirements: *
|
77
|
+
version_requirements: *id004
|
93
78
|
description: An event calendar extension that administers events locally or draws them from any ical or CalDAV publishers (Google Calendar, .Mac, Darwin Calendar Server, etc.)
|
94
|
-
email:
|
79
|
+
email:
|
80
|
+
- radiant@spanner.org
|
95
81
|
executables: []
|
96
82
|
|
97
83
|
extensions: []
|
98
84
|
|
99
|
-
extra_rdoc_files:
|
100
|
-
|
85
|
+
extra_rdoc_files: []
|
86
|
+
|
101
87
|
files:
|
102
|
-
- .gitignore
|
103
|
-
- .gitmodules
|
104
|
-
- README.md
|
105
|
-
- Rakefile
|
106
|
-
- VERSION
|
107
88
|
- app/controllers/admin/calendars_controller.rb
|
108
89
|
- app/controllers/admin/event_venues_controller.rb
|
109
90
|
- app/controllers/admin/events_controller.rb
|
@@ -149,6 +130,7 @@ files:
|
|
149
130
|
- app/views/events/index.html.haml
|
150
131
|
- app/views/events/index.ics.erb
|
151
132
|
- app/views/events/index.rss.builder
|
133
|
+
- config/initializers/radiant_config.rb
|
152
134
|
- config/locales/de.yml
|
153
135
|
- config/locales/en.yml
|
154
136
|
- config/routes.rb
|
@@ -180,6 +162,7 @@ files:
|
|
180
162
|
- lib/event_calendar_tags.rb
|
181
163
|
- lib/event_search.rb
|
182
164
|
- lib/event_statuses.rb
|
165
|
+
- lib/radiant-event_calendar-extension.rb
|
183
166
|
- lib/tasks/event_calendar_extension_tasks.rake
|
184
167
|
- public/icals/blank
|
185
168
|
- public/images/admin/calendar.png
|
@@ -189,8 +172,12 @@ files:
|
|
189
172
|
- public/images/event_calendar/ical.png
|
190
173
|
- public/javascripts/admin/event_calendar.js
|
191
174
|
- public/stylesheets/sass/admin/event_calendar.sass
|
175
|
+
- public/stylesheets/sass/admin/event_calendar_dashboard.sass
|
192
176
|
- public/stylesheets/sass/event_calendar.sass
|
177
|
+
- radiant-event_calendar-extension-1.4.5.gem
|
193
178
|
- radiant-event_calendar-extension.gemspec
|
179
|
+
- Rakefile
|
180
|
+
- README.md
|
194
181
|
- spec/datasets/calendar_events_dataset.rb
|
195
182
|
- spec/datasets/calendar_pages_dataset.rb
|
196
183
|
- spec/datasets/calendar_sites_dataset.rb
|
@@ -205,13 +192,12 @@ files:
|
|
205
192
|
- spec/models/recurrence_rule_spec.rb
|
206
193
|
- spec/spec.opts
|
207
194
|
- spec/spec_helper.rb
|
208
|
-
has_rdoc: true
|
209
195
|
homepage: http://github.com/radiant/radiant-event_calendar-extension
|
210
196
|
licenses: []
|
211
197
|
|
212
|
-
post_install_message:
|
213
|
-
rdoc_options:
|
214
|
-
|
198
|
+
post_install_message: "\n Add this to your radiant project with:\n\n config.gem 'radiant-event_calendar-extension', :version => '~> 1.4.5'\n\n "
|
199
|
+
rdoc_options: []
|
200
|
+
|
215
201
|
require_paths:
|
216
202
|
- lib
|
217
203
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -235,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
221
|
requirements: []
|
236
222
|
|
237
223
|
rubyforge_project:
|
238
|
-
rubygems_version: 1.
|
224
|
+
rubygems_version: 1.7.2
|
239
225
|
signing_key:
|
240
226
|
specification_version: 3
|
241
227
|
summary: Event Calendar Extension for Radiant CMS
|
@@ -245,9 +231,12 @@ test_files:
|
|
245
231
|
- spec/datasets/calendar_sites_dataset.rb
|
246
232
|
- spec/datasets/calendars_dataset.rb
|
247
233
|
- spec/datasets/recurrence_dataset.rb
|
234
|
+
- spec/files/dummy.ics
|
235
|
+
- spec/files/ny.ics
|
248
236
|
- spec/lib/event_calendar_page_spec.rb
|
249
237
|
- spec/models/calendar_spec.rb
|
250
238
|
- spec/models/event_spec.rb
|
251
239
|
- spec/models/ical_spec.rb
|
252
240
|
- spec/models/recurrence_rule_spec.rb
|
241
|
+
- spec/spec.opts
|
253
242
|
- spec/spec_helper.rb
|
data/.gitignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
pkg/*
|
data/.gitmodules
DELETED
File without changes
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.4.2
|