radiant-taggable-extension 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  class TaggableExtension < Radiant::Extension
2
- version "1.2.3"
2
+ version "1.2.4"
3
3
  description "General purpose tagging and retrieval extension: more versatile but less focused than the tags extension"
4
4
  url "http://github.com/spanner/radiant-taggable-extension"
5
5
 
@@ -17,21 +17,8 @@ class TaggableExtension < Radiant::Extension
17
17
  admin.tag = Radiant::AdminUI.load_default_tag_regions
18
18
  end
19
19
 
20
- if respond_to?(:tab)
21
- tab("Content") do
22
- add_item("Tags", "/admin/tags")
23
- end
24
- else
25
- admin.tabs.add "Tags", "/admin/tags", :after => "Layouts", :visibility => [:all]
26
- if admin.tabs['Tags'].respond_to?(:add_link)
27
- admin.tabs['Tags'].add_link('tag list', '/admin/tags')
28
- admin.tabs['Tags'].add_link('tag cloud', '/admin/tags/cloud')
29
- admin.tabs['Tags'].add_link('new tag', '/admin/tags/new')
30
- end
20
+ tab("Content") do
21
+ add_item("Tags", "/admin/tags")
31
22
  end
32
23
  end
33
-
34
- def deactivate
35
- admin.tabs.remove "Tags" unless respond_to?(:tab)
36
- end
37
24
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-taggable-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 3
10
- version: 1.2.3
9
+ - 4
10
+ version: 1.2.4
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: 2011-03-13 00:00:00 +00:00
18
+ date: 2011-04-12 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -49,6 +49,7 @@ files:
49
49
  - VERSION
50
50
  - app/controllers/admin/taggings_controller.rb
51
51
  - app/controllers/admin/tags_controller.rb
52
+ - app/helpers/taggable_helper.rb
52
53
  - app/models/tag.rb
53
54
  - app/models/tagging.rb
54
55
  - app/views/admin/pages/_edit_title.html.haml
@@ -59,9 +60,12 @@ files:
59
60
  - app/views/admin/tags/index.html.haml
60
61
  - app/views/admin/tags/new.html.haml
61
62
  - app/views/admin/tags/show.html.haml
63
+ - config/locales/en.yml
62
64
  - config/routes.rb
63
65
  - db/migrate/001_create_tags.rb
64
66
  - db/migrate/002_import_keywords.rb
67
+ - db/migrate/20110316210834_structural_tags.rb
68
+ - db/migrate/20110411075109_metaphones.rb
65
69
  - lib/natcmp.rb
66
70
  - lib/radiant-taggable-extension.rb
67
71
  - lib/taggable_admin_page_controller.rb
@@ -70,9 +74,13 @@ files:
70
74
  - lib/taggable_page.rb
71
75
  - lib/taggable_tags.rb
72
76
  - lib/tasks/taggable_extension_tasks.rake
77
+ - lib/text/double_metaphone.rb
78
+ - lib/text/metaphone.rb
73
79
  - public/images/admin/new-tag.png
74
80
  - public/images/admin/tag.png
75
- - public/stylesheets/admin/tags.css
81
+ - public/javascripts/admin/taggable.js
82
+ - public/javascripts/autocomplete.js
83
+ - public/stylesheets/sass/admin/taggable.sass
76
84
  - public/stylesheets/sass/tagcloud.sass
77
85
  - radiant-taggable-extension.gemspec
78
86
  - spec/datasets/tag_sites_dataset.rb
@@ -1,20 +0,0 @@
1
- #tags-table table { margin-bottom: 0; }
2
- td.tag-title { font-size: 115%; font-weight: bold;}
3
- td.tag-title a { text-decoration: none; color: black; }
4
- td.tag-description {
5
- font-size: 80%;
6
- color: #999;
7
- }
8
-
9
- ul.cloud {
10
- list-style: none;
11
- margin: 0;
12
- padding: 0;
13
- line-height: 20px; }
14
- ul.cloud li {
15
- display: inline;
16
- font-family: "Lucida Grande", "Bitstream Vera Sans", Helvetica, Verdana, Arial, sans-serif;
17
- letter-spacing: -0.04em;
18
- white-space: nowrap;
19
- line-height: 20px;
20
- margin: 0; }