cheetah 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +6 -0
  2. data/VERSION +1 -1
  3. data/lib/cheetah.rb +2 -2
  4. metadata +4 -4
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 0.2.1 (2012-04-12)
2
+ ------------------
3
+
4
+ * Use Logger#add instead of Logger#log. This means ActiveSupport::BufferedLogger
5
+ can now be passed as a logger.
6
+
1
7
  0.2.0 (2012-04-05)
2
8
  ------------------
3
9
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -230,10 +230,10 @@ module Cheetah
230
230
  end
231
231
  ensure
232
232
  if logger
233
- logger.log status.success? ? Logger::INFO : Logger::ERROR,
233
+ logger.add status.success? ? Logger::INFO : Logger::ERROR,
234
234
  "Status: #{status.exitstatus}"
235
235
  logger.info "Standard output: " + (stdout.empty? ? "(none)" : stdout)
236
- logger.log stderr.empty? ? Logger::INFO : Logger::ERROR,
236
+ logger.add stderr.empty? ? Logger::INFO : Logger::ERROR,
237
237
  "Error output: " + (stderr.empty? ? "(none)" : stderr)
238
238
  end
239
239
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cheetah
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Majda
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-04-05 00:00:00 +02:00
18
+ date: 2012-04-12 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency