radiant-taggable_events-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/.gitignore +1 -0
- data/README.md +1 -3
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/app/views/events/_defacet.html.haml +3 -3
- data/app/views/events/{_event_postscript.html.haml → _keywords.html.haml} +2 -2
- data/app/views/events/_other_page_parts.html.haml +4 -5
- data/config/locales/en.yml +3 -0
- data/radiant-taggable_events-extension.gemspec +15 -14
- data/taggable_events_extension.rb +1 -1
- metadata +18 -13
- data/pkg/radiant-taggable_events-extension-1.1.0.gem +0 -0
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pkg/*
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# Taggable Events
|
2
2
|
|
3
|
-
This is a tiny bit of glue to associate taggable's tags with event_calendar's events. It also provides a few useful radius tags for your calendar pages.
|
4
|
-
|
5
|
-
|
3
|
+
This is a tiny bit of glue to associate taggable's tags with event_calendar's events. It also provides a few useful radius tags for your calendar pages and adds a `tagcloud` page part to the main calendar view.
|
6
4
|
|
7
5
|
## Author & Copyright
|
8
6
|
|
data/Rakefile
CHANGED
@@ -7,9 +7,9 @@ begin
|
|
7
7
|
gem.email = "will@spanner.org"
|
8
8
|
gem.homepage = "http://github.com/spanner/radiant-taggable_events-extension"
|
9
9
|
gem.authors = ["spanner"]
|
10
|
-
gem.add_dependency "radiant", "
|
11
|
-
gem.add_dependency "radiant-event_calendar-extension"
|
12
|
-
gem.add_dependency "radiant-taggable-extension"
|
10
|
+
gem.add_dependency "radiant", "~> 0.9.0"
|
11
|
+
gem.add_dependency "radiant-event_calendar-extension", "~> 1.3.0"
|
12
|
+
gem.add_dependency "radiant-taggable-extension", "~> 1.2.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 taggable_events as a gem."
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.3.0
|
@@ -1,8 +1,8 @@
|
|
1
1
|
- if period
|
2
|
-
= link_to period.description, url_without_period, :class => '
|
2
|
+
= link_to period.description, url_without_period, :class => 'defacet'
|
3
3
|
- if tags.any?
|
4
|
-
|
5
|
-
= tags.map { |tag| link_to tag.title, url_without_tag(tag), :class => '
|
4
|
+
= t("tagged_with")
|
5
|
+
= tags.map { |tag| link_to tag.title, url_without_tag(tag), :class => 'defacet' }.to_sentence
|
6
6
|
|
7
7
|
|
8
8
|
|
@@ -2,9 +2,8 @@
|
|
2
2
|
- if all_events.any?
|
3
3
|
- cloudtags = Tag.for_cloud(Tag.attached_to(all_events).except(tags).most_popular(50))
|
4
4
|
- if cloudtags.any?
|
5
|
-
%
|
5
|
+
%div.cloud
|
6
6
|
- cloudtags.each do |tag|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
Click on a tag to see only the relevant events.
|
7
|
+
= link_to tag.title, url_with_tag(tag), :class => 'filter', :style => "font-size: #{tag.cloud_size.to_f * 1.5}em;"
|
8
|
+
%p.help
|
9
|
+
= t('click_to_filter')
|
@@ -5,23 +5,25 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{radiant-taggable_events-extension}
|
8
|
-
s.version = "1.
|
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"]
|
12
|
-
s.date = %q{2010-10-
|
12
|
+
s.date = %q{2010-10-21}
|
13
13
|
s.description = %q{A tiny bit of glue to attach tags to event_calendar events and define some radius tags useful on calendar pages}
|
14
14
|
s.email = %q{will@spanner.org}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"README.md"
|
17
17
|
]
|
18
18
|
s.files = [
|
19
|
-
"
|
19
|
+
".gitignore",
|
20
|
+
"README.md",
|
20
21
|
"Rakefile",
|
21
22
|
"VERSION",
|
22
23
|
"app/views/events/_defacet.html.haml",
|
23
|
-
"app/views/events/
|
24
|
+
"app/views/events/_keywords.html.haml",
|
24
25
|
"app/views/events/_other_page_parts.html.haml",
|
26
|
+
"config/locales/en.yml",
|
25
27
|
"cucumber.yml",
|
26
28
|
"db/migrate/20100301074622_import_keywords.rb",
|
27
29
|
"features/support/env.rb",
|
@@ -30,7 +32,6 @@ Gem::Specification.new do |s|
|
|
30
32
|
"lib/taggable_event_tags.rb",
|
31
33
|
"lib/tagged_events_controller.rb",
|
32
34
|
"lib/tasks/taggable_events_extension_tasks.rake",
|
33
|
-
"pkg/radiant-taggable_events-extension-1.1.0.gem",
|
34
35
|
"public/images/furniture/detag.png",
|
35
36
|
"radiant-taggable_events-extension.gemspec",
|
36
37
|
"spec/datasets/events_dataset.rb",
|
@@ -57,18 +58,18 @@ Gem::Specification.new do |s|
|
|
57
58
|
s.specification_version = 3
|
58
59
|
|
59
60
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
60
|
-
s.add_runtime_dependency(%q<radiant>, ["
|
61
|
-
s.add_runtime_dependency(%q<radiant-event_calendar-extension>, ["
|
62
|
-
s.add_runtime_dependency(%q<radiant-taggable-extension>, ["
|
61
|
+
s.add_runtime_dependency(%q<radiant>, ["~> 0.9.0"])
|
62
|
+
s.add_runtime_dependency(%q<radiant-event_calendar-extension>, ["~> 1.3.0"])
|
63
|
+
s.add_runtime_dependency(%q<radiant-taggable-extension>, ["~> 1.2.0"])
|
63
64
|
else
|
64
|
-
s.add_dependency(%q<radiant>, ["
|
65
|
-
s.add_dependency(%q<radiant-event_calendar-extension>, ["
|
66
|
-
s.add_dependency(%q<radiant-taggable-extension>, ["
|
65
|
+
s.add_dependency(%q<radiant>, ["~> 0.9.0"])
|
66
|
+
s.add_dependency(%q<radiant-event_calendar-extension>, ["~> 1.3.0"])
|
67
|
+
s.add_dependency(%q<radiant-taggable-extension>, ["~> 1.2.0"])
|
67
68
|
end
|
68
69
|
else
|
69
|
-
s.add_dependency(%q<radiant>, ["
|
70
|
-
s.add_dependency(%q<radiant-event_calendar-extension>, ["
|
71
|
-
s.add_dependency(%q<radiant-taggable-extension>, ["
|
70
|
+
s.add_dependency(%q<radiant>, ["~> 0.9.0"])
|
71
|
+
s.add_dependency(%q<radiant-event_calendar-extension>, ["~> 1.3.0"])
|
72
|
+
s.add_dependency(%q<radiant-taggable-extension>, ["~> 1.2.0"])
|
72
73
|
end
|
73
74
|
end
|
74
75
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
require_dependency 'application_controller'
|
3
3
|
|
4
4
|
class TaggableEventsExtension < Radiant::Extension
|
5
|
-
version "1.
|
5
|
+
version "1.3.0"
|
6
6
|
description "A tiny bit of glue to attach tags to event_calendar events and define some radius tags useful on calendar pages"
|
7
7
|
url "http://github.com/spanner/radiant-taggable_events-extension"
|
8
8
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-taggable_events-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
8
|
+
- 3
|
9
9
|
- 0
|
10
|
-
version: 1.
|
10
|
+
version: 1.3.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- spanner
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-10-
|
18
|
+
date: 2010-10-21 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
hash: 59
|
30
30
|
segments:
|
@@ -40,12 +40,14 @@ dependencies:
|
|
40
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
45
|
+
hash: 27
|
46
46
|
segments:
|
47
|
+
- 1
|
48
|
+
- 3
|
47
49
|
- 0
|
48
|
-
version:
|
50
|
+
version: 1.3.0
|
49
51
|
type: :runtime
|
50
52
|
version_requirements: *id002
|
51
53
|
- !ruby/object:Gem::Dependency
|
@@ -54,12 +56,14 @@ dependencies:
|
|
54
56
|
requirement: &id003 !ruby/object:Gem::Requirement
|
55
57
|
none: false
|
56
58
|
requirements:
|
57
|
-
- -
|
59
|
+
- - ~>
|
58
60
|
- !ruby/object:Gem::Version
|
59
|
-
hash:
|
61
|
+
hash: 31
|
60
62
|
segments:
|
63
|
+
- 1
|
64
|
+
- 2
|
61
65
|
- 0
|
62
|
-
version:
|
66
|
+
version: 1.2.0
|
63
67
|
type: :runtime
|
64
68
|
version_requirements: *id003
|
65
69
|
description: A tiny bit of glue to attach tags to event_calendar events and define some radius tags useful on calendar pages
|
@@ -71,12 +75,14 @@ extensions: []
|
|
71
75
|
extra_rdoc_files:
|
72
76
|
- README.md
|
73
77
|
files:
|
78
|
+
- .gitignore
|
74
79
|
- README.md
|
75
80
|
- Rakefile
|
76
81
|
- VERSION
|
77
82
|
- app/views/events/_defacet.html.haml
|
78
|
-
- app/views/events/
|
83
|
+
- app/views/events/_keywords.html.haml
|
79
84
|
- app/views/events/_other_page_parts.html.haml
|
85
|
+
- config/locales/en.yml
|
80
86
|
- cucumber.yml
|
81
87
|
- db/migrate/20100301074622_import_keywords.rb
|
82
88
|
- features/support/env.rb
|
@@ -85,7 +91,6 @@ files:
|
|
85
91
|
- lib/taggable_event_tags.rb
|
86
92
|
- lib/tagged_events_controller.rb
|
87
93
|
- lib/tasks/taggable_events_extension_tasks.rake
|
88
|
-
- pkg/radiant-taggable_events-extension-1.1.0.gem
|
89
94
|
- public/images/furniture/detag.png
|
90
95
|
- radiant-taggable_events-extension.gemspec
|
91
96
|
- spec/datasets/events_dataset.rb
|
Binary file
|