clockwork_web 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a45370b173a468f37dcf923e6af570d9e52a4ac556f87d39f81e0e96dfc8c61
4
- data.tar.gz: 884678a434dfd77b397bfcd552f7cc184e7f82844ecea715dab4d20a0fc95bc8
3
+ metadata.gz: a9a6a6fcd5a87e3848e50285aa3b2e944f1626655ed6e050e26da5a1786cb736
4
+ data.tar.gz: d801facdca13e168a85cc7742c864f668bf85667704131ad88fb0b1cb67121f9
5
5
  SHA512:
6
- metadata.gz: b00eb171967db113aa4228d3347c85beef7fd514e249f2c1574aa1758ec6bf55fd860488b33b82449e00e8f83a85a1b93da9302cf6aebd6cd3b310a4a5551859
7
- data.tar.gz: 26644936cba3e75636b995b65f6e73d5eca2cb0c4baa2f8ff42d7fbc4493b3ad96eeb734c263e57e34c84e792369d57e016df43138375146b27a76318403b623
6
+ metadata.gz: ba1872f8b0cb315cf465ab0a01c04277d0f74d6dd1f48e531ac6166dfc1779a595db064ad32dde4aad7f2c3e040ef55cd3bee4727c70bb10f1161e175cd1316e
7
+ data.tar.gz: 4658e9088d8b1243e53a1a90d789c2ef19e36c9a0a4c8cf6313aa51e3809532ecaede3c70064afc6333b53b7a6ac0a59cedbf8c7e42c23504e6feafb1c64fd6d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.1 (2024-09-04)
2
+
3
+ - Improved CSP support
4
+
1
5
  ## 0.3.0 (2024-06-24)
2
6
 
3
7
  - Dropped support for Clockwork < 3
@@ -5,7 +5,7 @@
5
5
 
6
6
  <meta charset="utf-8" />
7
7
 
8
- <style>
8
+ <%= content_tag :style, nonce: request.content_security_policy_nonce_directives&.include?("style-src") ? content_security_policy_nonce : nil do %>
9
9
  body {
10
10
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
11
11
  margin: 0;
@@ -47,7 +47,11 @@
47
47
  .disabled {
48
48
  background-color: pink;
49
49
  }
50
- </style>
50
+
51
+ .width-15 {
52
+ width: 15%;
53
+ }
54
+ <% end %>
51
55
  </head>
52
56
  <body>
53
57
  <div class="container">
@@ -74,9 +78,9 @@
74
78
  <thead>
75
79
  <tr>
76
80
  <th>Job</th>
77
- <th style="width: 15%;">Period</th>
78
- <th style="width: 15%;">Last Run</th>
79
- <th style="width: 15%;">Action</th>
81
+ <th class="width-15">Period</th>
82
+ <th class="width-15">Last Run</th>
83
+ <th class="width-15">Action</th>
80
84
  </tr>
81
85
  </thead>
82
86
  <tbody>
@@ -1,3 +1,3 @@
1
1
  module ClockworkWeb
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clockwork_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-24 00:00:00.000000000 Z
11
+ date: 2024-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clockwork