runfile 0.5.3 → 0.5.4

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
  SHA1:
3
- metadata.gz: a59c974be306cd461ad4036d4bfcd13daf6452b1
4
- data.tar.gz: 86fdcfac60b460d4929f8d96850123a814e5258b
3
+ metadata.gz: 5f2c261b8ea63706e7e2d0e35c26bddd8d4fa643
4
+ data.tar.gz: 35ed28228462189497ac6f82fed1891b26293e33
5
5
  SHA512:
6
- metadata.gz: b9e5c10f938bf898b2a67f444ec31f590246bb58e899b72eecf3d70a2766634e9c3f53cd279aa71b976b21a99b47905a484aefe86e2b780bf274ebfc27a24a4e
7
- data.tar.gz: 69be69306c5343dbe7381291a58ac57b97c3f5a91c329131a3f9075edb254ff43491eb5090e7a4e98f61c028878830c1d4451420dedcdcc46a3973abc96cb512
6
+ metadata.gz: dd69d74e823b0819b2b5943d5fbf4ece4138395590995c9e5e9af2ddedb5ec41dd63b8dfb2d04b98d3f5598e3b8bbea7c05cabeefa4da0405e75ca356838ce36
7
+ data.tar.gz: f6179c9c0cf846ea705214ce2b1aa003b3cf0e17206368486d8e6486e06066fbfc2ab3204a251186c14cbdb381db559445ea231b6fe63a3c73ebd85a57b0c7b1
data/README.md CHANGED
@@ -94,12 +94,12 @@ the system.
94
94
  When you execute `run`, we will look for files in this order:
95
95
 
96
96
  - `Runfile` in the current directory
97
- - `*.runfile` in the current folder or sub folders
97
+ - `*.runfile` in the current directory
98
98
  - `~/runfile/**/*.runfile`
99
99
  - `/etc/runfile/**/*.runfile`
100
100
 
101
- When you execute `run!`, we will ignore the local Runfile (if present) and
102
- only search for global (named) runfiles.
101
+ When you execute `run!`, we will ignore any local Runfile and only search
102
+ for global (named) runfiles.
103
103
 
104
104
  Read more in the [Runfile Location and Filename wiki page](https://github.com/DannyBen/runfile/wiki/Runfile-Location-and-Filename)
105
105
 
@@ -75,7 +75,7 @@ module Runfile
75
75
 
76
76
  # Add example command.
77
77
  def add_example(command)
78
- @examples << command
78
+ @examples << (@namespace ? "#{@namespace} #{command}" : command)
79
79
  end
80
80
 
81
81
  # Run the command. This is a wrapper around docopt. It will
@@ -1,3 +1,3 @@
1
1
  module Runfile
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-01 00:00:00.000000000 Z
11
+ date: 2016-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colsole