bullet_train 1.0.48 → 1.0.49
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19e5c8305a3e7ce83247284b23e76be08322536689153e4a1cf7befef4acde70
|
4
|
+
data.tar.gz: 89eb7c47e0373d460be3112c7b908297f59e68e9987a8465940403d64aa6a841
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 256d4903dc195d2bbd353f8b5baa9c0d5bfad13a45f3e7a6414ee098e2cc8864d18dcd7f37ad6804709e41daa226c1d4632f64d0275e1a2d780e953c3e1d3cac
|
7
|
+
data.tar.gz: 81e6a40fc87106333eb12dfc97de853ed1ec342d8f5e2889791cc2a9043a1ff641f1bf5055f6633121ec0043a31ab3ebfb10999322072d277a410354b134ed31
|
@@ -92,7 +92,7 @@ module BulletTrain
|
|
92
92
|
result[:absolute_path] = class_path || partial_path || locale_path || file_path
|
93
93
|
|
94
94
|
if result[:absolute_path]
|
95
|
-
base_path = "bullet_train" + result[:absolute_path].
|
95
|
+
base_path = "bullet_train" + result[:absolute_path].partition("/bullet_train").last
|
96
96
|
|
97
97
|
# Try to calculate which package the file is from, and what it's path is within that project.
|
98
98
|
["app", "config", "lib"].each do |directory|
|
@@ -138,7 +138,9 @@ module BulletTrain
|
|
138
138
|
|
139
139
|
def file_path
|
140
140
|
# We don't have to do anything here... the absolute path is what we're passed, and we just pass it back.
|
141
|
-
@needle
|
141
|
+
if @needle[0] == "/"
|
142
|
+
@needle
|
143
|
+
end
|
142
144
|
end
|
143
145
|
|
144
146
|
def locale_path
|
data/lib/bullet_train/version.rb
CHANGED
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.0.
|
4
|
+
version: 1.0.49
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|