medoc 1.0.1 → 1.0.2
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 +4 -4
- data/README.md +7 -5
- data/lib/medoc.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 41d7b708285e9bdeb24190f8ebdc4ed45a304992
|
|
4
|
+
data.tar.gz: 8589a1332fef913751d0b6b9b5c24d9e1045241c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 116e4c1ceb6454e6c760883cdbd06a58e0e2561a7c47d45fe282bf2abc723df9c62600e3334c72632ee54fc6fa41819d98d665729103e9f0a8ffc85b46d14e42
|
|
7
|
+
data.tar.gz: 5f2b20f2264646a2d490a82dd9bc0c0d263933c0b2440b339a94864623db89341ea470bc015dc1d849f6f4bf9dd306b47b01fea526dd1ea4299ee917731289f5
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Medoc
|
|
2
2
|
|
|
3
|
-
Medoc is a tiny Ruby gem for managing
|
|
3
|
+
Medoc is a tiny Ruby gem for managing your shell aliases. Jump to another directory in a clever way.
|
|
4
4
|
|
|
5
5
|
## Get started
|
|
6
6
|
|
|
@@ -25,11 +25,11 @@ Here you go! Run `medoc your-alias` to leap to a directory.
|
|
|
25
25
|
|
|
26
26
|
## Configuration file
|
|
27
27
|
|
|
28
|
-
Medoc lets
|
|
28
|
+
Medoc lets you use a configuration file to define all your aliases: `~/.medoc.yml`.
|
|
29
29
|
|
|
30
30
|
When you are using Medoc for the first time, run `medoc --init` to automatically generate this file.
|
|
31
31
|
|
|
32
|
-
Config file is
|
|
32
|
+
Config file is written in YAML. Here is a sample:
|
|
33
33
|
|
|
34
34
|
```yaml
|
|
35
35
|
my-first-alias: path/to/my/fabulous/directory
|
|
@@ -43,6 +43,8 @@ magic-alias:
|
|
|
43
43
|
- path/to/somewhere
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
As you may have seen, you can define an alias using two ways. First one is the simplest: just specify the path
|
|
46
|
+
As you may have seen, you can define an alias using two ways. First one is the simplest: just specify the path of your directory.
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Otherwise, you can use an array. Each element is either a directory or another alias. Medoc will jump to the first one, then moving to following etc.
|
|
49
|
+
|
|
50
|
+
Whatever the method you use, Medoc will get the job done for you.
|
data/lib/medoc.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: medoc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adrien Cadet
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-01-
|
|
11
|
+
date: 2015-01-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Medoc is a shell alias manager. It lets you define shortcuts to jump
|
|
14
14
|
quickly to another directory.
|
|
@@ -22,7 +22,8 @@ files:
|
|
|
22
22
|
- bin/medoc
|
|
23
23
|
- lib/medoc.rb
|
|
24
24
|
homepage: https://github.com/acadet/medoc
|
|
25
|
-
licenses:
|
|
25
|
+
licenses:
|
|
26
|
+
- MIT
|
|
26
27
|
metadata: {}
|
|
27
28
|
post_install_message:
|
|
28
29
|
rdoc_options: []
|