blazer 3.0.4 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/app/views/layouts/blazer/application.html.erb +1 -1
- data/lib/blazer/engine.rb +18 -16
- data/lib/blazer/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c920d16bb8d06df36944b4fb3b5af8b416e8e630205cd02de9db7babce6ea23
|
4
|
+
data.tar.gz: d9020c24eedecf00ee2b1ba6f1bd5bfc90d7b9c08b173561a89cfcff20b83791
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c8a438f50c796301e4c8d342c6cc52280f3a77fcfe9bb608acc7042e85cfcdf296173e44cd8223c5bfc87f15b9a8d4126606fe145d9a8c8b2a7aed3eba617e7
|
7
|
+
data.tar.gz: 5b8538fa4bff96e674b04e26f2ab7fee1c7cd7559c3946069476e53db3d8fa62ffe305828689456309e2900f747e1081f0be22772acc0fc63d98da425161f2e7
|
data/CHANGELOG.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
<meta charset="utf-8" />
|
7
7
|
<%= favicon_link_tag "blazer/favicon.png" %>
|
8
|
-
<% if defined?(Propshaft::Railtie) %>
|
8
|
+
<% if defined?(Propshaft::Railtie) && Rails.application.assets.is_a?(Propshaft::Assembly) %>
|
9
9
|
<%= stylesheet_link_tag "blazer/bootstrap-propshaft", "blazer/bootstrap", "blazer/selectize", "blazer/github", "blazer/daterangepicker", "blazer/application" %>
|
10
10
|
<%= javascript_include_tag "blazer/jquery", "blazer/rails-ujs", "blazer/stupidtable", "blazer/stupidtable-custom-settings", "blazer/jquery.stickytableheaders", "blazer/selectize", "blazer/highlight.min", "blazer/moment", "blazer/moment-timezone-with-data", "blazer/daterangepicker", "blazer/chart.umd", "blazer/chartjs-adapter-date-fns.bundle", "blazer/chartkick", "blazer/mapkick.bundle", "blazer/ace/ace", "blazer/ace/ext-language_tools", "blazer/ace/theme-twilight", "blazer/ace/mode-sql", "blazer/ace/snippets/text", "blazer/ace/snippets/sql", "blazer/Sortable", "blazer/bootstrap", "blazer/vue.global.prod", "blazer/routes", "blazer/queries", "blazer/fuzzysearch", "blazer/application", nonce: true %>
|
11
11
|
<% else %>
|
data/lib/blazer/engine.rb
CHANGED
@@ -3,22 +3,24 @@ module Blazer
|
|
3
3
|
isolate_namespace Blazer
|
4
4
|
|
5
5
|
initializer "blazer" do |app|
|
6
|
-
if
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
6
|
+
if app.config.respond_to?(:assets) && defined?(Sprockets)
|
7
|
+
if Sprockets::VERSION.to_i >= 4
|
8
|
+
app.config.assets.precompile += [
|
9
|
+
"blazer/application.js",
|
10
|
+
"blazer/application.css",
|
11
|
+
"blazer/glyphicons-halflings-regular.eot",
|
12
|
+
"blazer/glyphicons-halflings-regular.svg",
|
13
|
+
"blazer/glyphicons-halflings-regular.ttf",
|
14
|
+
"blazer/glyphicons-halflings-regular.woff",
|
15
|
+
"blazer/glyphicons-halflings-regular.woff2",
|
16
|
+
"blazer/favicon.png"
|
17
|
+
]
|
18
|
+
else
|
19
|
+
# use a proc instead of a string
|
20
|
+
app.config.assets.precompile << proc { |path| path =~ /\Ablazer\/application\.(js|css)\z/ }
|
21
|
+
app.config.assets.precompile << proc { |path| path =~ /\Ablazer\/.+\.(eot|svg|ttf|woff|woff2)\z/ }
|
22
|
+
app.config.assets.precompile << proc { |path| path == "blazer/favicon.png" }
|
23
|
+
end
|
22
24
|
end
|
23
25
|
|
24
26
|
Blazer.time_zone ||= Blazer.settings["time_zone"] || Time.zone
|
data/lib/blazer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blazer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0
|
4
|
+
version: 3.1.0
|
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-
|
11
|
+
date: 2024-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '7'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activerecord
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -244,14 +244,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
244
244
|
requirements:
|
245
245
|
- - ">="
|
246
246
|
- !ruby/object:Gem::Version
|
247
|
-
version: '3'
|
247
|
+
version: '3.1'
|
248
248
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
249
|
requirements:
|
250
250
|
- - ">="
|
251
251
|
- !ruby/object:Gem::Version
|
252
252
|
version: '0'
|
253
253
|
requirements: []
|
254
|
-
rubygems_version: 3.5.
|
254
|
+
rubygems_version: 3.5.16
|
255
255
|
signing_key:
|
256
256
|
specification_version: 4
|
257
257
|
summary: Explore your data with SQL. Easily create charts and dashboards, and share
|