sheldon 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/sheldon +7 -2
- data/lib/sheldon/sheldon.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c4ca681cde4c3e1e97c14ed600f95c8cd1df94f
|
4
|
+
data.tar.gz: 773287608b584d56711980fe1eb0c857d62ced7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 499c4e9efbb84df4914e5a8e7ea6b8e29822c0918b499ca628854a41236e184c3f5e2d1f8f15ea9c3696bb83dda6cc1ea784325718a8feda117c3286b8024b2c
|
7
|
+
data.tar.gz: b31bf3819de5c9917afec733909e0581d3b8a99b84a3f0a602522cb525e7e7c7b5b9e510c1430f0c11478b491fcd926e05f36aacdb9e197d707e020b3ad11127
|
data/README.md
CHANGED
@@ -18,7 +18,7 @@ sheldon learn ~/.gitconfig
|
|
18
18
|
Recall Cue For File/Folder: git
|
19
19
|
```
|
20
20
|
|
21
|
-
Sheldon will move the original file/directory into his data directory
|
21
|
+
Sheldon will move the original file/directory into his data directory and symlink the file/directory back to it's original location.
|
22
22
|
```shell
|
23
23
|
ls -al ~ | grep .gitconfig
|
24
24
|
.gitconfig -> /Users/dave/sheldon/git/.gitconfig
|
data/bin/sheldon
CHANGED
@@ -14,8 +14,13 @@ module CLI
|
|
14
14
|
desc "build path", "Tell Sheldon to build all config_ files in a directory to single master config"
|
15
15
|
def build(rel_path_to_target)
|
16
16
|
abs_build_path = File.expand_path(rel_path_to_target)
|
17
|
-
with_exception_handling
|
18
|
-
|
17
|
+
with_exception_handling do
|
18
|
+
if sheldon.build(abs_build_path)
|
19
|
+
announce("Built #{File.basename(rel_path_to_target)}")
|
20
|
+
else
|
21
|
+
say("Could not find any config_ files at #{abs_build_path}", :red)
|
22
|
+
end
|
23
|
+
end
|
19
24
|
end
|
20
25
|
|
21
26
|
desc "forget recall_cue", "Remove file/folder from Sheldon's brain"
|
data/lib/sheldon/sheldon.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sheldon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Jones
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|