altair-rails 0.0.4 → 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: 12e6e222762759b0a6f2152bebba6843b6aefdc5e0011b2e411c67520f7e512a
4
- data.tar.gz: 4c13d79a2d3d412079fc6788f3dc6e2227c548010dfb12d2f867fc4a1bf20fc9
3
+ metadata.gz: 5a232cd60c05a26e6257cb38fd77f2d85afd991ab2c4dbbdbfa544d0911adaf8
4
+ data.tar.gz: 1cc891f5d334e55e5e46da0433a529d462accb3012470ec089c4a25cdf17ce50
5
5
  SHA512:
6
- metadata.gz: 5c984089da04c2718f3153036d4e1168b180356d7908625e9d3759695ad23019835d114181a64970a79e40f87afd33d2cab9a517ddce36e4dc4b730599c45916
7
- data.tar.gz: 4d9fad827e9325cfaeb6e0649ec09300e044223a73727a71f163588b689c2bca22d38bc0935ed8305311c0503c0def3259cc51b70570ede44d0939094560f883
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
@@ -8,10 +8,10 @@ module Altair
8
8
  end
9
9
 
10
10
  module VERSION
11
- MAJOR = 0
11
+ MAJOR = 5
12
12
  MINOR = 0
13
- TINY = 4
14
- PRE = nil
13
+ TINY = 28
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: 0.0.4
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-24 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