inform 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDBiNWE5NGQ1ZDQyYzdlNDlkOGI1OTRhNjA1NmZmZTNjN2M4NGFiOA==
4
+ YTczOTBlMzVmYzc2NmI4NmM3OTk3MjZjNGUwNDNiNTMzZWYwOWQ5Mg==
5
5
  data.tar.gz: !binary |-
6
- N2U1Y2ZhNDhmNTUyYWE3NGZhYTBlMDI0MzJmZGNkMzZjZTVjOTcxYg==
6
+ MWRjM2QxYzY1OWJlMTg5NGE1MzYyNzkwNmIxOWYyYWI5NDMwNjE0Mw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ODkxN2EyOGJiNWI0NGJlYjRhODUxMGY3ZWE1ZGVhNWE2ZjZiMTExNDg0YmUx
10
- MGZmYWQxMjcwZDkzMThmMmYwZmIwN2Q5MzJlNTFkYWZjZjBjNzFmNmI0NGMx
11
- NWNmMWVhMGJhZTQ5OWExNWQwZDM1ZGI0YTk2ZGJmMDYwNDE5NGE=
9
+ OWZlZDRmODk1N2Q3M2E4ZDQ0ZTAwMjNjMjRhMTJkNjBlOWNkYWE5NGIxMDY5
10
+ YWZkN2QyYmQxN2I3NzcyOTM0MjBhZGE2ZWE5MmEzNzliNzAzNTA3MThjZWQx
11
+ ZTU2ODRlODYxNmNiYzc0ZWIyNWI0YjFhNGYzMGFiNGE0OGZiODY=
12
12
  data.tar.gz: !binary |-
13
- YmFlYTRmZjA3MDUzNmQ2MzkzZDFhODM2NDBiY2YyNWQzYTVkYjMxZGE2M2Jm
14
- ZWY0Mzc2NTljZDk3YWI5ZjE5MmExZjY5Mzg1ZDQ0YzE2ZDVmZjc1YzQxMjNj
15
- NWJmMDc3MzQ5ZjQ5NDJkOWY4Y2UwYzBjY2IyODA4NGI4NTZjOWY=
13
+ NTc2ZDY3NjczYjQxM2NiYTk3MWJiNTg5Y2EzYzNhN2RkYmUyZGY2ZTY2Yzc4
14
+ NzA4ZTY2OWE0NzY4MWZhYTA5NjYwZjk2MzdmYzZiNGUwZDQyNjE4MDYxNDM5
15
+ Y2MyYjQ2YTc3YTM3MzQ1ZjczZjc0ODkyYjUxZGEzNmMwYWQxZTQ=
@@ -49,11 +49,10 @@ class Inform
49
49
  smart_newlines = thread_prefix.nil?
50
50
  if smart_newlines
51
51
  log(:info, ">>> " + color_args(message, args, GREEN) + " : ", :no_newline => true)
52
- else
53
- log(:info, ">>> " + color_args(message, args, GREEN) + " ... ")
54
52
  end
55
53
 
56
54
  ret = yield
55
+
57
56
  elapsed = Time.now - start
58
57
  completion = elapsed > 0.01 ? "Done. (#{sprintf '%.2f', elapsed}s)" : 'Done.'
59
58
  if smart_newlines
@@ -1,3 +1,3 @@
1
1
  class Inform
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Pearson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-12 00:00:00.000000000 Z
12
+ date: 2013-05-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  requirement: !ruby/object:Gem::Requirement