repertoire-faceting 0.7.4 → 0.7.5
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.
- checksums.yaml +4 -4
- data/FAQ +5 -3
- data/ext/Makefile +1 -1
- data/ext/bytea/faceting_bytea.control +1 -1
- data/ext/signature/faceting.control +1 -1
- data/ext/varbit/faceting_varbit.control +1 -1
- data/lib/assets/javascripts/rep.faceting/facet.js +2 -1
- data/lib/repertoire-faceting/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa6f8b474b663e96a20686e94cdca83a0aa9e830
|
4
|
+
data.tar.gz: 5354ccb69c039fae42cffa6a9d71103f333f563d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 098ab68bc166b170a2135410a24a3d1fdee361ec874dcd12bdb95a56ef9379733b19a3e66286497a1d343e26c4ce3cde6894160695afd92d3318462d21dd44f7
|
7
|
+
data.tar.gz: 64395140e272554bd2c2d65072736d550a1ca136c44573493df83f58bcccae7e995908693543169104ace20c78c804e1dc2ff88827061c8cfd531d7ce3073d98
|
data/FAQ
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
*A* Because the opening page of a faceted search is also the most computationally-intensive to produce (it integrates
|
26
26
|
counts across the entire dataset), the faceted browser is radically faster when configured to cache results. As of version
|
27
|
-
7.4, the controller mixin sets HTTP cache headers in responses to reasonable defaults.
|
27
|
+
0.7.4, the controller mixin sets HTTP cache headers in responses to reasonable defaults.
|
28
28
|
|
29
29
|
The short story is that models should have an updated_at column, which is used to compute cache keys. For models with many
|
30
30
|
items, you may wish to add an index on updated_at.
|
@@ -174,8 +174,10 @@ via a cron task.
|
|
174
174
|
},
|
175
175
|
handlers: {
|
176
176
|
'click!.clear_control' : function(self) {
|
177
|
-
self.
|
178
|
-
|
177
|
+
var name = self.facet_name(),
|
178
|
+
context = self.context();
|
179
|
+
context.refinements(name).length = 0;
|
180
|
+
context.trigger('changed');
|
179
181
|
return false;
|
180
182
|
}
|
181
183
|
}
|
data/ext/Makefile
CHANGED
@@ -77,7 +77,8 @@ repertoire.facet = function($facet, options) {
|
|
77
77
|
var $value_list = $('<div class="facet"></div>');
|
78
78
|
|
79
79
|
// title bar
|
80
|
-
$value_list.append( '<div class="title">' + options.title +
|
80
|
+
$value_list.append( '<div class="title"><span class="banner">' + options.title +
|
81
|
+
'</span><span class="controls"></span><span class="spinner"></span></div>' );
|
81
82
|
|
82
83
|
// facet values
|
83
84
|
var $values = $('<div class="values"/>')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: repertoire-faceting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher York
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|