radiant-relations-extension 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module RelationsExtension::RelationsTags
|
|
2
2
|
include Radiant::Taggable
|
3
3
|
|
4
4
|
tag 'related_pages' do |tag|
|
5
|
-
tag.locals.related_pages = tag.locals.page.related_pages
|
5
|
+
tag.locals.related_pages = tag.locals.page.related_pages.dup
|
6
6
|
if tag.attr['from_ancestor']
|
7
7
|
ancestor_path = Page.find(tag.attr['from_ancestor']).path
|
8
8
|
tag.locals.related_pages.delete_if{|p| not p.path =~ /^#{ancestor_path}/ }
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-relations-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 2
|
10
|
+
version: 1.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jan De Poorter
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-09-
|
19
|
+
date: 2012-09-28 00:00:00 +02:00
|
20
20
|
default_executable:
|
21
21
|
dependencies: []
|
22
22
|
|
@@ -48,9 +48,6 @@ files:
|
|
48
48
|
- lib/tasks/relations_extension_tasks.rake
|
49
49
|
- public/javascripts/admin/relations.js
|
50
50
|
- public/stylesheets/sass/admin/relations.sass
|
51
|
-
- radiant-relations-extension-1.1.0.gem
|
52
|
-
- radiant-relations-extension-1.1.1.gem
|
53
|
-
- radiant-relations-extension-1.2.0.gem
|
54
51
|
- radiant-relations-extension.gemspec
|
55
52
|
- Rakefile
|
56
53
|
- README
|
@@ -61,7 +58,7 @@ has_rdoc: true
|
|
61
58
|
homepage: http://github.com/jomz/radiant-relations-extension
|
62
59
|
licenses: []
|
63
60
|
|
64
|
-
post_install_message: "\n Add this to your radiant project by putting this line in your Gemfile:\n gem \"radiant-relations-extension\", \"~> 1.2.
|
61
|
+
post_install_message: "\n Add this to your radiant project by putting this line in your Gemfile:\n gem \"radiant-relations-extension\", \"~> 1.2.2\"\n "
|
65
62
|
rdoc_options: []
|
66
63
|
|
67
64
|
require_paths:
|
Binary file
|
Binary file
|
Binary file
|