oliver 0.1.1 → 0.1.3
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 +4 -1
- data/lib/oliver.rb +7 -4
- data/lib/oliver/main.rb +5 -0
- data/lib/oliver/methods.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: 521c7434005183526d9876a6ec0219b6cf66fc98
|
4
|
+
data.tar.gz: bbb78d428aaa1d7c1b185b88f1f14a7f5a8bb8ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e35d7d13be85aa542f0c4ec65af1e40f30702bf125cfece9fddd00ccb8e09220e1e10c3c0b8bcc915a310e312972cf25e64845f5538f2057efdd846ca097cfb4
|
7
|
+
data.tar.gz: ea494e324c87cc8198b413bec35b90a8511bca3ec85702378a862276355d7fb987ccc763d9c6ab4e722b5450fd0a1080ff28148795f706eb8e31c85f5fafe6b7
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@ oliver
|
|
2
2
|
======
|
3
3
|
|
4
4
|
oliver manages your local GitHub
|
5
|
-
repositories for you with a simple
|
5
|
+
repositories for you with a simple `Olivefile`.
|
6
6
|
|
7
7
|
installation
|
8
8
|
------------
|
@@ -49,18 +49,21 @@ main_directory/
|
|
49
49
|
|----- bin/
|
50
50
|
|----- lib/
|
51
51
|
|----- README.md
|
52
|
+
|----- .git/
|
52
53
|
|
|
53
54
|
|- git_project_2/
|
54
55
|
|----- src/
|
55
56
|
|----- bin/
|
56
57
|
|----- lib/
|
57
58
|
|----- README.md
|
59
|
+
|----- .git/
|
58
60
|
|
|
59
61
|
|- git_project_3/
|
60
62
|
|----- src/
|
61
63
|
|----- bin/
|
62
64
|
|----- lib/
|
63
65
|
|----- README.md
|
66
|
+
|----- .git/
|
64
67
|
```
|
65
68
|
|
66
69
|
and then, if you want to see
|
data/lib/oliver.rb
CHANGED
@@ -13,8 +13,11 @@ Rainbow.enabled = false if ARGV[-1] == 'colour=off'
|
|
13
13
|
|
14
14
|
# if `Name::OLIVER` (string)
|
15
15
|
# exists as a file continue with oliver
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
16
|
+
case File.file?
|
17
|
+
when Name::OLIVER.downcase
|
18
|
+
puts Rainbow('Use "Olivefile"')
|
19
|
+
when Name::OLIVER
|
20
|
+
oliver_main
|
21
|
+
else
|
22
|
+
other_things
|
20
23
|
end
|
data/lib/oliver/main.rb
ADDED
data/lib/oliver/methods.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require_relative "main"
|
2
|
+
|
1
3
|
# Help the user with their heavy troubles
|
2
4
|
def help
|
3
5
|
|
@@ -62,6 +64,5 @@ end
|
|
62
64
|
# I'll probably move this into a
|
63
65
|
# seperate file in the future
|
64
66
|
def oliver_main
|
65
|
-
|
66
|
-
puts contents
|
67
|
+
run_main
|
67
68
|
end
|
data/lib/oliver/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oliver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -94,6 +94,7 @@ files:
|
|
94
94
|
- Rakefile
|
95
95
|
- bin/olive
|
96
96
|
- lib/oliver.rb
|
97
|
+
- lib/oliver/main.rb
|
97
98
|
- lib/oliver/methods.rb
|
98
99
|
- lib/oliver/oliver_file_name.rb
|
99
100
|
- lib/oliver/version.rb
|