legionio 0.3.0 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. metadata +8 -60
  3. data/.circleci/config.yml +0 -119
  4. data/.gitignore +0 -14
  5. data/.rspec +0 -2
  6. data/.rubocop.yml +0 -89
  7. data/CHANGELOG.md +0 -16
  8. data/Gemfile +0 -3
  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 -50
  14. data/bin/setup +0 -8
  15. data/bin/test +0 -32
  16. data/bitbucket-pipelines.yml +0 -55
  17. data/exe/legion +0 -50
  18. data/legion.gemspec +0 -59
  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 -5
  22. data/lib/legion/exceptions/missingargument.rb +0 -6
  23. data/lib/legion/exceptions/wrongtype.rb +0 -10
  24. data/lib/legion/exceptions/wrongtypes/array.rb +0 -8
  25. data/lib/legion/exceptions/wrongtypes/hash.rb +0 -8
  26. data/lib/legion/exceptions/wrongtypes/integer.rb +0 -8
  27. data/lib/legion/exceptions/wrongtypes/string.rb +0 -8
  28. data/lib/legion/extensions.rb +0 -164
  29. data/lib/legion/extensions/actors/base.rb +0 -49
  30. data/lib/legion/extensions/actors/every.rb +0 -48
  31. data/lib/legion/extensions/actors/loop.rb +0 -32
  32. data/lib/legion/extensions/actors/nothing.rb +0 -15
  33. data/lib/legion/extensions/actors/once.rb +0 -40
  34. data/lib/legion/extensions/actors/poll.rb +0 -88
  35. data/lib/legion/extensions/actors/subscription.rb +0 -130
  36. data/lib/legion/extensions/builders/actors.rb +0 -61
  37. data/lib/legion/extensions/builders/base.rb +0 -36
  38. data/lib/legion/extensions/builders/helpers.rb +0 -24
  39. data/lib/legion/extensions/builders/runners.rb +0 -53
  40. data/lib/legion/extensions/core.rb +0 -94
  41. data/lib/legion/extensions/data.rb +0 -10
  42. data/lib/legion/extensions/helpers/base.rb +0 -82
  43. data/lib/legion/extensions/helpers/core.rb +0 -41
  44. data/lib/legion/extensions/helpers/lex.rb +0 -20
  45. data/lib/legion/extensions/helpers/logger.rb +0 -47
  46. data/lib/legion/extensions/helpers/task.rb +0 -40
  47. data/lib/legion/extensions/helpers/transport.rb +0 -43
  48. data/lib/legion/extensions/transport.rb +0 -155
  49. data/lib/legion/process.rb +0 -126
  50. data/lib/legion/runner.rb +0 -55
  51. data/lib/legion/runner/log.rb +0 -10
  52. data/lib/legion/runner/status.rb +0 -69
  53. data/lib/legion/service.rb +0 -78
  54. data/lib/legion/supervision.rb +0 -15
  55. data/lib/legion/version.rb +0 -3
  56. data/settings/client.json +0 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 732846134f79449f2a5c0141e57e40379015403485296374f39263c2dcda4060
4
- data.tar.gz: 7867fa05990668a0d4742134ba017fcdc19f5a00a2272f750b07e2810539e516
3
+ metadata.gz: 975a4241d50fa9fb365969e764bd3c1efd21f4633a08219562091be186c2dbf6
4
+ data.tar.gz: 1abdd099d6ca58f013d9c04e4b8e662aa9d58d73c83580308029326190ab9acd
5
5
  SHA512:
6
- metadata.gz: 932ab867c3212b6893b414e35051c90117e38ed0036301a5559f77c38f4574953a127e5194c199cff099d74336fdbaca41e3709887d465d0940a4034c830daae
7
- data.tar.gz: b9d6af4416f0261cee4df3d6111eb4ec09b324ae64e7efef6f8f09f76b67db1a9897fe1e82405a80cd82b7f65ef48b4e21ea1628a2cf688ceec6c03750581c76
6
+ metadata.gz: 8103b343813c674ead056c47d778023011c62b74b2878a15ed9e58b1c74cbf93f7565b4fe89dfab4ae27c4dcf35ab99a4e7ff6f628bfbf8a6902669cdb2ea026
7
+ data.tar.gz: 2c8be72aebd8831bb88881a4de35fca123d67d6247181811a85dd9340c7cdf6743f9e7cb10f528307d250b3ed312193036f486f5905147b7eda11643c61935be
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legionio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-26 00:00:00.000000000 Z
11
+ date: 2020-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby-ext
@@ -321,69 +321,17 @@ dependencies:
321
321
  description: Legion Core runs Legion Framwork
