autowow 0.5.0 → 0.6.0

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: ae93b0384ebbb7f11bf21a37f2c1dfa135db2739
4
- data.tar.gz: c69d91c112e80830b4d9b89eefe09c8550c52335
3
+ metadata.gz: f439584090afd01a26a0b170002026891075d7da
4
+ data.tar.gz: 84254b3472a5305e639b6976d09fe13c49d759bc
5
5
  SHA512:
6
- metadata.gz: 318c5a58a1732310ad4231db39f4d36cb862f74117f682ff406d3695b2070b53973b8eaba91739dac3f66a29d761892acc8aaadbbfb54ea3d46ce786e1751112
7
- data.tar.gz: e141c4aabf826c4c734670c717ba2023e6c167d505add6679d7d307de5ef4629305c3610a1d12ae5134c8b0158abde33436824fe04f046cbba371b80491fd3fe
6
+ metadata.gz: 6a8ec3ed4e922d98d3a1ec38f543a8ada4972a3aece0337cb7ea2dfdcc3f691b94de3f9f2481a858ce8c63ff99d1d65ec8b34bd80aa4bcbc78c8d0043d663ba7
7
+ data.tar.gz: 5bf501d994bd622b2b34f9005186d97e5d3a184d2e366886ddf1f4c528bfbbe24b414af9009599468d7cb8834400bf6a0f6683b54bb07924609c81c3f5aa5557
data/autowow.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_dependency "easy_logging", ">= 0.3.0" # Include logger easily, without redundancy
25
25
  spec.add_dependency "thor" # CLI
26
- spec.add_dependency "colorize" # Colorize output made by own logger
26
+ spec.add_dependency "pastel" # Colorize output of own logger
27
27
  spec.add_dependency "time_difference", "= 0.5.0" # Calculate project age. Fixed version because we refine it :(
28
28
  spec.add_dependency "launchy" # Open project in browser
29
29
  spec.add_dependency "tty-command", ">= 0.7.0" # Execute system commands nicely
@@ -1,4 +1,4 @@
1
- require 'colorize'
1
+ require 'pastel'
2
2
 
3
3
  module Autowow
4
4
  class LogFormatter
@@ -9,13 +9,14 @@ module Autowow
9
9
  end
10
10
 
11
11
  def self.color(severity, msg)
12
+ pastel = Pastel.new
12
13
  case severity
13
14
  when 'DEBUG'
14
- msg.yellow
15
+ pastel.yellow(msg)
15
16
  when 'WARN'
16
- msg.light_red
17
+ pastel.red(msg)
17
18
  when 'ERROR'
18
- msg.red
19
+ pastel.bright_red(msg)
19
20
  else
20
21
  msg
21
22
  end
@@ -1,3 +1,3 @@
1
1
  module Autowow
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autowow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - thisismydesign
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: colorize
42
+ name: pastel
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="