bullet_train 1.14.2 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/routes.rb +20 -3
- data/lib/bullet_train/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: 1245659cb1e732b6934cb95c6c22f7f12df4312aeb5c4d17d457d444cd31878e
|
4
|
+
data.tar.gz: 395985b2ef882354649e4ef8068d79597be53413a96ac1ab05c74567f5f34d12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55455aa9003e5309b59d82e7a6a12490be219d6b0ba2e160a522eb15584b585dce1e9d3b8f61255e107d9914f989a1c80bdbef318f05d386a18f202de83222dd
|
7
|
+
data.tar.gz: 72d2a1040d58510bdda5f4b0e891582790b32ccafbb8d87678d0943f809da2e16d8b424cde59c6937cda82937c7d36c9064aa6100e9ce8ef7aedf1b9b7930a38
|
data/config/routes.rb
CHANGED
@@ -4,7 +4,16 @@ Rails.application.routes.draw do
|
|
4
4
|
end
|
5
5
|
|
6
6
|
scope module: "public" do
|
7
|
-
|
7
|
+
begin
|
8
|
+
root to: "home#index"
|
9
|
+
rescue ArgumentError => argument_error
|
10
|
+
if argument_error.message.match?("Invalid route name, already in use: 'root'")
|
11
|
+
# This means that a public root route has been declared by the application.
|
12
|
+
else
|
13
|
+
raise
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
8
17
|
get "invitation" => "home#invitation", :as => "invitation"
|
9
18
|
|
10
19
|
if Rails.env.development?
|
@@ -15,8 +24,16 @@ Rails.application.routes.draw do
|
|
15
24
|
|
16
25
|
namespace :account do
|
17
26
|
shallow do
|
18
|
-
|
19
|
-
|
27
|
+
begin
|
28
|
+
# TODO we need to either implement a dashboard or deprecate this.
|
29
|
+
root to: "dashboard#index", as: "dashboard"
|
30
|
+
rescue ArgumentError => argument_error
|
31
|
+
if argument_error.message.match?("Invalid route name, already in use: 'account_dashboard'")
|
32
|
+
# This means that an account scoped root/dashboard route has been declared by the application.
|
33
|
+
else
|
34
|
+
raise
|
35
|
+
end
|
36
|
+
end
|
20
37
|
|
21
38
|
resource :two_factor, only: [:create, :destroy] do
|
22
39
|
post :verify
|
data/lib/bullet_train/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-01-
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: standard
|
@@ -181,16 +181,16 @@ dependencies:
|
|
181
181
|
name: omniauth
|
182
182
|
requirement: !ruby/object:Gem::Requirement
|
183
183
|
requirements:
|
184
|
-
- - "
|
184
|
+
- - "~>"
|
185
185
|
- !ruby/object:Gem::Version
|
186
|
-
version: '0'
|
186
|
+
version: '2.0'
|
187
187
|
type: :runtime
|
188
188
|
prerelease: false
|
189
189
|
version_requirements: !ruby/object:Gem::Requirement
|
190
190
|
requirements:
|
191
|
-
- - "
|
191
|
+
- - "~>"
|
192
192
|
- !ruby/object:Gem::Version
|
193
|
-
version: '0'
|
193
|
+
version: '2.0'
|
194
194
|
- !ruby/object:Gem::Dependency
|
195
195
|
name: image_processing
|
196
196
|
requirement: !ruby/object:Gem::Requirement
|