sheldon 0.5.0 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -13
- data/bin/sheldon +1 -1
- 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: 77f503f8e3f23dbd455cdbf31e66b28243828838
|
4
|
+
data.tar.gz: d99dd6d58f583394ab53caa2989d0201217a1e8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cfa3f6dec590d61f9e0a8991297bca46f76a8eee91f65903d5dc39ad16afe34415d6df16d6d33a453dd19e3ab2015dfc1db89f1e7c9b981d621be05536c56df
|
7
|
+
data.tar.gz: 1962d005ac8ba5be8a4dd393bd71c58717296967930b779c814b6ebab4bfd50a69e72b0bf82febf3ce693bbc7dc857e0fde7fd4a4e0a65a6fa06faaad8fd70f2
|
data/README.md
CHANGED
@@ -7,9 +7,8 @@ Designed with the obsessive developer in mind, Sheldon makes it easy for you to
|
|
7
7
|
|
8
8
|
### Installation:
|
9
9
|
1) `gem install sheldon`
|
10
|
-
|
11
|
-
|
12
|
-
You can override the default folder location by setting the`SHELDON_DATA_DIR` environment variable on each host.
|
10
|
+
2) `sheldon setup path/to/data-directory` to tell Sheldon where your existing data directory resides, or otherwise where a new data directory should be created.
|
11
|
+
3) Sync your data directory across all your different hosts using your preferred method (git, rsync, Dropbox, Resilio Sync), so Sheldon's knowledge is available everywhere.
|
13
12
|
|
14
13
|
### How It Works
|
15
14
|
#### Add files/folders to Sheldon (sheldon learn)
|
@@ -24,7 +23,6 @@ Sheldon will move the original file/directory into his data directory (defaults
|
|
24
23
|
ls -al ~ | grep .gitconfig
|
25
24
|
.gitconfig -> /Users/dave/sheldon/git/.gitconfig
|
26
25
|
```
|
27
|
-
Keep Sheldon's data directory synchronised across all your devices using your tool of choice, Dropbox, Google Drive, BTSync.
|
28
26
|
|
29
27
|
#### Recall your files on other machines (sheldon recall)
|
30
28
|
Sheldon's `recall` command will symlink the file from the data directory to it's correct location on any filesystem (even under different home directories):
|
@@ -46,10 +44,8 @@ Recall .zshrc (Y/N): y
|
|
46
44
|
#### Build Bespoke Configs For Your Host (sheldon build)
|
47
45
|
Sometimes copying an entire config file between all your machine is overkill. What if you only want a subset of your configuration? Sheldon can help.
|
48
46
|
|
49
|
-
Split your ssh config into `config_work` and `config_personal`
|
50
|
-
|
51
|
-
Use Sheldon `learn` and `recall` to make the appropriate `_config` files available on the appropriate hosts.
|
52
|
-
|
47
|
+
Split your ssh config into `config_work` and `config_personal`
|
48
|
+
Use Sheldon `learn` and `recall` to make the appropriate `_config` files available on the appropriate hosts.
|
53
49
|
Once the files are in the right place, use Sheldon `build` to create a single `config` file that can be easily sourced.
|
54
50
|
|
55
51
|
```shell
|
@@ -70,11 +66,6 @@ config
|
|
70
66
|
source ~/.ssh/config
|
71
67
|
```
|
72
68
|
|
73
|
-
### Isn't This Just Homesick?
|
74
|
-
Yes, yes it is. Unfortunately, I'd written 90% of Sheldon before I discovered the awesome [homesick](https://github.com/technicalpickles/homesick) so I decided to keep going.
|
75
|
-
Sheldon's `build` command is (as far as I know) unique to Sheldon and will perhaps prove useful to those who chunk their configs.
|
76
|
-
If nothing else, I hope this code will be a good point of reference for other developers (and indeed my future self).
|
77
|
-
|
78
69
|
### Contributing
|
79
70
|
|
80
71
|
1. Fork it ( https://github.com/[your-github-username]/sheldon/fork )
|
data/bin/sheldon
CHANGED
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.2
|
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-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|