altair-rails 5.0.28.1 → 5.0.28.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/altair/rails/engine.rb +4 -5
- data/lib/altair/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a232cd60c05a26e6257cb38fd77f2d85afd991ab2c4dbbdbfa544d0911adaf8
|
4
|
+
data.tar.gz: 1cc891f5d334e55e5e46da0433a529d462accb3012470ec089c4a25cdf17ce50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edf5e9658e1d6a1e12a6bdb4e25d29bf24a99ad64633d0c07b668ebfe37241b5b7fe05518b0fa17333eb596315d35957b5d5ecc60ae08a6cbbaac658090a2669
|
7
|
+
data.tar.gz: 3d5bfb529b7e19ae9a6f4fe34b46fcf1e7c68449630093456d71611bb8cee54bfab3c15a092145492bbdff52fad80f44b36fae4839455c70f3d1ce55f200168f
|
data/lib/altair/rails/engine.rb
CHANGED
@@ -7,11 +7,10 @@ module Altair
|
|
7
7
|
|
8
8
|
routes { root to: Altair::Rails.configuration.altair_template }
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
end
|
10
|
+
config.after_initialize do |app|
|
11
|
+
app.routes.prepend do
|
12
|
+
mount_path = Altair::Rails.configuration.mount_at
|
13
|
+
mount(Engine, at: mount_path, as: :altair) if mount_path.present?
|
15
14
|
end
|
16
15
|
end
|
17
16
|
end
|
data/lib/altair/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: altair-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.28.
|
4
|
+
version: 5.0.28.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Jackson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|