oliver 1.8.7.2 → 1.8.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e067b5cf09f5ac7c0a371f13b4e4028592aa5cf
4
- data.tar.gz: d08aeb3ddd1b7a9ca99141605495f7da902b39a7
3
+ metadata.gz: 7ab9983df0ef16a640f82bd97eec7fe77e802da4
4
+ data.tar.gz: 0ed752863f60d012d49977d57ab20ab259bbc8f2
5
5
  SHA512:
6
- metadata.gz: 25569f2ecec1c4af2ca952152950493c9ff305e3d5e6dca68923e5865c61176e92bc5fcd5c382cd0d19d1ae16bfe1d3ab453fbb86909bd197fb0ee15bab79ce8
7
- data.tar.gz: ccdaa4e0ee8ee50132fb25675d75a4bb6728ade3831b666efe99dd81885ffff413081d87ef51286dac19a237ba052bb8cbdeae3f5a4b27293848b8960729888b
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 doesn't want to use rainbow
10
- # just disable it completely
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 #{Name::OLIVER}"
7
+ "initializes the main directory by creating a base dotfile"
8
8
  ],
9
9
 
10
10
  [
11
11
  'install',
12
- "clones / removes directories if they're listed on the #{Name::OLIVER}"
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 the #{Name::OLIVER}"
17
+ "list repos currently on #{Name::OLIVER}"
28
18
  ],
29
19
 
30
20
  [
31
21
  'update',
32
- "pull updates from each tracked repo on the #{Name::OLIVER}"
22
+ "pull updates from each tracked repo"
33
23
  ],
34
24
 
35
25
  [
@@ -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'
@@ -1,5 +1,5 @@
1
1
  # The main module for
2
2
  # Oliver's version
3
3
  module Oliver
4
- VERSION = '1.8.7.2'
4
+ VERSION = '1.8.8.2'
5
5
  end
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.7.2
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
@@ -1,3 +0,0 @@
1
- require_relative '../oliver_file_name'
2
- add = ARGV[1] || 'nil'
3
- puts "TODO: add (#{add}) to #{Name::OLIVER}"
@@ -1,3 +0,0 @@
1
- require_relative '../oliver_file_name'
2
- remove = ARGV[1] || 'nil'
3
- puts "TODO: remove (#{remove}) to #{Name::OLIVER}"