lorekeeper 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/lorekeeper/fast_logger.rb +7 -1
- data/lib/lorekeeper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fb9c7cab3e4f19d195751e8b24eaa616eb60940
|
4
|
+
data.tar.gz: 57381c101b3aca75f0b30ca1439debf52a1269c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43abb0bd8d32c1355c1edc7a701a9519bbd10eef45bb4c28daf8c283697de387f1faabaacc1153f2286f0c7365ce8b0c2d704c9902402852b15172d6a93e4f86
|
7
|
+
data.tar.gz: f5d5adef019602b137a74c679ab3bce07d749bf5f9fd1e3e37e7fd1be70dd0f47e4d0694e6ea3aa83ce67be5d1ef7397226b8c174760528a7de1d66b5df751e5
|
data/CHANGELOG.md
CHANGED
@@ -89,7 +89,13 @@ module Lorekeeper
|
|
89
89
|
def open_logfile(filename)
|
90
90
|
File.open(filename, (File::WRONLY | File::APPEND))
|
91
91
|
rescue Errno::ENOENT => e
|
92
|
-
|
92
|
+
create_logfile(filename)
|
93
|
+
end
|
94
|
+
|
95
|
+
def create_logfile(filename)
|
96
|
+
File.open(filename, (File::WRONLY | File::APPEND | File::CREAT))
|
97
|
+
rescue Errno::EEXIST
|
98
|
+
open_logfile(filename)
|
93
99
|
end
|
94
100
|
end
|
95
101
|
end
|
data/lib/lorekeeper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lorekeeper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordi Polo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|