radiant-event_calendar-extension 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -8,11 +8,11 @@ See the [event_map](http://github.com/spanner/radiant-event_map-extension) exten
8
8
 
9
9
  ## Requirements
10
10
 
11
- Radiant 0.9, share_layouts and the `ri_cal` gem to handle iCal data. It's declared in the extension so this should do it:
11
+ Radiant 0.9, `layouts` or `share_layouts` and the `ri_cal` gem to handle iCal data. It's declared in the extension so this should do it:
12
12
 
13
13
  sudo rake gems:install
14
14
 
15
- This is compatible with `multi_site` and with the [sites](http://github.com/spanner/radiant-event_map-extension "spanner's radiant-event_map-extension at master - GitHub") extension. With the latter everything will be site-scoped.
15
+ This is compatible with `multi_site` and with the [sites](http://github.com/spanner/radiant-sites-extension) extension. With the latter everything will be site-scoped.
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
 
@@ -22,6 +22,14 @@ Should be straightforward:
22
22
 
23
23
  script/extension install event_calendar
24
24
 
25
+ or as a gem:
26
+
27
+ sudo gem install radiant-event_calendar-extension
28
+
29
+ with this in your environment.rb:
30
+
31
+ config.gem 'radiant-event_calendar-extension', :lib => false
32
+
25
33
  ## Configuration
26
34
 
27
35
  There are a few optional config settings:
data/Rakefile CHANGED
@@ -7,10 +7,11 @@ begin
7
7
  gem.email = "will@spanner.org"
8
8
  gem.homepage = "http://github.com/radiant/radiant-event_calendar-extension"
9
9
  gem.authors = ["spanner"]
10
- gem.add_dependency "radiant", ">= 0.9.0"
11
10
  gem.add_dependency "ri_cal"
12
11
  gem.add_dependency "chronic"
13
12
  gem.add_dependency "uuidtools"
13
+ gem.add_dependency "radiant", ">= 0.9.0"
14
+ gem.add_dependency "radiant-layouts-extension"
14
15
  end
15
16
  rescue LoadError
16
17
  puts "Jeweler (or a dependency) not available. This is only required if you plan to package event_calendar as a gem."
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -1,7 +1,7 @@
1
1
  class EventCalendarExtension < Radiant::Extension
2
- version "1.0.0"
2
+ version "1.0.1"
3
3
  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.)"
4
- url "http://radiant.spanner.org/event_calendar"
4
+ url "http://github.com/radiant/radiant-event_calendar-extension"
5
5
 
6
6
  def activate
7
7
  Page.send :include, EventCalendarTags # defines a wide range of events: tags for use on normal and calendar pages
@@ -820,7 +820,7 @@ module EventCalendarTags
820
820
  if events_today.any?
821
821
  cell_class += " eventful"
822
822
  cell_class += " eventful_weekend" if weekend?(day)
823
- cell_class += events_today.map{|e| " #{e.calendar.slug}"}.join
823
+ cell_class += events_today.map{|e| " #{e.slug}"}.join
824
824
  event_list << %{<ul>} << events_today.map { |e| %{<li><span class="time">#{e.nice_start_time}:</span> #{e.title}</li>} }.join << "</ul>"
825
825
  else
826
826
  cell_class += " uneventful"
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-event_calendar-extension}
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["spanner"]
12
- s.date = %q{2010-09-10}
12
+ s.date = %q{2010-09-22}
13
13
  s.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.)}
14
14
  s.email = %q{will@spanner.org}
15
15
  s.extra_rdoc_files = [
@@ -93,6 +93,7 @@ Gem::Specification.new do |s|
93
93
  "lib/event_statuses.rb",
94
94
  "lib/tasks/event_calendar_extension_tasks.rake",
95
95
  "pkg/radiant-event_calendar-extension-1.0.0.gem",
96
+ "pkg/radiant-event_calendar-extension-1.0.1.gem",
96
97
  "public/icals/blank",
97
98
  "public/images/admin/calendar.png",
98
99
  "public/images/event_calendar/calendarlinkbg.png",
@@ -146,21 +147,24 @@ Gem::Specification.new do |s|
146
147
  s.specification_version = 3
147
148
 
148
149
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
149
- s.add_runtime_dependency(%q<radiant>, [">= 0.9.0"])
150
150
  s.add_runtime_dependency(%q<ri_cal>, [">= 0"])
151
151
  s.add_runtime_dependency(%q<chronic>, [">= 0"])
152
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"])
153
155
  else
154
- s.add_dependency(%q<radiant>, [">= 0.9.0"])
155
156
  s.add_dependency(%q<ri_cal>, [">= 0"])
156
157
  s.add_dependency(%q<chronic>, [">= 0"])
157
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"])
158
161
  end
159
162
  else
160
- s.add_dependency(%q<radiant>, [">= 0.9.0"])
161
163
  s.add_dependency(%q<ri_cal>, [">= 0"])
162
164
  s.add_dependency(%q<chronic>, [">= 0"])
163
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"])
164
168
  end
165
169
  end
166
170
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-event_calendar-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - spanner
@@ -15,27 +15,25 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-10 00:00:00 +01:00
18
+ date: 2010-09-22 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: radiant
22
+ name: ri_cal
23
23
  prerelease: false
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 59
29
+ hash: 3
30
30
  segments:
31
31
  - 0
32
- - 9
33
- - 0
34
- version: 0.9.0
32
+ version: "0"
35
33
  type: :runtime
36
34
  version_requirements: *id001
37
35
  - !ruby/object:Gem::Dependency
38
- name: ri_cal
36
+ name: chronic
39
37
  prerelease: false
40
38
  requirement: &id002 !ruby/object:Gem::Requirement
41
39
  none: false
@@ -49,7 +47,7 @@ dependencies:
49
47
  type: :runtime
50
48
  version_requirements: *id002
51
49
  - !ruby/object:Gem::Dependency
52
- name: chronic
50
+ name: uuidtools
53
51
  prerelease: false
54
52
  requirement: &id003 !ruby/object:Gem::Requirement
55
53
  none: false
@@ -63,9 +61,25 @@ dependencies:
63
61
  type: :runtime
64
62
  version_requirements: *id003
65
63
  - !ruby/object:Gem::Dependency
66
- name: uuidtools
64
+ name: radiant
67
65
  prerelease: false
68
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
+ - !ruby/object:Gem::Dependency
80
+ name: radiant-layouts-extension
81
+ prerelease: false
82
+ requirement: &id005 !ruby/object:Gem::Requirement
69
83
  none: false
70
84
  requirements:
71
85
  - - ">="
@@ -75,7 +89,7 @@ dependencies:
75
89
  - 0
76
90
  version: "0"
77
91
  type: :runtime
78
- version_requirements: *id004
92
+ version_requirements: *id005
79
93
  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.)
80
94
  email: will@spanner.org
81
95
  executables: []
@@ -162,6 +176,7 @@ files:
162
176
  - lib/event_statuses.rb
163
177
  - lib/tasks/event_calendar_extension_tasks.rake
164
178
  - pkg/radiant-event_calendar-extension-1.0.0.gem
179
+ - pkg/radiant-event_calendar-extension-1.0.1.gem
165
180
  - public/icals/blank
166
181
  - public/images/admin/calendar.png
167
182
  - public/images/event_calendar/calendarlinkbg.png