lex-node 0.1.7 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4971e9d0d31600942d57bd7061ec7b2aa20f68a6a13b9d1835c38d978f16177c
4
- data.tar.gz: cae71cb0d1413186f546d957b393f0139b0b5a74b8509352823480e2ef765dbc
3
+ metadata.gz: b7a24355435f4062840c1a3a93f98da788c51103665bde303fa3c2ad1649889a
4
+ data.tar.gz: 152bb8170bf5c0176f45e268db29dd257d43839c9c7ea44f06f1da3d9a875bf6
5
5
  SHA512:
6
- metadata.gz: 707b454af232927fec2984db1ce5be986ef1a53ef5ae1e54cab77ce51d212cba4ca3848cdecf767a281835fda2750443aaf19f7ab047280e2a20dcd36b08734b
7
- data.tar.gz: 3561f7dcacf86eb7d48124691a86984d91b170f79909b52c3908f759fb887b04fea123a95897abc730d9ec8df7fa9193a50e64ef55e0257c97e173f899049ab3
6
+ metadata.gz: 14ee4014b1699b58d51e866b30080247815d776c063cbee5764a1a1ee392d2d3a0cd2e34e41d573c9d804d74b5e67342f8641107eba2e6df840703a57f24e15e
7
+ data.tar.gz: 215ed3d105bbfa0af16ed2b3bc897019d54dd544f5368643e2256aa7649619c3d2e2da0ac0be2ba3f2813ea801a59400022d966dc7d8fa6645c51d01496eadd2
@@ -0,0 +1,69 @@
1
+ name: RSpec
2
+ on: [push, pull_request]
3
+
4
+ jobs:
5
+ rspec:
6
+ strategy:
7
+ fail-fast: false
8
+ matrix:
9
+ os: [ubuntu-latest]
10
+ ruby: [2.7]
11
+ runs-on: ${{ matrix.os }}
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - uses: ruby/setup-ruby@v1
15
+ with:
16
+ ruby-version: ${{ matrix.ruby }}
17
+ bundler-cache: true
18
+ - name: RSpec run
19
+ run: |
20
+ bash -c "
21
+ bundle exec rspec
22
+ [[ $? -ne 2 ]]
23
+ "
24
+ rspec-mri:
25
+ needs: rspec
26
+ strategy:
27
+ fail-fast: false
28
+ matrix:
29
+ os: [ ubuntu-latest ]
30
+ ruby: [2.5, 2.6, '3.0', head]
31
+ runs-on: ${{ matrix.os }}
32
+ steps:
33
+ - uses: actions/checkout@v2
34
+ - uses: ruby/setup-ruby@v1
35
+ with:
36
+ ruby-version: ${{ matrix.ruby }}
37
+ bundler-cache: true
38
+ - run: bundle exec rspec
39
+ rspec-jruby:
40
+ needs: rspec
41
+ strategy:
42
+ fail-fast: false
43
+ matrix:
44
+ os: [ ubuntu-latest ]
45
+ ruby: [ jruby, jruby-head]
46
+ runs-on: ${{ matrix.os }}
47
+ steps:
48
+ - uses: actions/checkout@v2
49
+ - uses: ruby/setup-ruby@v1
50
+ with:
51
+ ruby-version: ${{ matrix.ruby }}
52
+ bundler-cache: true
53
+ - run: JRUBY_OPTS="--debug" bundle exec rspec
54
+ rspec-truffleruby:
55
+ needs: rspec
56
+ strategy:
57
+ fail-fast: false
58
+ matrix:
59
+ os: [ ubuntu-latest ]
60
+ ruby: [truffleruby]
61
+ runs-on: ${{ matrix.os }}
62
+ steps:
63
+ - uses: actions/checkout@v2
64
+ - uses: ruby/setup-ruby@v1
65
+ with:
66
+ ruby-version: ${{ matrix.ruby }}
67
+ bundler-cache: true
68
+ - run: bundle exec rspec
69
+
@@ -0,0 +1,28 @@
1
+ name: Rubocop
2
+ on: [push, pull_request]
3
+ jobs:
4
+ rubocop:
5
+ strategy:
6
+ fail-fast: false
7
+ matrix:
8
+ os: [ubuntu-latest]
9
+ ruby: [2.7]
10
+ runs-on: ${{ matrix.os }}
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - uses: ruby/setup-ruby@v1
14
+ with:
15
+ ruby-version: ${{ matrix.ruby }}
16
+ bundler-cache: true
17
+ - name: Install Rubocop
18
+ run: gem install rubocop code-scanning-rubocop
19
+ - name: Rubocop run --no-doc
20
+ run: |
21
+ bash -c "
22
+ rubocop --require code_scanning --format CodeScanning::SarifFormatter -o rubocop.sarif
23
+ [[ $? -ne 2 ]]
24
+ "
25
+ - name: Upload Sarif output
26
+ uses: github/codeql-action/upload-sarif@v1
27
+ with:
28
+ sarif_file: rubocop.sarif
data/Gemfile CHANGED
@@ -1,4 +1,10 @@
1
1
  source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in legion-extensions-node.gemspec
