baza 0.0.38 → 0.0.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -14
- data/lib/baza/database.rb +1 -1
- data/lib/baza/db.rb +5 -4
- data/lib/baza/driver/active_record/columns.rb +2 -2
- data/lib/baza/driver/active_record/commands.rb +2 -2
- data/lib/baza/driver/active_record/databases.rb +2 -2
- data/lib/baza/driver/active_record/foreign_keys.rb +13 -0
- data/lib/baza/driver/active_record/indexes.rb +2 -2
- data/lib/baza/driver/active_record/tables.rb +3 -3
- data/lib/baza/driver/active_record/users.rb +2 -2
- data/lib/baza/driver/active_record.rb +3 -1
- data/lib/baza/driver/mysql/columns.rb +1 -1
- data/lib/baza/driver/mysql/database.rb +11 -38
- data/lib/baza/driver/mysql/foreign_key.rb +2 -0
- data/lib/baza/driver/mysql/foreign_keys.rb +13 -0
- data/lib/baza/driver/mysql/sql/column.rb +3 -2
- data/lib/baza/driver/mysql/sql/create_table.rb +11 -0
- data/lib/baza/driver/mysql/table.rb +43 -4
- data/lib/baza/driver/mysql/tables.rb +22 -9
- data/lib/baza/driver/mysql2/foreign_keys.rb +2 -0
- data/lib/baza/driver/mysql2.rb +6 -5
- data/lib/baza/driver/mysql_java.rb +2 -2
- data/lib/baza/driver/pg/columns.rb +1 -1
- data/lib/baza/driver/pg/create_index_sql_creator.rb +2 -5
- data/lib/baza/driver/pg/database.rb +2 -2
- data/lib/baza/driver/pg/foreign_key.rb +2 -0
- data/lib/baza/driver/pg/foreign_keys.rb +13 -0
- data/lib/baza/driver/pg/result.rb +5 -1
- data/lib/baza/driver/pg/table.rb +43 -0
- data/lib/baza/driver/pg/tables.rb +20 -13
- data/lib/baza/driver/sqlite3/columns.rb +1 -1
- data/lib/baza/driver/sqlite3/foreign_key.rb +14 -0
- data/lib/baza/driver/sqlite3/foreign_keys.rb +11 -0
- data/lib/baza/driver/sqlite3/table.rb +41 -6
- data/lib/baza/driver/sqlite3/tables.rb +15 -14
- data/lib/baza/driver/sqlite3.rb +1 -1
- data/lib/baza/driver/sqlite3_java.rb +1 -1
- data/lib/baza/driver/sqlite3_rhodes.rb +1 -1
- data/lib/baza/dump.rb +3 -2
- data/lib/baza/foreign_key.rb +1 -1
- data/lib/baza/jdbc_driver.rb +1 -1
- data/lib/baza/mysql_base_driver.rb +1 -1
- data/lib/baza/query_buffer.rb +36 -6
- data/lib/baza/result_base.rb +2 -5
- data/lib/baza/tables.rb +1 -1
- metadata +26 -269
- data/.document +0 -5
- data/.github/dependabot.yml +0 -13
- data/.rspec +0 -1
- data/.rubocop.yml +0 -84
- data/.rubocop_todo.yml +0 -39
- data/.ruby-version +0 -1
- data/Gemfile +0 -32
- data/Gemfile.lock +0 -164
- data/VERSION +0 -1
- data/baza.gemspec +0 -264
- data/config/best_project_practice_rubocop.yml +0 -10
- data/config/best_project_practice_rubocop_todo.yml +0 -163
- data/peak_flow.yml +0 -31
- data/spec/active_record/models/user.rb +0 -3
- data/spec/baza/cloner_spec.rb +0 -10
- data/spec/baza/sql_queries/generic_insert_spec.rb +0 -26
- data/spec/baza/sql_queries/select_spec.rb +0 -38
- data/spec/drivers/active_record_mysql2_spec.rb +0 -22
- data/spec/drivers/active_record_mysql_spec.rb +0 -19
- data/spec/drivers/active_record_pg_spec.rb +0 -22
- data/spec/drivers/active_record_sqlite3_spec.rb +0 -18
- data/spec/drivers/mysql2_spec.rb +0 -19
- data/spec/drivers/mysql_spec.rb +0 -58
- data/spec/drivers/pg/columns_spec.rb +0 -45
- data/spec/drivers/pg/table_spec.rb +0 -20
- data/spec/drivers/pg_spec.rb +0 -20
- data/spec/drivers/sqlite3_spec.rb +0 -67
- data/spec/drivers/tiny_spec.rb +0 -27
- data/spec/info_active_record_example.rb +0 -35
- data/spec/info_active_record_mysql2_example.rb +0 -36
- data/spec/info_active_record_mysql2_peak_flow.rb +0 -36
- data/spec/info_active_record_mysql_example.rb +0 -37
- data/spec/info_active_record_mysql_peak_flow.rb +0 -37
- data/spec/info_active_record_pg_example.rb +0 -36
- data/spec/info_active_record_pg_peak_flow.rb +0 -36
- data/spec/info_active_record_sqlite3.rb +0 -29
- data/spec/info_mysql2_example.rb +0 -21
- data/spec/info_mysql2_peak_flow.rb +0 -21
- data/spec/info_mysql_example.rb +0 -21
- data/spec/info_mysql_peak_flow.rb +0 -21
- data/spec/info_pg_example.rb +0 -22
- data/spec/info_pg_peak_flow.rb +0 -22
- data/spec/info_sqlite3.rb +0 -19
- data/spec/spec_helper.rb +0 -18
- data/spec/support/driver_active_record_collection.rb +0 -62
- data/spec/support/driver_collection.rb +0 -396
- data/spec/support/driver_columns_collection.rb +0 -64
- data/spec/support/driver_databases_collection.rb +0 -48
- data/spec/support/driver_foreign_keys_collection.rb +0 -54
- data/spec/support/driver_importer_collection.rb +0 -38
- data/spec/support/driver_indexes_collection.rb +0 -66
- data/spec/support/driver_tables_collection.rb +0 -116
- data/spec/support/driver_users_collection.rb +0 -53
metadata
CHANGED
@@ -1,332 +1,124 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: baza
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.39
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Kasper
|
7
|
+
- Kasper Stöckel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: array_enumerator
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.0.10
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.0.10
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: auto_autoloader
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.0.5
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.0.5
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: datet
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 0.0.25
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.0.25
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: event_handler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.0.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.0.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simple_delegate
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 0.0.2
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 0.0.2
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: string-cases
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 0.0.4
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 0.0.4
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: wref
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 0.0.8
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 0.0.8
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: activerecord
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: activerecord-jdbc-adapter
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: best_practice_project
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - '='
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: 0.0.9
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - '='
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: 0.0.9
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: bundler
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: jdbc-mysql
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - ">="
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - ">="
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: jdbc-sqlite3
|
183
99
|
requirement: !ruby/object:Gem::Requirement
|
184
100
|
requirements:
|
185
101
|
- - ">="
|
186
102
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
188
|
-
type: :
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - ">="
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '0'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: jeweler
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - '='
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: 2.3.9
|
202
|
-
type: :development
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - '='
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: 2.3.9
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
|
-
name: mysql2
|
211
|
-
requirement: !ruby/object:Gem::Requirement
|
212
|
-
requirements:
|
213
|
-
- - '='
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
version: 0.4.10
|
216
|
-
type: :development
|
217
|
-
prerelease: false
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - '='
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: 0.4.10
|
223
|
-
- !ruby/object:Gem::Dependency
|
224
|
-
name: pg
|
225
|
-
requirement: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - '='
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: 0.21.0
|
230
|
-
type: :development
|
231
|
-
prerelease: false
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - '='
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: 0.21.0
|
237
|
-
- !ruby/object:Gem::Dependency
|
238
|
-
name: pry
|
239
|
-
requirement: !ruby/object:Gem::Requirement
|
240
|
-
requirements:
|
241
|
-
- - ">="
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
version: '0'
|
244
|
-
type: :development
|
245
|
-
prerelease: false
|
246
|
-
version_requirements: !ruby/object:Gem::Requirement
|
247
|
-
requirements:
|
248
|
-
- - ">="
|
249
|
-
- !ruby/object:Gem::Version
|
250
|
-
version: '0'
|
251
|
-
- !ruby/object:Gem::Dependency
|
252
|
-
name: rdoc
|
253
|
-
requirement: !ruby/object:Gem::Requirement
|
254
|
-
requirements:
|
255
|
-
- - ">="
|
256
|
-
- !ruby/object:Gem::Version
|
257
|
-
version: '0'
|
258
|
-
type: :development
|
103
|
+
version: 0.0.11
|
104
|
+
type: :runtime
|
259
105
|
prerelease: false
|
260
106
|
version_requirements: !ruby/object:Gem::Requirement
|
261
107
|
requirements:
|
262
108
|
- - ">="
|
263
109
|
- !ruby/object:Gem::Version
|
264
|
-
version:
|
265
|
-
- !ruby/object:Gem::Dependency
|
266
|
-
name: rspec
|
267
|
-
requirement: !ruby/object:Gem::Requirement
|
268
|
-
requirements:
|
269
|
-
- - '='
|
270
|
-
- !ruby/object:Gem::Version
|
271
|
-
version: 3.4.0
|
272
|
-
type: :development
|
273
|
-
prerelease: false
|
274
|
-
version_requirements: !ruby/object:Gem::Requirement
|
275
|
-
requirements:
|
276
|
-
- - '='
|
277
|
-
- !ruby/object:Gem::Version
|
278
|
-
version: 3.4.0
|
279
|
-
- !ruby/object:Gem::Dependency
|
280
|
-
name: rubocop
|
281
|
-
requirement: !ruby/object:Gem::Requirement
|
282
|
-
requirements:
|
283
|
-
- - '='
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: 0.39.0
|
286
|
-
type: :development
|
287
|
-
prerelease: false
|
288
|
-
version_requirements: !ruby/object:Gem::Requirement
|
289
|
-
requirements:
|
290
|
-
- - '='
|
291
|
-
- !ruby/object:Gem::Version
|
292
|
-
version: 0.39.0
|
293
|
-
- !ruby/object:Gem::Dependency
|
294
|
-
name: sqlite3
|
295
|
-
requirement: !ruby/object:Gem::Requirement
|
296
|
-
requirements:
|
297
|
-
- - "<"
|
298
|
-
- !ruby/object:Gem::Version
|
299
|
-
version: '1.5'
|
300
|
-
type: :development
|
301
|
-
prerelease: false
|
302
|
-
version_requirements: !ruby/object:Gem::Requirement
|
303
|
-
requirements:
|
304
|
-
- - "<"
|
305
|
-
- !ruby/object:Gem::Version
|
306
|
-
version: '1.5'
|
110
|
+
version: 0.0.11
|
307
111
|
description: A database abstraction layer, model framework and database framework.
|
308
|
-
email:
|
112
|
+
email: kasper@diestoeckels.de
|
309
113
|
executables: []
|
310
114
|
extensions: []
|
311
115
|
extra_rdoc_files:
|
312
116
|
- LICENSE.txt
|
313
117
|
- README.md
|
314
118
|
files:
|
315
|
-
- ".document"
|
316
|
-
- ".github/dependabot.yml"
|
317
|
-
- ".rspec"
|
318
|
-
- ".rubocop.yml"
|
319
|
-
- ".rubocop_todo.yml"
|
320
|
-
- ".ruby-version"
|
321
|
-
- Gemfile
|
322
|
-
- Gemfile.lock
|
323
119
|
- LICENSE.txt
|
324
120
|
- README.md
|
325
121
|
- Rakefile
|
326
|
-
- VERSION
|
327
|
-
- baza.gemspec
|
328
|
-
- config/best_project_practice_rubocop.yml
|
329
|
-
- config/best_project_practice_rubocop_todo.yml
|
330
122
|
- lib/baza.rb
|
331
123
|
- lib/baza/base_sql_driver.rb
|
332
124
|
- lib/baza/cloner.rb
|
@@ -345,6 +137,7 @@ files:
|
|
345
137
|
- lib/baza/driver/active_record/columns.rb
|
346
138
|
- lib/baza/driver/active_record/commands.rb
|
347
139
|
- lib/baza/driver/active_record/databases.rb
|
140
|
+
- lib/baza/driver/active_record/foreign_keys.rb
|
348
141
|
- lib/baza/driver/active_record/indexes.rb
|
349
142
|
- lib/baza/driver/active_record/result.rb
|
350
143
|
- lib/baza/driver/active_record/tables.rb
|
@@ -356,6 +149,7 @@ files:
|
|
356
149
|
- lib/baza/driver/mysql/database.rb
|
357
150
|
- lib/baza/driver/mysql/databases.rb
|
358
151
|
- lib/baza/driver/mysql/foreign_key.rb
|
152
|
+
- lib/baza/driver/mysql/foreign_keys.rb
|
359
153
|
- lib/baza/driver/mysql/index.rb
|
360
154
|
- lib/baza/driver/mysql/indexes.rb
|
361
155
|
- lib/baza/driver/mysql/result.rb
|
@@ -375,6 +169,7 @@ files:
|
|
375
169
|
- lib/baza/driver/mysql2/commands.rb
|
376
170
|
- lib/baza/driver/mysql2/database.rb
|
377
171
|
- lib/baza/driver/mysql2/databases.rb
|
172
|
+
- lib/baza/driver/mysql2/foreign_keys.rb
|
378
173
|
- lib/baza/driver/mysql2/index.rb
|
379
174
|
- lib/baza/driver/mysql2/indexes.rb
|
380
175
|
- lib/baza/driver/mysql2/result.rb
|
@@ -402,6 +197,7 @@ files:
|
|
402
197
|
- lib/baza/driver/pg/database.rb
|
403
198
|
- lib/baza/driver/pg/databases.rb
|
404
199
|
- lib/baza/driver/pg/foreign_key.rb
|
200
|
+
- lib/baza/driver/pg/foreign_keys.rb
|
405
201
|
- lib/baza/driver/pg/index.rb
|
406
202
|
- lib/baza/driver/pg/indexes.rb
|
407
203
|
- lib/baza/driver/pg/result.rb
|
@@ -413,6 +209,8 @@ files:
|
|
413
209
|
- lib/baza/driver/sqlite3/commands.rb
|
414
210
|
- lib/baza/driver/sqlite3/database.rb
|
415
211
|
- lib/baza/driver/sqlite3/databases.rb
|
212
|
+
- lib/baza/driver/sqlite3/foreign_key.rb
|
213
|
+
- lib/baza/driver/sqlite3/foreign_keys.rb
|
416
214
|
- lib/baza/driver/sqlite3/index.rb
|
417
215
|
- lib/baza/driver/sqlite3/indexes.rb
|
418
216
|
- lib/baza/driver/sqlite3/result.rb
|
@@ -457,47 +255,6 @@ files:
|
|
457
255
|
- lib/baza/sqlspecs.rb
|
458
256
|
- lib/baza/table.rb
|
459
257
|
- lib/baza/tables.rb
|
460
|
-
- peak_flow.yml
|
461
|
-
- spec/active_record/models/user.rb
|
462
|
-
- spec/baza/cloner_spec.rb
|
463
|
-
- spec/baza/sql_queries/generic_insert_spec.rb
|
464
|
-
- spec/baza/sql_queries/select_spec.rb
|
465
|
-
- spec/drivers/active_record_mysql2_spec.rb
|
466
|
-
- spec/drivers/active_record_mysql_spec.rb
|
467
|
-
- spec/drivers/active_record_pg_spec.rb
|
468
|
-
- spec/drivers/active_record_sqlite3_spec.rb
|
469
|
-
- spec/drivers/mysql2_spec.rb
|
470
|
-
- spec/drivers/mysql_spec.rb
|
471
|
-
- spec/drivers/pg/columns_spec.rb
|
472
|
-
- spec/drivers/pg/table_spec.rb
|
473
|
-
- spec/drivers/pg_spec.rb
|
474
|
-
- spec/drivers/sqlite3_spec.rb
|
475
|
-
- spec/drivers/tiny_spec.rb
|
476
|
-
- spec/info_active_record_example.rb
|
477
|
-
- spec/info_active_record_mysql2_example.rb
|
478
|
-
- spec/info_active_record_mysql2_peak_flow.rb
|
479
|
-
- spec/info_active_record_mysql_example.rb
|
480
|
-
- spec/info_active_record_mysql_peak_flow.rb
|
481
|
-
- spec/info_active_record_pg_example.rb
|
482
|
-
- spec/info_active_record_pg_peak_flow.rb
|
483
|
-
- spec/info_active_record_sqlite3.rb
|
484
|
-
- spec/info_mysql2_example.rb
|
485
|
-
- spec/info_mysql2_peak_flow.rb
|
486
|
-
- spec/info_mysql_example.rb
|
487
|
-
- spec/info_mysql_peak_flow.rb
|
488
|
-
- spec/info_pg_example.rb
|
489
|
-
- spec/info_pg_peak_flow.rb
|
490
|
-
- spec/info_sqlite3.rb
|
491
|
-
- spec/spec_helper.rb
|
492
|
-
- spec/support/driver_active_record_collection.rb
|
493
|
-
- spec/support/driver_collection.rb
|
494
|
-
- spec/support/driver_columns_collection.rb
|
495
|
-
- spec/support/driver_databases_collection.rb
|
496
|
-
- spec/support/driver_foreign_keys_collection.rb
|
497
|
-
- spec/support/driver_importer_collection.rb
|
498
|
-
- spec/support/driver_indexes_collection.rb
|
499
|
-
- spec/support/driver_tables_collection.rb
|
500
|
-
- spec/support/driver_users_collection.rb
|
501
258
|
homepage: http://github.com/kaspernj/baza
|
502
259
|
licenses:
|
503
260
|
- MIT
|
@@ -517,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
517
274
|
- !ruby/object:Gem::Version
|
518
275
|
version: '0'
|
519
276
|
requirements: []
|
520
|
-
rubygems_version: 3.
|
277
|
+
rubygems_version: 3.4.10
|
521
278
|
signing_key:
|
522
279
|
specification_version: 4
|
523
280
|
summary: A database abstraction layer, model framework and database framework.
|
data/.document
DELETED
data/.github/dependabot.yml
DELETED
data/.rspec
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--color
|
data/.rubocop.yml
DELETED
@@ -1,84 +0,0 @@
|
|
1
|
-
inherit_from: .rubocop_todo.yml
|
2
|
-
|
3
|
-
AllCops:
|
4
|
-
DisplayCopNames: true
|
5
|
-
DisplayStyleGuide: true
|
6
|
-
Exclude:
|
7
|
-
- baza.gemspec
|
8
|
-
|
9
|
-
# https://github.com/AtomLinter/linter-rubocop/issues/2
|
10
|
-
Style/FileName:
|
11
|
-
Enabled: false
|
12
|
-
|
13
|
-
# Metrics/CyclomaticComplexity:
|
14
|
-
# Max: 10
|
15
|
-
|
16
|
-
# Metrics/LineLength:
|
17
|
-
# Max: 160
|
18
|
-
|
19
|
-
# Metrics/MethodLength:
|
20
|
-
# Max: 50
|
21
|
-
|
22
|
-
# Metrics/AbcSize:
|
23
|
-
# Max: 25
|
24
|
-
|
25
|
-
# Metrics/ClassLength:
|
26
|
-
# Max: 250
|
27
|
-
|
28
|
-
# .find_each is not the same as .each
|
29
|
-
Rails/FindEach:
|
30
|
-
Enabled: false
|
31
|
-
|
32
|
-
Style/AccessModifierIndentation:
|
33
|
-
EnforcedStyle: outdent
|
34
|
-
|
35
|
-
Style/AlignParameters:
|
36
|
-
EnforcedStyle: with_fixed_indentation
|
37
|
-
|
38
|
-
Style/ClassAndModuleChildren:
|
39
|
-
EnforcedStyle: compact
|
40
|
-
|
41
|
-
Style/ConditionalAssignment:
|
42
|
-
Enabled: false
|
43
|
-
|
44
|
-
Style/Documentation:
|
45
|
-
Enabled: false
|
46
|
-
|
47
|
-
Style/EmptyLines:
|
48
|
-
Enabled: false
|
49
|
-
|
50
|
-
# Will report offences for many places that are much more readable without using a guard clause
|
51
|
-
Style/GuardClause:
|
52
|
-
Enabled: false
|
53
|
-
|
54
|
-
Style/MultilineMethodCallIndentation:
|
55
|
-
EnforcedStyle: indented
|
56
|
-
|
57
|
-
Style/MultilineOperationIndentation:
|
58
|
-
EnforcedStyle: indented
|
59
|
-
|
60
|
-
Style/StringLiterals:
|
61
|
-
EnforcedStyle: double_quotes
|
62
|
-
|
63
|
-
Style/StringLiteralsInInterpolation:
|
64
|
-
Enabled: false
|
65
|
-
|
66
|
-
Style/NilComparison:
|
67
|
-
Enabled: false
|
68
|
-
|
69
|
-
Style/SignalException:
|
70
|
-
EnforcedStyle: only_raise
|
71
|
-
|
72
|
-
Style/MultilineOperationIndentation:
|
73
|
-
EnforcedStyle: indented
|
74
|
-
|
75
|
-
Style/SpaceInsideHashLiteralBraces:
|
76
|
-
EnforcedStyle: no_space
|
77
|
-
|
78
|
-
Style/TrivialAccessors:
|
79
|
-
ExactNameMatch: true
|
80
|
-
Enabled: true
|
81
|
-
|
82
|
-
# Disabled on purpose: https://github.com/bbatsov/rubocop/issues/1758
|
83
|
-
Style/ClosingParenthesisIndentation:
|
84
|
-
Enabled: false
|
data/.rubocop_todo.yml
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2018-03-28 08:43:21 +0000 using RuboCop version 0.39.0.
|
4
|
-
# The point is for the user to remove these configuration records
|
5
|
-
# one by one as the offenses are removed from the code base.
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
8
|
-
|
9
|
-
# Offense count: 79
|
10
|
-
Metrics/AbcSize:
|
11
|
-
Max: 81
|
12
|
-
|
13
|
-
# Offense count: 1
|
14
|
-
Metrics/BlockNesting:
|
15
|
-
Max: 4
|
16
|
-
|
17
|
-
# Offense count: 17
|
18
|
-
# Configuration parameters: CountComments.
|
19
|
-
Metrics/ClassLength:
|
20
|
-
Max: 313
|
21
|
-
|
22
|
-
# Offense count: 52
|
23
|
-
Metrics/CyclomaticComplexity:
|
24
|
-
Max: 25
|
25
|
-
|
26
|
-
# Offense count: 288
|
27
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
|
28
|
-
# URISchemes: http, https
|
29
|
-
Metrics/LineLength:
|
30
|
-
Max: 254
|
31
|
-
|
32
|
-
# Offense count: 125
|
33
|
-
# Configuration parameters: CountComments.
|
34
|
-
Metrics/MethodLength:
|
35
|
-
Max: 60
|
36
|
-
|
37
|
-
# Offense count: 51
|
38
|
-
Metrics/PerceivedComplexity:
|
39
|
-
Max: 26
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.7.4
|
data/Gemfile
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
source "http://rubygems.org"
|
2
|
-
# Add dependencies required to use your gem here.
|
3
|
-
# Example:
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
5
|
-
|
6
|
-
gem "array_enumerator", "~> 0.0.10"
|
7
|
-
gem "auto_autoloader", "~> 0.0.5"
|
8
|
-
gem "datet", "~> 0.0.25"
|
9
|
-
gem "event_handler", "~> 0.0.0"
|
10
|
-
gem "simple_delegate", "~> 0.0.2"
|
11
|
-
gem "string-cases", "~> 0.0.4"
|
12
|
-
gem "wref", "~> 0.0.8"
|
13
|
-
|
14
|
-
# Add dependencies to develop your gem here.
|
15
|
-
# Include everything needed to run rake, tests, features, etc.
|
16
|
-
group :development, :test do
|
17
|
-
gem "activerecord"
|
18
|
-
gem "activerecord-jdbc-adapter", platform: :jruby
|
19
|
-
gem "best_practice_project", "0.0.9", require: false
|
20
|
-
gem "bundler"
|
21
|
-
gem "jdbc-mysql", platform: :jruby
|
22
|
-
gem "jdbc-sqlite3", platform: :jruby
|
23
|
-
gem "jeweler", "2.3.9"
|
24
|
-
# gem "mysql", "2.9.1", platform: :ruby
|
25
|
-
gem "mysql2", "0.4.10", platform: :ruby
|
26
|
-
gem "pg", "0.21.0", platform: :ruby
|
27
|
-
gem "pry"
|
28
|
-
gem "rdoc"
|
29
|
-
gem "rspec", "3.4.0"
|
30
|
-
gem "rubocop", "0.39.0", require: false
|
31
|
-
gem "sqlite3", "< 1.5", platform: :ruby
|
32
|
-
end
|