legionio 0.4.3 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rspec.yml +45 -0
- data/.github/workflows/rubocop.yml +28 -0
- data/.github/workflows/sourcehawk-scan.yml +20 -0
- data/.gitignore +0 -0
- data/.rubocop.yml +2 -6
- data/CHANGELOG.md +2 -45
- data/CODE_OF_CONDUCT.md +75 -0
- data/CONTRIBUTING.md +55 -0
- data/Gemfile +7 -0
- data/INDIVIDUAL_CONTRIBUTOR_LICENSE.md +30 -0
- data/LICENSE +201 -0
- data/NOTICE.txt +9 -0
- data/README.md +13 -12
- data/SECURITY.md +9 -0
- data/attribution.txt +1 -0
- data/legionio.gemspec +19 -30
- data/lib/legion.rb +0 -1
- data/lib/legion/cli.rb +0 -0
- data/lib/legion/cli/chain.rb +0 -0
- data/lib/legion/cli/cohort.rb +0 -0
- data/lib/legion/cli/function.rb +0 -0
- data/lib/legion/cli/lex/actor.rb +0 -0
- data/lib/legion/cli/lex/exchange.rb +0 -0
- data/lib/legion/cli/lex/message.rb +0 -0
- data/lib/legion/cli/lex/queue.rb +0 -0
- data/lib/legion/cli/lex/runner.rb +0 -0
- data/lib/legion/cli/lex/templates/actor.erb +0 -0
- data/lib/legion/cli/lex/templates/actor_spec.erb +0 -0
- data/lib/legion/cli/lex/templates/base/bitbucket.yml.erb +0 -0
- data/lib/legion/cli/lex/templates/base/gemfile.erb +0 -0
- data/lib/legion/cli/lex/templates/base/gemspec.erb +0 -0
- data/lib/legion/cli/lex/templates/base/gitignore.erb +0 -0
- data/lib/legion/cli/lex/templates/base/lex.erb +0 -0
- data/lib/legion/cli/lex/templates/base/lex_spec.erb +0 -0
- data/lib/legion/cli/lex/templates/base/lic.erb +0 -0
- data/lib/legion/cli/lex/templates/base/rakefile.erb +0 -0
- data/lib/legion/cli/lex/templates/base/readme.md.erb +0 -0
- data/lib/legion/cli/lex/templates/base/rubocop.yml.erb +0 -0
- data/lib/legion/cli/lex/templates/base/spec_helper.rb.erb +0 -0
- data/lib/legion/cli/lex/templates/base/version.erb +0 -0
- data/lib/legion/cli/lex/templates/exchange.erb +0 -0
- data/lib/legion/cli/lex/templates/exchange_spec.erb +0 -0
- data/lib/legion/cli/lex/templates/message.erb +0 -0
- data/lib/legion/cli/lex/templates/message_spec.erb +0 -0
- data/lib/legion/cli/lex/templates/queue.erb +0 -0
- data/lib/legion/cli/lex/templates/queue_helper.erb +0 -0
- data/lib/legion/cli/lex/templates/queue_spec.erb +0 -0
- data/lib/legion/cli/lex/templates/runner.erb +0 -0
- data/lib/legion/cli/lex/templates/runner_spec.erb +0 -0
- data/lib/legion/cli/relationship.rb +0 -0
- data/lib/legion/cli/task.rb +0 -0
- data/lib/legion/cli/trigger.rb +2 -2
- data/lib/legion/cli/version.rb +0 -0
- data/lib/legion/extensions.rb +11 -1
- data/lib/legion/extensions/actors/base.rb +0 -0
- data/lib/legion/extensions/actors/defaults.rb +0 -0
- data/lib/legion/extensions/actors/every.rb +0 -0
- data/lib/legion/extensions/actors/loop.rb +0 -0
- data/lib/legion/extensions/actors/nothing.rb +0 -0
- data/lib/legion/extensions/actors/once.rb +2 -2
- data/lib/legion/extensions/actors/poll.rb +0 -0
- data/lib/legion/extensions/actors/subscription.rb +0 -0
- data/lib/legion/extensions/builders/actors.rb +0 -0
- data/lib/legion/extensions/builders/base.rb +0 -0
- data/lib/legion/extensions/builders/helpers.rb +0 -0
- data/lib/legion/extensions/builders/runners.rb +4 -0
- data/lib/legion/extensions/core.rb +1 -1
- data/lib/legion/extensions/data.rb +4 -1
- data/lib/legion/extensions/data/migrator.rb +6 -1
- data/lib/legion/extensions/data/model.rb +0 -0
- data/lib/legion/extensions/helpers/base.rb +0 -0
- data/lib/legion/extensions/helpers/cache.rb +0 -0
- data/lib/legion/extensions/helpers/core.rb +0 -0
- data/lib/legion/extensions/helpers/data.rb +0 -0
- data/lib/legion/extensions/helpers/lex.rb +0 -0
- data/lib/legion/extensions/helpers/logger.rb +0 -0
- data/lib/legion/extensions/helpers/task.rb +0 -0
- data/lib/legion/extensions/helpers/transport.rb +0 -0
- data/lib/legion/extensions/transport.rb +0 -0
- data/lib/legion/lex.rb +0 -0
- data/lib/legion/runner.rb +8 -6
- data/lib/legion/runner/log.rb +0 -0
- data/lib/legion/runner/status.rb +0 -0
- data/lib/legion/version.rb +1 -1
- data/sourcehawk.yml +4 -0
- metadata +36 -264
- data/.circleci/config.yml +0 -136
- data/.rspec +0 -2
- data/LICENSE.txt +0 -21
- data/Rakefile +0 -32
- data/bitbucket-pipelines.yml +0 -19
data/.rspec
DELETED
data/LICENSE.txt
DELETED
@@ -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/Rakefile
DELETED
@@ -1,32 +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
|
-
end
|
data/bitbucket-pipelines.yml
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
image: ruby:2.7
|
2
|
-
|
3
|
-
pipelines:
|
4
|
-
tags:
|
5
|
-
"v*":
|
6
|
-
- step:
|
7
|
-
name: Push to RubyGems
|
8
|
-
deployment: RubyGems
|
9
|
-
script:
|
10
|
-
- gem install gem-release
|
11
|
-
- (umask 077 ; echo $gem_creds | base64 --decode > ~/.gem/credentials)
|
12
|
-
- gem release
|
13
|
-
artifacts:
|
14
|
-
- pkg/**
|
15
|
-
- step:
|
16
|
-
name: Push to Docker
|
17
|
-
deployment: Docker
|
18
|
-
script:
|
19
|
-
- './docker_deploy.rb'
|