logit 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. data/README.rdoc +3 -0
  2. data/Rakefile +1 -1
  3. data/lib/logit.rb +1 -1
  4. data/logit.gemspec +2 -2
  5. metadata +4 -4
@@ -96,6 +96,9 @@ environment to the log file name. For example:
96
96
 
97
97
  = Release Notes
98
98
 
99
+ [1.0.3]
100
+ * Changed default date format to month-day-year.
101
+
99
102
  [1.0.2]
100
103
  * Added :flush_mode option. Set this to <tt>:immediate</tt> if you want each message flushed to the log file immediately.
101
104
  * Added :stdout option. Set this to <tt>true</tt> if you want logs printed to stdout as well.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('logit', '1.0.2') do |p|
5
+ Echoe.new('logit', '1.0.3') do |p|
6
6
  p.description = 'Easily add custom logging abilities to your Ruby or Rails application.'
7
7
  p.url = 'http://github.com/codemariner/logit'
8
8
  p.author = 'Scott Sayles'
@@ -128,7 +128,7 @@ module Logit
128
128
 
129
129
  name = (progname) ? " [#{progname}]" : ""
130
130
 
131
- message = "#{timestamp.strftime('%d-%m-%Y %H:%M:%S')} #{severity.ljust(6)}#{name}: #{msg}\n"
131
+ message = "#{timestamp.strftime('%m-%d-%Y %H:%M:%S')} #{severity.ljust(6)}#{name}: #{msg}\n"
132
132
  puts message if @opts[:stdout]
133
133
  message
134
134
  end
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{logit}
5
- s.version = "1.0.2"
5
+ s.version = "1.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Scott Sayles"]
9
- s.date = %q{2010-12-09}
9
+ s.date = %q{2010-12-10}
10
10
  s.description = %q{Easily add custom logging abilities to your Ruby or Rails application.}
11
11
  s.email = %q{ssayles@users.sourceforge.net}
12
12
  s.extra_rdoc_files = ["LICENSE", "README.rdoc", "lib/logit.rb"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Scott Sayles
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-09 00:00:00 -05:00
18
+ date: 2010-12-10 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies: []
21
21