rspeckled 0.0.59 → 0.0.60

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: d1f7d9bbdaf6a1929dbe212433d96fc0791f44676a203faca79f04093c14d155
4
- data.tar.gz: '079c777e94283e9a42967f2f973bb698147377391fea92665bd12e35c19bede0'
3
+ metadata.gz: e761292a1dc66fc62c22b72d149d346a49dc74ce6c8a183e9fbc57537d7bd1d6
4
+ data.tar.gz: a107dcbb44f1e9d7add64c3c59098531dd0ca6d139e190352c2511be69f10fc3
5
5
  SHA512:
6
- metadata.gz: ae1055c9751647f79f28c00d5512071e2eb9a55895fa8aad780c0d6f7dcf5940950433e9065b95a711ca1533174ddc60cea772d36c79778cfca21599dc1b5d22
7
- data.tar.gz: 282efc4fa01b6f7076e62fd5e7677ee51e18b24e14a0f2ffc38793e712e1269888650dc86b8f28043e512c29cd5fe048dd003ef844483f851fa94d19cbe33c64
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
- `command git root`.chomp.concat('/spec/fixtures/', filepath)
16
+ "#{root_filepath}/spec/fixtures/#{filepath}"
5
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rspeckled
4
- VERSION = '0.0.59'
4
+ VERSION = '0.0.60'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspeckled
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.59
4
+ version: 0.0.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - thegranddesign
metadata.gz.sig CHANGED
Binary file