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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79e6cb84dd11b90d2cfc705aa2219485440d1b88ea886de72150a0a4ca7f4541
4
- data.tar.gz: 0aa8d1c434abfa77fc250df92c6f3fcfc973d318b6b073db4fae13dd4aae0c3a
3
+ metadata.gz: 5a232cd60c05a26e6257cb38fd77f2d85afd991ab2c4dbbdbfa544d0911adaf8
4
+ data.tar.gz: 1cc891f5d334e55e5e46da0433a529d462accb3012470ec089c4a25cdf17ce50
5
5
  SHA512:
6
- metadata.gz: 6b4276dc2985aa9b2531838314b795ed1ced88251a41eb20ad60cbb26d15ab7ccb1c233ccaac1ec0dc6fd5b9a40d825da2391b6fecd3be23e46cf6f009efa3a3
7
- data.tar.gz: eff049b5703a3683daba8ee9d4554ccce9f233d5f8051bad26cd0e17ce06e289185dda58c8d0d94d5eac40c835380361b56aafb74b643683cf3b5ef8a0bccade
6
+ metadata.gz: edf5e9658e1d6a1e12a6bdb4e25d29bf24a99ad64633d0c07b668ebfe37241b5b7fe05518b0fa17333eb596315d35957b5d5ecc60ae08a6cbbaac658090a2669
7
+ data.tar.gz: 3d5bfb529b7e19ae9a6f4fe34b46fcf1e7c68449630093456d71611bb8cee54bfab3c15a092145492bbdff52fad80f44b36fae4839455c70f3d1ce55f200168f
@@ -7,11 +7,10 @@ module Altair
7
7
 
8
8
  routes { root to: Altair::Rails.configuration.altair_template }
9
9
 
10
- if Altair::Rails.configuration.mount_at.present?
11
- config.after_initialize do |app|
12
- app.routes.prepend do
13
- mount(Engine, at: Altair::Rails.configuration.mount_at, as: :altair)
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
@@ -11,7 +11,7 @@ module Altair
11
11
  MAJOR = 5
12
12
  MINOR = 0
13
13
  TINY = 28
14
- PRE = 1
14
+ PRE = 2
15
15
 
16
16
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
17
17
  end
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.1
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-26 00:00:00.000000000 Z
11
+ date: 2023-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties