rspeckled 0.0.59 → 0.0.60
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rspeckled/helpers/filepaths.rb +13 -1
- data/lib/rspeckled/version.rb +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e761292a1dc66fc62c22b72d149d346a49dc74ce6c8a183e9fbc57537d7bd1d6
|
4
|
+
data.tar.gz: a107dcbb44f1e9d7add64c3c59098531dd0ca6d139e190352c2511be69f10fc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c6f11f1a8024e79a80722ca48a399b225121ccb264800c7e8c213dbc41ee4ac0ee161ab1b6b6ce4e502b2abea42f714f822aa130fa6ca174935a46ff1bb7eb4
|
7
|
+
data.tar.gz: c7938f2d9353f164064799554913f2dbbd2138205e05e6194b9a9976ce7a789230e818ebdeb592ee8051d78b9eabd6cf6f53b37d5f5fa6f943c6c6ffd55658e7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
@@ -1,5 +1,17 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
def root_filepath
|
4
|
+
@root_filepath ||= begin
|
5
|
+
current_directory = Dir.pwd
|
6
|
+
|
7
|
+
until Dir.exist?(current_directory + '/spec')
|
8
|
+
current_directory += '/..'
|
9
|
+
end
|
10
|
+
|
11
|
+
File.expand_path(current_directory)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
3
15
|
def fixture_filepath(filepath)
|
4
|
-
|
16
|
+
"#{root_filepath}/spec/fixtures/#{filepath}"
|
5
17
|
end
|
data/lib/rspeckled/version.rb
CHANGED
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|