oliver 4.0.1 → 4.0.2
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 -4
- 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: 86ba52c33462d0e7fbf0d0523c35481fabfee94a
|
4
|
+
data.tar.gz: aaaf367449ff48cda56d2953895b2625b5dbb548
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db7c0fb2bbbaaf249a4154ce76e47ac477d02365e9f9dd1b466cae18b34b8b1e9f817e66d39598f2af208735359fc1fa5660bf485479517c761f497725434f40
|
7
|
+
data.tar.gz: 4987c99248fa3c7dc75a1cd20d64efd74f153efcc9d61e9eade009fedb208b868e5692db12c1497a2aaddef991357724bf2748cdf5c8cd62b7639a18dfb3afcb
|
data/lib/oliver/commands.rb
CHANGED
@@ -44,11 +44,14 @@ Commands:\n
|
|
44
44
|
# array with all folders in directory
|
45
45
|
dirs = Dir.glob('*').select { |f| File.directory? f }
|
46
46
|
dirs.each do |dir|
|
47
|
-
|
48
|
-
|
49
|
-
|
47
|
+
begin
|
48
|
+
g = Git.open(dir)
|
49
|
+
g.pull
|
50
|
+
puts Helpers.log("Pulled #{dir} successfully")
|
51
|
+
rescue
|
52
|
+
puts Helpers.log("Failed to pull #{dir}", :error)
|
53
|
+
end
|
50
54
|
end
|
51
|
-
puts Helpers.log('All repos updated successfully', :success)
|
52
55
|
end
|
53
56
|
|
54
57
|
def update(args)
|
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: 4.0.
|
4
|
+
version: 4.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Trommel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|