termrc 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/termrc/cli.rb +3 -4
- data/termrc.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bdb6f623e2791684233d464ef4ea133c3567749
|
4
|
+
data.tar.gz: f2aaf51b170e19187f7569efb7658d40d9c3e6bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1a0b134f50364c5a6798bb5bdf97beb73b6fed435b06b2378754affda00c690884fa4c72d2f1b0ea90b349c5f86cf23136102a778db43b436c69420aa1acf7f
|
7
|
+
data.tar.gz: 36f3aa31a516894ed3dcf1da71bae55ea0ef9ac7c14c4897d41e20ec13aa82a44279a3daf58c96ff3ece0ee01fb92db2938791d4f0e8eedc89ab8d96522af2e4
|
data/README.md
CHANGED
@@ -7,8 +7,8 @@ Description
|
|
7
7
|
-----------
|
8
8
|
Termrc allows you to store information about your project's environment for a given project in a small YAML file called a `.termrc` file. Restoring your project's environment is as simple as calling `termrc start`. Enjoy.
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
Quick Start
|
11
|
+
-----------
|
12
12
|
```bash
|
13
13
|
$ gem install termrc
|
14
14
|
$ termrc create
|
data/lib/termrc/cli.rb
CHANGED
@@ -39,10 +39,9 @@ module Termrc
|
|
39
39
|
say "None found.", :red if a.length < 1
|
40
40
|
end
|
41
41
|
|
42
|
-
desc 'start', 'Start termrc file (Shortcut: s,
|
43
|
-
|
44
|
-
|
45
|
-
file = options[:file] || '.termrc'
|
42
|
+
desc 'start', 'Start termrc file (Shortcut: s, Arg 0: file (optional) )'
|
43
|
+
def start(file=false)
|
44
|
+
file = file || '.termrc'
|
46
45
|
raise Thor::Error.new "File '#{file}'' does not exist!" unless File.exist? file
|
47
46
|
|
48
47
|
say "Starting termrc file: '#{file}'", :yellow
|
data/termrc.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |gem|
|
|
9
9
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
10
10
|
gem.executables << 'termrc'
|
11
11
|
gem.name = "termrc"
|
12
|
-
gem.version = '0.1.
|
12
|
+
gem.version = '0.1.1'
|
13
13
|
gem.license = 'MIT'
|
14
14
|
|
15
15
|
gem.add_runtime_dependency 'thor', '~> 0.18.0'
|