322
322
  email:
323
323
  - matthewdiverson@gmail.com
324
- executables:
325
- - legion
324
+ executables: []
326
325
  extensions: []
327
326
  extra_rdoc_files: []
328
- files:
329
- - ".circleci/config.yml"
330
- - ".gitignore"
331
- - ".rspec"
332
- - ".rubocop.yml"
333
- - CHANGELOG.md
334
- - Gemfile
335
- - LICENSE.txt
336
- - README.md
337
- - Rakefile
338
- - bin/console
339
- - bin/legion
340
- - bin/setup
341
- - bin/test
342
- - bitbucket-pipelines.yml
343
- - exe/legion
344
- - legion.gemspec
345
- - lib/legion.rb
346
- - lib/legion/exceptions/handled_task.rb
347
- - lib/legion/exceptions/invalidjson.rb
348
- - lib/legion/exceptions/missingargument.rb
349
- - lib/legion/exceptions/wrongtype.rb
350
- - lib/legion/exceptions/wrongtypes/array.rb
351
- - lib/legion/exceptions/wrongtypes/hash.rb
352
- - lib/legion/exceptions/wrongtypes/integer.rb
353
- - lib/legion/exceptions/wrongtypes/string.rb
354
- - lib/legion/extensions.rb
355
- - lib/legion/extensions/actors/base.rb
356
- - lib/legion/extensions/actors/every.rb
357
- - lib/legion/extensions/actors/loop.rb
358
- - lib/legion/extensions/actors/nothing.rb
359
- - lib/legion/extensions/actors/once.rb
360
- - lib/legion/extensions/actors/poll.rb
361
- - lib/legion/extensions/actors/subscription.rb
362
- - lib/legion/extensions/builders/actors.rb
363
- - lib/legion/extensions/builders/base.rb
364
- - lib/legion/extensions/builders/helpers.rb
365
- - lib/legion/extensions/builders/runners.rb
366
- - lib/legion/extensions/core.rb
367
- - lib/legion/extensions/data.rb
368
- - lib/legion/extensions/helpers/base.rb
369
- - lib/legion/extensions/helpers/core.rb
370
- - lib/legion/extensions/helpers/lex.rb
371
- - lib/legion/extensions/helpers/logger.rb
372
- - lib/legion/extensions/helpers/task.rb
373
- - lib/legion/extensions/helpers/transport.rb
374
- - lib/legion/extensions/transport.rb
375
- - lib/legion/process.rb
376
- - lib/legion/runner.rb
377
- - lib/legion/runner/log.rb
378
- - lib/legion/runner/status.rb
379
- - lib/legion/service.rb
380
- - lib/legion/supervision.rb
381
- - lib/legion/version.rb
382
- - settings/client.json
327
+ files: []
383
328
  homepage: https://bitbucket.org/legion-io/legion/
384
329
  licenses:
385
330
  - MIT
386
- metadata: {}
331
+ metadata:
332
+ source_code_uri: https://bitbucket.org/legion-io/legion/src/master/
333
+ documentation_uri: https://legionio.atlassian.net/wiki/spaces/LEGION/overview
334
+ bug_tracker_uri: https://legionio.atlassian.net/browse/LEG
387
335
  post_install_message:
388
336
  rdoc_options: []
389
337
  require_paths:
