gloo 0.7.3 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +38 -4
  4. data/Gemfile +4 -0
  5. data/Gemfile.lock +43 -17
  6. data/gloo.gemspec +3 -0
  7. data/lib/VERSION +1 -0
  8. data/lib/dependencies.rb +28 -0
  9. data/lib/gloo/app/engine.rb +4 -4
  10. data/lib/gloo/app/info.rb +11 -1
  11. data/lib/gloo/app/settings.rb +3 -3
  12. data/lib/gloo/core/baseo.rb +2 -0
  13. data/lib/gloo/core/factory.rb +22 -0
  14. data/lib/gloo/core/gloo_system.rb +9 -0
  15. data/lib/gloo/help/core/gloo_system.txt +3 -0
  16. data/lib/gloo/help/objs/cli/bar.txt +3 -0
  17. data/lib/gloo/help/objs/data/mysql.txt +40 -0
  18. data/lib/gloo/help/objs/data/query.txt +37 -0
  19. data/lib/gloo/help/objs/data/sqlite.txt +26 -0
  20. data/lib/gloo/help/objs/dev/git_repo.txt +2 -1
  21. data/lib/gloo/help/objs/dev/stats.txt +36 -0
  22. data/lib/gloo/help/objs/system/file.txt +7 -0
  23. data/lib/gloo/help/objs/system/ssh_exec.txt +30 -0
  24. data/lib/gloo/help/objs/web/http_post.txt +2 -0
  25. data/lib/gloo/help/objs/web/uri.txt +2 -1
  26. data/lib/gloo/objs/basic/boolean.rb +3 -0
  27. data/lib/gloo/objs/cli/bar.rb +22 -1
  28. data/lib/gloo/objs/data/mysql.rb +192 -0
  29. data/lib/gloo/objs/data/query.rb +176 -0
  30. data/lib/gloo/objs/data/sqlite.rb +159 -0
  31. data/lib/gloo/objs/dev/git.rb +13 -1
  32. data/lib/gloo/objs/dev/stats.rb +120 -0
  33. data/lib/gloo/objs/system/file_handle.rb +10 -1
  34. data/lib/gloo/objs/system/ssh_exec.rb +126 -0
  35. data/lib/gloo/objs/web/http_post.rb +53 -16
  36. data/lib/gloo/objs/web/json.rb +1 -1
  37. data/lib/gloo/objs/web/slack.rb +1 -1
  38. data/lib/gloo/objs/web/teams.rb +1 -1
  39. data/lib/gloo/objs/web/uri.rb +18 -1
  40. data/lib/gloo/persist/file_loader.rb +2 -0
  41. data/lib/gloo/utils/format.rb +21 -0
  42. data/lib/gloo/utils/stats.rb +205 -0
  43. data/lib/gloo/verbs/execute.rb +1 -1
  44. data/lib/gloo.rb +2 -4
  45. data/lib/run.rb +3 -2
  46. metadata +80 -7
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gloo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Crane
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-12 00:00:00.000000000 Z
11
+ date: 2022-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -178,6 +178,66 @@ dependencies:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: 2.1.0
181
+ - !ruby/object:Gem::Dependency
182
+ name: net-ssh
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '6.1'
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ version: 6.1.0
191
+ type: :runtime
192
+ prerelease: false
193
+ version_requirements: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - "~>"
196
+ - !ruby/object:Gem::Version
197
+ version: '6.1'
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: 6.1.0
201
+ - !ruby/object:Gem::Dependency
202
+ name: mysql2
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - "~>"
206
+ - !ruby/object:Gem::Version
207
+ version: '0.5'
208
+ - - ">="
209
+ - !ruby/object:Gem::Version
210
+ version: 0.5.3
211
+ type: :runtime
212
+ prerelease: false
213
+ version_requirements: !ruby/object:Gem::Requirement
214
+ requirements:
215
+ - - "~>"
216
+ - !ruby/object:Gem::Version
217
+ version: '0.5'
218
+ - - ">="
219
+ - !ruby/object:Gem::Version
220
+ version: 0.5.3
221
+ - !ruby/object:Gem::Dependency
222
+ name: sqlite3
223
+ requirement: !ruby/object:Gem::Requirement
224
+ requirements:
225
+ - - "~>"
226
+ - !ruby/object:Gem::Version
227
+ version: '1.4'
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: 1.4.2
231
+ type: :runtime
232
+ prerelease: false
233
+ version_requirements: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - "~>"
236
+ - !ruby/object:Gem::Version
237
+ version: '1.4'
238
+ - - ">="
239
+ - !ruby/object:Gem::Version
240
+ version: 1.4.2
181
241
  description: A scripting languge to keep it all together.
