purview 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -5
- data/TODO +2 -2
- data/lib/purview/loaders/sqlite.rb +6 -3
- data/lib/purview/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: 7533b5ff4d6b701120a8de5ecc1ab772fa22ad8c743c769e2de6c4cec270b87b
|
4
|
+
data.tar.gz: 8900f60ff3f83e0e8db19ede7b4f2e1d04e8ca0bff1396630aa20f31d672c5f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abf2910ee569e1d7b5658b637c58784cf2bae16c2469cf097d721e0eb272253f6ae35d3d3890ec49093bd11ac35e5b4f4246ea8c733482b825505eb80c79b639
|
7
|
+
data.tar.gz: 241dfa54f70658ea33cc52d7d6c1a16e3d90969c0a17ea20f097017f2822bc29de9a3031e03ba9b71928d2878f1abada9d447fc6de03ac4e47fa16090871d8fc
|
data/.travis.yml
CHANGED
@@ -2,10 +2,20 @@ language: ruby
|
|
2
2
|
|
3
3
|
before_install:
|
4
4
|
- sudo apt-get update -q
|
5
|
-
- sudo apt-get install -q
|
5
|
+
- sudo apt-get install -q build-essential libc6-dev
|
6
|
+
- wget http://www.freetds.org/files/stable/freetds-1.00.21.tar.gz
|
7
|
+
- tar -xzf freetds-1.00.21.tar.gz
|
8
|
+
- cd freetds-1.00.21
|
9
|
+
- ./configure --prefix=/usr/local --with-tdsver=7.3
|
10
|
+
- make
|
11
|
+
- sudo make install
|
12
|
+
|
13
|
+
matrix:
|
14
|
+
allow_failures:
|
15
|
+
- rvm: jruby-9.1.9.0
|
6
16
|
|
7
17
|
rvm:
|
8
|
-
- 2.
|
9
|
-
- 2.
|
10
|
-
- 2.
|
11
|
-
-
|
18
|
+
- 2.3.7
|
19
|
+
- 2.4.4
|
20
|
+
- 2.5.1
|
21
|
+
- jruby-9.1.9.0
|
data/TODO
CHANGED
@@ -7,6 +7,6 @@ c2c85f85-ffd8-11e8-b2c3-8c8590c6ab8c 00000000-0000-0000-0000-000000000000 jzales
|
|
7
7
|
c70ab22b-ffd8-11e8-8c9a-8c8590c6ab8c 00000000-0000-0000-0000-000000000000 jzaleski jzaleski 1544816715 1544816715 a Refactor mutator methods to be globally available (e.g. quoted -> Quote, etc.)
|
8
8
|
cc6c3091-ffd8-11e8-b484-8c8590c6ab8c 00000000-0000-0000-0000-000000000000 jzaleski jzaleski 1544816724 1544816724 a Add parallel pull(s) support
|
9
9
|
d1ecf75e-ffd8-11e8-87cf-8c8590c6ab8c 00000000-0000-0000-0000-000000000000 jzaleski jzaleski 1544816733 1544816733 a Add support for `Consumers`
|
10
|
-
683a87f8-ffe3-11e8-8e33-8c8590c6ab8c 00000000-0000-0000-0000-000000000000 jzaleski jzaleski 1544821280
|
11
|
-
0aae0fab-ffe4-11e8-ae70-8c8590c6ab8c 00000000-0000-0000-0000-000000000000 jzaleski jzaleski 1544821553
|
10
|
+
683a87f8-ffe3-11e8-8e33-8c8590c6ab8c 00000000-0000-0000-0000-000000000000 jzaleski jzaleski 1544821280 1544971163 d Fix SQLite3 (it doesn't appear to work)
|
11
|
+
0aae0fab-ffe4-11e8-ae70-8c8590c6ab8c 00000000-0000-0000-0000-000000000000 jzaleski jzaleski 1544821553 1544971167 r Fix PostgreSQL, it doesn't appear to work
|
12
12
|
c3b21ac5-ffe6-11e8-802b-8c8590c6ab8c 00000000-0000-0000-0000-000000000000 jzaleski jzaleski 1544822722 1544822722 a Need to add time-zone support to adjust SQL puller results
|
@@ -52,12 +52,15 @@ module Purview
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def table_update_sql(window, temporary_table_name)
|
55
|
-
'
|
55
|
+
'DELETE FROM %s WHERE %s IN (SELECT %s FROM %s); INSERT INTO %s (%s) SELECT %s FROM %s' % [
|
56
56
|
table.name,
|
57
|
-
temporary_table_name,
|
58
57
|
table.id_column.name,
|
59
58
|
table.id_column.name,
|
60
|
-
|
59
|
+
temporary_table_name,
|
60
|
+
table.name,
|
61
|
+
table.column_names.join(', '),
|
62
|
+
table.column_names.join(', '),
|
63
|
+
temporary_table_name,
|
61
64
|
]
|
62
65
|
end
|
63
66
|
|
data/lib/purview/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: purview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan W. Zaleski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|