walk_up 1.0.1 → 1.0.2
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 +4 -4
- data/README.md +10 -0
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62c56ae4b12a7c802b862995a412640ee82a1cc6b7b4a755553a08505af29451
|
4
|
+
data.tar.gz: '08951e1186782c7df643e477dbf743a8b73ae148702bf29da3b0865fa7014275'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bb08a1f38a2148b9894a3572ab187ca0b5f4150be810a034b22d3885a1b5bede540745127f1bf2cc21befdfc02e99cba32ef2eb68dce25b4c946430c3d7c597
|
7
|
+
data.tar.gz: 17f9eb82b8f87a91fae6de111b1014b8e1f0da04d967fb96d7f542d991c0b4d70837903d7cfb8e722775e887a2c7decef7db52515e60d138a35dc209e803bd7b
|
data/README.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
# What is this?
|
2
|
+
|
3
|
+
A simple function for walking up a file directory until a certain file is found.
|
4
|
+
|
5
|
+
```ruby
|
6
|
+
require "walk_up"
|
7
|
+
|
8
|
+
require_relative walk_up_until("globals.rb") # <- will keep looking in parent directories for a "globals.rb" file
|
9
|
+
```
|
10
|
+
|
1
11
|
# Setup
|
2
12
|
|
3
13
|
Everything is detailed in the `documentation/setup.md`!
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: walk_up
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Hykin
|
@@ -10,7 +10,14 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description: |2
|
14
|
+
A simple function for walking up a file directory until a certain file is found.
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require "walk_up"
|
18
|
+
|
19
|
+
require_relative walk_up_until("globals.rb") # <- will keep looking in parent directories for a "globals.rb" file
|
20
|
+
```
|
14
21
|
email:
|
15
22
|
executables: []
|
16
23
|
extensions: []
|