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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77f503f8e3f23dbd455cdbf31e66b28243828838
4
- data.tar.gz: d99dd6d58f583394ab53caa2989d0201217a1e8d
3
+ metadata.gz: 6c4ca681cde4c3e1e97c14ed600f95c8cd1df94f
4
+ data.tar.gz: 773287608b584d56711980fe1eb0c857d62ced7b
5
5
  SHA512:
6
- metadata.gz: 9cfa3f6dec590d61f9e0a8991297bca46f76a8eee91f65903d5dc39ad16afe34415d6df16d6d33a453dd19e3ab2015dfc1db89f1e7c9b981d621be05536c56df
7
- data.tar.gz: 1962d005ac8ba5be8a4dd393bd71c58717296967930b779c814b6ebab4bfd50a69e72b0bf82febf3ce693bbc7dc857e0fde7fd4a4e0a65a6fa06faaad8fd70f2
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 (defaults to `~/sheldon`) and symlink back to it's original location.
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
@@ -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{ sheldon.build(abs_build_path) }
18
- announce("Built #{File.basename(rel_path_to_target)}")
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"
@@ -1,7 +1,7 @@
1
1
  require "fileutils"
2
2
 
3
3
  class Sheldon
4
- VERSION = "0.5.2".freeze
4
+ VERSION = "0.5.3".freeze
5
5
  attr_reader :brain, :builder
6
6
 
7
7
  def initialize(sheldon_data_dir)
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.2
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-22 00:00:00.000000000 Z
11
+ date: 2018-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor