radiant-event_calendar-extension 1.4.5 → 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ class Admin::EventsController < Admin::ResourceController
4
4
 
5
5
  def load_models
6
6
  pp = pagination_parameters
7
- finder = @event_venue ? Event.at_venue(@event_venue) : Event.scoped
7
+ finder = @event_venue ? Event.at_venue(@event_venue) : Event.scoped({})
8
8
  unless params[:p]
9
9
  first_event = finder.future_and_current.first
10
10
  i = finder.index(first_event) || 0 # if there are no future events we revert to the first page
@@ -30,7 +30,7 @@ en:
30
30
  edit_calendar: "edit calendar"
31
31
  delete_calendar: "delete calendar"
32
32
  really_delete_calendar: "Are you sure you want to delete the %{name} calendar?"
33
- calendar: calendar
33
+ calendar: Calendar
34
34
  calendars: calendars
35
35
  events: events
36
36
  locations: locations
@@ -1,5 +1,5 @@
1
1
  module RadiantEventCalendarExtension
2
- VERSION = '1.4.5'
2
+ VERSION = '1.4.6'
3
3
  SUMMARY = %Q{Event Calendar Extension for Radiant CMS}
4
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
5
  URL = "http://github.com/radiant/radiant-event_calendar-extension"
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.add_dependency "ri_cal"
16
16
  s.add_dependency "chronic"
17
17
  s.add_dependency "uuidtools"
18
- s.add_dependency "radiant-layouts-extension"
18
+ s.add_dependency 'radiant-layouts-extension', "~> 1.1.3"
19
19
 
20
20
  ignores = if File.exist?('.gitignore')
21
21
  File.read('.gitignore').split("\n").inject([]) {|a,p| a + Dir[p] }
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: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 5
10
- version: 1.4.5
9
+ - 6
10
+ version: 1.4.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Loren Johnson
@@ -17,7 +17,8 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-07-05 00:00:00 Z
20
+ date: 2011-07-14 00:00:00 +01:00
21
+ default_executable:
21
22
  dependencies:
22
23
  - !ruby/object:Gem::Dependency
23
24
  name: ri_cal
@@ -67,12 +68,14 @@ dependencies:
67
68
  requirement: &id004 !ruby/object:Gem::Requirement
68
69
  none: false
69
70
  requirements:
70
- - - ">="
71
+ - - ~>
71
72
  - !ruby/object:Gem::Version
72
- hash: 3
73
+ hash: 21
73
74
  segments:
74
- - 0
75
- version: "0"
75
+ - 1
76
+ - 1
77
+ - 3
78
+ version: 1.1.3
76
79
  type: :runtime
77
80
  version_requirements: *id004
78
81
  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.)
@@ -192,10 +195,11 @@ files:
192
195
  - spec/models/recurrence_rule_spec.rb
193
196
  - spec/spec.opts
194
197
  - spec/spec_helper.rb
198
+ has_rdoc: true
195
199
  homepage: http://github.com/radiant/radiant-event_calendar-extension
196
200
  licenses: []
197
201
 
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 "
202
+ post_install_message: "\n Add this to your radiant project with:\n\n config.gem 'radiant-event_calendar-extension', :version => '~> 1.4.6'\n\n "
199
203
  rdoc_options: []
200
204
 
201
205
  require_paths:
@@ -221,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
221
225
  requirements: []
222
226
 
223
227
  rubyforge_project:
224
- rubygems_version: 1.7.2
228
+ rubygems_version: 1.5.3
225
229
  signing_key:
226
230
  specification_version: 3
227
231
  summary: Event Calendar Extension for Radiant CMS