flightdeck 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 064d345ecfc11586c696e3e1e1386b230a87b305553c733aa1891e2cde0669ec
4
- data.tar.gz: 5f756e10c2d75f90fd464ce271c35322f1d4824bd7db746e4f7f7e907deb8b2e
3
+ metadata.gz: cc0fbbb0dc81b9ebb46acbf4ffd958dad391b164adc7baebd3130bfa28ca7d53
4
+ data.tar.gz: d52f430ba7a8c3339fc40b4da463ac26ab024da7bcde764b359e978866eae4ef
5
5
  SHA512:
6
- metadata.gz: 639a81f396abc9732f1bab417793eaab73b3016bd346fa595f6cb05c97fb3e749e21d7120381fe5fd6da57973102cc8caa749c54fa566cce242e2de29acc44be
7
- data.tar.gz: 00d08eaecb9c8746d3ea3d6243abea53f1e86c8a0c80015e23b786152d35fbcfe007d471da5160e6774ef61382ce638135b9e544e763d749e8823cf7f949ac9b
6
+ metadata.gz: 5f59a6371351b03d69176c8dd80fcd14d9b0b009189895b42d1926972d7c3d7353d9452f411f590d217c035e1143a6b2b704619cba8319d697167b28a6ac274e
7
+ data.tar.gz: 50ae1e3d7c0a1a8d0489e12f14f22eb0abe1c7d7fde0a9e6ee9a8290bc3ff27c71ced755997f0eee40f1151667c07e8f1b55e587f5f6aae85ffef5e862258980
@@ -1,4 +1,4 @@
1
- /* Flightdeck 0.5.1 — bundled @hotwired/turbo + @hotwired/stimulus. Generated by `rake assets:build`; do not edit. */
1
+ /* Flightdeck 0.5.2 — bundled @hotwired/turbo + @hotwired/stimulus. Generated by `rake assets:build`; do not edit. */
2
2
  (function(){
3
3
  /**
4
4
  * Minified by jsDelivr using Terser v5.39.0.
@@ -408,7 +408,7 @@ class ToastController extends Stimulus.Controller {
408
408
  application.register("theme", ThemeController)
409
409
  application.register("toast", ToastController)
410
410
 
411
- window.Flightdeck = { application: application, version: "0.5.1" }
411
+ window.Flightdeck = { application: application, version: "0.5.2" }
412
412
  })()
413
413
 
414
414
  })();
@@ -7,9 +7,9 @@
7
7
  "size": 118411
8
8
  },
9
9
  "flightdeck.js": {
10
- "file": "flightdeck-8fc2423da15f.js",
11
- "digest": "8fc2423da15f",
12
- "sha256": "8fc2423da15f28fd3fcfd89fa820027ab955bdb902377c58d225b7fd81617b25",
10
+ "file": "flightdeck-747ab6d1a6fa.js",
11
+ "digest": "747ab6d1a6fa",
12
+ "sha256": "747ab6d1a6fafd8eb6ff4eca9f487ad62a11fdb0df52e8293db0d2699a575dcd",
13
13
  "content_type": "text/javascript; charset=utf-8",
14
14
  "size": 150889
15
15
  }
@@ -9,7 +9,7 @@ module Flightdeck
9
9
  digested = Flightdeck::Assets.digested_name(logical_name)
10
10
  return nil unless digested
11
11
 
12
- flightdeck.asset_file_path(name: digested)
12
+ asset_file_path(name: digested)
13
13
  end
14
14
 
15
15
  # Sidebar counts are capped like every other count, and degrade to "—"
@@ -4,7 +4,7 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
6
  <title><%= content_for?(:title) ? yield(:title) : "Flightdeck" %></title>
7
- <meta name="turbo-root" content="<%= flightdeck.root_path %>">
7
+ <meta name="turbo-root" content="<%= root_path %>">
8
8
  <%= csrf_meta_tags %>
9
9
  <% if (css = flightdeck_asset_path("flightdeck.css")) %>
10
10
  <link rel="stylesheet" href="<%= css %>">
@@ -22,36 +22,36 @@
22
22
  </div>
23
23
 
24
24
  <nav class="fd-nav">
25
- <%= link_to flightdeck.root_path, class: "fd-nav-link#{" on" if current_page?(flightdeck.root_path)}" do %>
25
+ <%= link_to root_path, class: "fd-nav-link#{" on" if current_page?(root_path)}" do %>
26
26
  <svg width="15" height="15" viewBox="0 0 15 15" fill="none" stroke="currentColor" stroke-width="1.4"><path d="M1.5 13.5v-5h3v5m1.5 0v-9h3v9m1.5 0v-12h3v12" stroke-linejoin="round"/></svg>
27
27
  Overview
28
28
  <% end %>
29
29
 
30
30
  <span class="fd-nav-section">Jobs</span>
31
31
 
32
- <%= link_to flightdeck.jobs_path, class: "fd-nav-link#{" on" if fd_nav_active?(:all)}" do %>
32
+ <%= link_to jobs_path, class: "fd-nav-link#{" on" if fd_nav_active?(:all)}" do %>
33
33
  <svg width="15" height="15" viewBox="0 0 15 15" fill="none" stroke="currentColor" stroke-width="1.4"><rect x="1.5" y="2.5" width="12" height="10" rx="1.5"/><path d="M4.5 6h6M4.5 9h4"/></svg>
34
34
  All jobs <span class="fd-nav-count"><%= fd_nav_count(:all) %></span>
35
35
  <% end %>
36
36
 
37
- <%= link_to flightdeck.jobs_path(state: :failed), class: "fd-nav-link#{" on" if fd_nav_active?(:failed)}" do %>
37
+ <%= link_to jobs_path(state: :failed), class: "fd-nav-link#{" on" if fd_nav_active?(:failed)}" do %>
38
38
  <svg width="15" height="15" viewBox="0 0 15 15" fill="none" stroke="currentColor" stroke-width="1.4"><circle cx="7.5" cy="7.5" r="6"/><path d="M7.5 4.5v3.5M7.5 10.4v.2"/></svg>
39
39
  Failed <span class="fd-nav-count"><%= fd_nav_count(:failed) %></span>
40
40
  <% end %>
41
41
 
42
42
  <span class="fd-nav-section">Infrastructure</span>
43
43
 
44
- <%= link_to flightdeck.queues_path, class: "fd-nav-link#{" on" if controller_name == "queues"}" do %>
44
+ <%= link_to queues_path, class: "fd-nav-link#{" on" if controller_name == "queues"}" do %>
45
45
  <svg width="15" height="15" viewBox="0 0 15 15" fill="none" stroke="currentColor" stroke-width="1.4"><path d="M2 4h11M2 7.5h11M2 11h7"/></svg>
46
46
  Queues <span class="fd-nav-count"><%= fd_nav_queue_count %></span>
47
47
  <% end %>
48
48
 
49
- <%= link_to flightdeck.processes_path, class: "fd-nav-link#{" on" if controller_name == "processes"}" do %>
49
+ <%= link_to processes_path, class: "fd-nav-link#{" on" if controller_name == "processes"}" do %>
50
50
  <svg width="15" height="15" viewBox="0 0 15 15" fill="none" stroke="currentColor" stroke-width="1.4"><rect x="2" y="2" width="11" height="7" rx="1.5"/><path d="M5 13h5M7.5 9v4"/></svg>
51
51
  Processes <span class="fd-nav-count <%= "alert" if fd_nav_any_dead_processes? %>"><%= fd_nav_process_count %></span>
52
52
  <% end %>
53
53
 
54
- <%= link_to flightdeck.recurring_tasks_path, class: "fd-nav-link#{" on" if controller_name == "recurring_tasks"}" do %>
54
+ <%= link_to recurring_tasks_path, class: "fd-nav-link#{" on" if controller_name == "recurring_tasks"}" do %>
55
55
  <svg width="15" height="15" viewBox="0 0 15 15" fill="none" stroke="currentColor" stroke-width="1.4"><circle cx="7.5" cy="7.5" r="6"/><path d="M7.5 4v3.5l2.5 1.5"/></svg>
56
56
  Recurring <span class="fd-nav-count"><%= fd_nav_recurring_count %></span>
57
57
  <% end %>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Flightdeck
4
- VERSION = "0.5.1"
4
+ VERSION = "0.5.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flightdeck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carl Mercier
@@ -49,7 +49,7 @@ files:
49
49
  - MIT-LICENSE
50
50
  - README.md
51
51
  - app/assets/flightdeck/flightdeck-00403457c5d9.css
52
- - app/assets/flightdeck/flightdeck-8fc2423da15f.js
52
+ - app/assets/flightdeck/flightdeck-747ab6d1a6fa.js
53
53
  - app/assets/flightdeck/manifest.json
54
54
  - app/controllers/concerns/flightdeck/toasts.rb
55
55
  - app/controllers/flightdeck/application_controller.rb