rails_log_book 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/log_book/version.rb +1 -1
- data/lib/rails_log_book.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: 1dcd95f53c62fb9971f9b6aa3600f083fe20e390
|
4
|
+
data.tar.gz: 5c8d602213701f68f25b4ea419bba3b415e25f4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf696b59c7b89efea1dbb24525750653d1507e3b78803a4ae2c36076348f73d9099210ba75ad54c2f5f8f79d90cf7d2792f4d12becff5f5ba6867198991aebf5
|
7
|
+
data.tar.gz: 70d8ddd9694e9221d4347e1aaaaa5ceb8859cab8a0d224bca164bb1e989e4643956710ac216b2717fc05ff749fd37ed6f8708f7e6622f723aea8bd53da127634
|
data/lib/log_book/version.rb
CHANGED
data/lib/rails_log_book.rb
CHANGED
@@ -66,7 +66,7 @@ module LogBook
|
|
66
66
|
def squash_records
|
67
67
|
return if LogBook.store[:request_uuid].nil?
|
68
68
|
records = LogBook::Record.where(request_uuid: LogBook.store[:request_uuid])
|
69
|
-
return
|
69
|
+
return unless records.exists?
|
70
70
|
LogBook::SquashRecords.new(records).call
|
71
71
|
end
|
72
72
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_log_book
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stjepan Hadjic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|