sql_to_csv_stream 0.2.2 → 0.3.0

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: 8fdabe29231b110d1e59f6ba20706eeb6f2592ee7b7a211abea74a385b3044a5
4
- data.tar.gz: 8ebe1abccc66a4281c95afb6672162d6f8fd6994e1e136ed42b16819022fed6a
3
+ metadata.gz: 48aecd9067be84f3fc888f3ee0ae125ccdc63879df204d99fb1d38336e31b880
4
+ data.tar.gz: 56eecbf1c803ecb356fcc940e1919e422b0cf6f0993257273ad72499a5ff8f07
5
5
  SHA512:
6
- metadata.gz: 0f2be941caea8b743cbdfda04aad9f129acbf5d46f49c4cd11f4fc0578f2c26aa4fad1329825ffd729703151a9d91bf369ec3479736c385d97cabe512d3fc4fd
7
- data.tar.gz: a11b3ae6d077a1674986c9178b26030005b53570586a194929d834a8e0affba416f5e6409d4d768497546610aa5eea1910a278052f5d85f160fa41e71ac60515
6
+ metadata.gz: 2f2173ba6f3cec84372ff0b9c38748fe8734a1b01c4a26d29433fd4637424c6190f0aef9e544794cb71c90bc3b73b7705b8d5fdb96c4d750d723fec2d49ff038
7
+ data.tar.gz: 58d98542892d1c4c648bd0141b568ca65df089025a2051bf04898115ec9580bd5b9abc66d51a2d6c19c1b0e85d9dd6476859f221436318f0618cb62c23c24f2d
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 2.6.1
1
+ ruby 2.6.5
data/CHANGELOG.md CHANGED
@@ -1,14 +1,8 @@
1
1
  # SqlToCsvStream Changelog
2
2
 
3
- ## 0.3.0 / unreleased
3
+ ## 0.3.0 DEPRECATED
4
4
 
5
- ### Features
6
-
7
- -
8
-
9
- ### Bug fixes
10
-
11
- -
5
+ This project was deprecated.
12
6
 
13
7
  ## 0.2.2 / 2020-06-25
14
8
 
