pgtk 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b39b7d664d73db65be5fd875687feb710866036369c66391e7a2a8c3e987f64
4
- data.tar.gz: ec879d6ba51f12583820563ffcc79596852c47352cbf3699911db39332a488d9
3
+ metadata.gz: 1c04374b388a6c39cd472eaeb7f6d6b6c9f7792db1137c63b42bc2c90b42e294
4
+ data.tar.gz: 15f7583738ef3edbefb70daf873bbbca0153100fe9e71ecf4748e9d0b778be34
5
5
  SHA512:
6
- metadata.gz: 8c3635df8dcb98143adc6804ca4ecf8e229191d0b89d3436a591cfc969167d85907bdf2cd8bb74734e5000d823756fc9011c5bda5c7262fe0a32ac837320c2d0
7
- data.tar.gz: 8b285bc7d80b5dbfbf8fe272755ea7de71cc717a36a76ff3ca218b7952143afb322c6925cb4894043dff6fda2a42ca4f8086b1f05f7e299de65b67b7f9bc27a3
6
+ metadata.gz: 27dd1a20cf6b6c57751ccc64f663c24fccd8a018706c0d61eb4f607f6461237aeee75ae5992b140b67fa0dbf6c4ec5d1ef29a7c498ea17b79f2f22007e0a5c6d
7
+ data.tar.gz: 532936b37210fd0559d85d01014ece69e7a72fe8e7d47224fd1558414d0c9907d463e4b381a374eb6063e08ea2a5848af5e8a47e50f6074e69fccef0874ec8cf
data/README.md CHANGED
@@ -116,16 +116,12 @@ module Minitest
116
116
  end
117
117
  ```
118
118
 
119
- Should work. Well, it works in [zold-io/wts.zold.io](https://github.com/zold-io/wts.zold.io)
120
- and [yegor256/mailanes](https://github.com/yegor256/mailanes). They both are
121
- open source, you can see how they use `pgtk`.
122
-
123
- These open source web apps of mine are using pgtk (check their source code
124
- to see how it all works):
119
+ Should work.
125
120
 
126
- * [wts.zold.io](https://github.com/zold-io/wts.zold.io)
127
- * [mailanes](https://github.com/yegor256/mailanes)
128
- * [0rsk](https://github.com/yegor256/0rsk)
121
+ Well, it works in [wts.zold.io](https://github.com/zold-io/wts.zold.io),
122
+ [mailanes.com](https://github.com/yegor256/mailanes), and
123
+ [0rsk.com](https://github.com/yegor256/0rsk). They are all
124
+ open source, you can see how they use `pgtk`.
129
125
 
130
126
  ## How to contribute
131
127
 
@@ -148,9 +148,9 @@ class Pgtk::Pool
148
148
  rows
149
149
  end
150
150
  end
151
- lag = start - Time.now
151
+ lag = Time.now - start
152
152
  if lag < 1
153
- @log.debug("#{sql}: #{lag.round}ms / #{@conn.object_id}")
153
+ @log.debug("#{sql}: #{(lag * 1000).round}ms / #{@conn.object_id}")
154
154
  else
155
155
  @log.info("#{sql}: #{format('%.02f', lag)}s")
156
156
  end
@@ -28,5 +28,5 @@ require_relative '../pgtk'
28
28
  # License:: MIT
29
29
  module Pgtk
30
30
  # Current version of the library.
31
- VERSION = '0.7.2'
31
+ VERSION = '0.7.3'
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-16 00:00:00.000000000 Z
11
+ date: 2019-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace