pg_clip 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pg_clip/paginator.rb +0 -2
- data/lib/pg_clip/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e58e02c028c8baf1bf83e186ee9daa2559f9a703e93f91104cf627cfc6fb446c
|
4
|
+
data.tar.gz: 3015c84c9bdc1d0d40225b8fdfc32cd21cf391bea861c98ab7be82bcbcf86a26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15df38988e709a3c8002c1e005b74ab63857b2dcaf7516bb844a2fafaf19fbb6621af2df324874d60c394b55ef1b7ecdc8318104f7cb43f9d67b8e87a509ad5d
|
7
|
+
data.tar.gz: fb0b1c82c9ae9e852e6ad5a763cb3a47938d32296609f830b24ce5a03be7ed5119eb2a5466a87926eee2057caea576908148a2cfa6b49c01e07d54436c2904c6
|
data/lib/pg_clip/paginator.rb
CHANGED
@@ -15,7 +15,6 @@ module PgClip
|
|
15
15
|
|
16
16
|
def execute_query(query)
|
17
17
|
connection.execute <<-SQL
|
18
|
-
BEGIN READ ONLY;
|
19
18
|
SET intervalstyle = 'iso_8601';
|
20
19
|
WITH insight AS (#{query})
|
21
20
|
|
@@ -29,7 +28,6 @@ module PgClip
|
|
29
28
|
offset = (page - 1) * per_page
|
30
29
|
|
31
30
|
connection.execute <<-SQL
|
32
|
-
BEGIN READ ONLY;
|
33
31
|
SET intervalstyle = 'iso_8601';
|
34
32
|
WITH insight AS (#{query}), stats AS (
|
35
33
|
SELECT
|
data/lib/pg_clip/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_clip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomasz Mazur
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|