card-mod-search 0.13.4 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a85d54f67a1ded3ee619e623d4803a38e8ab0682fb776f5dc22a1d9273660f7
4
- data.tar.gz: 06bd0c2ddf5b6ba20066284da58863c4df94da6a524e2a183691056e1ebcb354
3
+ metadata.gz: 6d71f9c2f41da5531f7869b4a9164a06cebbc58b0bfa7585ba51aa28407622d0
4
+ data.tar.gz: e7e03c62bc64626164fba8789a5bab61040a3a2902dddad67ad96cc1f8846a5d
5
5
  SHA512:
6
- metadata.gz: a6869fa15007ef666116a34affa10a17e456fd447ce468f2101eb2b7efd1936e6812f6b0992e04c5938982b39966c9add9b454c1c52df0a6ca1dd42619f61968
7
- data.tar.gz: 48ddcd1d290e4a1f925808d0b318ab98de0cc5a1ad04efe6c77cdf3b24e436986a21fd303afbb57848d492d5856cf53f43ad2b7d44c7e3bbf10e5b3f95e88a08
6
+ metadata.gz: 7465ca832ed477fc2a3d6665c26dac1caac9d8a10c602b46751a39cb8725b62f88de4663b0b00d5fd0eafd5f4b93a3b9de03b75b193f039420485612ee062e14
7
+ data.tar.gz: f80dc473d2607546a3267e94613a2bc6f2d48557c6b1677414c390b40f72ead61b8157e564257618e5d2aab2dcce942ceba87827d1e23b972cbed043d3aefb0e
@@ -13,21 +13,6 @@ format do
13
13
  end
14
14
  end
15
15
 
16
- format :json do
17
- def items_for_export
18
- return [] if card.content.empty? || unexportable_tag?(card.name.tag_name.key)
19
-
20
- card.item_cards
21
- end
22
-
23
- # avoid running the search from +:content_options (huge results)
24
- # and +:structure (errors)
25
- # TODO: make this configurable in set mods
26
- def unexportable_tag? tag_key
27
- %i[content_options structure].map { |code| code.cardname.key }.include? tag_key
28
- end
29
- end
30
-
31
16
  format :rss do
32
17
  view :feed_body do
33
18
  case raw_feed_items
data/set/self/recent.rb CHANGED
@@ -27,9 +27,3 @@ format :rss do
27
27
  render_blank
28
28
  end
29
29
  end
30
-
31
- format :json do
32
- def items_for_export
33
- card.item_cards limit: 20
34
- end
35
- end
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.13.4
4
+ version: 0.14.0
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-09-24 00:00:00.000000000 Z
13
+ date: 2021-12-22 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.103.4
21
+ version: 1.104.0
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.103.4
28
+ version: 1.104.0
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.13.4
35
+ version: 0.14.0
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.13.4
42
+ version: 0.14.0
43
43
  description: ''
44
44
  email:
45
45
  - info@decko.org
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  requirements: []
112
- rubygems_version: 3.1.6
112
+ rubygems_version: 3.2.15
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: search