card 1.103.2 → 1.103.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/config/environments/production.rb +9 -9
  4. data/db/migrate_core_cards/20130411191151_renaming_for_menu.rb +0 -1
  5. data/db/migrate_core_cards/20140317035504_account_requests_to_signups.rb +0 -2
  6. data/db/migrate_core_cards/20150202143810_import_bootstrap_layout.rb +0 -2
  7. data/db/migrate_core_cards/20190417142612_reorganize_scripts_2.rb +1 -3
  8. data/db/migrate_core_cards/20190502130029_add_shark_and_help_desk_role.rb +1 -1
  9. data/db/migrate_core_cards/20190710090209_homepage_tweaks.rb +3 -7
  10. data/db/migrate_core_cards/20190823220018_cleanup_for_decko_1_0.rb +2 -4
  11. data/db/migrate_core_cards/20190902193208_input_type.rb +3 -8
  12. data/db/migrate_core_cards/20190904174403_token_upgrade.rb +1 -1
  13. data/db/migrate_core_cards/data/1.12_stylesheets/traditional.scss +1 -2
  14. data/db/seed/new/card_actions.yml +2381 -2381
  15. data/db/seed/new/card_acts.yml +3 -3
  16. data/db/seed/new/card_references.yml +1026 -1033
  17. data/db/seed/new/cards.yml +5291 -5293
  18. data/db/seed/test/fixtures/cards.yml +6 -6
  19. data/lib/card/content/chunk.rb +0 -1
  20. data/lib/card/content/diff/summary.rb +14 -18
  21. data/lib/card/content.rb +9 -1
  22. data/lib/card/director/act_direction.rb +5 -3
  23. data/lib/card/director/stages.rb +2 -0
  24. data/lib/card/fetch/results.rb +6 -6
  25. data/lib/card/{tasks/card/file_card_creator → file_card_creator}/abstract_file_card/migration_file.rb +0 -0
  26. data/lib/card/{tasks/card/file_card_creator → file_card_creator}/abstract_file_card/ruby_file.rb +0 -0
  27. data/lib/card/{tasks/card/file_card_creator → file_card_creator}/abstract_file_card/source_file.rb +0 -0
  28. data/lib/card/{tasks/card/file_card_creator → file_card_creator}/abstract_file_card.rb +0 -5
  29. data/lib/card/{tasks/card/file_card_creator → file_card_creator}/haml_card.rb +0 -0
  30. data/lib/card/{tasks/card/file_card_creator → file_card_creator}/output_helper.rb +0 -0
  31. data/lib/card/{tasks/card/file_card_creator → file_card_creator}/script_card.rb +0 -0
  32. data/lib/card/{tasks/card/file_card_creator → file_card_creator}/style_card.rb +0 -0
  33. data/lib/card/{tasks/card/file_card_creator.rb → file_card_creator.rb} +0 -5
  34. data/lib/card/format/content.rb +5 -7
  35. data/lib/card/format/render.rb +10 -10
  36. data/lib/card/format.rb +3 -8
  37. data/lib/card/lexicon.rb +30 -7
  38. data/lib/card/model/save_helper.rb +1 -1
  39. data/lib/card/name/card_class.rb +1 -1
  40. data/lib/card/name.rb +6 -6
  41. data/lib/card/set/card_methods.rb +13 -0
  42. data/lib/card/set/event/skip_and_trigger.rb +8 -0
  43. data/lib/card/set/format/abstract_format/wrapper.rb +1 -1
  44. data/lib/card/set/format/abstract_format.rb +2 -1
  45. data/lib/card/set/format.rb +2 -3
  46. data/lib/card/set/helpers.rb +55 -0
  47. data/lib/card/set/inheritance.rb +1 -1
  48. data/lib/card/set/pattern/all.rb +7 -6
  49. data/lib/card/set/pattern/class_methods.rb +2 -2
  50. data/lib/card/set/pattern.rb +30 -19
  51. data/lib/card/set/registrar.rb +8 -2
  52. data/lib/card/set.rb +14 -7
  53. data/lib/card/view/classy.rb +15 -27
  54. data/lib/card/view/options/voo_api.rb +3 -1
  55. data/lib/card/view.rb +1 -0
  56. data/lib/card.rb +9 -11
  57. data/lib/cardio/generators/deck_helper.rb +0 -4
  58. data/lib/cardio/mod/load_strategy/set_tmp_files.rb +10 -4
  59. data/lib/cardio/mod/load_strategy.rb +3 -4
  60. data/lib/cardio/mod/loader/set_loader.rb +13 -13
  61. data/lib/cardio/mod/loader.rb +1 -1
  62. data/lib/cardio/railtie.rb +6 -2
  63. data/lib/generators/deck/templates/Gemfile.erb +1 -1
  64. data/lib/generators/deck/templates/Rakefile.erb +6 -2
  65. data/lib/generators/deck/templates/simplecov.rb.erb +7 -11
  66. data/lib/{card/tasks → tasks}/card/asset.rake +0 -0
  67. data/lib/{card/tasks → tasks}/card/create.rake +0 -0
  68. data/lib/{card/tasks → tasks}/card/migrate.rake +0 -0
  69. data/lib/{card/tasks → tasks}/card/mod.rake +0 -0
  70. data/lib/{card/tasks → tasks}/card.rake +0 -0
  71. data/mod/admin/set/all/admin.rb +16 -0
  72. data/mod/admin/set/self/admin.rb +2 -6
  73. data/mod/admin/set/self/admin_info.rb +2 -5
  74. data/mod/core/locales/en.yml +4 -5
  75. data/mod/core/set/all/name_events.rb +1 -1
  76. data/mod/core/set/all/reference_events.rb +5 -10
  77. data/mod/core/set/all/trash.rb +2 -3
  78. data/mod/core/spec/set/all/name_events_spec.rb +10 -10
  79. data/mod/core/spec/set/all/trash_spec.rb +1 -1
  80. metadata +20 -19
  81. data/lib/card/set/basket.rb +0 -59
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a103418a0534171f7933b6f350004e5f1d61bacb42598e148b91fea6da0923b9
4
- data.tar.gz: 7400a95136bc83250cbfff52c3dab675af28cc310cbb2bf4fa928c0282ebe7eb
3
+ metadata.gz: ba9d11d63b78026dc1cc3fc5ac13bf33728daa04b4c6d5a9a61d8de7aca3841f
4
+ data.tar.gz: d8a6f144925f600ca1bb814ec0386aa9be542824ac44936f554b069459edc215
5
5
  SHA512:
