card 1.103.1 → 1.104.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/config/environments/development.rb +4 -2
- data/config/environments/production.rb +9 -9
- data/config/environments/test.rb +1 -1
- data/config/initializers/01_core_extensions/array.rb +4 -1
- data/config/initializers/01_core_extensions/object.rb +1 -1
- data/config/initializers/02_patches/active_record.rb +16 -17
- data/config/locales/de.yml +8 -564
- data/config/locales/es.yml +2 -3
- data/db/migrate/20110511221913_require_earlier_migrations.rb +1 -1
- data/db/migrate/20120105203350_require_1_8_migrations.rb +1 -1
- data/db/migrate/20121111025347_require_1_10_migrations.rb +1 -1
- data/db/migrate/20211128040849_virtuals_updated_at.rb +11 -0
- data/db/migrate_core_cards/20130411191151_renaming_for_menu.rb +0 -1
- data/db/migrate_core_cards/20140317035504_account_requests_to_signups.rb +0 -2
- data/db/migrate_core_cards/20150202143810_import_bootstrap_layout.rb +0 -2
- data/db/migrate_core_cards/20190417142612_reorganize_scripts_2.rb +1 -3
- data/db/migrate_core_cards/20190502130029_add_shark_and_help_desk_role.rb +1 -2
- data/db/migrate_core_cards/20190710090209_homepage_tweaks.rb +3 -7
- data/db/migrate_core_cards/20190823220018_cleanup_for_decko_1_0.rb +2 -4
- data/db/migrate_core_cards/20190902193208_input_type.rb +3 -8
- data/db/migrate_core_cards/20190904174403_token_upgrade.rb +1 -1
- data/db/migrate_core_cards/data/1.12_stylesheets/traditional.scss +1 -2
- data/db/schema.rb +19 -16
- data/db/seed/new/card_actions.yml +2615 -3383
- data/db/seed/new/card_acts.yml +3 -3
- data/db/seed/new/card_references.yml +1588 -1707
- data/db/seed/new/cards.yml +5450 -8416
- data/db/seed/new/schema_migrations.yml +2 -0
- data/db/seed/new/schema_migrations_core_cards.yml +8 -0
- data/db/seed/test/fixtures/card_actions.yml +4304 -5144
- data/db/seed/test/fixtures/card_acts.yml +780 -840
- data/db/seed/test/fixtures/card_changes.yml +110 -110
- data/db/seed/test/fixtures/card_references.yml +2908 -2992
- data/db/seed/test/fixtures/cards.yml +8775 -11955
- data/db/seed/test/fixtures/schema_migrations.yml +2 -0
- data/db/seed/test/fixtures/schema_migrations_core_cards.yml +8 -0
- data/db/test_seed.rb +2 -5
- data/db/version.txt +1 -1
- data/db/version_core_cards.txt +1 -1
- data/lib/card/auth/current.rb +1 -1
- data/lib/card/auth/permissions.rb +37 -35
- data/lib/card/content/all.rb +3 -3
- data/lib/card/content/chunk.rb +1 -1
- data/lib/card/content/diff/summary.rb +14 -18
- data/lib/card/content.rb +9 -1
- data/lib/card/director/act_direction.rb +6 -6
- data/lib/card/director/card_methods.rb +0 -1
- data/lib/card/director/phases.rb +1 -0
- data/lib/card/director/stages.rb +2 -0
- data/lib/card/director.rb +1 -0
- data/lib/card/fetch/all.rb +3 -3
- data/lib/card/fetch/card_class.rb +5 -11
- data/lib/card/fetch/results.rb +8 -8
- data/lib/card/{tasks/card/file_card_creator → file_card_creator}/abstract_file_card/migration_file.rb +0 -0
- data/lib/card/{tasks/card/file_card_creator → file_card_creator}/abstract_file_card/ruby_file.rb +0 -0
- data/lib/card/{tasks/card/file_card_creator → file_card_creator}/abstract_file_card/source_file.rb +0 -0
- data/lib/card/{tasks/card/file_card_creator → file_card_creator}/abstract_file_card.rb +0 -5
- data/lib/card/{tasks/card/file_card_creator → file_card_creator}/haml_card.rb +0 -0
- data/lib/card/{tasks/card/file_card_creator → file_card_creator}/output_helper.rb +0 -0
- data/lib/card/{tasks/card/file_card_creator → file_card_creator}/script_card.rb +0 -0
- data/lib/card/{tasks/card/file_card_creator → file_card_creator}/style_card.rb +0 -0
- data/lib/card/{tasks/card/file_card_creator.rb → file_card_creator.rb} +0 -5
- data/lib/card/format/content.rb +5 -7
- data/lib/card/format/render.rb +10 -10
- data/lib/card/format.rb +3 -8
- data/lib/card/lexicon.rb +30 -7
- data/lib/card/model/save_helper.rb +3 -3
- data/lib/card/name/all/descendants.rb +9 -7
- data/lib/card/name/all/parts.rb +1 -1
- data/lib/card/name/all.rb +4 -3
- data/lib/card/name/card_class.rb +2 -1
- data/lib/card/name/fields_and_traits.rb +6 -30
- data/lib/card/name/name_variants.rb +5 -1
- data/lib/card/name.rb +6 -14
- data/lib/card/query/abstract_query/tie.rb +2 -3
- data/lib/card/query/card_query/normalization.rb +1 -1
- data/lib/card/query/sql_statement/order.rb +5 -6
- data/lib/card/query/value.rb +10 -7
- data/lib/card/reference/all.rb +9 -7
- data/lib/card/reference.rb +36 -41
- data/lib/card/rule/all.rb +3 -3
- data/lib/card/set/advanced_api.rb +5 -0
- data/lib/card/set/card_methods.rb +13 -0
- data/lib/card/set/event/delayed_event.rb +8 -1
- data/lib/card/set/event/skip_and_trigger.rb +8 -0
- data/lib/card/set/event.rb +1 -0
- data/lib/card/set/format/abstract_format/wrapper.rb +1 -1
- data/lib/card/set/format/abstract_format.rb +2 -1
- data/lib/card/set/format.rb +2 -3
- data/lib/card/set/helpers.rb +68 -0
- data/lib/card/set/inheritance.rb +1 -1
- data/lib/card/set/pattern/all.rb +20 -10
- data/lib/card/set/pattern/base.rb +12 -18
- data/lib/card/set/pattern/class_methods.rb +13 -13
- data/lib/card/set/pattern.rb +46 -24
- data/lib/card/set/registrar.rb +8 -2
- data/lib/card/set/trait.rb +16 -1
- data/lib/card/set/type.rb +3 -0
- data/lib/card/set.rb +14 -7
- data/lib/card/subcards/add.rb +1 -3
- data/lib/card/subcards/all.rb +30 -56
- data/lib/card/view/classy.rb +15 -27
- data/lib/card/view/options/voo_api.rb +3 -1
- data/lib/card/view/options.rb +7 -5
- data/lib/card/view.rb +1 -0
- data/lib/card.rb +9 -11
- data/lib/cardio/cli.rb +1 -0
- data/lib/cardio/commands/custom.rb +60 -0
- data/lib/cardio/commands/rake_command/parser.rb +49 -48
- data/lib/cardio/commands/rake_command.rb +17 -15
- data/lib/cardio/commands/rspec_command.rb +2 -0
- data/lib/cardio/commands.rb +69 -69
- data/lib/cardio/generators/deck_helper.rb +0 -4
- data/lib/cardio/generators.rb +56 -3
- data/lib/cardio/migration/deck.rb +0 -0
- data/lib/cardio/migration/deck_structure.rb +2 -0
- data/lib/cardio/migration/import/import_data/card_content.rb +1 -1
- data/lib/cardio/migration/import.rb +2 -2
- data/lib/cardio/migration.rb +26 -2
- data/lib/cardio/mod/class_methods.rb +112 -0
- data/lib/cardio/mod/dirs.rb +15 -11
- data/lib/cardio/mod/eat/edibles.rb +92 -0
- data/lib/cardio/mod/eat.rb +81 -0
- data/lib/cardio/mod/load_strategy/set_tmp_files.rb +10 -4
- data/lib/cardio/mod/load_strategy/tmp_files.rb +1 -1
- data/lib/cardio/mod/load_strategy.rb +3 -4
- data/lib/cardio/mod/loader/set_loader.rb +13 -13
- data/lib/cardio/mod/loader.rb +1 -1
- data/lib/cardio/mod/modfile_api.rb +5 -0
- data/lib/cardio/mod/poop.rb +135 -0
- data/lib/cardio/mod.rb +20 -80
- data/lib/cardio/railtie.rb +21 -5
- data/lib/cardio/schema.rb +11 -10
- data/lib/cardio/version.rb +35 -0
- data/lib/cardio.rb +4 -0
- data/lib/generators/deck/templates/Gemfile.erb +1 -5
- data/lib/generators/deck/templates/Rakefile.erb +6 -2
- data/lib/generators/deck/templates/rspec.erb +1 -1
- data/lib/generators/deck/templates/simplecov.rb.erb +7 -11
- data/lib/generators/deck/templates/spec/javascripts/support/decko_jasmine.yml.erb +0 -1
- data/lib/generators/mod/USAGE +1 -0
- data/lib/{card/tasks → tasks}/card/create.rake +0 -0
- data/lib/{card/tasks → tasks}/card/migrate.rake +41 -1
- data/lib/{card/tasks → tasks}/card/mod.rake +15 -8
- data/lib/tasks/card.rake +65 -0
- data/mod/admin/locales/de.yml +4 -0
- data/mod/admin/set/all/admin.rb +16 -0
- data/mod/admin/set/self/admin.rb +12 -14
- data/mod/admin/set/self/admin_info.rb +2 -5
- data/mod/core/data/production.yml +7 -0
- data/mod/core/data/test.yml +30 -0
- data/mod/core/locales/de.yml +28 -0
- data/mod/core/locales/en.yml +4 -5
- data/mod/core/set/all/assign_attributes.rb +1 -33
- data/mod/core/set/all/content.rb +3 -1
- data/mod/core/set/all/initialize.rb +1 -4
- data/mod/core/set/all/name_events.rb +3 -18
- data/mod/core/set/all/reference_events.rb +32 -36
- data/mod/core/set/all/subcards.rb +6 -2
- data/mod/core/set/all/trash.rb +4 -6
- data/mod/core/set/all/type.rb +67 -18
- data/mod/core/set/self/version.rb +1 -1
- data/mod/core/spec/set/all/name_events_spec.rb +10 -10
- data/mod/core/spec/set/all/trash_spec.rb +1 -1
- data/mod/core/spec/set/self/trash_spec.rb +1 -1
- data/mod/standard/{file → data/files}/favicon/image-icon.png +0 -0
- data/mod/standard/{file → data/files}/favicon/image-large.png +0 -0
- data/mod/standard/{file → data/files}/favicon/image-medium.png +0 -0
- data/mod/standard/{file → data/files}/favicon/image-original.png +0 -0
- data/mod/standard/{file → data/files}/favicon/image-small.png +0 -0
- data/mod/standard/{file → data/files}/logo/image-original.svg +0 -0
- metadata +66 -56
- data/db/migrate_core_cards/20150605115802_add_performance_log_card.rb +0 -7
- data/lib/card/set/basket.rb +0 -59
- data/lib/card/set/code_nest.rb +0 -15
- data/lib/card/tasks/card/asset.rake +0 -22
- data/lib/card/tasks/card.rake +0 -105
- data/lib/card/version.rb +0 -11
- data/lib/cardio/commands/USAGE +0 -28
- data/lib/cardio/generators/class_methods.rb +0 -35
- data/mod/core/spec/set/all/clean_me_spec.rb +0 -258
- data/mod/core/spec/set/all/export_spec.rb +0 -71
- data/tmpsets/set_pattern/100-all.rb +0 -22
- data/tmpsets/set_pattern/101-all_plus.rb +0 -24
- data/tmpsets/set_pattern/102-type.rb +0 -40
- data/tmpsets/set_pattern/103-star.rb +0 -26
- data/tmpsets/set_pattern/104-rstar.rb +0 -28
- data/tmpsets/set_pattern/105-rule.rb +0 -28
- data/tmpsets/set_pattern/106-right.rb +0 -35
- data/tmpsets/set_pattern/107-type_plus_right.rb +0 -43
- data/tmpsets/set_pattern/108-self.rb +0 -34
@@ -1,230 +1,230 @@
|
|
1
1
|
---
|
2
2
|
card_changes_001:
|
3
|
-
id:
|
4
|
-
card_action_id:
|
3
|
+
id: 7830
|
4
|
+
card_action_id: 157172
|
5
5
|
field: 0
|
6
6
|
value: First
|
7
7
|
card_changes_002:
|
8
|
-
id:
|
9
|
-
card_action_id:
|
8
|
+
id: 7831
|
9
|
+
card_action_id: 157172
|
10
10
|
field: 1
|
11
11
|
value: '3'
|
12
12
|
card_changes_003:
|
13
|
-
id:
|
14
|
-
card_action_id:
|
13
|
+
id: 7832
|
14
|
+
card_action_id: 157172
|
15
15
|
field: 2
|
16
16
|
value: egg
|
17
17
|
card_changes_004:
|
18
|
-
id:
|
19
|
-
card_action_id:
|
18
|
+
id: 7833
|
19
|
+
card_action_id: 157172
|
20
20
|
field: 3
|
21
21
|
value: f
|
22
22
|
card_changes_005:
|
23
|
-
id:
|
24
|
-
card_action_id:
|
23
|
+
id: 7834
|
24
|
+
card_action_id: 157172
|
25
25
|
field: 4
|
26
|
-
value:
|
26
|
+
value:
|
27
27
|
card_changes_006:
|
28
|
-
id:
|
29
|
-
card_action_id:
|
28
|
+
id: 7835
|
29
|
+
card_action_id: 157172
|
30
30
|
field: 5
|
31
|
-
value:
|
31
|
+
value:
|
32
32
|
card_changes_007:
|
33
|
-
id:
|
34
|
-
card_action_id:
|
33
|
+
id: 7836
|
34
|
+
card_action_id: 157173
|
35
35
|
field: 2
|
36
36
|
value: chicken
|
37
37
|
card_changes_008:
|
38
|
-
id:
|
39
|
-
card_action_id:
|
38
|
+
id: 7837
|
39
|
+
card_action_id: 157174
|
40
40
|
field: 2
|
41
41
|
value: chick
|
42
42
|
card_changes_009:
|
43
|
-
id:
|
44
|
-
card_action_id:
|
43
|
+
id: 7838
|
44
|
+
card_action_id: 157213
|
45
45
|
field: 0
|
46
|
-
value:
|
46
|
+
value:
|
47
47
|
card_changes_010:
|
48
|
-
id:
|
49
|
-
card_action_id:
|
48
|
+
id: 7839
|
49
|
+
card_action_id: 157213
|
50
50
|
field: 1
|
51
51
|
value: '3'
|
52
52
|
card_changes_011:
|
53
|
-
id:
|
54
|
-
card_action_id:
|
53
|
+
id: 7840
|
54
|
+
card_action_id: 157213
|
55
55
|
field: 2
|
56
56
|
value: ''
|
57
57
|
card_changes_012:
|
58
|
-
id:
|
59
|
-
card_action_id:
|
58
|
+
id: 7841
|
59
|
+
card_action_id: 157213
|
60
60
|
field: 3
|
61
61
|
value: f
|
62
62
|
card_changes_013:
|
63
|
-
id:
|
64
|
-
card_action_id:
|
63
|
+
id: 7842
|
64
|
+
card_action_id: 157213
|
65
65
|
field: 4
|
66
|
-
value: '
|
66
|
+
value: '97922'
|
67
67
|
card_changes_014:
|
68
|
-
id:
|
69
|
-
card_action_id:
|
68
|
+
id: 7843
|
69
|
+
card_action_id: 157213
|
70
70
|
field: 5
|
71
|
-
value: '
|
71
|
+
value: '97923'
|
72
72
|
card_changes_015:
|
73
|
-
id:
|
74
|
-
card_action_id:
|
73
|
+
id: 7844
|
74
|
+
card_action_id: 157216
|
75
75
|
field: 2
|
76
76
|
value: zoom in
|
77
77
|
card_changes_016:
|
78
|
-
id:
|
79
|
-
card_action_id:
|
78
|
+
id: 7845
|
79
|
+
card_action_id: 157259
|
80
80
|
field: 0
|
81
|
-
value:
|
81
|
+
value:
|
82
82
|
card_changes_017:
|
83
|
-
id:
|
84
|
-
card_action_id:
|
83
|
+
id: 7846
|
84
|
+
card_action_id: 157259
|
85
85
|
field: 1
|
86
86
|
value: '47'
|
87
87
|
card_changes_018:
|
88
|
-
id:
|
89
|
-
card_action_id:
|
88
|
+
id: 7847
|
89
|
+
card_action_id: 157259
|
90
90
|
field: 2
|
91
|
-
value: "
|
91
|
+
value: "*created"
|
92
92
|
card_changes_019:
|
93
|
-
id:
|
94
|
-
card_action_id:
|
93
|
+
id: 7848
|
94
|
+
card_action_id: 157259
|
95
95
|
field: 3
|
96
96
|
value: f
|
97
97
|
card_changes_020:
|
98
|
-
id:
|
99
|
-
card_action_id:
|
98
|
+
id: 7849
|
99
|
+
card_action_id: 157259
|
100
100
|
field: 4
|
101
|
-
value: '
|
101
|
+
value: '97965'
|
102
102
|
card_changes_021:
|
103
|
-
id:
|
104
|
-
card_action_id:
|
103
|
+
id: 7850
|
104
|
+
card_action_id: 157259
|
105
105
|
field: 5
|
106
106
|
value: '1261'
|
107
107
|
card_changes_022:
|
108
|
-
id:
|
109
|
-
card_action_id:
|
108
|
+
id: 7851
|
109
|
+
card_action_id: 157261
|
110
110
|
field: 2
|
111
111
|
value: |-
|
112
|
-
|
113
|
-
|
112
|
+
*created
|
113
|
+
*edited
|
114
114
|
card_changes_023:
|
115
|
-
id:
|
116
|
-
card_action_id:
|
115
|
+
id: 7852
|
116
|
+
card_action_id: 157266
|
117
117
|
field: 0
|
118
|
-
value:
|
118
|
+
value:
|
119
119
|
card_changes_024:
|
120
|
-
id:
|
121
|
-
card_action_id:
|
120
|
+
id: 7853
|
121
|
+
card_action_id: 157266
|
122
122
|
field: 1
|
123
123
|
value: '47'
|
124
124
|
card_changes_025:
|
125
|
-
id:
|
126
|
-
card_action_id:
|
125
|
+
id: 7854
|
126
|
+
card_action_id: 157266
|
127
127
|
field: 2
|
128
|
-
value: "
|
128
|
+
value: "*created"
|
129
129
|
card_changes_026:
|
130
|
-
id:
|
131
|
-
card_action_id:
|
130
|
+
id: 7855
|
131
|
+
card_action_id: 157266
|
132
132
|
field: 3
|
133
133
|
value: f
|
134
134
|
card_changes_027:
|
135
|
-
id:
|
136
|
-
card_action_id:
|
135
|
+
id: 7856
|
136
|
+
card_action_id: 157266
|
137
137
|
field: 4
|
138
|
-
value: '
|
138
|
+
value: '97971'
|
139
139
|
card_changes_028:
|
140
|
-
id:
|
141
|
-
card_action_id:
|
140
|
+
id: 7857
|
141
|
+
card_action_id: 157266
|
142
142
|
field: 5
|
143
143
|
value: '1261'
|
144
144
|
card_changes_029:
|
145
|
-
id:
|
146
|
-
card_action_id:
|
145
|
+
id: 7858
|
146
|
+
card_action_id: 157268
|
147
147
|
field: 2
|
148
148
|
value: |-
|
149
|
-
|
150
|
-
|
149
|
+
*created
|
150
|
+
*edited
|
151
151
|
card_changes_030:
|
152
|
-
id:
|
153
|
-
card_action_id:
|
152
|
+
id: 7859
|
153
|
+
card_action_id: 157269
|
154
154
|
field: 0
|
155
155
|
value: Created card
|
156
156
|
card_changes_031:
|
157
|
-
id:
|
158
|
-
card_action_id:
|
157
|
+
id: 7860
|
158
|
+
card_action_id: 157269
|
159
159
|
field: 1
|
160
160
|
value: '3'
|
161
161
|
card_changes_032:
|
162
|
-
id:
|
163
|
-
card_action_id:
|
162
|
+
id: 7861
|
163
|
+
card_action_id: 157269
|
164
164
|
field: 2
|
165
165
|
value: new content
|
166
166
|
card_changes_033:
|
167
|
-
id:
|
168
|
-
card_action_id:
|
167
|
+
id: 7862
|
168
|
+
card_action_id: 157269
|
169
169
|
field: 3
|
170
170
|
value: f
|
171
171
|
card_changes_034:
|
172
|
-
id:
|
173
|
-
card_action_id:
|
172
|
+
id: 7863
|
173
|
+
card_action_id: 157269
|
174
174
|
field: 4
|
175
|
-
value:
|
175
|
+
value:
|
176
176
|
card_changes_035:
|
177
|
-
id:
|
178
|
-
card_action_id:
|
177
|
+
id: 7864
|
178
|
+
card_action_id: 157269
|
179
179
|
field: 5
|
180
|
-
value:
|
180
|
+
value:
|
181
181
|
card_changes_036:
|
182
|
-
id:
|
183
|
-
card_action_id:
|
182
|
+
id: 7865
|
183
|
+
card_action_id: 157270
|
184
184
|
field: 0
|
185
185
|
value: Updated card
|
186
186
|
card_changes_037:
|
187
|
-
id:
|
188
|
-
card_action_id:
|
187
|
+
id: 7866
|
188
|
+
card_action_id: 157270
|
189
189
|
field: 1
|
190
190
|
value: '12809'
|
191
191
|
card_changes_038:
|
192
|
-
id:
|
193
|
-
card_action_id:
|
192
|
+
id: 7867
|
193
|
+
card_action_id: 157270
|
194
194
|
field: 2
|
195
|
-
value:
|
195
|
+
value: changed content
|
196
196
|
card_changes_039:
|
197
|
-
id:
|
198
|
-
card_action_id:
|
197
|
+
id: 7868
|
198
|
+
card_action_id: 157272
|
199
199
|
field: 0
|
200
200
|
value: Deleted card
|
201
201
|
card_changes_040:
|
202
|
-
id:
|
203
|
-
card_action_id:
|
202
|
+
id: 7869
|
203
|
+
card_action_id: 157272
|
204
204
|
field: 1
|
205
205
|
value: '3'
|
206
206
|
card_changes_041:
|
207
|
-
id:
|
208
|
-
card_action_id:
|
207
|
+
id: 7870
|
208
|
+
card_action_id: 157272
|
209
209
|
field: 2
|
210
210
|
value: old content
|
211
211
|
card_changes_042:
|
212
|
-
id:
|
213
|
-
card_action_id:
|
212
|
+
id: 7871
|
213
|
+
card_action_id: 157272
|
214
214
|
field: 3
|
215
215
|
value: f
|
216
216
|
card_changes_043:
|
217
|
-
id:
|
218
|
-
card_action_id:
|
217
|
+
id: 7872
|
218
|
+
card_action_id: 157272
|
219
219
|
field: 4
|
220
|
-
value:
|
220
|
+
value:
|
221
221
|
card_changes_044:
|
222
|
-
id:
|
223
|
-
card_action_id:
|
222
|
+
id: 7873
|
223
|
+
card_action_id: 157272
|
224
224
|
field: 5
|
225
|
-
value:
|
225
|
+
value:
|
226
226
|
card_changes_045:
|
227
|
-
id:
|
228
|
-
card_action_id:
|
227
|
+
id: 7874
|
228
|
+
card_action_id: 157273
|
229
229
|
field: 3
|
230
230
|
value: t
|