data/Gemfile.lock CHANGED
@@ -1,48 +1,48 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sql_to_csv_stream (0.2.1)
4
+ sql_to_csv_stream (0.3.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (5.2.4.3)
10
- actionpack (= 5.2.4.3)
9
+ actioncable (5.2.4.5)
10
+ actionpack (= 5.2.4.5)
11
11
  nio4r (~> 2.0)
12
12
  websocket-driver (>= 0.6.1)
13
- actionmailer (5.2.4.3)
14
- actionpack (= 5.2.4.3)
15
- actionview (= 5.2.4.3)
16
- activejob (= 5.2.4.3)
13
+ actionmailer (5.2.4.5)
14
+ actionpack (= 5.2.4.5)
15
+ actionview (= 5.2.4.5)
16
+ activejob (= 5.2.4.5)
17
17
  mail (~> 2.5, >= 2.5.4)
18
18
  rails-dom-testing (~> 2.0)
19
- actionpack (5.2.4.3)
20
- actionview (= 5.2.4.3)
21
- activesupport (= 5.2.4.3)
19
+ actionpack (5.2.4.5)
20
+ actionview (= 5.2.4.5)
21
+ activesupport (= 5.2.4.5)
22
22
  rack (~> 2.0, >= 2.0.8)
23
23
  rack-test (>= 0.6.3)
24
24
  rails-dom-testing (~> 2.0)
25
25
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
26
- actionview (5.2.4.3)
27
- activesupport (= 5.2.4.3)
26
+ actionview (5.2.4.5)
27
+ activesupport (= 5.2.4.5)
28
28
  builder (~> 3.1)
29
29
  erubi (~> 1.4)
30
30
  rails-dom-testing (~> 2.0)
31
31
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
32
- activejob (5.2.4.3)
33
- activesupport (= 5.2.4.3)
32
+ activejob (5.2.4.5)
33
+ activesupport (= 5.2.4.5)
34
34
  globalid (>= 0.3.6)
35
- activemodel (5.2.4.3)
36
- activesupport (= 5.2.4.3)
37
- activerecord (5.2.4.3)
38
- activemodel (= 5.2.4.3)
39
- activesupport (= 5.2.4.3)
35
+ activemodel (5.2.4.5)
36
+ activesupport (= 5.2.4.5)
37
+ activerecord (5.2.4.5)
38
+ activemodel (= 5.2.4.5)
39
+ activesupport (= 5.2.4.5)
40
40
  arel (>= 9.0)
41
- activestorage (5.2.4.3)
42
- actionpack (= 5.2.4.3)
43
- activerecord (= 5.2.4.3)
41
+ activestorage (5.2.4.5)
42
+ actionpack (= 5.2.4.5)
43
+ activerecord (= 5.2.4.5)
44
44
  marcel (~> 0.3.1)
45
- activesupport (5.2.4.3)
45
+ activesupport (5.2.4.5)
46
46
  concurrent-ruby (~> 1.0, >= 1.0.2)
47
47
  i18n (>= 0.7, < 2)
48
48
  minitest (~> 5.1)
@@ -61,17 +61,17 @@ GEM
61
61
  regexp_parser (~> 1.5)
62
62
  xpath (~> 3.2)
63
63
  coderay (1.1.2)
64
- concurrent-ruby (1.1.6)
64
+ concurrent-ruby (1.1.8)
65
65
  crass (1.0.6)
66
66
  diff-lcs (1.3)
67
- erubi (1.9.0)
67
+ erubi (1.10.0)
68
68
  fivemat (1.3.7)
69
69
  globalid (0.4.2)
70
70
  activesupport (>= 4.2.0)
71
- i18n (1.8.3)
71
+ i18n (1.8.9)
72
72
  concurrent-ruby (~> 1.0)
73
73
  jaro_winkler (1.5.4)
74
- loofah (2.5.0)
74
+ loofah (2.9.0)
75
75
  crass (~> 1.0.2)
76
76
  nokogiri (>= 1.5.9)
77
77
  mail (2.7.1)
@@ -81,11 +81,12 @@ GEM
81
81
  method_source (1.0.0)
82
82
  mimemagic (0.3.5)
83
83
  mini_mime (1.0.2)
84
- mini_portile2 (2.4.0)
85
- minitest (5.14.1)
86
- nio4r (2.5.2)
87
- nokogiri (1.10.9)
88
- mini_portile2 (~> 2.4.0)
84
+ mini_portile2 (2.5.0)
85
+ minitest (5.14.4)
86
+ nio4r (2.5.5)
87
+ nokogiri (1.11.1)
88
+ mini_portile2 (~> 2.5.0)
89
+ racc (~> 1.4)
89
90
  parallel (1.19.1)
90
91
  parser (2.7.0.5)
91
92
  ast (~> 2.4.0)
@@ -98,35 +99,36 @@ GEM
98
99
  public_suffix (4.0.3)
99
100
  puma (4.3.5)
100
101
  nio4r (~> 2.0)
102
+ racc (1.5.2)
101
103
  rack (2.2.3)
102
104
  rack-test (1.1.0)
103
105
  rack (>= 1.0, < 3)
104
- rails (5.2.4.3)
105
- actioncable (= 5.2.4.3)
106
- actionmailer (= 5.2.4.3)
107
- actionpack (= 5.2.4.3)
108
- actionview (= 5.2.4.3)
109
- activejob (= 5.2.4.3)
110
- activemodel (= 5.2.4.3)
111
- activerecord (= 5.2.4.3)
112
- activestorage (= 5.2.4.3)
113
- activesupport (= 5.2.4.3)
106
+ rails (5.2.4.5)
107
+ actioncable (= 5.2.4.5)
108
+ actionmailer (= 5.2.4.5)
109
+ actionpack (= 5.2.4.5)
110
+ actionview (= 5.2.4.5)
111
+ activejob (= 5.2.4.5)
112
+ activemodel (= 5.2.4.5)
113
+ activerecord (= 5.2.4.5)
114
+ activestorage (= 5.2.4.5)
115
+ activesupport (= 5.2.4.5)
114
116
  bundler (>= 1.3.0)
115
- railties (= 5.2.4.3)
117
+ railties (= 5.2.4.5)
116
118
  sprockets-rails (>= 2.0.0)
117
119
  rails-dom-testing (2.0.3)
118
120
  activesupport (>= 4.2.0)
119
121
  nokogiri (>= 1.6)
120
122
  rails-html-sanitizer (1.3.0)
121
123
  loofah (~> 2.3)
122
- railties (5.2.4.3)
123
- actionpack (= 5.2.4.3)
124
- activesupport (= 5.2.4.3)
124
+ railties (5.2.4.5)
125
+ actionpack (= 5.2.4.5)
126
+ activesupport (= 5.2.4.5)
125
127
  method_source
126
128
  rake (>= 0.8.7)
127
129
  thor (>= 0.19.0, < 2.0)
128
130
  rainbow (3.0.0)
129
- rake (13.0.1)
131
+ rake (13.0.3)
130
132
  regexp_parser (1.7.0)
131
133
  rexml (3.2.4)
132
134
  rspec (3.9.0)
@@ -159,16 +161,16 @@ GEM
159
161
  sprockets (4.0.2)
160
162
  concurrent-ruby (~> 1.0)
161
163
  rack (> 1, < 3)
162
- sprockets-rails (3.2.1)
164
+ sprockets-rails (3.2.2)
163
165
  actionpack (>= 4.0)
164
166
  activesupport (>= 4.0)
165
167
  sprockets (>= 3.0.0)
166
- thor (1.0.1)
168
+ thor (1.1.0)
167
169
  thread_safe (0.3.6)
168
- tzinfo (1.2.7)
170
+ tzinfo (1.2.9)
169
171
  thread_safe (~> 0.1)
170
172
  unicode-display_width (1.6.1)
171
- websocket-driver (0.7.2)
173
+ websocket-driver (0.7.3)
172
174
  websocket-extensions (>= 0.1.0)
173
175
  websocket-extensions (0.1.5)
174
176
  xpath (3.2.0)
data/README.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # SqlToCsvStream
2
2
 
3
+ ## DEPRECATION WARNING 💀
4
+
5
+ ⚠️ **Warning This project is no longer maintained.** ⚠️
6
+
7
+ Feel free to fork the gem for your own needs.
8
+
9
+ ## About
10
+
3
11
  This is your favorite gem to produce CSV or JSON directly from SQL queries.
4
12
  It queries a PostgreSQL with a [`COPY`](https://www.postgresql.org/docs/current/sql-copy.html) statement and streams the result as CSV/JSON directly into a ruby enumerator.
5
13
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SqlToCsvStream
4
- VERSION = '0.2.2'
4
+ VERSION = '0.3.0'
5
5
  end
@@ -48,4 +48,19 @@ Gem::Specification.new do |spec|
48
48
  spec.add_development_dependency 'rubocop'
49
49
  spec.add_development_dependency 'rubocop-bitcrowd'
50
50
  spec.add_development_dependency 'rubocop-rails'
51
+
52
+ spec.post_install_message = <<~MSG
53
+ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄
54
+ █ ██ █ █ ▄ █ █ █ █ █ █ █ █
55
+ █ ▄ █ ▄▄▄█ ▄ █ █ █ █ █ ▄▄▄█ █ ▄ █▄ ▄█ ▄▄▄█ ▄ █
56
+ █ █ █ █ █▄▄▄█ █▄█ █ █▄▄█▄█ █▄▄▄█ ▄▄█ █▄█ █ █ █ █ █▄▄▄█ █ █ █
57
+ █ █▄█ █ ▄▄▄█ ▄▄▄█ ▄▄ █ ▄▄▄█ █ █ █ █ █ █ ▄▄▄█ █▄█ █
58
+ █ █ █▄▄▄█ █ █ █ █ █ █▄▄▄█ █▄▄█ ▄ █ █ █ █ █▄▄▄█ █
59
+ █▄▄▄▄▄▄██▄▄▄▄▄▄▄█▄▄▄█ █▄▄▄█ █▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄█ █▄▄█ █▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄▄▄▄█
60
+
61
+ !!! WARNING !!!
62
+
63
+ Unfortunately sql_to_csv_stream is deprecated...
64
+
65
+ MSG
51
66
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sql_to_csv_stream
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philipp Tessenow
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-25 00:00:00.000000000 Z
11
+ date: 2021-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -229,7 +229,19 @@ metadata:
229
229
  homepage_uri: https://github.com/tessi/sql_to_csv_stream
230
230
  source_code_uri: https://github.com/tessi/sql_to_csv_stream
231
231
  changelog_uri: https://github.com/tessi/sql_to_csv_stream/master/CHANGELOG.md
232
- post_install_message:
232
+ post_install_message: |2+
233
+ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄
234
+ █ ██ █ █ ▄ █ █ █ █ █ █ █ █
235
+ █ ▄ █ ▄▄▄█ ▄ █ █ █ █ █ ▄▄▄█ █ ▄ █▄ ▄█ ▄▄▄█ ▄ █
236
+ █ █ █ █ █▄▄▄█ █▄█ █ █▄▄█▄█ █▄▄▄█ ▄▄█ █▄█ █ █ █ █ █▄▄▄█ █ █ █
237
+ █ █▄█ █ ▄▄▄█ ▄▄▄█ ▄▄ █ ▄▄▄█ █ █ █ █ █ █ ▄▄▄█ █▄█ █
238
+ █ █ █▄▄▄█ █ █ █ █ █ █▄▄▄█ █▄▄█ ▄ █ █ █ █ █▄▄▄█ █
239
+ █▄▄▄▄▄▄██▄▄▄▄▄▄▄█▄▄▄█ █▄▄▄█ █▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄█ █▄▄█ █▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄▄▄▄█
240
+
241
+ !!! WARNING !!!
242
+
243
+ Unfortunately sql_to_csv_stream is deprecated...
244
+
233
245
  rdoc_options: []
234
246
  require_paths:
235
247
  - lib
@@ -244,9 +256,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
244
256
  - !ruby/object:Gem::Version
245
257
  version: '0'
246
258
  requirements: []
247
- rubygems_version: 3.1.3
259
+ rubygems_version: 3.0.3
248
260
  signing_key:
249
261
  specification_version: 4
250
262
  summary: A shortcut to the COPY command from PostgreSQL. Give it SQL and get an Enumerator
251
263
  for the CSV that comes out of it.
252
264
  test_files: []
265
+ ...