radiant-event_map-extension 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ begin
9
9
  gem.authors = ["spanner"]
10
10
  gem.add_dependency "geokit"
11
11
  gem.add_dependency "radiant", ">= 0.9.0"
12
- gem.add_dependency "radiant-event_calendar-extension"
12
+ gem.add_dependency "radiant-event_calendar-extension", ">= 1.3.0"
13
13
  end
14
14
  rescue LoadError
15
15
  puts "Jeweler (or a dependency) not available. This is only required if you plan to package event_map as a gem."
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  class EventVenuesController < EventsController
5
5
  helper_method :venues, :events_at_venue
6
- layout false
6
+ radiant_layout { Radiant::Config['event_map.layout'] }
7
7
 
8
8
  def index
9
9
  respond_to do |format|
@@ -1,3 +1,10 @@
1
+ - content_for :breadhead do
2
+ - home = Page.find_by_parent_id(nil)
3
+ = link_to home.breadcrumb, home.url
4
+ \&gt;
5
+ = link_to "calendar", calendar_url
6
+ \&gt;
7
+
1
8
  - content_for :title do
2
9
  Events
3
10
  = list_description
@@ -8,10 +15,5 @@
8
15
  - content_for :map_js do
9
16
  %script{:src => "http://maps.google.com/maps/api/js?sensor=false"}
10
17
  %script{:src => "#{url_for(calendar_parameters.merge(:format => :js))}"}
11
-
12
- / deprecated older syntax probably unknown to anyone but me
13
- - content_for :head do
14
- %script{:src => "http://maps.google.com/maps/api/js?sensor=false"}
15
- %script{:src => "#{url_for(calendar_parameters.merge(:format => :js))}"}
16
18
 
17
19
  = render :partial => 'events/other_page_parts'
@@ -2,7 +2,7 @@
2
2
  # require_dependency 'application_controller'
3
3
 
4
4
  class EventMapExtension < Radiant::Extension
5
- version "1.2.0"
5
+ version "1.3.0"
6
6
  description "Small additions to geocode calendar events and display on a map, separated here because only of interest to a few."
7
7
  url "spanner.org"
8
8
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-event_map-extension}
8
- s.version = "1.2.0"
8
+ s.version = "1.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["spanner"]
@@ -37,8 +37,6 @@ Gem::Specification.new do |s|
37
37
  "lib/grid_ref.rb",
38
38
  "lib/mappable.rb",
39
39
  "lib/tasks/event_map_extension_tasks.rake",
40
- "pkg/radiant-event_map-extension-1.0.1.gem",
41
- "pkg/radiant-event_map-extension-1.1.0.gem",
42
40
  "public/images/event_calendar/event_shadow.png",
43
41
  "public/images/event_calendar/one_event.png",
44
42
  "public/images/event_calendar/several_events.png",
@@ -66,16 +64,16 @@ Gem::Specification.new do |s|
66
64
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
67
65
  s.add_runtime_dependency(%q<geokit>, [">= 0"])
68
66
  s.add_runtime_dependency(%q<radiant>, [">= 0.9.0"])
69
- s.add_runtime_dependency(%q<radiant-event_calendar-extension>, [">= 0"])
67
+ s.add_runtime_dependency(%q<radiant-event_calendar-extension>, [">= 1.3.0"])
70
68
  else
71
69
  s.add_dependency(%q<geokit>, [">= 0"])
72
70
  s.add_dependency(%q<radiant>, [">= 0.9.0"])
73
- s.add_dependency(%q<radiant-event_calendar-extension>, [">= 0"])
71
+ s.add_dependency(%q<radiant-event_calendar-extension>, [">= 1.3.0"])
74
72
  end
75
73
  else
76
74
  s.add_dependency(%q<geokit>, [">= 0"])
77
75
  s.add_dependency(%q<radiant>, [">= 0.9.0"])
78
- s.add_dependency(%q<radiant-event_calendar-extension>, [">= 0"])
76
+ s.add_dependency(%q<radiant-event_calendar-extension>, [">= 1.3.0"])
79
77
  end
80
78
  end
81
79
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-event_map-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 1.2.0
10
+ version: 1.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - spanner
@@ -56,10 +56,12 @@ dependencies:
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- hash: 3
59
+ hash: 27
60
60
  segments:
61
+ - 1
62
+ - 3
61
63
  - 0
62
- version: "0"
64
+ version: 1.3.0
63
65
  type: :runtime
64
66
  version_requirements: *id003
65
67
  description: Further extends the event_calendar extension to allow easy google mapping with automatic geolocation based on event venues
@@ -92,8 +94,6 @@ files:
92
94
  - lib/grid_ref.rb
93
95
  - lib/mappable.rb
94
96
  - lib/tasks/event_map_extension_tasks.rake
95
- - pkg/radiant-event_map-extension-1.0.1.gem
96
- - pkg/radiant-event_map-extension-1.1.0.gem
97
97
  - public/images/event_calendar/event_shadow.png
98
98
  - public/images/event_calendar/one_event.png
99
99
  - public/images/event_calendar/several_events.png