card-mod-search 0.11.2 → 0.11.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/set/abstract/05_search.rb +4 -0
  3. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cfd118e769142458442456c9db10fe2bf914bcd9fdd75fc44c79e1f6bf84d21b
4
- data.tar.gz: 52597e675347913eb11010f15336ea7621cb75300432e2807a2f205be4f3afb2
3
+ metadata.gz: 3f10cadf09bfd58e7a6361fbec9aaa2bc2fe24cdfc6c9df1245657ec8f6a4deb
4
+ data.tar.gz: 94fba1f07b64166998755430d20129f06f225d5da5e0f82954313c018ae8a798
5
5
  SHA512:
6
- metadata.gz: eeb17417463c8888ad9eb7408168a6e0a65e106d3037f7887824fd546bc5f3f55400190c965718ec9097e007198e136fcd0e647de63edde931fe825d67109617
7
- data.tar.gz: df8d31767cca4fa85d3bffec3672be61500a438175439058b5814da029fa58ec62dcad09c231f1fce870b349556f246532475462ef60b8e5fd9cf2a9ec7ee231
6
+ metadata.gz: a63d2059b8b1c277eb27637bde95cca0804ba9bc8bb9f87ce5a61a9b482b9192e0003b9f9664d4e9cf822f8166532f64c75e47e1e34a24c43abf925b7aba4fe1
7
+ data.tar.gz: baf6b4f536e0320490833eee85cc7438a243914dd476907cec303de85783bd1f963af0887045721a6efb0888fd89d4fbd96b646dcf04db3927383c459da67029
@@ -60,6 +60,10 @@ format do
60
60
  @count_with_params ||= search_with_rescue search_params.merge(return: :count)
61
61
  end
62
62
 
63
+ view :filtered_count, cache: :never do
64
+ count_with_params
65
+ end
66
+
63
67
  def search_with_rescue query_args
64
68
  rescuing_bad_query query_args do
65
69
  card.cached_search query_args
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.2
4
+ version: 0.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-03-15 00:00:00.000000000 Z
13
+ date: 2021-04-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: card
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.101.2
21
+ version: 1.101.3
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.101.2
28
+ version: 1.101.3
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: card-mod-collection
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.11.2
35
+ version: 0.11.3
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.11.2
42
+ version: 0.11.3
43
43
  description: ''
44
44
  email:
45
45
  - info@decko.org
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubygems_version: 3.0.3
111
+ rubygems_version: 3.1.4
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: search