csv2psql 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gemspec +11 -11
- data/lib/csv2psql/cli/shared.rb +3 -1
- data/lib/csv2psql/version.rb +1 -2
- metadata +49 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18591293889ef7109ae2bb0fa587ce87e85ea334
|
4
|
+
data.tar.gz: d34f8d623012e56f62af73f394975b2e8938c82c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b649b2969b116054245eb4284e6d5a4a9290be40b7b19d7d2aa602d5badb89939ddcdbb25bba5e073b9ba635bee9e048960e4ec23ad6d766b2dbf11d3ea8a718
|
7
|
+
data.tar.gz: 5bdd371ba418aed540bea5b2578cd331770429853f54805e5c4a56bd75f448a585643fa52d61e7f071ff617f1e3e4b00291e250019fd97b4434868d54d0b92d5
|
data/.gemspec
CHANGED
@@ -23,18 +23,18 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.files = `git ls-files`.split("\n")
|
24
24
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
25
25
|
|
26
|
-
s.add_dependency 'gli', '~> 2.
|
27
|
-
s.add_dependency 'json_pure', '~> 1.8.
|
26
|
+
s.add_dependency 'gli', '~> 2.13', '>= 2.13.2'
|
27
|
+
s.add_dependency 'json_pure', '~> 1.8', '>= 1.8.3'
|
28
28
|
s.add_dependency 'lru', '~> 0.1', '>= 0.1.0'
|
29
|
-
s.add_dependency 'multi_json', '~> 1.
|
30
|
-
s.add_dependency 'rake', '~> 10.
|
31
|
-
s.add_dependency 'terminal-table', '~> 1.
|
29
|
+
s.add_dependency 'multi_json', '~> 1.11', '>= 1.11.2'
|
30
|
+
s.add_dependency 'rake', '~> 10.4', '>= 10.4.2'
|
31
|
+
s.add_dependency 'terminal-table', '~> 1.5', '>= 1.5.2'
|
32
32
|
|
33
|
-
s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4', '>= 0.4.
|
34
|
-
s.add_development_dependency 'coveralls', '~> 0.
|
33
|
+
s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4', '>= 0.4.8'
|
34
|
+
s.add_development_dependency 'coveralls', '~> 0.8', '>= 0.8.3'
|
35
35
|
s.add_development_dependency "redcarpet", "~> 3.1.1" if RUBY_PLATFORM != 'java'
|
36
|
-
s.add_development_dependency 'rspec', '~> 3.
|
37
|
-
s.add_development_dependency 'rubocop', '~> 0.
|
38
|
-
s.add_development_dependency 'simplecov', '~> 0.
|
39
|
-
s.add_development_dependency 'yard', '~> 0.8.7.
|
36
|
+
s.add_development_dependency 'rspec', '~> 3.3', '>= 3.3.0'
|
37
|
+
s.add_development_dependency 'rubocop', '~> 0.34', '>= 0.34.2'
|
38
|
+
s.add_development_dependency 'simplecov', '~> 0.10', '>= 0.10.0'
|
39
|
+
s.add_development_dependency 'yard', '~> 0.8.7.6'
|
40
40
|
end
|
data/lib/csv2psql/cli/shared.rb
CHANGED
@@ -7,7 +7,9 @@ require_relative '../processor/processor'
|
|
7
7
|
|
8
8
|
include GLI::App
|
9
9
|
|
10
|
-
|
10
|
+
version Csv2Psql::VERSION
|
11
|
+
|
12
|
+
program_desc 'Tool for converting CSV files to PSQL statements'
|
11
13
|
|
12
14
|
cmds = {
|
13
15
|
h: {
|
data/lib/csv2psql/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: csv2psql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Korcak
|
@@ -16,34 +16,40 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.13'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 2.
|
22
|
+
version: 2.13.2
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '2.
|
29
|
+
version: '2.13'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 2.
|
32
|
+
version: 2.13.2
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: json_pure
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 1.8
|
39
|
+
version: '1.8'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 1.8.3
|
40
43
|
type: :runtime
|
41
44
|
prerelease: false
|
42
45
|
version_requirements: !ruby/object:Gem::Requirement
|
43
46
|
requirements:
|
44
47
|
- - "~>"
|
45
48
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.8
|
49
|
+
version: '1.8'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 1.8.3
|
47
53
|
- !ruby/object:Gem::Dependency
|
48
54
|
name: lru
|
49
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,54 +76,60 @@ dependencies:
|
|
70
76
|
requirements:
|
71
77
|
- - "~>"
|
72
78
|
- !ruby/object:Gem::Version
|
73
|
-
version: 1.
|
79
|
+
version: '1.11'
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.11.2
|
74
83
|
type: :runtime
|
75
84
|
prerelease: false
|
76
85
|
version_requirements: !ruby/object:Gem::Requirement
|
77
86
|
requirements:
|
78
87
|
- - "~>"
|
79
88
|
- !ruby/object:Gem::Version
|
80
|
-
version: 1.
|
89
|
+
version: '1.11'
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 1.11.2
|
81
93
|
- !ruby/object:Gem::Dependency
|
82
94
|
name: rake
|
83
95
|
requirement: !ruby/object:Gem::Requirement
|
84
96
|
requirements:
|
85
97
|
- - "~>"
|
86
98
|
- !ruby/object:Gem::Version
|
87
|
-
version: '10.
|
99
|
+
version: '10.4'
|
88
100
|
- - ">="
|
89
101
|
- !ruby/object:Gem::Version
|
90
|
-
version: 10.
|
102
|
+
version: 10.4.2
|
91
103
|
type: :runtime
|
92
104
|
prerelease: false
|
93
105
|
version_requirements: !ruby/object:Gem::Requirement
|
94
106
|
requirements:
|
95
107
|
- - "~>"
|
96
108
|
- !ruby/object:Gem::Version
|
97
|
-
version: '10.
|
109
|
+
version: '10.4'
|
98
110
|
- - ">="
|
99
111
|
- !ruby/object:Gem::Version
|
100
|
-
version: 10.
|
112
|
+
version: 10.4.2
|
101
113
|
- !ruby/object:Gem::Dependency
|
102
114
|
name: terminal-table
|
103
115
|
requirement: !ruby/object:Gem::Requirement
|
104
116
|
requirements:
|
105
117
|
- - "~>"
|
106
118
|
- !ruby/object:Gem::Version
|
107
|
-
version: '1.
|
119
|
+
version: '1.5'
|
108
120
|
- - ">="
|
109
121
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
122
|
+
version: 1.5.2
|
111
123
|
type: :runtime
|
112
124
|
prerelease: false
|
113
125
|
version_requirements: !ruby/object:Gem::Requirement
|
114
126
|
requirements:
|
115
127
|
- - "~>"
|
116
128
|
- !ruby/object:Gem::Version
|
117
|
-
version: '1.
|
129
|
+
version: '1.5'
|
118
130
|
- - ">="
|
119
131
|
- !ruby/object:Gem::Version
|
120
|
-
version: 1.
|
132
|
+
version: 1.5.2
|
121
133
|
- !ruby/object:Gem::Dependency
|
122
134
|
name: codeclimate-test-reporter
|
123
135
|
requirement: !ruby/object:Gem::Requirement
|
@@ -127,7 +139,7 @@ dependencies:
|
|
127
139
|
version: '0.4'
|
128
140
|
- - ">="
|
129
141
|
- !ruby/object:Gem::Version
|
130
|
-
version: 0.4.
|
142
|
+
version: 0.4.8
|
131
143
|
type: :development
|
132
144
|
prerelease: false
|
133
145
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -137,27 +149,27 @@ dependencies:
|
|
137
149
|
version: '0.4'
|
138
150
|
- - ">="
|
139
151
|
- !ruby/object:Gem::Version
|
140
|
-
version: 0.4.
|
152
|
+
version: 0.4.8
|
141
153
|
- !ruby/object:Gem::Dependency
|
142
154
|
name: coveralls
|
143
155
|
requirement: !ruby/object:Gem::Requirement
|
144
156
|
requirements:
|
145
157
|
- - "~>"
|
146
158
|
- !ruby/object:Gem::Version
|
147
|
-
version: '0.
|
159
|
+
version: '0.8'
|
148
160
|
- - ">="
|
149
161
|
- !ruby/object:Gem::Version
|
150
|
-
version: 0.
|
162
|
+
version: 0.8.3
|
151
163
|
type: :development
|
152
164
|
prerelease: false
|
153
165
|
version_requirements: !ruby/object:Gem::Requirement
|
154
166
|
requirements:
|
155
167
|
- - "~>"
|
156
168
|
- !ruby/object:Gem::Version
|
157
|
-
version: '0.
|
169
|
+
version: '0.8'
|
158
170
|
- - ">="
|
159
171
|
- !ruby/object:Gem::Version
|
160
|
-
version: 0.
|
172
|
+
version: 0.8.3
|
161
173
|
- !ruby/object:Gem::Dependency
|
162
174
|
name: redcarpet
|
163
175
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,74 +190,74 @@ dependencies:
|
|
178
190
|
requirements:
|
179
191
|
- - "~>"
|
180
192
|
- !ruby/object:Gem::Version
|
181
|
-
version: '3.
|
193
|
+
version: '3.3'
|
182
194
|
- - ">="
|
183
195
|
- !ruby/object:Gem::Version
|
184
|
-
version: 3.
|
196
|
+
version: 3.3.0
|
185
197
|
type: :development
|
186
198
|
prerelease: false
|
187
199
|
version_requirements: !ruby/object:Gem::Requirement
|
188
200
|
requirements:
|
189
201
|
- - "~>"
|
190
202
|
- !ruby/object:Gem::Version
|
191
|
-
version: '3.
|
203
|
+
version: '3.3'
|
192
204
|
- - ">="
|
193
205
|
- !ruby/object:Gem::Version
|
194
|
-
version: 3.
|
206
|
+
version: 3.3.0
|
195
207
|
- !ruby/object:Gem::Dependency
|
196
208
|
name: rubocop
|
197
209
|
requirement: !ruby/object:Gem::Requirement
|
198
210
|
requirements:
|
199
211
|
- - "~>"
|
200
212
|
- !ruby/object:Gem::Version
|
201
|
-
version: '0.
|
213
|
+
version: '0.34'
|
202
214
|
- - ">="
|
203
215
|
- !ruby/object:Gem::Version
|
204
|
-
version: 0.
|
216
|
+
version: 0.34.2
|
205
217
|
type: :development
|
206
218
|
prerelease: false
|
207
219
|
version_requirements: !ruby/object:Gem::Requirement
|
208
220
|
requirements:
|
209
221
|
- - "~>"
|
210
222
|
- !ruby/object:Gem::Version
|
211
|
-
version: '0.
|
223
|
+
version: '0.34'
|
212
224
|
- - ">="
|
213
225
|
- !ruby/object:Gem::Version
|
214
|
-
version: 0.
|
226
|
+
version: 0.34.2
|
215
227
|
- !ruby/object:Gem::Dependency
|
216
228
|
name: simplecov
|
217
229
|
requirement: !ruby/object:Gem::Requirement
|
218
230
|
requirements:
|
219
231
|
- - "~>"
|
220
232
|
- !ruby/object:Gem::Version
|
221
|
-
version: '0.
|
233
|
+
version: '0.10'
|
222
234
|
- - ">="
|
223
235
|
- !ruby/object:Gem::Version
|
224
|
-
version: 0.
|
236
|
+
version: 0.10.0
|
225
237
|
type: :development
|
226
238
|
prerelease: false
|
227
239
|
version_requirements: !ruby/object:Gem::Requirement
|
228
240
|
requirements:
|
229
241
|
- - "~>"
|
230
242
|
- !ruby/object:Gem::Version
|
231
|
-
version: '0.
|
243
|
+
version: '0.10'
|
232
244
|
- - ">="
|
233
245
|
- !ruby/object:Gem::Version
|
234
|
-
version: 0.
|
246
|
+
version: 0.10.0
|
235
247
|
- !ruby/object:Gem::Dependency
|
236
248
|
name: yard
|
237
249
|
requirement: !ruby/object:Gem::Requirement
|
238
250
|
requirements:
|
239
251
|
- - "~>"
|
240
252
|
- !ruby/object:Gem::Version
|
241
|
-
version: 0.8.7.
|
253
|
+
version: 0.8.7.6
|
242
254
|
type: :development
|
243
255
|
prerelease: false
|
244
256
|
version_requirements: !ruby/object:Gem::Requirement
|
245
257
|
requirements:
|
246
258
|
- - "~>"
|
247
259
|
- !ruby/object:Gem::Version
|
248
|
-
version: 0.8.7.
|
260
|
+
version: 0.8.7.6
|
249
261
|
description: CSV to SQL conversion tool with user friendly CLI
|
250
262
|
email: korczis@gmail.com
|
251
263
|
executables:
|