legionio 0.2.0 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. metadata +22 -104
  3. data/.circleci/config.yml +0 -98
  4. data/.gitignore +0 -14
  5. data/.rspec +0 -2
  6. data/.rubocop.yml +0 -56
  7. data/CHANGELOG.md +0 -7
  8. data/Gemfile +0 -15
  9. data/LICENSE.txt +0 -21
  10. data/README.md +0 -46
  11. data/Rakefile +0 -38
  12. data/bin/console +0 -16
  13. data/bin/legion +0 -61
  14. data/bin/setup +0 -8
  15. data/bin/test +0 -32
  16. data/bitbucket-pipelines.yml +0 -55
  17. data/exe/legion +0 -58
  18. data/legion.gemspec +0 -60
  19. data/lib/legion.rb +0 -21
  20. data/lib/legion/exceptions/handled_task.rb +0 -6
  21. data/lib/legion/exceptions/invalidjson.rb +0 -8
  22. data/lib/legion/exceptions/missingargument.rb +0 -8
  23. data/lib/legion/exceptions/wrongtype.rb +0 -10
  24. data/lib/legion/exceptions/wrongtypes/array.rb +0 -11
  25. data/lib/legion/exceptions/wrongtypes/hash.rb +0 -11
  26. data/lib/legion/exceptions/wrongtypes/integer.rb +0 -11
  27. data/lib/legion/exceptions/wrongtypes/string.rb +0 -11
  28. data/lib/legion/extensions.rb +0 -151
  29. data/lib/legion/extensions/actors/base.rb +0 -53
  30. data/lib/legion/extensions/actors/every.rb +0 -50
  31. data/lib/legion/extensions/actors/loop.rb +0 -34
  32. data/lib/legion/extensions/actors/nothing.rb +0 -15
  33. data/lib/legion/extensions/actors/once.rb +0 -42
  34. data/lib/legion/extensions/actors/poll.rb +0 -90
  35. data/lib/legion/extensions/actors/subscription.rb +0 -120
  36. data/lib/legion/extensions/builders/actors.rb +0 -62
  37. data/lib/legion/extensions/builders/base.rb +0 -38
  38. data/lib/legion/extensions/builders/helpers.rb +0 -26
  39. data/lib/legion/extensions/builders/runners.rb +0 -54
  40. data/lib/legion/extensions/core.rb +0 -84
  41. data/lib/legion/extensions/helpers/base.rb +0 -88
  42. data/lib/legion/extensions/helpers/core.rb +0 -20
  43. data/lib/legion/extensions/helpers/lex.rb +0 -22
  44. data/lib/legion/extensions/helpers/logger.rb +0 -48
  45. data/lib/legion/extensions/helpers/task.rb +0 -42
  46. data/lib/legion/extensions/helpers/transport.rb +0 -45
  47. data/lib/legion/extensions/transport.rb +0 -156
  48. data/lib/legion/process.rb +0 -138
  49. data/lib/legion/runner.rb +0 -57
  50. data/lib/legion/runner/log.rb +0 -12
  51. data/lib/legion/runner/status.rb +0 -72
  52. data/lib/legion/service.rb +0 -80
  53. data/lib/legion/supervison.rb +0 -14
  54. data/lib/legion/version.rb +0 -5
  55. data/settings/client.json +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 422da0782965ca0f944ebb9579fc1e794ae656c59f9ad22c26b84949f1846f9b
4
- data.tar.gz: 169445db597ca9717dd46dfe38f8d02ecb57b08800bcd1a0177eea2512b80069
3
+ metadata.gz: bab13a1914517f67a44c25ae3f3fe7390649c21a2a44dc6c7e7dd33d09e9a928
4
+ data.tar.gz: ba3582fa9d782febd08c5286a3f9a55dbb5ef29c455e3b78b056c513ba288634
5
5
  SHA512:
6
- metadata.gz: de64ef4fd36950f9d2e74b3b3a0007decb9d7765119524c327fc57237101f9fd593362a67dc88d0e0bcc157e69b44b574bfc153c5f34d872a421bb4bf9ddf3bf
7
- data.tar.gz: 212834c354a6bb0d3060bde1f442cf302f490be84a1af1c183d61d65d9bff59e5ffdb6e595192ec70f8fcd82f52bd069eacba0030a32858253243367fff33df0
6
+ metadata.gz: 931259c856dce4123d70ea2c5b554011c3c62821926aaa1b5fb490bfde919ddf34c069150235012834db59be22a57d8c5abeaf8a83dc851bb366131bd8d60eb6
7
+ data.tar.gz: b7ba710e0511ae87084969832dfabc0fd523ca4382dbd53034b61100f029df2f3e016c16e3aaca1954c931e77b44e629b9de4a0eb41deec02efa376414652071
metadata CHANGED
@@ -1,31 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legionio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-12 00:00:00.000000000 Z
11
+ date: 2020-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: legion-data
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
- - !ruby/object:Gem::Dependency
28
- name: legion-json
14
+ name: concurrent-ruby-ext
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - ">="
@@ -39,7 +25,7 @@ dependencies:
39
25
  - !ruby/object:Gem::Version
40
26
  version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
- name: legion-settings
28
+ name: legion-data
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - ">="
@@ -67,7 +53,7 @@ dependencies:
67
53
  - !ruby/object:Gem::Version
68
54
  version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
- name: concurrent-ruby
56
+ name: oj
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - ">="
@@ -81,7 +67,7 @@ dependencies:
81
67
  - !ruby/object:Gem::Version
82
68
  version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
- name: concurrent-ruby-ext
70
+ name: concurrent-ruby
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - ">="
@@ -123,7 +109,7 @@ dependencies:
123
109
  - !ruby/object:Gem::Version
124
110
  version: '0'
125
111
  - !ruby/object:Gem::Dependency
126
- name: vault
112
+ name: bunny
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
115
  - - ">="
@@ -179,7 +165,7 @@ dependencies:
179
165
  - !ruby/object:Gem::Version
180
166
  version: '0'
181
167
  - !ruby/object:Gem::Dependency
182
- name: legion-logging
168
+ name: legion-json
183
169
  requirement: !ruby/object:Gem::Requirement
184
170
  requirements:
185
171
  - - ">="
@@ -193,7 +179,7 @@ dependencies:
193
179
  - !ruby/object:Gem::Version
194
180
  version: '0'
195
181
  - !ruby/object:Gem::Dependency
196
- name: sleepiq
182
+ name: legion-logging
197
183
  requirement: !ruby/object:Gem::Requirement
198
184
  requirements:
199
185
  - - ">="
@@ -207,27 +193,13 @@ dependencies:
207
193
  - !ruby/object:Gem::Version
208
194
  version: '0'
209
195
  - !ruby/object:Gem::Dependency
210
- name: bundler
211
- requirement: !ruby/object:Gem::Requirement
212
- requirements:
213
- - - ">="
214
- - !ruby/object:Gem::Version
215
- version: '0'
216
- type: :development
217
- prerelease: false
218
- version_requirements: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - ">="
221
- - !ruby/object:Gem::Version
222
- version: '0'
223
- - !ruby/object:Gem::Dependency
224
- name: cli-tree
196
+ name: legion-settings
225
197
  requirement: !ruby/object:Gem::Requirement
226
198
  requirements:
227
199
  - - ">="
228
200
  - !ruby/object:Gem::Version
229
201
  version: '0'
230
- type: :development
202
+ type: :runtime
231
203
  prerelease: false
232
204
  version_requirements: !ruby/object:Gem::Requirement
233
205
  requirements:
@@ -235,13 +207,13 @@ dependencies:
235
207
  - !ruby/object:Gem::Version
236
208
  version: '0'
237
209
  - !ruby/object:Gem::Dependency
238
- name: codecov
210
+ name: lex-node
239
211
  requirement: !ruby/object:Gem::Requirement
240
212
  requirements:
241
213
  - - ">="
242
214
  - !ruby/object:Gem::Version
243
215
  version: '0'
244
- type: :development
216
+ type: :runtime
245
217
  prerelease: false
246
218
  version_requirements: !ruby/object:Gem::Requirement
247
219
  requirements:
@@ -249,7 +221,7 @@ dependencies:
249
221
  - !ruby/object:Gem::Version
250
222
  version: '0'
251
223
  - !ruby/object:Gem::Dependency
252
- name: memory_profiler
224
+ name: bundler
253
225
  requirement: !ruby/object:Gem::Requirement
254
226
  requirements:
255
227
  - - ">="
@@ -263,7 +235,7 @@ dependencies:
263
235
  - !ruby/object:Gem::Version
264
236
  version: '0'
265
237
  - !ruby/object:Gem::Dependency
266
- name: pry
238
+ name: codecov
267
239
  requirement: !ruby/object:Gem::Requirement
268
240
  requirements:
269
241
  - - ">="
@@ -349,69 +321,15 @@ dependencies:
349
321
  description: Legion Core runs Legion Framwork
350
322
  email:
351
323
  - matthewdiverson@gmail.com
352
- executables:
353
- - legion
324
+ executables: []
354
325
  extensions: []
355
326
  extra_rdoc_files: []
356
- files:
357
- - ".circleci/config.yml"
358
- - ".gitignore"
359
- - ".rspec"
360
- - ".rubocop.yml"
361
- - CHANGELOG.md
362
- - Gemfile
363
- - LICENSE.txt
364
- - README.md
365
- - Rakefile
366
- - bin/console
367
- - bin/legion
368
- - bin/setup
369
- - bin/test
370
- - bitbucket-pipelines.yml
371
- - exe/legion
372
- - legion.gemspec
373
- - lib/legion.rb
374
- - lib/legion/exceptions/handled_task.rb
375
- - lib/legion/exceptions/invalidjson.rb
376
- - lib/legion/exceptions/missingargument.rb
377
- - lib/legion/exceptions/wrongtype.rb
378
- - lib/legion/exceptions/wrongtypes/array.rb
379
- - lib/legion/exceptions/wrongtypes/hash.rb
380
- - lib/legion/exceptions/wrongtypes/integer.rb
381
- - lib/legion/exceptions/wrongtypes/string.rb
382
- - lib/legion/extensions.rb
383
- - lib/legion/extensions/actors/base.rb
384
- - lib/legion/extensions/actors/every.rb
385
- - lib/legion/extensions/actors/loop.rb
386
- - lib/legion/extensions/actors/nothing.rb
387
- - lib/legion/extensions/actors/once.rb
388
- - lib/legion/extensions/actors/poll.rb
389
- - lib/legion/extensions/actors/subscription.rb
390
- - lib/legion/extensions/builders/actors.rb
391
- - lib/legion/extensions/builders/base.rb
392
- - lib/legion/extensions/builders/helpers.rb
393
- - lib/legion/extensions/builders/runners.rb
394
- - lib/legion/extensions/core.rb
395
- - lib/legion/extensions/helpers/base.rb
396
- - lib/legion/extensions/helpers/core.rb
397
- - lib/legion/extensions/helpers/lex.rb
398
- - lib/legion/extensions/helpers/logger.rb
399
- - lib/legion/extensions/helpers/task.rb
400
- - lib/legion/extensions/helpers/transport.rb
401
- - lib/legion/extensions/transport.rb
402
- - lib/legion/process.rb
403
- - lib/legion/runner.rb
404
- - lib/legion/runner/log.rb
405
- - lib/legion/runner/status.rb
406
- - lib/legion/service.rb
407
- - lib/legion/supervison.rb
408
- - lib/legion/version.rb
409
- - settings/client.json
327
+ files: []
410
328
  homepage: https://bitbucket.org/legion-io/legion/
411
329
  licenses:
412
330
  - MIT
413
331
  metadata: {}
414
- post_install_message:
332
+ post_install_message:
415
333
  rdoc_options: []
416
334
  require_paths:
417
335
  - lib
@@ -419,15 +337,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
419
337
  requirements:
420
338
  - - ">="
421
339
  - !ruby/object:Gem::Version
422
- version: '0'
340
+ version: 2.5.0
423
341
  required_rubygems_version: !ruby/object:Gem::Requirement
424
342
  requirements:
425
343
  - - ">="
426
344
  - !ruby/object:Gem::Version
427
345
  version: '0'
428
346
  requirements: []
429
- rubygems_version: 3.0.8
430
- signing_key:
347
+ rubygems_version: 3.1.2
348
+ signing_key:
431
349
  specification_version: 4
432
350
  summary: Legion Core Software to string it all together
433
351
  test_files: []
@@ -1,98 +0,0 @@
1
- version: 2.1 # use CircleCI 2.0
2
- jobs:
3
- "rubocop":
4
- docker:
5
- - image: circleci/ruby:2.5-node
6
- steps:
7
- - checkout
8
- - run: gem install rubocop
9
- - run:
10
- name: Run Rubocop
11
- command: rubocop
12
- - store_test_results:
13
- path: test_results
14
-
15
- "ruby-two-seven":
16
- docker:
17
- - image: circleci/ruby:2.7-node
18
- - image: mysql:5.7
19
- environment:
20
- MYSQL_DATABASE: 'legion'
21
- MYSQL_ROOT_PASSWORD: 'legion'
22
- MYSQL_USER: 'legion'
23
- MYSQL_PASSWORD: 'legion'
24
- - image: rabbitmq:3.7
25
- steps:
26
- - checkout
27
- - run:
28
- name: Bundle Install
29
- command: bundle install
30
- - run:
31
- name: Run RSpec
32
- command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
33
- when: always
34
- - store_test_results:
35
- path: test-results
36
- "ruby-two-five":
37
- docker:
38
- - image: circleci/ruby:2.5-node
39
- - image: mysql:5.7
40
- environment:
41
- MYSQL_DATABASE: 'legion'
42
- MYSQL_ROOT_PASSWORD: 'legion'
43
- MYSQL_USER: 'legion'
44
- MYSQL_PASSWORD: 'legion'
45
- - image: rabbitmq:3.7
46
- steps:
47
- - checkout
48
- - run:
49
- name: Bundle Install
50
- command: bundle install
51
- - run:
52
- name: Run RSpec
53
- command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
54
- when: always
55
- - store_test_results:
56
- path: test-results
57
- "ruby-two-six":
58
- docker:
59
- - image: circleci/ruby:2.6-node
60
- - image: mysql:5.7
61
- environment:
62
- MYSQL_DATABASE: 'legion'
63
- MYSQL_ROOT_PASSWORD: 'legion'
64
- MYSQL_USER: 'legion'
65
- MYSQL_PASSWORD: 'legion'
66
- - image: rabbitmq:3.7
67
- steps:
68
- - checkout
69
- - run:
70
- name: Bundle Install
71
- command: bundle install
72
- - run:
73
- name: Run RSpec
74
- command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
75
- when: always
76
- - store_test_results:
77
- path: test-results
78
-
79
- workflows:
80
- version: 2
81
- cop_rake_deploy:
82
- jobs:
83
- - rubocop
84
- - ruby-two-seven:
85
- requires:
86
- - ruby-two-five
87
- filters:
88
- branches:
89
- only: /\bdevelop\b|\bmaster\b/
90
- - ruby-two-five:
91
- requires:
92
- - rubocop
93
- - ruby-two-six:
94
- requires:
95
- - ruby-two-five
96
- filters:
97
- branches:
98
- only: /\bdevelop\b|\bmaster\b/
data/.gitignore DELETED
@@ -1,14 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- /legion/.idea/
11
- /.idea/
12
-
13
- # rspec failure tracking
14
- .rspec_status
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
@@ -1,56 +0,0 @@
1
- Layout/LineLength:
2
- Max: 160
3
- IgnoredPatterns:
4
- - .unknown
5
- - .fatal
6
- - .error
7
- - .warn
8
- - .info
9
- - .debug
10
- - .trace
11
- Metrics:
12
- IgnorePatterns:
13
- - .unknown
14
- - .fatal
15
- - .error
16
- - .warn
17
- - .info
18
- - .debug
19
- - .trace
20
- Metrics/MethodLength:
21
- Max: 50
22
- Metrics/ClassLength:
23
- Max: 1500
24
- Metrics/ModuleLength:
25
- Max: 1500
26
- Metrics/BlockLength:
27
- Max: 40
28
- Metrics/AbcSize:
29
- Max: 50
30
- Metrics/CyclomaticComplexity:
31
- Max: 15
32
- Metrics/PerceivedComplexity:
33
- Max: 15
34
- Layout/SpaceAroundEqualsInParameterDefault:
35
- EnforcedStyle: space
36
- Style/SymbolArray:
37
- Enabled: true
38
- Layout/HashAlignment:
39
- EnforcedHashRocketStyle: table
40
- EnforcedColonStyle: table
41
- Style/Documentation:
42
- Enabled: false
43
- AllCops:
44
- TargetRubyVersion: 2.6
45
- IgnoredPatterns:
46
- - .unknown
47
- - .fatal
48
- - .error
49
- - .warn
50
- - .info
51
- - .debug
52
- - .trace
53
- Style/FrozenStringLiteralComment:
54
- Enabled: false
55
- Naming/FileName:
56
- Enabled: false
@@ -1,7 +0,0 @@
1
- # Legion Changelog
2
-
3
- ## v0.1.1
4
- Testing
5
-
6
- ## v0.1.0
7
- Initial Release
data/Gemfile DELETED
@@ -1,15 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- gem 'lex-conditioner', path: '~/Rubymine/lex/lex-conditioner'
6
- gem 'lex-health', path: '~/Rubymine/lex/lex-health'
7
- gem 'lex-influxdb', path: '~/Rubymine/lex/lex-influxdb'
8
- gem 'lex-lex', path: '~/Rubymine/lex/lex-lex'
9
- gem 'lex-log', path: '~/Rubymine/lex/lex-log'
10
- gem 'lex-memcached', path: '~/Rubymine/lex/legion-extensions-memcached'
11
- gem 'lex-node', path: '~/Rubymine/lex/lex-node'
12
- gem 'lex-sleepiq', path: '~/Rubymine/lex/lex-sleepiq'
13
- gem 'lex-tasker', path: '~/Rubymine/lex/lex-tasker'
14
- gem 'lex-transformer', path: '~/Rubymine/lex/lex-transformer'
15
-