radiant-library-extension 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/library/library_tags.rb +2 -2
- data/library_extension.rb +1 -1
- data/radiant-library-extension.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.1
|
data/lib/library/library_tags.rb
CHANGED
@@ -266,9 +266,9 @@ module Library
|
|
266
266
|
requested = _get_requested_tags(tag)
|
267
267
|
limit = tag.attr['limit'] || 50
|
268
268
|
if requested.any?
|
269
|
-
Tag.coincident_with(requested)
|
269
|
+
Tag.visible.coincident_with(requested)
|
270
270
|
else
|
271
|
-
Tag.most_popular(limit)
|
271
|
+
Tag.visible.most_popular(limit)
|
272
272
|
end
|
273
273
|
end
|
274
274
|
end
|
data/library_extension.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require_dependency 'application_controller'
|
2
2
|
|
3
3
|
class LibraryExtension < Radiant::Extension
|
4
|
-
version "2.1.
|
4
|
+
version "2.1.1"
|
5
5
|
description "Combines paperclipped and taggable to create a general purpose faceted library"
|
6
6
|
url "http://github.com/spanner/radiant-library-extension"
|
7
7
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-library-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 1
|
10
|
+
version: 2.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- spanner
|