logue 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3fd805ca22e710868ac6d67ff0bfbd6bed12ae0d
4
+ data.tar.gz: 02bcbe756cb396977e02ebf1c4a0332718b38418
5
+ SHA512:
6
+ metadata.gz: e93458d58f660b7ebf5b0c424570c83715dd834a30699bf2c7c7ad2ea742487840b8e1fcd6ad5ee8c5a6cfae3040b0d56d93c2fffcfd9698a5dc200aa115178e
7
+ data.tar.gz: e2fedbfd3769b43416dcfd59d9b9a0dc02873a3c275226b543e3dba3fab83d03017d6ff03a0c39894b5713f75ae76994c1b88526473d46e0d541bc3717fa7c8d
data/lib/logue/colors.rb CHANGED
@@ -9,6 +9,7 @@
9
9
  # Documentation:: Author
10
10
  #
11
11
 
12
+ require 'rainbow/x11_color_names'
12
13
  require 'rainbow/color'
13
14
 
14
15
  class Colors
@@ -83,7 +83,7 @@ module Logue
83
83
  end
84
84
  end
85
85
 
86
- def respond_to? meth
86
+ def respond_to? meth, include_all = false
87
87
  Colors::valid_colors.include?(meth) || super
88
88
  end
89
89
 
data/lib/logue.rb CHANGED
@@ -13,5 +13,5 @@ Pathname.glob(loguelibdir + '/logue/**/*.rb').each do |file|
13
13
  end
14
14
 
15
15
  module Logue
16
- VERSION = '1.0.1'
16
+ VERSION = '1.0.4'
17
17
  end
@@ -57,7 +57,7 @@ class LogStackTestCase < Test::Unit::TestCase
57
57
  "[ ...: 36] {screech } ",
58
58
  ]
59
59
 
60
- run_test @verbose_setup, log, *expected_output
60
+ do_run_test @verbose_setup, log, *expected_output
61
61
  end
62
62
 
63
63
  # the ctor is down here so the lines above are less likely to change.
@@ -75,7 +75,7 @@ class LogStackTestCase < Test::Unit::TestCase
75
75
  super test
76
76
  end
77
77
 
78
- def run_test setup, log, *expected
78
+ def do_run_test setup, log, *expected
79
79
  io = setup.call
80
80
 
81
81
  log.call
metadata CHANGED
@@ -1,30 +1,33 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
5
- prerelease:
4
+ version: 1.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jeff Pace
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-12-15 00:00:00.000000000 Z
11
+ date: 2016-12-06 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rainbow
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ - - ">="
20
21
  - !ruby/object:Gem::Version
21
22
  version: 2.0.0
22
23
  type: :runtime
23
24
  prerelease: false
24
25
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
26
  requirements:
27
- - - ! '>='
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '2.0'
30
+ - - ">="
28
31
  - !ruby/object:Gem::Version
29
32
  version: 2.0.0
30
33
  description: A module that adds logging/trace functionality.
@@ -34,6 +37,7 @@ extensions: []
34
37
  extra_rdoc_files:
35
38
  - README.md
36
39
  files:
40
+ - README.md
37
41
  - lib/logue.rb
38
42
  - lib/logue/colors.rb
39
43
  - lib/logue/format.rb
@@ -45,31 +49,29 @@ files:
45
49
  - test/logue/testlog/log_stack_test.rb
46
50
  - test/logue/testlog/log_test.rb
47
51
  - test/logue/testlog/loggable_test.rb
48
- - README.md
49
52
  homepage: http://jeugenepace.github.com/logue
50
53
  licenses:
51
54
  - MIT
55
+ metadata: {}
52
56
  post_install_message:
53
57
  rdoc_options: []
54
58
  require_paths:
55
59
  - lib
56
60
  required_ruby_version: !ruby/object:Gem::Requirement
57
- none: false
58
61
  requirements:
59
- - - ! '>='
62
+ - - ">="
60
63
  - !ruby/object:Gem::Version
61
64
  version: '0'
62
65
  required_rubygems_version: !ruby/object:Gem::Requirement
63
- none: false
64
66
  requirements:
65
- - - ! '>='
67
+ - - ">="
66
68
  - !ruby/object:Gem::Version
67
69
  version: '0'
68
70
  requirements: []
69
71
  rubyforge_project:
70
- rubygems_version: 1.8.23
72
+ rubygems_version: 2.5.1
71
73
  signing_key:
72
- specification_version: 3
74
+ specification_version: 4
73
75
  summary: A minimalist logging module.
74
76
  test_files:
75
77
  - test/logue/format_test.rb