blazer 3.5.1 → 3.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: b7506f6c446fe95dce3cc747a7687c958c3bbf16fe936d339af3dad38cd4266d
4
- data.tar.gz: 2885833c997a9145746158a5431330e67bb11a18af780dc57b45795b9fd34ceb
3
+ metadata.gz: a01073ea34e41fbb112471eee6d9508903d7f7219f61e3b04437156d18dc89ad
4
+ data.tar.gz: 32da14077b7ff332ffe23d31a966942ba1905939597ca101db42d608495613fe
5
5
  SHA512:
6
- metadata.gz: 8e773b1b9bd9a470f33a52d98d89bc4067a5aad85d4b7173a36f2c486b287b13d2f282ea7a4506a9a4e85c1d293a53a6dbe7e7bf47c849b27dfe98fae9e4fbc3
7
- data.tar.gz: e944e8de07d1032c80fd501b08f9bf06e9176503fa6c3fe15a3134af756b31cbaa7d215556ba12f8e8f433339d5ba415a90eb1834b951404035a7db0c0836689
6
+ metadata.gz: 871a8b2d9202d5113452d6dd3586c926f203aa60a44508bbdd0679607a1a6b9313e917330a13836f5ad491d127001ea93d9b4125ce11f0c688d68e727986918a
7
+ data.tar.gz: f8230528c6a648b0c9044f0c6b228cbc41744fe1d7657ec3575e3d827149d0a2d653a27fc9cd2fa45e139d93c15ad2e6db5871026e08823fd42f18ff59693453
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 3.5.2 (2026-09-24)
2
+
3
+ - Fixed error message when status text not available
4
+
1
5
  ## 3.5.1 (2026-07-31)
2
6
 
3
7
  - Fixed delete buttons
@@ -146,7 +146,7 @@ function getJSON(url, success, controller) {
146
146
  fetch(url, options)
147
147
  .then(function (response) {
148
148
  if (!response.ok) {
149
- throw new Error(response.statusText)
149
+ throw new Error(response.statusText || `An error occurred: ${response.status}`)
150
150
  }
151
151
  return response.json()
152
152
  })
@@ -37,7 +37,7 @@ function runQueryHelper(query) {
37
37
  fetch(Routes.run_queries_path(), {method: "POST", body: formdata, signal: controller.signal})
38
38
  .then(function (response) {
39
39
  if (!response.ok) {
40
- throw new Error(response.statusText)
40
+ throw new Error(response.statusText || `An error occurred: ${response.status}`)
41
41
  }
42
42
  return response.text()
43
43
  })
@@ -72,7 +72,7 @@
72
72
  </div>
73
73
  <% end %>
74
74
 
75
- <p class="text-muted">Notifications are sent when a check starts failing, and when it starts passing again.
75
+ <p class="text-muted">Notifications are sent when a check starts failing, and when it starts passing again.</p>
76
76
  <p>
77
77
  <% if @check.persisted? %>
78
78
  <%= link_to "Delete", check_path(@check), method: :delete, "data-confirm" => "Are you sure?", class: "btn btn-danger" %>
@@ -1,3 +1,3 @@
1
1
  module Blazer
2
- VERSION = "3.5.1"
2
+ VERSION = "3.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blazer
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.1
4
+ version: 3.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  requirements: []
232
- rubygems_version: 4.0.14
232
+ rubygems_version: 4.0.20
233
233
  specification_version: 4
234
234
  summary: Explore your data with SQL. Easily create charts and dashboards, and share
235
235
  them with your team.