oliver 1.2.0 → 1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -1
- data/lib/oliver/arguments.rb +10 -1
- data/lib/oliver/version.rb +1 -1
- data/lib/oliver.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: d623d8bf391421e83ae1ac8ad15828899b49eb0e
|
4
|
+
data.tar.gz: af66dd5ba8c910faf9a9334efdaf5493c19ee350
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf5c959d1618b944a565921461e098d8eb1c43865601e33ec5fe5f02431b33f93faf96d982253c6c88aeda5742523589ff6d0fae18295c53fc06f8c36ada29b0
|
7
|
+
data.tar.gz: 6f58f02f00589db8a6f105eb5d3194915c46548a4e202644ffa59debdc0cfce5e5c63627019f63be1474b07ef455cda7307daca52eda3dd5952b0e123753d98d
|
data/README.md
CHANGED
@@ -130,7 +130,7 @@ and in the `Olivefile`
|
|
130
130
|
repos:
|
131
131
|
- "trommel/oliver"
|
132
132
|
- "istx25/dotfiles"
|
133
|
-
|
133
|
+
|
134
134
|
# use 3 spaces for indentation, not tabs!
|
135
135
|
# I spent, like, an hour trying to fix a nonexistant bug becuase of this
|
136
136
|
# smh so hard
|
@@ -186,6 +186,22 @@ append `colour=off` to any statement
|
|
186
186
|
|
187
187
|
don't forget to spell *"colour"* **the proper way**.
|
188
188
|
|
189
|
+
branches
|
190
|
+
========
|
191
|
+
|
192
|
+
I kept fixing bugs and then I would frantically
|
193
|
+
push the fixes because I was worried people, if anyone actually
|
194
|
+
uses oliver, would experience problems with it if I didn't push
|
195
|
+
the fix immediately. the problem, obviously, with this
|
196
|
+
is that I didn't catch other things I needed to fix, and now I have,
|
197
|
+
like, a billion commits, even though most of them are just me changing
|
198
|
+
the version variable.
|
199
|
+
|
200
|
+
anyways, there's an [unstable](https://github.com/trommel/oliver/tree/unstable)
|
201
|
+
branch, if you want to check it out.
|
202
|
+
the official gem that's hosted on rubygems, though, is
|
203
|
+
the gem of the master branch, and that's how it's going to stay.
|
204
|
+
|
189
205
|
testing
|
190
206
|
=======
|
191
207
|
|
data/lib/oliver/arguments.rb
CHANGED
@@ -2,7 +2,16 @@
|
|
2
2
|
def different_arguments
|
3
3
|
if ! ARGV[0].nil?
|
4
4
|
if ARGV[0].downcase == 'init'
|
5
|
-
|
5
|
+
|
6
|
+
if ! File.file?(Name::OLIVER)
|
7
|
+
File.open(Name::OLIVER, 'w') do |file|
|
8
|
+
file.write("repos:\n")
|
9
|
+
file.write(" - \"trommel/oliver\"\n")
|
10
|
+
end
|
11
|
+
else
|
12
|
+
puts "#{Rainbow(Name::OLIVER).red} already exists."
|
13
|
+
end
|
14
|
+
|
6
15
|
Jib.exit
|
7
16
|
end
|
8
17
|
end
|
data/lib/oliver/version.rb
CHANGED
data/lib/oliver.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
require 'jibry'
|
4
4
|
require 'rainbow'
|
5
5
|
require 'YAML'
|
6
|
+
require_relative "oliver/oliver_file_name"
|
6
7
|
require_relative "oliver/arguments"
|
7
8
|
require_relative "oliver/version"
|
8
9
|
require_relative "oliver/methods"
|
9
|
-
require_relative "oliver/oliver_file_name"
|
10
10
|
require_relative "oliver/main"
|
11
11
|
|
12
12
|
# if the user doesn't want to use rainbow
|