blazer 3.2.1 → 3.4.0
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 +4 -4
- data/CHANGELOG.md +9 -0
- data/LICENSE.txt +1 -1
- data/README.md +0 -6
- data/app/controllers/blazer/base_controller.rb +2 -2
- data/lib/blazer/adapters/sql_adapter.rb +1 -1
- data/lib/blazer/data_source.rb +1 -1
- data/lib/blazer/result.rb +1 -1
- data/lib/blazer/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 717cf6259ae43cc9f32cdba44075ae8d32bb76897a523d732337d7803ae408e2
|
|
4
|
+
data.tar.gz: b9acca30cc99232f081f11481c107fbdb50b3b33927b4d36342dc2e993d28304
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9980122da968eae04e713274b18703b128da6c3d0c928a4661289970fe0b6e6e1ea01eac4080c67ab8e0b2eb9d6167f8fae0b2416202a5eef3f021828425adef
|
|
7
|
+
data.tar.gz: ae4d1efc051458f6b3d9626ecee5414ebcc0bd39749d4518a834332348c5c914da4c6c7bc68328a95af070eddc323251fd9c0f1371cb53ebded19d5184ae08e8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 3.4.0 (2026-04-20)
|
|
2
|
+
|
|
3
|
+
- Dropped support for Ruby < 3.3 and Rails < 7.2
|
|
4
|
+
|
|
5
|
+
## 3.3.0 (2025-04-12)
|
|
6
|
+
|
|
7
|
+
- Fixed error with forecasting with Rails 7.2+
|
|
8
|
+
- Dropped support for Ruby < 3.2 and Rails < 7.1
|
|
9
|
+
|
|
1
10
|
## 3.2.1 (2025-03-21)
|
|
2
11
|
|
|
3
12
|
- Added thousands separator to charts
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -1032,12 +1032,6 @@ If views are stuck with a `Loading...` message, there might be a problem with st
|
|
|
1032
1032
|
override_csp: true
|
|
1033
1033
|
```
|
|
1034
1034
|
|
|
1035
|
-
## Upgrading
|
|
1036
|
-
|
|
1037
|
-
### 3.0
|
|
1038
|
-
|
|
1039
|
-
Maps now use Mapbox GL JS v1 instead of Mapbox.js, which affects Mapbox billing.
|
|
1040
|
-
|
|
1041
1035
|
## History
|
|
1042
1036
|
|
|
1043
1037
|
View the [changelog](https://github.com/ankane/blazer/blob/master/CHANGELOG.md)
|
|
@@ -8,8 +8,6 @@ module Blazer
|
|
|
8
8
|
|
|
9
9
|
clear_helpers
|
|
10
10
|
|
|
11
|
-
protect_from_forgery with: :exception
|
|
12
|
-
|
|
13
11
|
if ENV["BLAZER_PASSWORD"]
|
|
14
12
|
http_basic_authenticate_with name: ENV["BLAZER_USERNAME"], password: ENV["BLAZER_PASSWORD"]
|
|
15
13
|
end
|
|
@@ -22,6 +20,8 @@ module Blazer
|
|
|
22
20
|
before_action Blazer.before_action.to_sym
|
|
23
21
|
end
|
|
24
22
|
|
|
23
|
+
protect_from_forgery with: :exception
|
|
24
|
+
|
|
25
25
|
if Blazer.override_csp
|
|
26
26
|
after_action do
|
|
27
27
|
response.headers['Content-Security-Policy'] = "default-src 'self' https: 'unsafe-inline' 'unsafe-eval' data: blob:"
|
|
@@ -255,7 +255,7 @@ module Blazer
|
|
|
255
255
|
connection_model.connection.select_all(statement)
|
|
256
256
|
end
|
|
257
257
|
|
|
258
|
-
#
|
|
258
|
+
# separate from select_all to prevent mysql error
|
|
259
259
|
def execute(statement)
|
|
260
260
|
connection_model.connection.execute(statement)
|
|
261
261
|
end
|
data/lib/blazer/data_source.rb
CHANGED
|
@@ -204,7 +204,7 @@ module Blazer
|
|
|
204
204
|
def adapter_instance
|
|
205
205
|
@adapter_instance ||= begin
|
|
206
206
|
# TODO add required settings to adapters
|
|
207
|
-
unless settings["url"] || Rails.env.
|
|
207
|
+
unless settings["url"] || Rails.env.local? || ["bigquery", "athena", "snowflake", "salesforce"].include?(settings["adapter"])
|
|
208
208
|
raise Blazer::Error, "Empty url for data source: #{id}"
|
|
209
209
|
end
|
|
210
210
|
|
data/lib/blazer/result.rb
CHANGED
data/lib/blazer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: blazer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Kane
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: railties
|
|
@@ -15,28 +15,28 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '7'
|
|
18
|
+
version: '7.2'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - ">="
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '7'
|
|
25
|
+
version: '7.2'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: activerecord
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '7'
|
|
32
|
+
version: '7.2'
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - ">="
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '7'
|
|
39
|
+
version: '7.2'
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: chartkick
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -57,14 +57,14 @@ dependencies:
|
|
|
57
57
|
requirements:
|
|
58
58
|
- - ">="
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: '
|
|
60
|
+
version: '1'
|
|
61
61
|
type: :runtime
|
|
62
62
|
prerelease: false
|
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
|
65
65
|
- - ">="
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: '
|
|
67
|
+
version: '1'
|
|
68
68
|
- !ruby/object:Gem::Dependency
|
|
69
69
|
name: csv
|
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -241,14 +241,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
241
241
|
requirements:
|
|
242
242
|
- - ">="
|
|
243
243
|
- !ruby/object:Gem::Version
|
|
244
|
-
version: '3.
|
|
244
|
+
version: '3.3'
|
|
245
245
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
246
246
|
requirements:
|
|
247
247
|
- - ">="
|
|
248
248
|
- !ruby/object:Gem::Version
|
|
249
249
|
version: '0'
|
|
250
250
|
requirements: []
|
|
251
|
-
rubygems_version:
|
|
251
|
+
rubygems_version: 4.0.6
|
|
252
252
|
specification_version: 4
|
|
253
253
|
summary: Explore your data with SQL. Easily create charts and dashboards, and share
|
|
254
254
|
them with your team.
|