4
2
  gemspec
3
+
4
+ group :test do
5
+ gem 'rake'
6
+ gem 'rspec'
7
+ gem 'rspec_junit_formatter'
8
+ gem 'rubocop'
9
+ gem 'simplecov'
10
+ end
File without changes
data/docker_deploy.rb CHANGED
File without changes
data/lex-node.gemspec CHANGED
@@ -7,26 +7,19 @@ Gem::Specification.new do |spec|
7
7
  spec.email = ['matthewdiverson@gmail.com']
8
8
 
9
9
  spec.summary = 'Does Legion Node things'
10
- spec.description = 'This lex is responsible for sending heartbeats, and allowing for dynamic confgs'
11
- spec.homepage = 'https://bitbucket.org/legion-io/lex-node/'
10
+ spec.description = 'This lex is responsible for sending heartbeats, allowing for dynamic config, cluster secret, etc'
11
+ spec.homepage = 'https://github.com/LegionIO/lex-node'
12
12
  spec.license = 'MIT'
13
13
  spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
14
14
 
15
15
  spec.metadata['homepage_uri'] = spec.homepage
16
- spec.metadata['source_code_uri'] = 'https://bitbucket.org/legion-io/lex-node'
17
- spec.metadata['documentation_uri'] = 'https://legionio.atlassian.net/wiki/spaces/LEX/pages/612139025'
18
- spec.metadata['changelog_uri'] = 'https://legionio.atlassian.net/wiki/spaces/LEX/pages/612139042/'
19
- spec.metadata['bug_tracker_uri'] = 'https://bitbucket.org/legion-io/lex-node/issues'
16
+ spec.metadata['source_code_uri'] = 'https://github.com/LegionIO/lex-node'
17
+ spec.metadata['documentation_uri'] = 'https://github.com/LegionIO/lex-node'
18
+ spec.metadata['changelog_uri'] = 'https://github.com/LegionIO/lex-node'
19
+ spec.metadata['bug_tracker_uri'] = 'https://github.com/LegionIO/lex-node/issues'
20
20
 
21
21
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
22
22
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
23
  end
24
24
  spec.require_paths = ['lib']
25
-
26
- spec.add_development_dependency 'legionio'
27
- spec.add_development_dependency 'rake'
28
- spec.add_development_dependency 'rspec'
29
- spec.add_development_dependency 'rspec_junit_formatter'
30
- spec.add_development_dependency 'rubocop'
31
- spec.add_development_dependency 'simplecov', '< 0.18.0'
32
25
  end
