inform 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/inform/version.rb +1 -1
- data/lib/inform.rb +2 -2
- metadata +10 -10
data/lib/inform/version.rb
CHANGED
data/lib/inform.rb
CHANGED
@@ -36,9 +36,9 @@ class Inform
|
|
36
36
|
|
37
37
|
def info(message, args=nil)
|
38
38
|
if block_given?
|
39
|
-
log(:info, ">>> " + color_args(message, args,
|
39
|
+
log(:info, ">>> " + color_args(message, args, GREEN) + " : ", :no_newline => true)
|
40
40
|
ret = yield
|
41
|
-
log(:info, color('Done.',
|
41
|
+
log(:info, color('Done.', GREEN), :continue_line => true, :prefix => '>>> ')
|
42
42
|
ret
|
43
43
|
else
|
44
44
|
log(:info, "*** " + color_args(message, args, GREEN))
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Pearson
|
@@ -16,12 +16,12 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
19
|
+
date: 2011-07-19 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: rspec
|
23
23
|
prerelease: false
|
24
|
-
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
@@ -33,11 +33,11 @@ dependencies:
|
|
33
33
|
- 0
|
34
34
|
version: 2.6.0
|
35
35
|
type: :development
|
36
|
-
|
36
|
+
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: rake
|
39
39
|
prerelease: false
|
40
|
-
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ">="
|
@@ -47,11 +47,11 @@ dependencies:
|
|
47
47
|
- 0
|
48
48
|
version: "0"
|
49
49
|
type: :development
|
50
|
-
|
50
|
+
version_requirements: *id002
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
name: gem-release
|
53
53
|
prerelease: false
|
54
|
-
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
55
|
none: false
|
56
56
|
requirements:
|
57
57
|
- - ">="
|
@@ -61,7 +61,7 @@ dependencies:
|
|
61
61
|
- 0
|
62
62
|
version: "0"
|
63
63
|
type: :development
|
64
|
-
|
64
|
+
version_requirements: *id003
|
65
65
|
description: Interactive, colourised logging
|
66
66
|
email:
|
67
67
|
- mipearson@gmail.com
|