182
242
  email:
183
243
  - eric.crane@mac.com
@@ -202,6 +262,8 @@ files:
202
262
  - exe/gloo
203
263
  - exe/o
204
264
  - gloo.gemspec
265
+ - lib/VERSION
266
+ - lib/dependencies.rb
205
267
  - lib/gloo.rb
206
268
  - lib/gloo/app/args.rb
207
269
  - lib/gloo/app/engine.rb
@@ -279,8 +341,12 @@ files:
279
341
  - lib/gloo/help/objs/ctrl/each.txt
280
342
  - lib/gloo/help/objs/ctrl/repeat.txt
281
343
  - lib/gloo/help/objs/data/markdown.txt
344
+ - lib/gloo/help/objs/data/mysql.txt
345
+ - lib/gloo/help/objs/data/query.txt
346
+ - lib/gloo/help/objs/data/sqlite.txt
282
347
  - lib/gloo/help/objs/data/table.txt
283
348
  - lib/gloo/help/objs/dev/git_repo.txt
349
+ - lib/gloo/help/objs/dev/stats.txt
284
350
  - lib/gloo/help/objs/dt/date.txt
285
351
  - lib/gloo/help/objs/dt/datetime.txt
286
352
  - lib/gloo/help/objs/dt/time.txt
@@ -289,6 +355,7 @@ files:
289
355
  - lib/gloo/help/objs/snd/play.txt
290
356
  - lib/gloo/help/objs/snd/say.txt
291
357
  - lib/gloo/help/objs/system/file.txt
358
+ - lib/gloo/help/objs/system/ssh_exec.txt
292
359
  - lib/gloo/help/objs/system/system.txt
293
360
  - lib/gloo/help/objs/web/http_get.txt
294
361
  - lib/gloo/help/objs/web/http_post.txt
@@ -337,8 +404,12 @@ files:
337
404
  - lib/gloo/objs/ctrl/each.rb
338
405
  - lib/gloo/objs/ctrl/repeat.rb
339
406
  - lib/gloo/objs/data/markdown.rb
407
+ - lib/gloo/objs/data/mysql.rb
408
+ - lib/gloo/objs/data/query.rb
409
+ - lib/gloo/objs/data/sqlite.rb
340
410
  - lib/gloo/objs/data/table.rb
341
411
  - lib/gloo/objs/dev/git.rb
412
+ - lib/gloo/objs/dev/stats.rb
342
413
  - lib/gloo/objs/dt/date.rb
343
414
  - lib/gloo/objs/dt/datetime.rb
344
415
  - lib/gloo/objs/dt/time.rb
@@ -347,6 +418,7 @@ files:
347
418
  - lib/gloo/objs/snd/play.rb
348
419
  - lib/gloo/objs/snd/say.rb
349
420
  - lib/gloo/objs/system/file_handle.rb
421
+ - lib/gloo/objs/system/ssh_exec.rb
350
422
  - lib/gloo/objs/system/system.rb
351
423
  - lib/gloo/objs/web/http_get.rb
352
424
  - lib/gloo/objs/web/http_post.rb
@@ -359,6 +431,8 @@ files:
359
431
  - lib/gloo/persist/file_storage.rb
360
432
  - lib/gloo/persist/line_splitter.rb
361
433
  - lib/gloo/persist/persist_man.rb
434
+ - lib/gloo/utils/format.rb
435
+ - lib/gloo/utils/stats.rb
362
436
  - lib/gloo/utils/words.rb
363
437
  - lib/gloo/verbs/alert.rb
364
438
  - lib/gloo/verbs/beep.rb
@@ -385,7 +459,7 @@ homepage: http://github.com/ecrane/gloo
385
459
  licenses:
386
460
  - MIT
387
461
  metadata: {}
388
- post_install_message:
462
+ post_install_message:
389
463
  rdoc_options: []
390
464
  require_paths:
391
465
  - lib
@@ -400,9 +474,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
400
474
  - !ruby/object:Gem::Version
401
475
  version: '0'
402
476
  requirements: []
403
- rubyforge_project:
404
- rubygems_version: 2.7.7
405
- signing_key:
477
+ rubygems_version: 3.2.22
478
+ signing_key:
406
479
  specification_version: 4
407
480
  summary: Gloo scripting language. A scripting language built on ruby.
408
481
  test_files: []