@@ -1,119 +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
- "jruby-nine-two":
79
- docker:
80
- - image: circleci/jruby:9.2-jra
81
- - image: mysql:5.7
82
- environment:
83
- MYSQL_DATABASE: 'legion'
84
- MYSQL_ROOT_PASSWORD: 'legion'
85
- MYSQL_USER: 'legion'
86
- MYSQL_PASSWORD: 'legion'
87
- - image: rabbitmq:3.7
88
- steps:
89
- - checkout
90
- - run:
91
- name: Bundle Install
92
- command: bundle install
93
- - run:
94
- name: Run RSpec
95
- command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
96
- when: always
97
- - store_test_results:
98
- path: test-results
99
-
100
- workflows:
101
- version: 2
102
- cop_rake_deploy:
103
- jobs:
104
- - rubocop
105
- - ruby-two-seven:
106
- requires:
107
- - ruby-two-five
108
- filters:
109
- branches:
110
- only: /\bdevelop\b|\bmaster\b/
111
- - ruby-two-five:
112
- requires:
113
- - rubocop
114
- - ruby-two-six:
115
- requires:
116
- - ruby-two-five
117
- filters:
118
- branches:
119
- 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
- *.key
13
- # rspec failure tracking
14
- .rspec_status
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
@@ -1,89 +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
- ExcludedMethods:
23
- - .unknown
24
- - .fatal
25
- - .error
26
- - .warn
27
- - .info
28
- - .debug
29
- - .trace
30
- Metrics/ClassLength:
31
- Max: 1500
32
- Metrics/ModuleLength:
33
- Max: 1500
34
- Metrics/BlockLength:
35
- Max: 40
36
- ExcludedMethods:
37
- - .unknown
38
- - .fatal
39
- - .error
40
- - .warn
41
- - .info
42
- - .debug
43
- - .trace
44
- Metrics/AbcSize:
45
- Max: 50
46
- IgnoredMethods:
47
- - .unknown
48
- - .fatal
49
- - .error
50
- - .warn
51
- - .info
52
- - .debug
53
- - .trace
54
- Metrics/CyclomaticComplexity:
55
- Max: 15
56
- IgnoredMethods:
57
- - .unknown
58
- - .fatal
59
- - .error
60
- - .warn
61
- - .info
62
- - .debug
63
- - .trace
64
- Metrics/PerceivedComplexity:
65
- Max: 15
66
- IgnoredMethods:
67
- - .unknown
68
- - .fatal
69
- - .error
70
- - .warn
71
- - .info
72
- - .debug
73
- - .trace
74
- Layout/SpaceAroundEqualsInParameterDefault:
75
- EnforcedStyle: space
76
- Style/SymbolArray:
77
- Enabled: true
78
- Layout/HashAlignment:
79
- EnforcedHashRocketStyle: table
80
- EnforcedColonStyle: table
81
- Style/Documentation:
82
- Enabled: false
83
- AllCops:
84
- TargetRubyVersion: 2.5
85
- NewCops: enable
86
- Style/FrozenStringLiteralComment:
87
- Enabled: false
88
- Naming/FileName:
89
- Enabled: false
@@ -1,16 +0,0 @@
1
- # Legion Changelog
2
-
3
- ## v0.3.0
4
- * Updating dependencies based on if we are using `JRUBY` or not
5
- * Cleaning up some files and rubocop errors
6
- * Adding new settings option for a lex definition with functionality to add it to the override settings stack
7
- * Fixing supervision filename
8
- * Cleaning up `Legion::Service`
9
- * Cleaning up rogue comments
10
- * Updating exe/legion to match bin/legion
11
-
12
- ## v0.1.1
13
- Testing
14
-
15
- ## v0.1.0
16
- Initial Release
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2017 BuildTools
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/README.md DELETED
@@ -1,46 +0,0 @@
1
- # Legion
2
-
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library
4
- into a gem. Put your Ruby code in the file `lib/legion`. To experiment with that code, run `bin/console` for
5
- an interactive prompt.
6
-
7
-
8
- ## Installation
9
-
10
- Add this line to your application's Gemfile:
11
-
12
- ```ruby
13
- gem 'legion'
14
- ```
15
-
16
- And then execute:
17
-
18
- $ bundle
19
-
20
- Or install it yourself as:
21
-
22
- $ gem install legion
23
-
24
- ## Usage
25
-
26
- TODO: Write usage instructions here
27
-
28
- ## Development
29
-
30
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests.
31
- You can also run `bin/console` for an interactive prompt that will allow you to experiment.
32
-
33
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version,
34
- update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git
35
- tag for the version, push git commits and tags, and push the `.gem` file
36
- to [rubygems.org](https://rubygems.org).
37
-
38
- ## Contributing
39
-
40
- Bug reports and pull requests are welcome on GitHub at https://bitbucket.org/whonodes/legion/issues.
41
- This project is intended to be a safe, welcoming space for collaboration, and contributors are
42
- expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
43
-
44
- ## License
45
-
46
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile DELETED
@@ -1,38 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'bundler/gem_tasks'
4
- require 'rspec/core/rake_task'
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- task default: :spec
9
-
10
- task test: :rubocop
11
- task test: :spec
12
- task test: :start
13
-
14
- task :rubocop do
15
- sh 'rubocop'
16
- end
17
-
18
- task :start do
19
- sh 'bin/legion start -d'
20
- sh 'bin/legion stop'
21
- end
22
-
23
- namespace :deploy do
24
- require 'legion/version'
25
- desc 'Deploy alpha/test'
26
- task :test do
27
- Gem.yank_gem('legion', "#{Legion::VERSION}a")
28
- puts Gem.query('legion-transport').inspect
29
- puts Gem.methods(false)
30
- puts Legion::VERSION
31
- end
32
-
33
- task :staging do
34
- end
35
-
36
- task :production do
37
- end
38
- end