oliver 2.3.0 → 2.3.1
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 +7 -5
- data/lib/oliver/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12e16a94eb0b3fc9a78fa41effafbdd725674522
|
4
|
+
data.tar.gz: 6028fb2a025d624c8de041e901f2a8bc6d78f7c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90f9293ccfc0ff8bf8f7baea47c5f24299c023b488e628f28c270be21d47704c898f864f447420f21859359573bcb12b11abdf80c785cab2234654f8aee55d6c
|
7
|
+
data.tar.gz: e512ce697f569bbaaeadb410b32c0f30687e7d7c8bf7fc2fcea79be38fec22479744d05067724f4b3a35f9743fd3de19a55fecb5dffef08df6ac59c7b4febdff
|
data/lib/oliver/commands.rb
CHANGED
@@ -21,7 +21,7 @@ module Oliver
|
|
21
21
|
FileManager::BODY.map do |user, repo|
|
22
22
|
temp << repo
|
23
23
|
end
|
24
|
-
return temp.
|
24
|
+
return temp.sort.flatten
|
25
25
|
end
|
26
26
|
|
27
27
|
def init
|
@@ -97,17 +97,19 @@ module Oliver
|
|
97
97
|
# - only .oliver, print "+" (clone)
|
98
98
|
# - only directory, print "-" (remove)
|
99
99
|
|
100
|
-
# If
|
101
|
-
dirRepos.each
|
100
|
+
# If the repo is in both, print #
|
101
|
+
dirRepos.each do |repo|
|
102
|
+
puts "# #{repo}" if trackedRepos.include? repo
|
103
|
+
end
|
102
104
|
|
103
105
|
# If repo only exists in .oliver, print '+'
|
104
106
|
dirRepos.each do |repo|
|
105
|
-
puts "
|
107
|
+
puts "- #{repo}" unless trackedRepos.include? repo
|
106
108
|
end
|
107
109
|
|
108
110
|
# If repo only exists in directory, print '-'
|
109
111
|
trackedRepos.each do |repo|
|
110
|
-
puts "
|
112
|
+
puts "+ #{repo}" unless dirRepos.include? repo
|
111
113
|
end
|
112
114
|
end
|
113
115
|
|
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: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Trommel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|