card-mod-search 0.15.5 → 0.15.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/set/abstract/virtual_search.rb +13 -0
- data/set/right/by_create.rb +2 -7
- data/set/right/by_name.rb +2 -7
- data/set/right/by_update.rb +2 -7
- data/set/right/children.rb +5 -12
- data/set/right/created.rb +3 -11
- data/set/right/creator.rb +2 -7
- data/set/right/edited.rb +3 -11
- data/set/right/editors.rb +3 -11
- data/set/right/last_edited.rb +2 -7
- data/set/right/linked_to_by.rb +3 -11
- data/set/right/links_to.rb +3 -11
- data/set/right/mates.rb +5 -11
- data/set/right/nested_by.rb +3 -11
- data/set/right/nests.rb +3 -11
- data/set/right/referred_to_by.rb +3 -11
- data/set/right/refers_to.rb +3 -11
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 666360cb6fdaf3be1ca61e26c5936088c17f4028c16f0d886ac07a937850be9a
|
4
|
+
data.tar.gz: 3f41b33779c8c4687170970482dceb1c47bb88ca05c3d5e41877218d3ba75b0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e14baa5998d4421343a82e14f5e691357507ed81c70b661398c8d54d57b069f2cb6c29afe69efae2d87594e4aa3c24c5ce719885e3608545267924cd9ec3d83c
|
7
|
+
data.tar.gz: 60440fbef1dd035cfa8431942f8092d3fd938c55a1df851c815474684eaa15306fc939f083e2e53f84a5d3d78c717c7434336b434d788149d76ee30de005e8d7
|
@@ -1,3 +1,16 @@
|
|
1
|
+
include_set Abstract::CodeContent
|
2
|
+
|
1
3
|
def virtual?
|
2
4
|
new?
|
3
5
|
end
|
6
|
+
|
7
|
+
def self.included klass
|
8
|
+
klass.assign_type :search_type
|
9
|
+
end
|
10
|
+
|
11
|
+
# TODO: make cql content visible in editor
|
12
|
+
# format :html do
|
13
|
+
# view :input do
|
14
|
+
# super() + card.cql_content.to_s
|
15
|
+
# end
|
16
|
+
# end
|
data/set/right/by_create.rb
CHANGED
data/set/right/by_name.rb
CHANGED
data/set/right/by_update.rb
CHANGED
data/set/right/children.rb
CHANGED
@@ -1,12 +1,5 @@
|
|
1
|
-
include_set Abstract::VirtualSearch
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
{ part: "_left", sort_by: "name" }
|
7
|
-
end
|
8
|
-
|
9
|
-
def raw_help_text
|
10
|
-
"Cards formed by \"mating\" {{_left|name}} with another card. "\
|
11
|
-
"eg: \"{{_left|name}}+mate\"."
|
12
|
-
end
|
1
|
+
include_set Abstract::VirtualSearch,
|
2
|
+
cql_content: { part: "_left", sort_by: "name" },
|
3
|
+
raw_help_text:
|
4
|
+
'Cards formed by "mating" {{_left|name}} with another card. ' \
|
5
|
+
'eg: "{{_left|name}}+mate".'
|
data/set/right/created.rb
CHANGED
@@ -1,11 +1,3 @@
|
|
1
|
-
include_set Abstract::VirtualSearch
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
def cql_content
|
6
|
-
{ created_by: "_left", sort_by: "create", dir: "desc" }
|
7
|
-
end
|
8
|
-
|
9
|
-
def raw_help_text
|
10
|
-
"Cards created by {{_left|name}}."
|
11
|
-
end
|
1
|
+
include_set Abstract::VirtualSearch,
|
2
|
+
cql_content: { created_by: "_left", sort_by: "create", dir: "desc" },
|
3
|
+
raw_help_text: "Cards created by {{_left|name}}."
|
data/set/right/creator.rb
CHANGED
data/set/right/edited.rb
CHANGED
@@ -1,11 +1,3 @@
|
|
1
|
-
include_set Abstract::VirtualSearch
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
def cql_content
|
6
|
-
{ edited_by: "_left", sort_by: "name" }
|
7
|
-
end
|
8
|
-
|
9
|
-
def raw_help_text
|
10
|
-
"Cards edited by {{_left|name}}."
|
11
|
-
end
|
1
|
+
include_set Abstract::VirtualSearch,
|
2
|
+
cql_content: { edited_by: "_left", sort_by: "name" },
|
3
|
+
raw_help_text: "Cards edited by {{_left|name}}."
|
data/set/right/editors.rb
CHANGED
@@ -1,11 +1,3 @@
|
|
1
|
-
include_set Abstract::VirtualSearch
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
def cql_content
|
6
|
-
{ editor_of: "_left", sort_by: "name" }
|
7
|
-
end
|
8
|
-
|
9
|
-
def raw_help_text
|
10
|
-
"Users who have edited {{_left|name}}."
|
11
|
-
end
|
1
|
+
include_set Abstract::VirtualSearch,
|
2
|
+
cql_content: { editor_of: "_left", sort_by: "name" },
|
3
|
+
raw_help_text: "Users who have edited {{_left|name}}."
|
data/set/right/last_edited.rb
CHANGED
data/set/right/linked_to_by.rb
CHANGED
@@ -1,11 +1,3 @@
|
|
1
|
-
include_set Abstract::VirtualSearch
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
def cql_content
|
6
|
-
{ link_to: "_left", sort_by: "name" }
|
7
|
-
end
|
8
|
-
|
9
|
-
def raw_help_text
|
10
|
-
"Cards that link to {{_left|name}}."
|
11
|
-
end
|
1
|
+
include_set Abstract::VirtualSearch,
|
2
|
+
cql_content: { link_to: "_left", sort_by: "name" },
|
3
|
+
raw_help_text: "Cards that link to {{_left|name}}."
|
data/set/right/links_to.rb
CHANGED
@@ -1,11 +1,3 @@
|
|
1
|
-
include_set Abstract::VirtualSearch
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
def cql_content
|
6
|
-
{ linked_to_by: "_left", sort_by: "name" }
|
7
|
-
end
|
8
|
-
|
9
|
-
def raw_help_text
|
10
|
-
"Cards that <em>{{_left|name}}</em> links to."
|
11
|
-
end
|
1
|
+
include_set Abstract::VirtualSearch,
|
2
|
+
cql_content: { linked_to_by: "_left", sort_by: "name" },
|
3
|
+
raw_help_text: "Cards that <em>{{_left|name}}</em> links to."
|
data/set/right/mates.rb
CHANGED
@@ -1,11 +1,5 @@
|
|
1
|
-
include_set Abstract::VirtualSearch
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
{ plus: "_left", sort_by: "name" }
|
7
|
-
end
|
8
|
-
|
9
|
-
def raw_help_text
|
10
|
-
"If there is a card named \"X+{{_left|name}}\", then X is a mate of {{_left|name}}."
|
11
|
-
end
|
1
|
+
include_set Abstract::VirtualSearch,
|
2
|
+
cql_content: { plus: "_left", sort_by: "name" },
|
3
|
+
raw_help_text:
|
4
|
+
'If there is a card named "X+{{_left|name}}", ' \
|
5
|
+
"then X is a mate of {{_left|name}}."
|
data/set/right/nested_by.rb
CHANGED
@@ -1,11 +1,3 @@
|
|
1
|
-
include_set Abstract::VirtualSearch
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
def raw_help_text
|
6
|
-
"Cards that nest {{_left|name}}."
|
7
|
-
end
|
8
|
-
|
9
|
-
def cql_content
|
10
|
-
{ nest: "_left", sort_by: "name" }
|
11
|
-
end
|
1
|
+
include_set Abstract::VirtualSearch,
|
2
|
+
cql_content: { nest: "_left", sort_by: "name" },
|
3
|
+
raw_help_text: "Cards that nest {{_left|name}}."
|
data/set/right/nests.rb
CHANGED
@@ -1,11 +1,3 @@
|
|
1
|
-
include_set Abstract::VirtualSearch
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
def cql_content
|
6
|
-
{ nested_by: "_left", sort_by: "name" }
|
7
|
-
end
|
8
|
-
|
9
|
-
def raw_help_text
|
10
|
-
"Cards that {{_left|name}} includes."
|
11
|
-
end
|
1
|
+
include_set Abstract::VirtualSearch,
|
2
|
+
cql_content: { nested_by: "_left", sort_by: "name" },
|
3
|
+
raw_help_text: "Cards that {{_left|name}} includes."
|
data/set/right/referred_to_by.rb
CHANGED
@@ -1,11 +1,3 @@
|
|
1
|
-
include_set Abstract::VirtualSearch
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
def cql_content
|
6
|
-
{ refer_to: "_left", sort_by: "name" }
|
7
|
-
end
|
8
|
-
|
9
|
-
def raw_help_text
|
10
|
-
"Cards that refer to {{_left|name}}."
|
11
|
-
end
|
1
|
+
include_set Abstract::VirtualSearch,
|
2
|
+
cql_content: { refer_to: "_left", sort_by: "name" },
|
3
|
+
raw_help_text: "Cards that refer to {{_left|name}}."
|
data/set/right/refers_to.rb
CHANGED
@@ -1,11 +1,3 @@
|
|
1
|
-
include_set Abstract::VirtualSearch
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
def cql_content
|
6
|
-
{ referred_to_by: "_left", sort_by: "name" }
|
7
|
-
end
|
8
|
-
|
9
|
-
def raw_help_text
|
10
|
-
"Cards that {{_left|name}} refers to."
|
11
|
-
end
|
1
|
+
include_set Abstract::VirtualSearch,
|
2
|
+
cql_content: { referred_to_by: "_left", sort_by: "name" },
|
3
|
+
raw_help_text: "Cards that {{_left|name}} refers to."
|
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.15.
|
4
|
+
version: 0.15.6
|
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: 2023-
|
13
|
+
date: 2023-05-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,56 +18,56 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.105.
|
21
|
+
version: 1.105.6
|
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.105.
|
28
|
+
version: 1.105.6
|
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.15.
|
35
|
+
version: 0.15.6
|
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.15.
|
42
|
+
version: 0.15.6
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: card-mod-format
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.15.
|
49
|
+
version: 0.15.6
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.15.
|
56
|
+
version: 0.15.6
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: card-mod-help
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.15.
|
63
|
+
version: 0.15.6
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - '='
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.15.
|
70
|
+
version: 0.15.6
|
71
71
|
description: ''
|
72
72
|
email:
|
73
73
|
- info@decko.org
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
147
|
+
rubygems_version: 3.2.33
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: search
|