bash_help 0.0.8 → 0.0.9

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: e648594a9a813b4519050fbedfe17564d6d34b5fcc09e83d79d78a772da39fcd
4
- data.tar.gz: fee9a8244ecccd7ca9ed33907a2b61a92aacd7a285643178c50ce1022ceea9bd
3
+ metadata.gz: 9b1d15ba32ac7ebe927bda65e6ef209020ca09ad09ba25db438d5ed4ac56fc7a
4
+ data.tar.gz: 8a2adf3a4f3d81fb5d2423c2fae5af7c877671bd57285f462e5aa4309efdb5fe
5
5
  SHA512:
6
- metadata.gz: c68cc8f705151aeb5c172c230689cff50dfd5ce3d5fc5a46698c10cc555e1ed3449f4d6b3fe8496edbd16e12088f6305d5047d3733ec8915dcdd3d5a94007490
7
- data.tar.gz: e578be7bf8192f3c04e31e7c637853e9823ba7770008542682c004d0b4862e598cbc1e7bc2fac375ccda834e758874dbb31284b8e89e661dc79030345fcaa50b
6
+ metadata.gz: '02069a9aa59d3bf08ba3f57225dc41b6215c9586f45a9d06da1edc0049e6e73000d1d098a9a5291ca799ed8d6e0ca37f738ee0c169598c0d3f92a10205d077e0'
7
+ data.tar.gz: 52426fec5e5ce3b6004eb7398a1154c663238827fab2f2312db1f34527ab4a9a0de73596f298e65d4253797860af8fb3bf15b8e06d619fe596c4bcfc307f7e88
@@ -53,7 +53,13 @@ def require_dir(directory_path)
53
53
  script_files.each do |script_file|
54
54
  # Require or load the script file
55
55
  require script_file
56
- # Or if you want to load instead of requiring:
57
- # load script_file
58
56
  end
59
57
  end
58
+
59
+ =begin
60
+ call this like
61
+ require_dir_relative(__FILE__, 'path/to/directory')
62
+ =end
63
+ def require_dir_relative(script_file_path, directory_path)
64
+ require_dir(File.expand_path(File.dirname(script_file_path), directory_path))
65
+ end
data/lib/hello_module.rb CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  def say_hello
3
2
  puts "hello"
4
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bash_help
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zack Fisher