service_skeleton 1.0.1 → 1.0.2
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.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +35 -0
- data/.rubocop.yml +5 -1
- data/lib/service_skeleton/ultravisor_children.rb +2 -1
- metadata +7 -7
- data/.travis.yml +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0784b080a70e7097113e64f9f217d463ebc35920cb5938c8543423321c1ea0ed'
|
4
|
+
data.tar.gz: 451b025d9d3283946d8bc791ab085903b516bc8aeadbdac7cd38076ca59afc16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b51c443ac3ea961f24d79c9cb6a0039d5e00e50a8e7349509adab7091b2c789dc51f01c1bbbd2c41b83a24c1ac2d18da7215ae25b6c4878aad461e18ada50193
|
7
|
+
data.tar.gz: a1f2193a51c33ace2672b0dfa8534bb34402c2e9091c7fdbc58cbbf9ff87466ffc228b60513bd0cce75f7b148de0c1cd93b90dbec9d25d253f0554e40a814f9d
|
@@ -0,0 +1,35 @@
|
|
1
|
+
name: Service Skeleton Tests
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
push:
|
6
|
+
branches:
|
7
|
+
- master
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
build:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
name: Ruby ${{ matrix.ruby }}
|
13
|
+
strategy:
|
14
|
+
matrix:
|
15
|
+
ruby: ["2.5", "2.6", "2.7"]
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v2
|
18
|
+
- uses: actions/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: ${{ matrix.ruby }}
|
21
|
+
- name: Bundler cache
|
22
|
+
uses: actions/cache@v2
|
23
|
+
with:
|
24
|
+
path: vendor/bundle
|
25
|
+
key: ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
26
|
+
restore-keys: |
|
27
|
+
${{ runner.os }}-${{ matrix.ruby }}-gems-
|
28
|
+
- name: Setup gems
|
29
|
+
run: |
|
30
|
+
bundle config path vendor/bundle
|
31
|
+
bundle install --jobs 4
|
32
|
+
- name: Rubocop
|
33
|
+
run: bundle exec rubocop
|
34
|
+
- name: Tests
|
35
|
+
run: bundle exec rspec
|
data/.rubocop.yml
CHANGED
@@ -8,7 +8,8 @@ module ServiceSkeleton
|
|
8
8
|
id: self.service_name.to_sym,
|
9
9
|
klass: self,
|
10
10
|
method: :run,
|
11
|
-
args: [config: config, metrics: metrics_registry]
|
11
|
+
args: [config: config, metrics: metrics_registry],
|
12
|
+
access: :unsafe
|
12
13
|
)
|
13
14
|
rescue Ultravisor::InvalidKAMError
|
14
15
|
raise ServiceSkeleton::Error::InvalidServiceClassError,
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: service_skeleton
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Palmer
|
8
8
|
- Sam Saffron
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-12-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: frankenstein
|
@@ -297,9 +297,9 @@ extensions: []
|
|
297
297
|
extra_rdoc_files: []
|
298
298
|
files:
|
299
299
|
- ".editorconfig"
|
300
|
+
- ".github/workflows/ci.yml"
|
300
301
|
- ".gitignore"
|
301
302
|
- ".rubocop.yml"
|
302
|
-
- ".travis.yml"
|
303
303
|
- ".yardopts"
|
304
304
|
- CODE_OF_CONDUCT.md
|
305
305
|
- CONTRIBUTING.md
|
@@ -335,7 +335,7 @@ files:
|
|
335
335
|
homepage: https://github.com/discourse/service_skeleton
|
336
336
|
licenses: []
|
337
337
|
metadata: {}
|
338
|
-
post_install_message:
|
338
|
+
post_install_message:
|
339
339
|
rdoc_options: []
|
340
340
|
require_paths:
|
341
341
|
- lib
|
@@ -350,8 +350,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
350
350
|
- !ruby/object:Gem::Version
|
351
351
|
version: '0'
|
352
352
|
requirements: []
|
353
|
-
rubygems_version: 3.
|
354
|
-
signing_key:
|
353
|
+
rubygems_version: 3.1.4
|
354
|
+
signing_key:
|
355
355
|
specification_version: 4
|
356
356
|
summary: The bare bones of a service
|
357
357
|
test_files: []
|