oliver 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba82de7e12e49cb0a9d1c6a56b490e656dda34e2
4
- data.tar.gz: 7e368ffe96d30190922fec9d8a984f1d613dc1ec
3
+ metadata.gz: cd8b83ecd2172dc6061fa1448b42e15ace41c6b9
4
+ data.tar.gz: 66c5f646ebc146a14b799a36ca5d40d14c084c0b
5
5
  SHA512:
6
- metadata.gz: 48808e5a09a1e722757c9667e359a69af6d9029119498051d4b4f4cbee2853156f14eabb7d0a5ab9d3f1ee227416ac3c5ca545f909d3a0cbc3f81034f9c1a391
7
- data.tar.gz: a684b67d32689acd3ffea9a2ef9f4ebff680bbe75ede2f81aade38cc5943c533d514217347267b444cdb3a6771ef4d7488da0b9c5c3699eab91528b00a03800c
6
+ metadata.gz: 001824bc958c2ede3654db9c650ab11b4daaeb1a660673d264114776f54dadc9424e43d502b75ab7a895c07fde95b73ed9da274d2c233870930e3732333aac46
7
+ data.tar.gz: 38d0205ec75e34df3e2a6c7ffa9cc065772e056201d07a2d1a11af83869d5583d05b23d240eca81809906b9f4339c71d20de781e7583cb5a767a475538621c37
@@ -60,8 +60,8 @@ Commands:\n
60
60
  # check if listed and local (good)
61
61
  # star if listed but not local
62
62
  # x if local but not listed
63
- log('.oliver does not exist', :error) unless Helpers.oliver_exists?
64
- log('.oliver is empty', :error) if Helpers.file.empty?
63
+ Helpers.log('.oliver does not exist', :error) unless Helpers.oliver_exists?
64
+ Helpers.log('.oliver is empty', :error) if Helpers.file.empty?
65
65
 
66
66
  Helpers.file.map do |user, repos|
67
67
  repos.each do |repo|
@@ -27,10 +27,11 @@ module Helpers
27
27
 
28
28
  def log(text, priority=:default)
29
29
  symbol = "==>"
30
- symbols = { :default => symbol.colorize(:blue),
31
- :warning => symbol.colorize(:yellow),
32
- :error => symbol.colorize(:red),
33
- :success => symbol.colorize(:green) }
30
+ symbols = {
31
+ :default => symbol.colorize(:blue),
32
+ :warning => symbol.colorize(:yellow),
33
+ :error => symbol.colorize(:red),
34
+ :success => symbol.colorize(:green) }
34
35
  return "#{symbols[priority]} #{text}"
35
36
  end
36
37
 
@@ -1,3 +1,3 @@
1
1
  module Version
2
- VERSION = '3.0.2'
2
+ VERSION = '3.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Trommel