rails-pg-extras 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 00bbc417cc97e72d3815a72a4411d3ce44216259011f27f661d92bd433673731
4
+ data.tar.gz: 9fc774e5852ce88293dd0350783ac17f4c426777e9a1a87b31cd350eb3368c9e
5
+ SHA512:
6
+ metadata.gz: 00a4ae363c93f55fed8d03fab9f8f558cff3967d010434fd20e712f4145a9d56feb6afdf4269b3cb567673592daaf60daf22e6ea929198a78bf44a4f6844a6ab
7
+ data.tar.gz: a64be50d53b081ff70db4512f4ea14ffe09bc0c73c18b62f38af5d9909d030c577c2176686bcb24d4ffa694431fd8ccfb9189b770a1cc547990c1d83483f038d
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ Gemfile.lock
2
+ .ruby-version
3
+ pkg/
4
+ *.gem
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright © Paweł Urbanek 2019
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1 @@
1
+ # Rails PG Extras
data/Rakefile ADDED
@@ -0,0 +1,5 @@
1
+ require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
@@ -0,0 +1,5 @@
1
+ {
2
+ "result": {
3
+ "covered_percent": 95.19
4
+ }
5
+ }
@@ -0,0 +1,587 @@
1
+ {
2
+ "RSpec": {
3
+ "coverage": {
4
+ "/Users/pablo/Programming/Ruby/termit/lib/termit.rb": [
5
+ 1,
6
+ 1,
7
+ 1,
8
+ 1,
9
+ 1,
10
+ 1,
11
+ 1,
12
+ 1,
13
+ 1,
14
+ 1,
15
+ 1,
16
+ 1,
17
+ 1,
18
+ 1,
19
+ null,
20
+ 1,
21
+ null
22
+ ],
23
+ "/Users/pablo/Programming/Ruby/termit/lib/termit/output_manager.rb": [
24
+ null,
25
+ 1,
26
+ 1,
27
+ 1,
28
+ 2,
29
+ 2,
30
+ null,
31
+ null,
32
+ 1,
33
+ 1,
34
+ 1,
35
+ null,
36
+ 1,
37
+ null,
38
+ 0,
39
+ null,
40
+ 1,
41
+ null,
42
+ null,
43
+ 1,
44
+ 3,
45
+ null,
46
+ null,
47
+ null,
48
+ null,
49
+ null,
50
+ null,
51
+ null,
52
+ null,
53
+ null,
54
+ null,
55
+ null,
56
+ null,
57
+ null,
58
+ 3,
59
+ null,
60
+ null,
61
+ null,
62
+ 1,
63
+ 2,
64
+ 2,
65
+ null,
66
+ null,
67
+ 1,
68
+ 3,
69
+ 3,
70
+ null,
71
+ null,
72
+ 1,
73
+ 0,
74
+ 0,
75
+ null,
76
+ null,
77
+ 1,
78
+ 0,
79
+ 0,
80
+ null,
81
+ null,
82
+ null
83
+ ],
84
+ "/Users/pablo/Programming/Ruby/termit/lib/termit/can_output.rb": [
85
+ 1,
86
+ 1,
87
+ 1,
88
+ 4,
89
+ null,
90
+ null,
91
+ 1,
92
+ null,
93
+ 1,
94
+ 8,
95
+ null,
96
+ null,
97
+ null
98
+ ],
99
+ "/Users/pablo/Programming/Ruby/termit/lib/termit/user_input_parser.rb": [
100
+ null,
101
+ 1,
102
+ 1,
103
+ 1,
104
+ null,
105
+ 1,
106
+ null,
107
+ 1,
108
+ 7,
109
+ 7,
110
+ 4,
111
+ null,
112
+ 1,
113
+ null,
114
+ null,
115
+ 1,
116
+ 3,
117
+ null,
118
+ null,
119
+ 1,
120
+ null,
121
+ 1,
122
+ null,
123
+ null,
124
+ null,
125
+ null,
126
+ null,
127
+ 3,
128
+ null,
129
+ null,
130
+ 1,
131
+ 3,
132
+ 3,
133
+ null,
134
+ null,
135
+ 1,
136
+ 4,
137
+ 4,
138
+ 4,
139
+ 8,
140
+ null,
141
+ null,
142
+ null,
143
+ 1,
144
+ 7,
145
+ 5,
146
+ null,
147
+ null,
148
+ null
149
+ ],
150
+ "/Users/pablo/Programming/Ruby/termit/lib/termit/main.rb": [
151
+ null,
152
+ 1,
153
+ 1,
154
+ 1,
155
+ 2,
156
+ null,
157
+ null,
158
+ 1,
159
+ 2,
160
+ 2,
161
+ 2,
162
+ null,
163
+ null,
164
+ 1,
165
+ null,
166
+ 1,
167
+ 1,
168
+ 1,
169
+ null,
170
+ null,
171
+ null
172
+ ],
173
+ "/Users/pablo/Programming/Ruby/termit/lib/termit/sound_response_handler.rb": [
174
+ null,
175
+ 1,
176
+ null,
177
+ 1,
178
+ 1,
179
+ 1,
180
+ 1,
181
+ null,
182
+ null,
183
+ 1,
184
+ 1,
185
+ 1,
186
+ 1,
187
+ 0,
188
+ null,
189
+ 1,
190
+ null,
191
+ null,
192
+ 1,
193
+ null,
194
+ 1,
195
+ 1,
196
+ null,
197
+ null,
198
+ null
199
+ ],
200
+ "/Users/pablo/Programming/Ruby/termit/lib/termit/text_translator.rb": [
201
+ null,
202
+ 1,
203
+ 1,
204
+ 1,
205
+ null,
206
+ 1,
207
+ 2,
208
+ 2,
209
+ null,
210
+ null,
211
+ 1,
212
+ 2,
213
+ 2,
214
+ null,
215
+ null,
216
+ null
217
+ ],
218
+ "/Users/pablo/Programming/Ruby/termit/lib/termit/speech_synthesizer.rb": [
219
+ null,
220
+ 1,
221
+ 1,
222
+ 1,
223
+ 1,
224
+ null,
225
+ 1,
226
+ 2,
227
+ 2,
228
+ 2,
229
+ null,
230
+ null,
231
+ 1,
232
+ 2,
233
+ 2,
234
+ null,
235
+ null,
236
+ 1,
237
+ null,
238
+ 1,
239
+ 1,
240
+ 1,
241
+ null,
242
+ null,
243
+ null,
244
+ null
245
+ ],
246
+ "/Users/pablo/Programming/Ruby/termit/lib/termit/url_constructor.rb": [
247
+ null,
248
+ null,
249
+ 1,
250
+ 1,
251
+ 1,
252
+ null,
253
+ 1,
254
+ 6,
255
+ null,
256
+ null,
257
+ 1,
258
+ 6,
259
+ null,
260
+ null,
261
+ 1,
262
+ null,
263
+ 1,
264
+ 5,
265
+ null,
266
+ null,
267
+ 1,
268
+ 1,
269
+ null,
270
+ null,
271
+ 1,
272
+ 1,
273
+ 0,
274
+ 1,
275
+ 0,
276
+ 1,
277
+ 0,
278
+ null,
279
+ 1,
280
+ null,
281
+ null,
282
+ null,
283
+ null
284
+ ],
285
+ "/Users/pablo/Programming/Ruby/termit/lib/termit/data_fetcher_base.rb": [
286
+ null,
287
+ 1,
288
+ null,
289
+ 1,
290
+ 1,
291
+ 1,
292
+ 1,
293
+ 1,
294
+ null,
295
+ 1,
296
+ 2,
297
+ 2,
298
+ null,
299
+ null,
300
+ 1,
301
+ 2,
302
+ null,
303
+ 0,
304
+ 0,
305
+ null,
306
+ 0,
307
+ 0,
308
+ null,
309
+ null,
310
+ 1,
311
+ null,
312
+ 1,
313
+ null,
314
+ 1,
315
+ null,
316
+ null,
317
+ null,
318
+ null,
319
+ null,
320
+ null,
321
+ 1,
322
+ 1,
323
+ 1,
324
+ 1,
325
+ null,
326
+ 2,
327
+ null,
328
+ null,
329
+ null
330
+ ],
331
+ "/Users/pablo/Programming/Ruby/termit/lib/termit/text_fetcher.rb": [
332
+ null,
333
+ null,
334
+ 1,
335
+ 1,
336
+ 1,
337
+ null,
338
+ 1,
339
+ 2,
340
+ null,
341
+ null,
342
+ null,
343
+ null,
344
+ null,
345
+ null,
346
+ null,
347
+ null,
348
+ 1,
349
+ 2,
350
+ null,
351
+ null,
352
+ null
353
+ ],
354
+ "/Users/pablo/Programming/Ruby/termit/lib/termit/sound_fetcher.rb": [
355
+ null,
356
+ null,
357
+ 1,
358
+ 1,
359
+ 1,
360
+ null,
361
+ 1,
362
+ 0,
363
+ null,
364
+ null,
365
+ null,
366
+ null,
367
+ null,
368
+ null
369
+ ],
370
+ "/Users/pablo/Programming/Ruby/termit/lib/termit/text_response_handler.rb": [
371
+ null,
372
+ 1,
373
+ null,
374
+ 1,
375
+ 1,
376
+ 1,
377
+ 1,
378
+ null,
379
+ 1,
380
+ 3,
381
+ null,
382
+ null,
383
+ 1,
384
+ 3,
385
+ 3,
386
+ 3,
387
+ null,
388
+ null,
389
+ 1,
390
+ null,
391
+ 1,
392
+ 3,
393
+ null,
394
+ null,
395
+ 1,
396
+ 3,
397
+ 3,
398
+ 3,
399
+ null,
400
+ null,
401
+ null
402
+ ],
403
+ "/Users/pablo/Programming/Ruby/termit/spec/termit/output_manager_spec.rb": [
404
+ null,
405
+ 1,
406
+ null,
407
+ 1,
408
+ 1,
409
+ 2,
410
+ null,
411
+ 1,
412
+ 1,
413
+ 1,
414
+ 8,
415
+ null,
416
+ null,
417
+ null,
418
+ null
419
+ ],
420
+ "/Users/pablo/Programming/Ruby/termit/spec/termit/sound_response_handler_spec.rb": [
421
+ null,
422
+ 1,
423
+ null,
424
+ 1,
425
+ 1,
426
+ 2,
427
+ 2,
428
+ null,
429
+ 1,
430
+ 1,
431
+ 1,
432
+ 1,
433
+ null,
434
+ null,
435
+ null
436
+ ],
437
+ "/Users/pablo/Programming/Ruby/termit/spec/termit/speech_synthesizer_spec.rb": [
438
+ null,
439
+ 1,
440
+ null,
441
+ 1,
442
+ 1,
443
+ 1,
444
+ 2,
445
+ 2,
446
+ 2,
447
+ 4,
448
+ 4,
449
+ null,
450
+ null,
451
+ 1,
452
+ 1,
453
+ 2,
454
+ 1,
455
+ 1,
456
+ null,
457
+ null,
458
+ null,
459
+ 1,
460
+ 1,
461
+ 2,
462
+ null,
463
+ 1,
464
+ 1,
465
+ 1,
466
+ null,
467
+ null,
468
+ null,
469
+ null
470
+ ],
471
+ "/Users/pablo/Programming/Ruby/termit/spec/termit/text_response_handler_spec.rb": [
472
+ null,
473
+ 1,
474
+ null,
475
+ 1,
476
+ 1,
477
+ 1,
478
+ 1,
479
+ 1,
480
+ null,
481
+ null,
482
+ 1,
483
+ 1,
484
+ 1,
485
+ null,
486
+ null,
487
+ null
488
+ ],
489
+ "/Users/pablo/Programming/Ruby/termit/spec/termit/text_translator_spec.rb": [
490
+ null,
491
+ 1,
492
+ null,
493
+ 1,
494
+ 1,
495
+ 1,
496
+ 1,
497
+ 1,
498
+ 1,
499
+ 1,
500
+ null,
501
+ null,
502
+ null,
503
+ null,
504
+ 1,
505
+ 1,
506
+ 1,
507
+ 1,
508
+ 1,
509
+ 1,
510
+ null,
511
+ null,
512
+ null,
513
+ null
514
+ ],
515
+ "/Users/pablo/Programming/Ruby/termit/spec/termit/url_constructor_spec.rb": [
516
+ null,
517
+ 1,
518
+ null,
519
+ 1,
520
+ 1,
521
+ 1,
522
+ 1,
523
+ 1,
524
+ 1,
525
+ null,
526
+ 1,
527
+ null,
528
+ null,
529
+ null,
530
+ 1,
531
+ 1,
532
+ 1,
533
+ 1,
534
+ 1,
535
+ null,
536
+ null,
537
+ null,
538
+ null
539
+ ],
540
+ "/Users/pablo/Programming/Ruby/termit/spec/termit/user_input_parser_spec.rb": [
541
+ null,
542
+ 1,
543
+ null,
544
+ 1,
545
+ 1,
546
+ 1,
547
+ 1,
548
+ 2,
549
+ null,
550
+ null,
551
+ null,
552
+ 1,
553
+ 1,
554
+ 1,
555
+ 1,
556
+ null,
557
+ null,
558
+ 1,
559
+ 2,
560
+ null,
561
+ null,
562
+ 1,
563
+ 2,
564
+ null,
565
+ null,
566
+ null,
567
+ 1,
568
+ 1,
569
+ 1,
570
+ null,
571
+ null,
572
+ 1,
573
+ 1,
574
+ 1,
575
+ null,
576
+ null,
577
+ 1,
578
+ 2,
579
+ null,
580
+ null,
581
+ null,
582
+ null
583
+ ]
584
+ },
585
+ "timestamp": 1495699232
586
+ }
587
+ }
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ module RailsPGExtras
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,2 @@
1
+ module RailsPGExtras
2
+ end
@@ -0,0 +1,18 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'rails-pg-extras/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "rails-pg-extras"
8
+ gem.version = RailsPGExtras::VERSION
9
+ gem.authors = ["pawurb"]
10
+ gem.email = ["contact@pawelurbanek.com"]
11
+ gem.summary = %q{ Rails PostgreSQL database insights }
12
+ gem.description = %q{ A bunch of rake tasks for showing what's going on inside your Rails PostgreSQL database }
13
+ gem.homepage = "http://github.com/pawurb/rails-pg-extras"
14
+ gem.files = `git ls-files`.split("\n")
15
+ gem.require_paths = ["lib"]
16
+ gem.license = "MIT"
17
+ gem.add_dependency "activerecord"
18
+ end
metadata ADDED
@@ -0,0 +1,70 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails-pg-extras
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - pawurb
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-12-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activerecord
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ description: " A bunch of rake tasks for showing what's going on inside your Rails
28
+ PostgreSQL database "
29
+ email:
30
+ - contact@pawelurbanek.com
31
+ executables: []
32
+ extensions: []
33
+ extra_rdoc_files: []
34
+ files:
35
+ - ".gitignore"
36
+ - Gemfile
37
+ - LICENSE.txt
38
+ - README.md
39
+ - Rakefile
40
+ - coverage/.last_run.json
41
+ - coverage/.resultset.json
42
+ - coverage/.resultset.json.lock
43
+ - lib/rails-pg-extras.rb
44
+ - lib/rails-pg-extras/main.rb
45
+ - lib/rails-pg-extras/version.rb
46
+ - rails-pg-extras.gemspec
47
+ homepage: http://github.com/pawurb/rails-pg-extras
48
+ licenses:
49
+ - MIT
50
+ metadata: {}
51
+ post_install_message:
52
+ rdoc_options: []
53
+ require_paths:
54
+ - lib
55
+ required_ruby_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ requirements: []
66
+ rubygems_version: 3.0.6
67
+ signing_key:
68
+ specification_version: 4
69
+ summary: Rails PostgreSQL database insights
70
+ test_files: []