radiant-tags-extension 1.6.5 → 1.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/models/radius_tags.rb +1 -1
- data/lib/radiant-tags-extension.rb +1 -1
- metadata +43 -25
data/app/models/radius_tags.rb
CHANGED
@@ -179,7 +179,7 @@ module RadiusTags
|
|
179
179
|
if tag.attr['limit']
|
180
180
|
selected_tags = selected_tags.first(tag.attr['limit'].to_i)
|
181
181
|
end
|
182
|
-
selected_tags.
|
182
|
+
selected_tags.each_with_index.collect do |meta_tag, index|
|
183
183
|
tag.locals.meta_tag = meta_tag
|
184
184
|
tag.locals.is_first_meta_tag = index == 0
|
185
185
|
tag.locals.is_last_meta_tag = index == selected_tags.length - 1
|
metadata
CHANGED
@@ -1,24 +1,34 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-tags-extension
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 6
|
9
|
+
- 6
|
10
|
+
version: 1.6.6
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Benny Degezelle
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
17
|
+
|
18
|
+
date: 2012-02-03 00:00:00 +01:00
|
19
|
+
default_executable:
|
13
20
|
dependencies: []
|
14
|
-
|
15
|
-
|
16
|
-
email:
|
21
|
+
|
22
|
+
description: This extension enhances the page model with tagging capabilities, tagging as in \"2.0" and tagclouds.
|
23
|
+
email:
|
17
24
|
- benny@gorilla-webdesign.be
|
18
25
|
executables: []
|
26
|
+
|
19
27
|
extensions: []
|
28
|
+
|
20
29
|
extra_rdoc_files: []
|
21
|
-
|
30
|
+
|
31
|
+
files:
|
22
32
|
- HELP.md
|
23
33
|
- HELP_admin.md
|
24
34
|
- README
|
@@ -228,33 +238,41 @@ files:
|
|
228
238
|
- vendor/plugins/has_many_polymorphs/test/setup.rb
|
229
239
|
- vendor/plugins/has_many_polymorphs/test/test_helper.rb
|
230
240
|
- vendor/plugins/has_many_polymorphs/test/unit/has_many_polymorphs_test.rb
|
241
|
+
has_rdoc: true
|
231
242
|
homepage: http://ext.radiantcms.org/extensions/195-tags
|
232
243
|
licenses: []
|
233
|
-
|
234
|
-
line to your environment.rb:\n config.gem 'radiant-tags-extension', :version
|
235
|
-
=> '1.6.5'\n "
|
244
|
+
|
245
|
+
post_install_message: "\n Add this to your radiant project by adding the following line to your environment.rb:\n config.gem 'radiant-tags-extension', :version => '1.6.6'\n "
|
236
246
|
rdoc_options: []
|
237
|
-
|
247
|
+
|
248
|
+
require_paths:
|
238
249
|
- lib
|
239
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
250
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
240
251
|
none: false
|
241
|
-
requirements:
|
242
|
-
- -
|
243
|
-
- !ruby/object:Gem::Version
|
244
|
-
|
245
|
-
|
252
|
+
requirements:
|
253
|
+
- - ">="
|
254
|
+
- !ruby/object:Gem::Version
|
255
|
+
hash: 3
|
256
|
+
segments:
|
257
|
+
- 0
|
258
|
+
version: "0"
|
259
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
246
260
|
none: false
|
247
|
-
requirements:
|
248
|
-
- -
|
249
|
-
- !ruby/object:Gem::Version
|
250
|
-
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
hash: 3
|
265
|
+
segments:
|
266
|
+
- 0
|
267
|
+
version: "0"
|
251
268
|
requirements: []
|
269
|
+
|
252
270
|
rubyforge_project:
|
253
|
-
rubygems_version: 1.
|
271
|
+
rubygems_version: 1.4.2
|
254
272
|
signing_key:
|
255
273
|
specification_version: 3
|
256
274
|
summary: Tagging for Radiant CMS
|
257
|
-
test_files:
|
275
|
+
test_files:
|
258
276
|
- test/fixtures/meta_tags.yml
|
259
277
|
- test/fixtures/page_parts.yml
|
260
278
|
- test/fixtures/pages.yml
|