oliver 1.8.7.2 → 1.8.8.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 +5 -5
- data/lib/oliver.rb +2 -3
- data/lib/oliver/argument_files/help.rb +4 -14
- data/lib/oliver/arguments.rb +0 -9
- data/lib/oliver/version.rb +1 -1
- metadata +1 -3
- data/lib/oliver/argument_files/add.rb +0 -3
- data/lib/oliver/argument_files/remove.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ab9983df0ef16a640f82bd97eec7fe77e802da4
|
4
|
+
data.tar.gz: 0ed752863f60d012d49977d57ab20ab259bbc8f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3e6a08763695cd39d7036d1fc292cbe7d50b6813c1c9155af2bbfa859c7f4227735386053f6d6e1215c24609e310745d349ddeca1328960e412d4f64041ce8e
|
7
|
+
data.tar.gz: b78a13d92b71f668d9764799d48c569d7de9da68b168d20303c16c3337cead3d70c8fa0e724a9024176966769a674f422b589bc6f318dc4e6ecb3c0bc27d7b8a
|
data/README.md
CHANGED
@@ -186,13 +186,13 @@ $ olive update
|
|
186
186
|
extras
|
187
187
|
------
|
188
188
|
|
189
|
-
oliver uses [rainbow](https://github.com/sickill/rainbow),
|
190
|
-
a sick gem / library for making Terminal all colourful and stuff
|
189
|
+
~~oliver uses [rainbow](https://github.com/sickill/rainbow),
|
190
|
+
a sick gem / library for making Terminal all colourful and stuff.~~
|
191
191
|
|
192
|
-
it's pretty cool, but if you don't like it, just
|
193
|
-
append `colour=off` to any statement
|
192
|
+
~~it's pretty cool, but if you don't like it, just
|
193
|
+
append `colour=off` to any statement~~
|
194
194
|
|
195
|
-
don't forget to spell *"colour"* **the proper way
|
195
|
+
~~don't forget to spell *"colour"* **the proper way**.~~
|
196
196
|
|
197
197
|
things to remember
|
198
198
|
-----------------
|
data/lib/oliver.rb
CHANGED
@@ -6,9 +6,8 @@ require_relative 'oliver/argument_files/help'
|
|
6
6
|
# Provide help if no arguments are specified
|
7
7
|
help && exit if ARGV[0].nil?
|
8
8
|
|
9
|
-
# if the user
|
10
|
-
|
11
|
-
Rainbow.enabled = false if ARGV[-1] == 'colour=off'
|
9
|
+
# if the user wants to use rainbow
|
10
|
+
Rainbow.enabled = true if ARGV[-1] == 'colour=on'
|
12
11
|
|
13
12
|
# Arguments
|
14
13
|
require_relative 'oliver/arguments'
|
@@ -4,32 +4,22 @@ def help
|
|
4
4
|
helper = [
|
5
5
|
[
|
6
6
|
'init',
|
7
|
-
"initializes the main directory by creating a base
|
7
|
+
"initializes the main directory by creating a base dotfile"
|
8
8
|
],
|
9
9
|
|
10
10
|
[
|
11
11
|
'install',
|
12
|
-
"clones
|
13
|
-
],
|
14
|
-
|
15
|
-
[
|
16
|
-
'add username/repo',
|
17
|
-
"clone repo and add it to the #{Name::OLIVER}"
|
18
|
-
],
|
19
|
-
|
20
|
-
[
|
21
|
-
'remove username/repo',
|
22
|
-
"delete repo and remove it from the #{Name::OLIVER}"
|
12
|
+
"clones/removes repos if they're listed"
|
23
13
|
],
|
24
14
|
|
25
15
|
[
|
26
16
|
'list',
|
27
|
-
"list repos currently on
|
17
|
+
"list repos currently on #{Name::OLIVER}"
|
28
18
|
],
|
29
19
|
|
30
20
|
[
|
31
21
|
'update',
|
32
|
-
"pull updates from each tracked repo
|
22
|
+
"pull updates from each tracked repo"
|
33
23
|
],
|
34
24
|
|
35
25
|
[
|
data/lib/oliver/arguments.rb
CHANGED
@@ -2,11 +2,6 @@
|
|
2
2
|
require_relative 'oliver_file_name'
|
3
3
|
require_relative 'argument_files/help'
|
4
4
|
|
5
|
-
def load_file_and_exit(path)
|
6
|
-
require_relative path
|
7
|
-
exit 1
|
8
|
-
end
|
9
|
-
|
10
5
|
# Default options
|
11
6
|
options = {
|
12
7
|
:verbose => true,
|
@@ -23,10 +18,6 @@ when 'list'
|
|
23
18
|
require_relative 'argument_files/list'
|
24
19
|
when 'update'
|
25
20
|
require_relative 'argument_files/update'
|
26
|
-
when 'add'
|
27
|
-
require_relative 'argument_files/add'
|
28
|
-
when 'remove'
|
29
|
-
require_relative 'argument_files/remove'
|
30
21
|
when '-h' || '--help' || 'help'
|
31
22
|
help
|
32
23
|
when '-v' || '--version' || 'version'
|
data/lib/oliver/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oliver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh
|
@@ -87,12 +87,10 @@ files:
|
|
87
87
|
- community/README.md
|
88
88
|
- community/iOS-external-libraries-istx25.yml
|
89
89
|
- lib/oliver.rb
|
90
|
-
- lib/oliver/argument_files/add.rb
|
91
90
|
- lib/oliver/argument_files/help.rb
|
92
91
|
- lib/oliver/argument_files/init.rb
|
93
92
|
- lib/oliver/argument_files/install.rb
|
94
93
|
- lib/oliver/argument_files/list.rb
|
95
|
-
- lib/oliver/argument_files/remove.rb
|
96
94
|
- lib/oliver/argument_files/update.rb
|
97
95
|
- lib/oliver/arguments.rb
|
98
96
|
- lib/oliver/file_manager.rb
|