bullet_train 1.6.9 → 1.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe9941415d7bf65539ce282a8fcc5cc0bc12a36944cda3af5dfc9b964baebefb
4
- data.tar.gz: 764f8d8e938bf6392bef038faaac7e4f166afa9e4e392fe4b261385ba1d8db64
3
+ metadata.gz: 7bc0e2bd5f94261391e59e37289ec1ed6ec00d08668d027eb29e191b0c9ac8d3
4
+ data.tar.gz: e66f59d57f13667a1be66f20e155e08a54756d2188a0e9216865ecff0b29314a
5
5
  SHA512:
6
- metadata.gz: 00e3a65216eb8d06ac092e98ca2a9254a451fc5000e9564cc6ef3336cf2fc0982cbcde73585f6a85cd2bfe505ed583bae8f51c8c687cacc33b3e510f6851c15c
7
- data.tar.gz: ce80b04d895361a4922bc86e2ee97aa9cc39d8c34bc73f09c8466647be6a1e006136ebf760f5fc717898dc7736c487aa87647bdc509fb10d787f137f05fe228a
6
+ metadata.gz: 4bd2e11b8fef8adc2ddcac64a3358b7ff1d367fd097b8d968fd055b230ed15bef146b4113ab61eed652765d4a6da1d31853d13fb5507ea49009489b831db16b9
7
+ data.tar.gz: fc2906c42d72faf61821a9aa957ef0766bc8acac5dad53eca72b4ff9c23abd6563b226fdda0a96921e12b1923fe1668a02ad61b96c6db602bca5648b12bb7120
@@ -4,28 +4,7 @@
4
4
  <%= render 'shared/layouts/head' %>
5
5
  </head>
6
6
 
7
- <body class="min-h-screen <%= BulletTrain::Themes::Light.background || "bg-gradient-to-br from-secondary-200 to-primary-400 dark:from-primary-900 dark:to-primary-600" %> text-slate-700 text-sm font-normal dark:text-slate-300">
8
- <div class="md:p-5 main-container-padding">
9
- <div class="h-screen md:h-auto md:rounded-lg flex shadow main-container">
10
-
11
- <% if BulletTrain::Themes::Light.navigation == :left %>
12
- <div class="hidden lg:flex lg:flex-shrink-0 bg-gradient-to-b from-primary-700 to-primary-800 dark:from-slate-800 dark:to-slate-800 md:rounded-l-lg">
13
- <div class="w-64">
14
- <%= render "account/shared/menu/sidebar" %>
15
- </div>
16
- </div>
17
- <% end %>
18
-
19
- <div class="flex flex-col w-0 flex-1 bg-slate-100 dark:bg-slate-800 dark:border-slate-500 md:rounded-lg <%= BulletTrain::Themes::Light.navigation == :left ? "lg:border-l lg:rounded-l-none" : "" %>">
20
- <main class="flex-1 relative z-0 focus:outline-none" tabindex="0">
21
- <div class="py-2 px-1">
22
- <div class="mx-auto px-4 sm:px-6 py-4">
23
- <%= yield %>
24
- </div>
25
- </div>
26
- </main>
27
- </div>
28
- </div>
29
- </div>
7
+ <body class="min-h-screen <%= BulletTrain::Themes::Light.background %> text-slate-700 text-sm font-normal dark:text-slate-300">
8
+ <%= yield %>
30
9
  </body>
31
10
  </html>
@@ -14,10 +14,17 @@ module BulletTrain
14
14
  source_file[:relative_path] = nil
15
15
 
16
16
  if source_file[:absolute_path]
17
- puts ""
18
- puts "Absolute path:".green
19
- puts " #{source_file[:absolute_path]}".green
20
- puts ""
17
+ if File.exist?(source_file[:absolute_path])
18
+ puts "" # standard:disable Style/IdenticalConditionalBranches
19
+ puts "Absolute path:".green
20
+ puts " #{source_file[:absolute_path]}".green
21
+ puts ""
22
+ else
23
+ puts "" # standard:disable Style/IdenticalConditionalBranches
24
+ puts "Sorry, we could not find the file you're looking for.".red
25
+ puts "Please check the path and try again.".red
26
+ exit 1
27
+ end
21
28
 
22
29
  source_file[:relative_path] = source_file[:absolute_path].split(/(?=#{source_file[:package_name]})/).pop
23
30
 
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.6.9"
2
+ VERSION = "1.6.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.9
4
+ version: 1.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-02 00:00:00.000000000 Z
11
+ date: 2023-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard