card-mod-rules 0.14.2 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/script/rules.js.coffee +52 -0
- data/assets/style/rules.scss +143 -0
- data/data/files/mod_rules_script_asset_output/file.js +2 -0
- data/data/files/mod_rules_script_local_machine_output/file.js +31 -0
- data/data/real.yml +27 -0
- data/locales/de.yml +1 -0
- data/locales/en.yml +1 -0
- data/set/abstract/virtual_set.rb +3 -0
- data/set/all/cardtype_groups.rb +1 -2
- data/set/all/related_sets.rb +2 -18
- data/set/all/set_select.rb +58 -0
- data/set/right/right.rb +7 -0
- data/set/right/self.rb +8 -0
- data/set/right/type.rb +7 -0
- data/set/right/type_plus_right.rb +9 -2
- data/set/rule/bar_view.rb +21 -32
- data/set/rule/bridge_rules_editor.rb +1 -1
- data/set/rule/editor.rb +29 -7
- data/set/rule/quick_editor/quick_edit.haml +2 -2
- data/set/rule/quick_editor.rb +1 -1
- data/set/rule/rule_form/rule_form.haml +1 -3
- data/set/rule/rule_form/rule_set_radio.rb +16 -13
- data/set/rule/rule_form/set_selection.rb +3 -20
- data/set/rule/rule_form.rb +19 -3
- data/set/self/cardtype.rb +0 -2
- data/set/self/recent_settings.rb +2 -0
- data/set/type/cardtype.rb +1 -1
- data/set/type/set/html_views/filtered_rule_lists.rb +23 -0
- data/set/type/set/html_views/rule_lists.rb +80 -22
- data/set/type/set/html_views/setting_filter.rb +38 -0
- data/set/type/set/html_views.rb +4 -31
- data/set/type/set/setting_categories.rb +67 -0
- data/set/type/set.rb +10 -4
- data/set/type/setting/core.haml +11 -0
- data/set/type/setting.rb +3 -1
- data/set/type_plus_right/set/setting.rb +12 -0
- data/set/type_plus_right/set/structure.rb +10 -0
- metadata +25 -14
- data/assets/script/script_rules.js.coffee +0 -23
- data/set/rule/rule_form/form_elements.rb +0 -52
- data/set/type/set/html_views/group_panel.haml +0 -14
- data/set/type/set/rules_filter.rb +0 -60
- data/set/type/set/setting_lists.rb +0 -76
@@ -2,7 +2,7 @@
|
|
2
2
|
class RuleSetRadio
|
3
3
|
attr_reader :format
|
4
4
|
|
5
|
-
delegate :link_to_card, :radio_button, :wrap_with, :icon_tag,
|
5
|
+
delegate :link_to_card, :radio_button, :wrap_with, :icon_tag, :unique_id,
|
6
6
|
to: :format
|
7
7
|
|
8
8
|
# @param state [:current, :overwritten]
|
@@ -12,14 +12,14 @@ class RuleSetRadio
|
|
12
12
|
@set_name = set_name
|
13
13
|
@tag = tag
|
14
14
|
@state = state
|
15
|
+
@id = "#{unique_id}-#{Time.now.to_i}"
|
15
16
|
end
|
16
17
|
|
17
18
|
def html narrower
|
18
19
|
@narrower_rules = narrower
|
19
20
|
|
20
|
-
|
21
|
-
|
22
|
-
radio_button :name, radio_text, checked: false, warning: warning
|
21
|
+
wrap_with :div, class: "form-check" do
|
22
|
+
[radio, label]
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
@@ -33,18 +33,21 @@ class RuleSetRadio
|
|
33
33
|
@state == :overwritten
|
34
34
|
end
|
35
35
|
|
36
|
-
def
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
[yield, label, link_to_card(@set_name, icon, target: "decko_set")]
|
41
|
-
end
|
36
|
+
def radio
|
37
|
+
radio_text = "#{@set_name}+#{@tag}"
|
38
|
+
radio_button :name, radio_text,
|
39
|
+
checked: false, warning: warning, class: "form-check-input", id: @id
|
42
40
|
end
|
43
41
|
|
44
42
|
def label
|
45
|
-
|
46
|
-
|
47
|
-
label
|
43
|
+
label_classes = ["set-label", ("current-set-label" if current?)].compact.join(" ")
|
44
|
+
icon = icon_tag "open_in_new", "text-muted"
|
45
|
+
text = Card.fetch(@set_name).label
|
46
|
+
text += " <em>#{extra_info}</em>".html_safe if extra_info
|
47
|
+
|
48
|
+
wrap_with :label, class: "form-check-label #{label_classes}", for: @id do
|
49
|
+
[text, link_to_card(@set_name, icon, target: "decko_set")]
|
50
|
+
end
|
48
51
|
end
|
49
52
|
|
50
53
|
def extra_info
|
@@ -1,6 +1,6 @@
|
|
1
1
|
format :html do
|
2
2
|
def bridge_rule_set_selection
|
3
|
-
wrap_with :div, class: "set-list" do
|
3
|
+
wrap_with :div, class: "set-list _set-editor" do
|
4
4
|
bridge_rule_set_formgroup
|
5
5
|
end
|
6
6
|
end
|
@@ -9,30 +9,13 @@ format :html do
|
|
9
9
|
tag = @rule_context.rule_user_setting_name
|
10
10
|
narrower = []
|
11
11
|
|
12
|
-
|
13
|
-
rule_set_options.map do |set_name, state|
|
12
|
+
wrap_with :div, class: "col-xs-6 mt-3 mb-5" do
|
13
|
+
rule_set_options.reverse.map do |set_name, state|
|
14
14
|
RuleSetRadio.new(self, set_name, tag, state).html narrower
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
def bridge_option_list title
|
20
|
-
index = -1
|
21
|
-
formgroup title, input: "set", class: "col-xs-6", help: false do
|
22
|
-
yield.inject("") do |res, radio|
|
23
|
-
index += 1
|
24
|
-
# TODO
|
25
|
-
if false # index.in? [2,3]
|
26
|
-
wrap_with(:li, radio, class: "radio") + res
|
27
|
-
else
|
28
|
-
wrap_with :ul do
|
29
|
-
wrap_with(:li, (radio + res), class: "radio")
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
19
|
def rule_set_options
|
37
20
|
@rule_set_options ||= @rule_context.set_options
|
38
21
|
end
|
data/set/rule/rule_form.rb
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
format :html do
|
2
2
|
view :rule_form, cache: :never, unknown: true do
|
3
|
-
|
4
|
-
@rule_context ||= card
|
5
|
-
@form_type ||= :overlay
|
3
|
+
prepare_rule_form_options
|
6
4
|
|
7
5
|
wrap do
|
8
6
|
edit_rule_form @success_view do
|
@@ -14,6 +12,24 @@ format :html do
|
|
14
12
|
end
|
15
13
|
end
|
16
14
|
|
15
|
+
def prepare_rule_form_options
|
16
|
+
@success_view ||= :open
|
17
|
+
@rule_context ||= card
|
18
|
+
@form_type ||= :overlay
|
19
|
+
@edit_rule_success = edit_rule_success @success_view
|
20
|
+
end
|
21
|
+
|
22
|
+
view :rule_form_card_editor, cache: :never, unknown: true do
|
23
|
+
prepare_rule_form_options
|
24
|
+
|
25
|
+
wrap true, class: "card-editor slotter" do
|
26
|
+
[
|
27
|
+
rules_type_formgroup,
|
28
|
+
rule_content_formgroup
|
29
|
+
]
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
17
33
|
def form_type
|
18
34
|
@form_type || :overlay
|
19
35
|
end
|
data/set/self/cardtype.rb
CHANGED
data/set/self/recent_settings.rb
CHANGED
data/set/type/cardtype.rb
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
format :html do
|
2
|
+
view :nest_rules,
|
3
|
+
cache: :never, unknown: true, wrap: :slot do
|
4
|
+
render :quick_edit_setting_list
|
5
|
+
end
|
6
|
+
|
7
|
+
view :modal_nest_rules,
|
8
|
+
cache: :never, unknown: true,
|
9
|
+
wrap: { modal: { title: "Rules for nest" } } do
|
10
|
+
filtered_rule_list :quick_edit_setting_list, :field_related
|
11
|
+
end
|
12
|
+
|
13
|
+
view :bridge_rules_tab,
|
14
|
+
cache: :never,
|
15
|
+
wrap: { slot: { class: "d-flex flex-column gap-3 mx-3 mt-2" } } do
|
16
|
+
class_up "accordion-item", "_setting-list"
|
17
|
+
filtered_rule_list :accordion_rule_list, :common, mark: ""
|
18
|
+
end
|
19
|
+
|
20
|
+
view :filtered_accordion_rule_list do
|
21
|
+
filtered_rule_list :accordion_rule_list
|
22
|
+
end
|
23
|
+
end
|
@@ -1,42 +1,100 @@
|
|
1
1
|
format :html do
|
2
|
-
|
3
|
-
|
2
|
+
setting_list_view_options = { cache: :never,
|
3
|
+
wrap: { slot: { class: "_setting-list" } } }
|
4
|
+
|
5
|
+
# rule can be edited in-place
|
6
|
+
view :quick_edit_setting_list, setting_list_view_options do
|
7
|
+
quick_edit_setting_list
|
8
|
+
end
|
9
|
+
|
10
|
+
# show the settings in bars
|
11
|
+
view :bar_setting_list, setting_list_view_options do
|
12
|
+
group = voo.filter&.to_sym || :all
|
13
|
+
category_setting_list_items(group, :bar, hide: :full_name).join("\n").html_safe
|
14
|
+
end
|
15
|
+
|
16
|
+
# a click on a setting opens the rule editor in an overlay
|
17
|
+
view :pill_setting_list, setting_list_view_options do
|
18
|
+
pill_setting_list
|
19
|
+
end
|
20
|
+
|
21
|
+
# a click on a setting opens the rule editor in a modal
|
22
|
+
view :modal_pill_setting_list, setting_list_view_options do
|
23
|
+
pill_setting_list true
|
24
|
+
end
|
25
|
+
|
26
|
+
view :accordion_rule_list, setting_list_view_options do
|
27
|
+
category_accordion(:rule_bridge_link) do |list|
|
28
|
+
bridge_pills list
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
view :accordion_bar_list do
|
33
|
+
category_accordion(:bar) do |list|
|
34
|
+
list_tag(class: "nav flex-column", items: { class: "nav-item" }) { list }
|
35
|
+
end
|
4
36
|
end
|
5
37
|
|
6
|
-
|
7
|
-
|
38
|
+
def category_accordion view, &block
|
39
|
+
class_up "accordion-item", "_setting-group"
|
40
|
+
wrap_with :div, class: "_setting-list" do
|
41
|
+
accordion do
|
42
|
+
category_accordion_item(view, &block)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
def category_accordion_item view
|
48
|
+
Card::Setting.groups.keys.map do |group_key|
|
49
|
+
list =
|
50
|
+
card.group_settings(group_key).map do |setting|
|
51
|
+
setting_list_item setting, view
|
52
|
+
end
|
53
|
+
body = yield list
|
54
|
+
accordion_item "#{group_key} #{count_badge(list.size)}",
|
55
|
+
body: body, context: group_key
|
56
|
+
end
|
8
57
|
end
|
9
58
|
|
10
|
-
|
11
|
-
|
59
|
+
def count_badge count
|
60
|
+
"<span class=\"_count badge bg-secondary ms-3\">#{count}</span>"
|
12
61
|
end
|
13
62
|
|
14
|
-
|
15
|
-
|
16
|
-
|
63
|
+
view :overlay_rule_list_link, cache: :never do
|
64
|
+
opts = bridge_link_opts(class: "edit-rule-link btn btn-primary")
|
65
|
+
# opts[:path].delete(:layout)
|
66
|
+
|
67
|
+
wrap_with :div do
|
68
|
+
link_to_view(:core, "Show existing rules", opts)
|
17
69
|
end
|
18
70
|
end
|
19
71
|
|
20
|
-
def
|
21
|
-
|
22
|
-
|
23
|
-
|
72
|
+
def quick_edit_setting_list
|
73
|
+
classes = "nav nav-pills flex-column bridge-pills _setting-list _setting-group"
|
74
|
+
list_tag class: classes do
|
75
|
+
category_setting_list_items :field, :quick_edit
|
76
|
+
end
|
24
77
|
end
|
25
78
|
|
26
|
-
def
|
27
|
-
|
28
|
-
|
29
|
-
list_items.join("\n").html_safe
|
79
|
+
def pill_setting_list open_rule_in_modal=false
|
80
|
+
item_view = open_rule_in_modal ? :rule_nest_editor_link : :rule_bridge_link
|
81
|
+
bridge_pills category_setting_list_items(:all, item_view)
|
30
82
|
end
|
31
83
|
|
32
|
-
|
84
|
+
view :pill_setting_list, cache: :never, wrap: { slot: { class: "_setting-list" } } do
|
85
|
+
pill_setting_list
|
86
|
+
end
|
87
|
+
|
88
|
+
def category_setting_list_items category, item_view, options={}
|
89
|
+
card.category_settings(category).map do |setting|
|
90
|
+
setting_list_item setting, item_view, options
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
def setting_list_item setting, view, opts={}
|
33
95
|
return "" unless show_view? setting
|
34
96
|
|
35
97
|
rule_card = card.fetch setting, new: {}
|
36
98
|
nest(rule_card, opts.merge(view: view)).html_safe
|
37
99
|
end
|
38
|
-
|
39
|
-
def setting_list_from_params default=:common
|
40
|
-
setting_list setting_group(default)
|
41
|
-
end
|
42
100
|
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
format :html do
|
2
|
+
def filtered_rule_list view, *filter_args
|
3
|
+
[
|
4
|
+
setting_filter(view, *filter_args),
|
5
|
+
render(view)
|
6
|
+
]
|
7
|
+
end
|
8
|
+
|
9
|
+
def setting_filter view, selected_category=:common, path_opts={}
|
10
|
+
form_tag path(path_opts.merge(view: view)),
|
11
|
+
remote: true, method: "get", role: "filter",
|
12
|
+
"data-slot-selector": ".card-slot._setting-list",
|
13
|
+
class: classy("nodblclick slotter") do
|
14
|
+
output [
|
15
|
+
filter_buttons(selected_category)
|
16
|
+
].flatten
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def filter_buttons selected=:all
|
21
|
+
wrap_with :div, class: "my-4 mx-2 _setting-filter" do
|
22
|
+
[
|
23
|
+
content_tag(:label, "Settings"),
|
24
|
+
filter_radio(:all, "All", selected == :all),
|
25
|
+
filter_radio(:common, "Common", selected == :common),
|
26
|
+
filter_radio(:field, "Field", selected == :field_related),
|
27
|
+
filter_radio(:recent, "Recent", selected == :recent)
|
28
|
+
]
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def filter_radio name, label, checked=false
|
33
|
+
<<-HTML.strip_heredoc
|
34
|
+
<input type="radio" class="btn-check _setting-category" name="options" id="#{name}" autocomplete="off" #{'checked' if checked}>
|
35
|
+
<label class="btn btn-outline-primary" for="#{name}">#{label}</label>
|
36
|
+
HTML
|
37
|
+
end
|
38
|
+
end
|
data/set/type/set/html_views.rb
CHANGED
@@ -4,43 +4,16 @@ format :html do
|
|
4
4
|
end
|
5
5
|
|
6
6
|
view :core, cache: :never do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
filtered_rule_list :quick_edit_rule_list, :field_related_rules, :related, mark: ""
|
12
|
-
end
|
13
|
-
|
14
|
-
view :modal_nest_rules, cache: :never, unknown: true,
|
15
|
-
wrap: { modal: { title: "Rules for nest" } } do
|
16
|
-
filtered_rule_list :quick_edit_rule_list, :field_related_rules, :self
|
17
|
-
end
|
18
|
-
|
19
|
-
view :bridge_rules_tab, cache: :never do
|
20
|
-
filtered_rule_list :pill_rule_list, :common, :related, mark: ""
|
21
|
-
end
|
22
|
-
|
23
|
-
def filtered_rule_list view, *filter_args
|
24
|
-
[rules_filter(view, *filter_args),
|
25
|
-
render(view)]
|
7
|
+
[
|
8
|
+
content_tag(:h4, t("rules_header"), class: "mt-3"),
|
9
|
+
filtered_rule_list(:accordion_bar_list)
|
10
|
+
]
|
26
11
|
end
|
27
12
|
|
28
13
|
view :set_label do
|
29
14
|
wrap_with :strong, card.label, class: "set-label"
|
30
15
|
end
|
31
16
|
|
32
|
-
Card::Setting.groups.each_key do |group_key|
|
33
|
-
view group_key.to_sym do
|
34
|
-
next unless card.visible_settings(group_key).present?
|
35
|
-
|
36
|
-
haml :group_panel, group_key: group_key
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
def setting_group default=:common
|
41
|
-
voo&.filter&.to_sym || params[:group]&.to_sym || default
|
42
|
-
end
|
43
|
-
|
44
17
|
view :input do
|
45
18
|
"Cannot currently edit Sets" # LOCALIZE
|
46
19
|
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
SETTING_OPTIONS = [["Common", :common_rules],
|
2
|
+
["All", :all_rules],
|
3
|
+
["Field", :field_related_rules],
|
4
|
+
["Recent", :recent_rules]].freeze
|
5
|
+
|
6
|
+
COMMON_SETTINGS = %i[create read update delete structure default guide].freeze
|
7
|
+
FIELD_SETTINGS = %i[default help].freeze
|
8
|
+
|
9
|
+
def categories setting
|
10
|
+
result = [:all]
|
11
|
+
result += %i[field recent common].select do |cat|
|
12
|
+
category_settings(cat)&.include? setting
|
13
|
+
end
|
14
|
+
result
|
15
|
+
end
|
16
|
+
|
17
|
+
def selected_setting_category default=:common
|
18
|
+
voo&.filter&.to_sym || params[:group]&.to_sym || default
|
19
|
+
end
|
20
|
+
|
21
|
+
def field_settings
|
22
|
+
%i[default help input_type content_options content_option_view]
|
23
|
+
end
|
24
|
+
|
25
|
+
# @param val setting category, setting group or single setting
|
26
|
+
def setting_list val
|
27
|
+
category_settings(val) || group_settings(val) || [val]
|
28
|
+
end
|
29
|
+
|
30
|
+
def category_settings cat
|
31
|
+
case cat
|
32
|
+
when :all, :all_rules
|
33
|
+
all_settings
|
34
|
+
when :recent, :recent_rules
|
35
|
+
recent_settings
|
36
|
+
when :common, :common_rules
|
37
|
+
visible_setting_codenames & COMMON_SETTINGS
|
38
|
+
when :field, :field_related, :field_related_rules
|
39
|
+
field_related_settings
|
40
|
+
when :nest_editor_field_related
|
41
|
+
nest_editor_field_related_settings
|
42
|
+
else
|
43
|
+
group_settings cat
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
def group_settings group
|
48
|
+
visible_settings(group).map(&:codename) if Card::Setting.groups[group]
|
49
|
+
end
|
50
|
+
|
51
|
+
def all_settings
|
52
|
+
visible_setting_codenames.sort
|
53
|
+
end
|
54
|
+
|
55
|
+
def nest_editor_field_related_settings
|
56
|
+
field_settings
|
57
|
+
# & card.visible_settings(nil, card.prototype_default_type_id).map(&:codename)
|
58
|
+
end
|
59
|
+
|
60
|
+
def field_related_settings
|
61
|
+
field_settings # card.visible_setting_codenames &
|
62
|
+
end
|
63
|
+
|
64
|
+
def recent_settings
|
65
|
+
recent_settings = Card[:recent_settings].item_cards.map(&:codename).compact
|
66
|
+
recent_settings & visible_setting_codenames
|
67
|
+
end
|
data/set/type/set.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
include_set Type::SearchType
|
2
2
|
|
3
|
+
basket[:non_createable_types] << :set
|
4
|
+
|
3
5
|
def anchor_name
|
4
6
|
name.left_name
|
5
7
|
end
|
@@ -17,7 +19,7 @@ def pattern
|
|
17
19
|
end
|
18
20
|
|
19
21
|
def inheritable?
|
20
|
-
|
22
|
+
compound_only? || (anchor_name&.compound? && self_set?)
|
21
23
|
end
|
22
24
|
|
23
25
|
def self_set?
|
@@ -29,8 +31,8 @@ def subclass_for_set
|
|
29
31
|
Pattern.concrete.find { |set| set.pattern_code == current_set_pattern_code }
|
30
32
|
end
|
31
33
|
|
32
|
-
def
|
33
|
-
@
|
34
|
+
def compound_only?
|
35
|
+
@compound_only.nil? ? (@compound_only = subclass_for_set.compound_only) : @compound_only
|
34
36
|
end
|
35
37
|
|
36
38
|
def label
|
@@ -82,7 +84,7 @@ def visible_settings group=nil, cardtype_id=nil
|
|
82
84
|
end
|
83
85
|
|
84
86
|
def broader_sets
|
85
|
-
prototype.set_names[1..-1]
|
87
|
+
prototype.set_names[1..-1].map(&Card.method(:fetch))
|
86
88
|
end
|
87
89
|
|
88
90
|
def prototype
|
@@ -105,3 +107,7 @@ def related_sets with_self=false
|
|
105
107
|
left(new: {}).related_sets with_self
|
106
108
|
end
|
107
109
|
end
|
110
|
+
|
111
|
+
def label_and_url_key
|
112
|
+
[label, name.to_name.url_key]
|
113
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
= _render_rule_help
|
2
|
+
%h3 All #{card.name.tr "*", ""} rules that apply to
|
3
|
+
- card.set_classes_with_rules.each do |klass, rules|
|
4
|
+
%p
|
5
|
+
%h5
|
6
|
+
= klass.generic_label.downcase
|
7
|
+
- if klass.anchorless?
|
8
|
+
= nest rules.first, view: :bar, show: :full_name
|
9
|
+
- else
|
10
|
+
- rules.each do |rule|
|
11
|
+
= nest rule, view: :bar
|
data/set/type/setting.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
basket[:non_createable_types] << :setting
|
2
|
+
|
1
3
|
format :data do
|
2
4
|
view :core do
|
3
5
|
cql = { left: { type: SetID },
|
@@ -19,7 +21,7 @@ def set_classes_with_rules
|
|
19
21
|
end
|
20
22
|
|
21
23
|
def rules_for_set_class set_class
|
22
|
-
cql = { left: { type: SetID }, right: id,
|
24
|
+
cql = { left: { type: SetID }, right: id, sort_by: %w[content name], limit: 0 }
|
23
25
|
cql[:left][(set_class.anchorless? ? :id : :right_id)] = set_class.pattern_id
|
24
26
|
Card.search cql
|
25
27
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-rules
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.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:
|
13
|
+
date: 2023-01-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,42 +18,42 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.105.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.
|
28
|
+
version: 1.105.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: card-mod-format
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.15.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.
|
42
|
+
version: 0.15.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: card-mod-search
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
49
|
+
version: 0.15.0
|
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.
|
56
|
+
version: 0.15.0
|
57
57
|
description: ''
|
58
58
|
email:
|
59
59
|
- info@decko.org
|
@@ -61,12 +61,20 @@ executables: []
|
|
61
61
|
extensions: []
|
62
62
|
extra_rdoc_files: []
|
63
63
|
files:
|
64
|
-
- assets/script/
|
64
|
+
- assets/script/rules.js.coffee
|
65
|
+
- assets/style/rules.scss
|
66
|
+
- data/files/mod_rules_script_asset_output/file.js
|
67
|
+
- data/files/mod_rules_script_local_machine_output/file.js
|
68
|
+
- data/real.yml
|
65
69
|
- locales/de.yml
|
66
70
|
- locales/en.yml
|
71
|
+
- set/abstract/virtual_set.rb
|
67
72
|
- set/all/cardtype_groups.rb
|
68
73
|
- set/all/related_sets.rb
|
74
|
+
- set/all/set_select.rb
|
75
|
+
- set/right/right.rb
|
69
76
|
- set/right/self.rb
|
77
|
+
- set/right/type.rb
|
70
78
|
- set/right/type_plus_right.rb
|
71
79
|
- set/rstar/rule_user.rb
|
72
80
|
- set/rule/bar_view.rb
|
@@ -78,7 +86,6 @@ files:
|
|
78
86
|
- set/rule/quick_editor/set_info.haml
|
79
87
|
- set/rule/rule_form.rb
|
80
88
|
- set/rule/rule_form/buttons.rb
|
81
|
-
- set/rule/rule_form/form_elements.rb
|
82
89
|
- set/rule/rule_form/rule_form.haml
|
83
90
|
- set/rule/rule_form/rule_set_radio.rb
|
84
91
|
- set/rule/rule_form/set_selection.rb
|
@@ -88,12 +95,15 @@ files:
|
|
88
95
|
- set/type/cardtype.rb
|
89
96
|
- set/type/set.rb
|
90
97
|
- set/type/set/html_views.rb
|
91
|
-
- set/type/set/html_views/
|
98
|
+
- set/type/set/html_views/filtered_rule_lists.rb
|
92
99
|
- set/type/set/html_views/rule_lists.rb
|
100
|
+
- set/type/set/html_views/setting_filter.rb
|
93
101
|
- set/type/set/html_views/template.rb
|
94
|
-
- set/type/set/
|
95
|
-
- set/type/set/setting_lists.rb
|
102
|
+
- set/type/set/setting_categories.rb
|
96
103
|
- set/type/setting.rb
|
104
|
+
- set/type/setting/core.haml
|
105
|
+
- set/type_plus_right/set/setting.rb
|
106
|
+
- set/type_plus_right/set/structure.rb
|
97
107
|
homepage: https://decko.org
|
98
108
|
licenses:
|
99
109
|
- GPL-3.0
|
@@ -104,6 +114,7 @@ metadata:
|
|
104
114
|
wiki_uri: https://decko.org
|
105
115
|
documentation_url: http://docs.decko.org/
|
106
116
|
card-mod: rules
|
117
|
+
card-mod-group: gem-defaults
|
107
118
|
post_install_message:
|
108
119
|
rdoc_options: []
|
109
120
|
require_paths:
|
@@ -119,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
130
|
- !ruby/object:Gem::Version
|
120
131
|
version: '0'
|
121
132
|
requirements: []
|
122
|
-
rubygems_version: 3.
|
133
|
+
rubygems_version: 3.3.11
|
123
134
|
signing_key:
|
124
135
|
specification_version: 4
|
125
136
|
summary: rules
|