oliver 1.5.5.3 → 1.5.5.4
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/lib/oliver/argument_files/init.rb +1 -3
- data/lib/oliver/version.rb +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: 0da3f48fc45c3de9ac3dcfcde1422c03def26b49
|
4
|
+
data.tar.gz: 7429404cf832f5c19c7bf549c81ca74368b7eef0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 545b4a58c8e305032e18f1f914510630a33c572bb9889e9b34a48938ac2cc60cb4c33acb517ec54aef03d0f4aed0beb0adda9349a7b8fd5ecb357575f4a3d01e
|
7
|
+
data.tar.gz: 4e7819be1707880c01a1b0a121cac61f01d0b7dcca85bc62ac38d9b0e54469e675c65478182e0c0e8866619b795697477ce5424fef86592ec75a19f23d2c4b0f
|
data/README.md
CHANGED
@@ -131,7 +131,7 @@ of steps (things surrounded by '[]' means
|
|
131
131
|
that they're optional)
|
132
132
|
|
133
133
|
```bash
|
134
|
-
$ olive init [
|
134
|
+
$ olive init [-d|--directory] [directory name (defaulted to 'olives')]
|
135
135
|
```
|
136
136
|
|
137
137
|
### install and/or remove listed repos
|
@@ -5,12 +5,10 @@ def init
|
|
5
5
|
else
|
6
6
|
dir_name = ARGV[2]
|
7
7
|
end
|
8
|
-
if ARGV[1].downcase == '--directory'
|
8
|
+
if ARGV[1].downcase == '--directory' || ARGV[1].downcase == '-d'
|
9
9
|
Dir.mkdir dir_name
|
10
10
|
Dir.chdir(dir_name)
|
11
|
-
random_text = Rainbow('Changed directory').blue
|
12
11
|
puts "#{Rainbow(dir_name).green}/ has been created."
|
13
|
-
puts "#{random_text} into #{Rainbow(dir_name).green}/."
|
14
12
|
end
|
15
13
|
end
|
16
14
|
|
data/lib/oliver/version.rb
CHANGED