lumberjack 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -6
- data/VERSION +1 -1
- data/lib/lumberjack/device.rb +1 -1
- data/lib/lumberjack/device/log_file.rb +1 -1
- data/lib/lumberjack/device/rolling_log_file.rb +1 -1
- metadata +3 -3
data/Rakefile
CHANGED
@@ -37,10 +37,4 @@ if File.exist?(spec_file)
|
|
37
37
|
p.gem_spec = spec
|
38
38
|
end
|
39
39
|
Rake.application["package"].prerequisites.unshift("rbx:delete_rbc_files")
|
40
|
-
|
41
|
-
desc "Release to rubygems.org"
|
42
|
-
task :release => :package do
|
43
|
-
Rake::Gemcutter::Tasks.new(spec).define
|
44
|
-
Rake::Task['gem:push'].invoke
|
45
|
-
end
|
46
40
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.3
|
data/lib/lumberjack/device.rb
CHANGED
@@ -103,7 +103,7 @@ module Lumberjack
|
|
103
103
|
# Execute only if the file we locked is still the same one that needed to be rolled
|
104
104
|
yield if verify && verify.ino == @file_inode && verify.size > 0
|
105
105
|
ensure
|
106
|
-
|
106
|
+
file.flock(File::LOCK_UN) rescue nil
|
107
107
|
end
|
108
108
|
end
|
109
109
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lumberjack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-03-19 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A simple, powerful, and very fast logging utility that can be a drop
|
15
15
|
in replacement for Logger or ActiveSupport::BufferedLogger. Provides support for
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project:
|
89
|
-
rubygems_version: 1.8.
|
89
|
+
rubygems_version: 1.8.25
|
90
90
|
signing_key:
|
91
91
|
specification_version: 3
|
92
92
|
summary: A simple, powerful, and very fast logging utility that can be a drop in replacement
|