oliver 1.5.5 → 1.5.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -0
- data/README.md +11 -4
- data/lib/oliver.rb +0 -1
- data/lib/oliver/{help.rb → argument_files/help.rb} +0 -0
- data/lib/oliver/arguments.rb +3 -2
- data/lib/oliver/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 042b5ec64b3e53f4285323839d01ab457913b5b5
|
4
|
+
data.tar.gz: 290c3e15366194eac2a181923eba0635ee1ad57d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28e7c21bcad051e990e75d19c1c98e2357e7ccbac7178f9df063c27ae2d2cd253e2c7bce4c29603f46f62fb217c0e6b270b7435155b31e71002e1969c806d3a5
|
7
|
+
data.tar.gz: 9f9aa87fe2c344f907727562fdf37545fac33c0b4efdfbe2ddf550d5e8302006666343d2730b80e4f998d12f221d1a6e20e34c49bd4b0fdd3d07dc8b64eb055f
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2014 Josh Trommel
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -255,10 +255,17 @@ contribution
|
|
255
255
|
refer to
|
256
256
|
[CONTRIBUTING.md](https://github.com/trommel/oliver/blob/master/spec/CONTRIBUTING.md).
|
257
257
|
|
258
|
+
if you think this is cool
|
259
|
+
-------------------------
|
258
260
|
|
259
|
-
|
260
|
-
|
261
|
+
I hate dropping a link for donations,
|
262
|
+
but a dude's gotta eat.
|
261
263
|
|
262
|
-
|
264
|
+
[![Support via Gittip](https://rawgithub.com/twolfson/gittip-badge/0.2.0/dist/gittip.png)](https://www.gittip.com/trommel)
|
263
265
|
|
264
|
-
|
266
|
+
|
267
|
+
licensing
|
268
|
+
---------
|
269
|
+
|
270
|
+
refer to
|
271
|
+
[LICENSE](https://github.com/trommel/oliver/blob/master/spec/LICENSE).
|
data/lib/oliver.rb
CHANGED
File without changes
|
data/lib/oliver/arguments.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
# (Make this automatic later on, but for some reason
|
3
3
|
# automatic isn't working right now, and I don't
|
4
4
|
# know why :P)
|
5
|
-
files = %w(add init install list remove update)
|
5
|
+
files = %w(add init install list remove update help)
|
6
6
|
files.each do |file|
|
7
7
|
require_relative "argument_files/#{file}"
|
8
8
|
end
|
@@ -30,9 +30,10 @@ def arguments
|
|
30
30
|
add
|
31
31
|
when 'remove'
|
32
32
|
remove
|
33
|
+
when 'help'
|
34
|
+
help
|
33
35
|
when '-v' || '--version'
|
34
36
|
puts "#{Rainbow('oliver').red} #{Rainbow("v#{Oliver::VERSION}").green}"
|
35
|
-
when '-h' || '--help'
|
36
37
|
help
|
37
38
|
else
|
38
39
|
help
|
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.5.5
|
4
|
+
version: 1.5.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh
|
@@ -66,19 +66,20 @@ files:
|
|
66
66
|
- Gemfile
|
67
67
|
- Gemfile.lock
|
68
68
|
- IDEAS.md
|
69
|
+
- LICENSE
|
69
70
|
- README.md
|
70
71
|
- Rakefile
|
71
72
|
- bin/olive
|
72
73
|
- bin/oliver
|
73
74
|
- lib/oliver.rb
|
74
75
|
- lib/oliver/argument_files/add.rb
|
76
|
+
- lib/oliver/argument_files/help.rb
|
75
77
|
- lib/oliver/argument_files/init.rb
|
76
78
|
- lib/oliver/argument_files/install.rb
|
77
79
|
- lib/oliver/argument_files/list.rb
|
78
80
|
- lib/oliver/argument_files/remove.rb
|
79
81
|
- lib/oliver/argument_files/update.rb
|
80
82
|
- lib/oliver/arguments.rb
|
81
|
-
- lib/oliver/help.rb
|
82
83
|
- lib/oliver/main.rb
|
83
84
|
- lib/oliver/oliver_file_name.rb
|
84
85
|
- lib/oliver/version.rb
|