oliver 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oliver/commands.rb +9 -7
- data/lib/oliver/version.rb +1 -1
- data/lib/oliver.rb +0 -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: afc126e3d9398f63496ca8b6e6f1c3e3de99cb34
|
4
|
+
data.tar.gz: 5c4e8b89f2a2b28b714d564e82f2a1421593591a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 773bd03eb2f53f230acdf5a491644bc1497fcfc0eb32e32d851ad6b71519f4262dc308c251b7fb6eca4a44990a81f0f6433f9d3ca00f7907b292b5454bdb5078
|
7
|
+
data.tar.gz: 75f101dfe0345d1ef086bce6b9f402ee5eac10de9c1c8fe5b0ae2a76d0319f84b4c3e15c775f14851b1a054f08321d0c29ca9a0263074e083c62e7aa30c1ac46
|
data/lib/oliver/commands.rb
CHANGED
@@ -77,13 +77,15 @@ module Oliver
|
|
77
77
|
end
|
78
78
|
|
79
79
|
def list
|
80
|
-
FileManager::BODY.
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
repos.
|
85
|
-
|
86
|
-
|
80
|
+
unless FileManager::BODY.nil?
|
81
|
+
FileManager::BODY.map do |user, repos|
|
82
|
+
repos ||= []
|
83
|
+
# Add silent shit later when it's actually working
|
84
|
+
unless repos.empty?
|
85
|
+
repos.each do |repo|
|
86
|
+
if File.directory?(repo) then print '# ' else print '+ ' end # bugs
|
87
|
+
puts repo
|
88
|
+
end
|
87
89
|
end
|
88
90
|
end
|
89
91
|
end
|
data/lib/oliver/version.rb
CHANGED
data/lib/oliver.rb
CHANGED
@@ -56,7 +56,6 @@ module Oliver
|
|
56
56
|
install: 'clones/removes repos if they\'re listed',
|
57
57
|
list: 'list user repos',
|
58
58
|
update: 'pull updates from each tracked repo',
|
59
|
-
status: 'Pull repo\'s cloning protocol and record location',
|
60
59
|
version: 'return the current version',
|
61
60
|
help: 'return this help menu',
|
62
61
|
}
|