@@ -0,0 +1,26 @@
1
+ Sequel.migration do
2
+ up do
3
+ run "CREATE TABLE `nodes` (
4
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
5
+ `name` varchar(128) NOT NULL DEFAULT '',
6
+ `datacenter_id` int(11) unsigned DEFAULT NULL,
7
+ `environment_id` int(11) unsigned DEFAULT NULL,
8
+ `status` varchar(255) NOT NULL DEFAULT 'unknown',
9
+ `active` tinyint(1) unsigned NOT NULL DEFAULT '1',
10
+ `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
11
+ `updated` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
12
+ PRIMARY KEY (`id`),
13
+ UNIQUE KEY `name` (`name`),
14
+ KEY `active` (`active`),
15
+ KEY `status` (`status`),
16
+ KEY `node_datacenter_id` (`datacenter_id`),
17
+ KEY `node_environment_id` (`environment_id`),
18
+ CONSTRAINT `node_datacenter_id` FOREIGN KEY (`datacenter_id`) REFERENCES `datacenters` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
19
+ CONSTRAINT `node_environment_id` FOREIGN KEY (`environment_id`) REFERENCES `environments` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
20
+ ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;"
21
+ end
22
+
23
+ down do
24
+ drop_table :nodes
25
+ end
26
+ end
@@ -0,0 +1,26 @@
1
+ Sequel.migration do
2
+ up do
3
+ run "
4
+ create table node_history
5
+ (
6
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
7
+ node_id int(11) unsigned not null,
8
+ previous_staus varchar(255) null,
9
+ status varchar(255) default active not null,
10
+ `modified_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
11
+ `record_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
12
+ modified_by varchar(255) default 'node' not null,
13
+ PRIMARY KEY (`id`),
14
+ KEY `node_id` (`node_id`),
15
+ KEY `status` (`status`),
16
+ KEY `status` (`previous_status`),
17
+ CONSTRAINT `node_id` FOREIGN KEY (`nodes`) REFERENCES `nodes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
18
+ );
19
+ "
20
+ end
21
+
22
+ down do
23
+ drop_table :node_history
24
+ end
25
+ end
26
+
@@ -0,0 +1,8 @@
1
+ Sequel.migration do
2
+ change do
3
+ alter_table(:nodes) do
4
+ add_column :version, String, null: true
5
+ add_index :nodes_version, :version
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,23 @@
1
+ Sequel.migration do
2
+ up do
3
+ run "
4
+ create table node_extensions
5
+ (
6
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
7
+ node_id int(11) unsigned not null,
8
+ extension_id int(11) unsigned not null,
9
+ `record_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
10
+ PRIMARY KEY (`id`),
11
+ KEY `node_id` (`node_id`),
12
+ KEY `version` (`version`),
13
+ CONSTRAINT `node_id` FOREIGN KEY (`nodes`) REFERENCES `nodes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
14
+ CONSTRAINT `extension_id` FOREIGN KEY (`extensions`) REFERENCES `extensions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
15
+ );
16
+ "
17
+ end
18
+
19
+ down do
20
+ drop_table :node_extensions
21
+ end
22
+ end
23
+
@@ -2,10 +2,10 @@ module Legion::Extensions::Node::Runners
2
2
  module Beat
3
3
  include Legion::Extensions::Helpers::Transport
4
4
 
5
- def beat(status: 'healthy', **opts)
5
+ def beat(status: 'active', **opts)
6
6
  log.debug 'sending hearbeat'
7
7
  messages::Beat.new(status: status).publish
8
- { success: true, status: status, **opts }
8
+ { success: true, status: status, version: Legion::VERSION || nil, **opts }
9
9
  end
10
10
 
11
11
  include Legion::Extensions::Helpers::Lex
@@ -4,6 +4,9 @@ module Legion::Extensions::Node
4
4
  module Transport
5
5
  module Exchanges
6
6
  class Node < Legion::Transport::Exchanges::Node
7
+ def exchange_name
8
+ 'node'
9
+ end
7
10
  end
8
11
  end
9
12
  end
@@ -1,7 +1,7 @@
1
1
  module Legion::Extensions::Node::Transport::Messages
2
2
  class Beat < Legion::Transport::Message
3
3
  def routing_key
4
- 'health'
4
+ 'status'
5
5
  end
6
6
 
7
7
  def type
@@ -17,7 +17,7 @@ module Legion::Extensions::Node::Transport::Messages
17
17
  end
18
18
 
19
19
  def message
20
- hash = { hostname: Legion::Settings[:client][:hostname], pid: Process.pid, timestamp: Time.now }
20
+ hash = { name: Legion::Settings[:client][:hostname], pid: Process.pid, timestamp: Time.now }
21
21
  hash[:status] = @options[:status].nil? ? 'healthy' : @options[:status]
22
22
  hash
23
23
  end
@@ -9,15 +9,12 @@ module Legion::Extensions::Node::Transport::Messages
9
9
  end
10
10
 
11
11
  def message
12
- data =
13
- { function: 'receive_vault_token',
12
+ {
13
+ function: 'receive_vault_token',
14
14
  runner_class: 'Legion::Extensions::Node::Runners::Vault',
15
15
  message: @options[:token],
16
- public_key: Base64.encode64(Legion::Crypt.public_key) }
17
-
18
- Legion::Logging.unknown data
19
- Legion::Logging.unknown routing_key
20
- data
16
+ public_key: Base64.encode64(Legion::Crypt.public_key)
17
+ }
21
18
  end
22
19
 
23
20
  def type
@@ -1,7 +1,7 @@
1
1
  module Legion
2
2
  module Extensions
3
3
  module Node
4
- VERSION = '0.1.7'.freeze
4
+ VERSION = '0.2.0'.freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,118 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lex-node
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-03 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: legionio
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
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: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: rspec_junit_formatter
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: rubocop
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: simplecov
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "<"
88
- - !ruby/object:Gem::Version
89
- version: 0.18.0
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "<"
95
- - !ruby/object:Gem::Version
96
- version: 0.18.0
97
- description: This lex is responsible for sending heartbeats, and allowing for dynamic
98
- confgs
11
+ date: 2021-06-11 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: This lex is responsible for sending heartbeats, allowing for dynamic
14
+ config, cluster secret, etc
99
15
  email:
100
16
  - matthewdiverson@gmail.com
101
17
  executables: []
102
18
  extensions: []
103
19
  extra_rdoc_files: []
104
20
  files:
105
- - ".circleci/config.yml"
21
+ - ".github/workflows/rspec.yml"
22
+ - ".github/workflows/rubocop.yml"
106
23
  - ".gitignore"
107
24
  - ".rspec"
108
25
  - ".rubocop.yml"
109
26
  - Dockerfile
110
27
  - Gemfile
111
- - Gemfile.lock
112
- - LICENSE.txt
28
+ - LICENSE
113
29
  - README.md
114
- - Rakefile
115
- - bitbucket-pipelines.yml
116
30
  - docker_deploy.rb
117
31
  - lex-node.gemspec
118
32
  - lib/legion/extensions/node.rb
@@ -121,6 +35,10 @@ files:
121
35
  - lib/legion/extensions/node/actors/push_key.rb
122
36
  - lib/legion/extensions/node/actors/vault.rb
123
37
  - lib/legion/extensions/node/actors/vault_token_request.rb
38
+ - lib/legion/extensions/node/data_test/migrations/001_nodes_table.rb
39
+ - lib/legion/extensions/node/data_test/migrations/002_node_history_table.rb
40
+ - lib/legion/extensions/node/data_test/migrations/003_legion_version_colume.rb
41
+ - lib/legion/extensions/node/data_test/migrations/004_node_extensions.rb
124
42
  - lib/legion/extensions/node/runners/beat.rb
125
43
  - lib/legion/extensions/node/runners/crypt.rb
126
44
  - lib/legion/extensions/node/runners/node.rb
@@ -140,16 +58,16 @@ files:
140
58
  - lib/legion/extensions/node/transport/queues/vault.rb
141
59
  - lib/legion/extensions/node/version.rb
142
60
  - sonar-project.properties
143
- homepage: https://bitbucket.org/legion-io/lex-node/
61
+ homepage: https://github.com/LegionIO/lex-node
144
62
  licenses:
145
63
  - MIT
146
64
  metadata:
147
- homepage_uri: https://bitbucket.org/legion-io/lex-node/
148
- source_code_uri: https://bitbucket.org/legion-io/lex-node
149
- documentation_uri: https://legionio.atlassian.net/wiki/spaces/LEX/pages/612139025
150
- changelog_uri: https://legionio.atlassian.net/wiki/spaces/LEX/pages/612139042/
151
- bug_tracker_uri: https://bitbucket.org/legion-io/lex-node/issues
152
- post_install_message:
65
+ homepage_uri: https://github.com/LegionIO/lex-node
66
+ source_code_uri: https://github.com/LegionIO/lex-node
67
+ documentation_uri: https://github.com/LegionIO/lex-node
68
+ changelog_uri: https://github.com/LegionIO/lex-node
69
+ bug_tracker_uri: https://github.com/LegionIO/lex-node/issues
70
+ post_install_message:
153
71
  rdoc_options: []
154
72
  require_paths:
155
73
  - lib
@@ -164,8 +82,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
82
  - !ruby/object:Gem::Version
165
83
  version: '0'
166
84
  requirements: []
167
- rubygems_version: 3.1.4
168
- signing_key:
85
+ rubygems_version: 3.1.6
86
+ signing_key:
169
87
  specification_version: 4
170
88
  summary: Does Legion Node things
171
89
  test_files: []
data/.circleci/config.yml DELETED
@@ -1,82 +0,0 @@
1
- version: 2.1
2
- orbs:
3
- ruby: circleci/ruby@0.2.1
4
- sonarcloud: sonarsource/sonarcloud@1.0.1
5
-
6
- jobs:
7
- "rubocop":
8
- docker:
9
- - image: circleci/ruby:2.7-node
10
- steps:
11
- - checkout
12
- - ruby/load-cache
13
- - ruby/install-deps
14
- - run:
15
- name: Run Rubocop
16
- command: bundle exec rubocop
17
- - ruby/save-cache
18
- "ruby-two-five":
19
- docker:
20
- - image: circleci/ruby:2.5
21
- steps:
22
- - checkout
23
- - ruby/load-cache
24
- - run:
25
- name: update bundler
26
- command: gem update bundler
27
- - ruby/install-deps
28
- - ruby/run-tests
29
- - ruby/save-cache
30
- "ruby-two-six":
31
- docker:
32
- - image: circleci/ruby:2.6
33
- steps:
34
- - checkout
35
- - ruby/load-cache
36
- - run:
37
- name: update bundler
38
- command: gem update bundler
39
- - ruby/install-deps
40
- - ruby/run-tests
41
- - ruby/save-cache
42
- "ruby-two-seven":
43
- docker:
44
- - image: circleci/ruby:2.7
45
- steps:
46
- - checkout
47
- - ruby/load-cache
48
- - ruby/install-deps
49
- - ruby/run-tests
50
- - ruby/save-cache
51
- "sonarcloud":
52
- docker:
53
- - image: circleci/ruby:2.7
54
- steps:
55
- - checkout
56
- - ruby/load-cache
57
- - ruby/install-deps
58
- - ruby/run-tests
59
- - run:
60
- name: Run Rubocop
61
- command: bundle exec rubocop --format=json --out=rubocop-result.json
62
- - sonarcloud/scan
63
- - ruby/save-cache
64
-
65
- workflows:
66
- version: 2
67
- rubocop-rspec:
68
- jobs:
69
- - rubocop
70
- - ruby-two-five:
71
- requires:
72
- - rubocop
73
- - ruby-two-six:
74
- requires:
75
- - ruby-two-five
76
- - ruby-two-seven:
77
- requires:
78
- - ruby-two-five
79
- - sonarcloud:
80
- requires:
81
- - ruby-two-seven
82
- - ruby-two-six
data/Gemfile.lock DELETED
@@ -1,120 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- lex-node (0.1.6)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- amq-protocol (2.3.2)
10
- ast (2.4.2)
11
- aws-eventstream (1.1.0)
12
- aws-sigv4 (1.2.2)
13
- aws-eventstream (~> 1, >= 1.0.2)
14
- bunny (2.17.0)
15
- amq-protocol (~> 2.3, >= 2.3.1)
16
- concurrent-ruby (1.1.8)
17
- concurrent-ruby-ext (1.1.8)
18
- concurrent-ruby (= 1.1.8)
19
- connection_pool (2.2.3)
20
- daemons (1.3.1)
21
- dalli (2.7.11)
22
- diff-lcs (1.4.4)
23
- docile (1.3.5)
24
- json (2.5.1)
25
- json_pure (2.5.1)
26
- legion-cache (1.1.1)
27
- connection_pool (>= 2.2.3)
28
- dalli (>= 2.7)
29
- redis (>= 4.2)
30
- legion-crypt (0.3.0)
31
- vault (>= 0.15.0)
32
- legion-exceptions (1.1.5)
33
- legion-json (1.1.4)
34
- json_pure
35
- legion-exceptions (>= 1.1.5)
36
- multi_json
37
- legion-logging (1.1.4)
38
- rainbow (~> 3)
39
- legion-settings (1.1.3)
40
- legion-json
41
- legion-logging
42
- legion-transport (1.1.9)
43
- bunny (>= 2.17.0)
44
- concurrent-ruby (>= 1.1.7)
45
- legion-json
46
- legionio (0.4.3)
47
- concurrent-ruby (>= 1.1.7)
48
- concurrent-ruby-ext (>= 1.1.7)
49
- daemons (>= 1.3.1)
50
- legion-cache
51
- legion-crypt (>= 0.2.0)
52
- legion-exceptions
53
- legion-json
54
- legion-logging
55
- legion-settings
56
- legion-transport (>= 1.1.9)
57
- lex-node
58
- oj (>= 3.10)
59
- thor (>= 1)
60
- multi_json (1.15.0)
61
- oj (3.11.2)
62
- parallel (1.20.1)
63
- parser (3.0.0.0)
64
- ast (~> 2.4.1)
65
- rainbow (3.0.0)
66
- rake (13.0.3)
67
- redis (4.2.5)
68
- regexp_parser (2.1.1)
69
- rexml (3.2.4)
70
- rspec (3.10.0)
71
- rspec-core (~> 3.10.0)
72
- rspec-expectations (~> 3.10.0)
73
- rspec-mocks (~> 3.10.0)
74
- rspec-core (3.10.1)
75
- rspec-support (~> 3.10.0)
76
- rspec-expectations (3.10.1)
77
- diff-lcs (>= 1.2.0, < 2.0)
78
- rspec-support (~> 3.10.0)
79
- rspec-mocks (3.10.2)
80
- diff-lcs (>= 1.2.0, < 2.0)
81
- rspec-support (~> 3.10.0)
82
- rspec-support (3.10.2)
83
- rspec_junit_formatter (0.4.1)
84
- rspec-core (>= 2, < 4, != 2.12.0)
85
- rubocop (1.11.0)
86
- parallel (~> 1.10)
87
- parser (>= 3.0.0.0)
88
- rainbow (>= 2.2.2, < 4.0)
89
- regexp_parser (>= 1.8, < 3.0)
90
- rexml
91
- rubocop-ast (>= 1.2.0, < 2.0)
92
- ruby-progressbar (~> 1.7)
93
- unicode-display_width (>= 1.4.0, < 3.0)
94
- rubocop-ast (1.4.1)
95
- parser (>= 2.7.1.5)
96
- ruby-progressbar (1.11.0)
97
- simplecov (0.17.1)
98
- docile (~> 1.1)
99
- json (>= 1.8, < 3)
100
- simplecov-html (~> 0.10.0)
101
- simplecov-html (0.10.2)
102
- thor (1.1.0)
103
- unicode-display_width (2.0.0)
104
- vault (0.15.0)
105
- aws-sigv4
106
-
107
- PLATFORMS
108
- ruby
109
-
110
- DEPENDENCIES
111
- legionio
112
- lex-node!
113
- rake
114
- rspec
115
- rspec_junit_formatter
116
- rubocop
117
- simplecov (< 0.18.0)
118
-
119
- BUNDLED WITH
120
- 2.1.4
data/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- require 'bundler/gem_tasks'
2
- require 'rspec/core/rake_task'
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task default: :spec
@@ -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'