6
- metadata.gz: eca498b931c57eace4109ee90dbf87dc02348582c27a506b2cc77534b38c7ece0f7b9075f8ae7b2fc338224cd69ef2fb08ab45d9be5bc955718334d6c3bfd961
7
- data.tar.gz: aa10c7965db719969ca3b063e913629a57b65c089670a03c933c25d991a6cdcb9e81697ca359c70fc4e32b31a5bf2a66964f00ef5030f0e80e14f4fa6ae7ba37
6
+ metadata.gz: f8230d6fcf3e5b84d60877842daf91a5f82ffdc9b068de973ac06163171f565dda0711b8984cae9a49c594fd7f795ab834ff4a20dd14effc31bab009ec5e8dbb
7
+ data.tar.gz: 59d87b7c2e76d8f1bccffa47e92349be8ff73fc776bde92aada0dbba79b50e75ff2751c55e59ed35e8ac13df21bb5fa570667609641fd0fae9a01763493145da
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.13.2
1
+ 0.13.3
@@ -20,13 +20,13 @@ Cardio.application.class.configure do
20
20
  config.serve_static_files = defined?(Rails::Server)
21
21
 
22
22
  # Compress JavaScripts and CSS
23
- config.assets.compress = true
24
-
25
- # Don't fallback to assets pipeline if a precompiled asset is missed
26
- config.assets.compile = false
27
-
28
- # Generate digests for assets URLs
29
- config.assets.digest = true
23
+ # config.assets.compress = true
24
+ #
25
+ # # Don't fallback to assets pipeline if a precompiled asset is missed
26
+ # config.assets.compile = false
27
+ #
28
+ # # Generate digests for assets URLs
29
+ # config.assets.digest = true
30
30
 
31
31
  # Defaults to Rails.root.join("public/assets")
32
32
  # config.assets.manifest = File.join(Decko.gem_root, "public/assets")
@@ -51,8 +51,8 @@ Cardio.application.class.configure do
51
51
  # config.action_controller.asset_host = "http://assets.example.com"
52
52
 
53
53
  # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
54
- config.assets.precompile += %w[application-all.css application-print.css barebones.css
55
- html5shiv-printshiv.js]
54
+ # config.assets.precompile += %w[application-all.css application-print.css barebones.css
55
+ # html5shiv-printshiv.js]
56
56
 
57
57
  # Disable delivery errors, bad email addresses will be ignored
58
58
  # config.action_mailer.raise_delivery_errors = false
@@ -16,7 +16,6 @@ class RenamingForMenu < Cardio::Migration::Core
16
16
  renames.each do |oldname, newname|
17
17
  puts "updating: #{oldname}"
18
18
  c = Card[oldname]
19
- c.update_referers = true
20
19
  c.name = newname
21
20
  c.save!
22
21
  end
@@ -14,7 +14,6 @@ class AccountRequestsToSignups < Cardio::Migration::Core
14
14
  # rename Account Request to "Sign up"
15
15
  new_signup = Card[:account_request]
16
16
  new_signup.name = newname
17
- new_signup.update_referers = true
18
17
  new_signup.codename = :signup
19
18
  new_signup.save!
20
19
 
@@ -22,7 +21,6 @@ class AccountRequestsToSignups < Cardio::Migration::Core
22
21
  thanks = Card[:thanks]
23
22
  if (signup_thanks = Card["#{old_signup.name}+#{thanks.name}"])
24
23
  signup_thanks.name = "#{new_signup.name}+#{Card[:type].name}+#{thanks.name}"
25
- signup_thanks.update_referers = true
26
24
  signup_thanks.save!
27
25
  end
28
26
 
@@ -5,7 +5,6 @@ class ImportBootstrapLayout < Cardio::Migration::Core
5
5
  layout = Card.fetch "Default Layout"
6
6
  if layout
7
7
  layout.name = "Classic Layout"
8
- layout.update_referers = true
9
8
  layout.save!
10
9
  end
11
10
 
@@ -35,7 +34,6 @@ class ImportBootstrapLayout < Cardio::Migration::Core
35
34
  old_func = Card[:style_functional]
36
35
  old_func.name = "style: cards"
37
36
  old_func.codename = :style_cards
38
- old_func.update_referers = true
39
37
  old_func.save!
40
38
 
41
39
  old_stand = Card[:style_standard]
@@ -4,9 +4,7 @@ class ReorganizeScripts2 < Cardio::Migration::Core
4
4
  def up
5
5
  delete_code_card :script_card_menu
6
6
  if Card::Codename[:script_slot]
7
- update_card! :script_slot, name: "script: decko",
8
- codename: "script_decko",
9
- update_referers: true
7
+ update_card! :script_slot, name: "script: decko", codename: "script_decko"
10
8
  end
11
9
  if (card = Card[:all, :script])
12
10
  card.drop_item "script: card menu"
@@ -9,7 +9,7 @@ class AddSharkAndHelpDeskRole < Cardio::Migration::Core
9
9
  ensure_card "*account settings",
10
10
  codename: "account_settings", type_id: Card::BasicID
11
11
 
12
- update_card! "Decker Menu", name: "Shark Menu", update_referers: true
12
+ update_card! "Decker Menu", name: "Shark Menu"
13
13
  update_card! :ace, name: "*ace"
14
14
  update_card! "*google_analytics_key", name: "*google analytics key"
15
15
 
@@ -3,15 +3,11 @@
3
3
  class HomepageTweaks < Cardio::Migration::Core
4
4
  def up
5
5
  merge_cards ["*getting started", "*main menu", "*getting started links"]
6
- update_card! :wagn_bot, name: "Decko Bot", update_referers: true
6
+ update_card! :wagn_bot, name: "Decko Bot"
7
7
  delete_code_card :customized_skin
8
8
  delete_code_card :bootswatch_theme
9
- unless Card.fetch_name(:basic) == "RichText"
10
- update_card! :basic, name: "RichText", update_referers: true
11
- end
12
- unless Card.fetch_name(:json) == "JSON"
13
- update_card! :json, name: "JSON", update_referers: true
14
- end
9
+ update_card! :basic, name: "RichText" unless :basic.cardname == "RichText"
10
+ update_card! :json, name: "JSON" unless :json.cardname == "JSON"
15
11
  delete_card "*getting started+links"
16
12
  end
17
13
  end
@@ -12,10 +12,8 @@ class CleanupForDecko10 < Cardio::Migration::Core
12
12
  # delete_card "tags"
13
13
  delete_card "*tagged"
14
14
  merge_cards "*account"
15
- update_card! "*included by",
16
- name: "*nested by", codename: "nested_by", update_referers: true
17
- update_card! "*includes",
18
- name: "*nests", codename: "nests", update_referers: true
15
+ update_card! "*included by", name: "*nested by", codename: "nested_by"
16
+ update_card! "*includes", name: "*nests", codename: "nests"
19
17
  ensure_card "*members", codename: "members"
20
18
  end
21
19
  end
@@ -2,15 +2,10 @@
2
2
 
3
3
  class InputType < Cardio::Migration::Core
4
4
  def up
5
- update_card! :input, name: "*input type",
6
- codename: "input_type",
7
- update_referers: true
8
- update_card! :options, name: "*content options",
9
- codename: "content_options",
10
- update_referers: true
5
+ update_card! :input, name: "*input type", codename: "input_type"
6
+ update_card! :options, name: "*content options", codename: "content_options"
11
7
  update_card! :options_label, name: "*content option view",
12
- codename: "content_option_view",
13
- update_referers: true
8
+ codename: "content_option_view"
14
9
 
15
10
  Card::Cache.reset_all
16
11
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  class TokenUpgrade < Cardio::Migration::Core
4
4
  def up
5
- update_card! :token, name: "*api key", codename: "api_key", update_referers: true
5
+ update_card! :token, name: "*api key", codename: "api_key"
6
6
  delete_code_card :expiration
7
7
 
8
8
  %i[user signup].each do |type|
@@ -133,8 +133,7 @@ body, p, ol, ul {
133
133
  content:'';
134
134
  }
135
135
 
136
- .SELF-home-original > .d0-card-content p,
137
- .SELF-wagneer_menu > .d0-card-content {
136
+ .SELF-home-original > .d0-card-content p {
138
137
  a.external-link {
139
138
  list-style-type: none;
140
139
  padding-right: 0 !important;