service_skeleton 1.0.1 → 1.0.2

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: 5ed3c72438e33a325a29df44b7b2eba93132e9337b48731852fc89923991184a
4
- data.tar.gz: d797ef75931811bc31b279f10f04c437bb887741ead4713a42d9cc51784efda6
3
+ metadata.gz: '0784b080a70e7097113e64f9f217d463ebc35920cb5938c8543423321c1ea0ed'
4
+ data.tar.gz: 451b025d9d3283946d8bc791ab085903b516bc8aeadbdac7cd38076ca59afc16
5
5
  SHA512:
6
- metadata.gz: 10d9a89e15ff340034e77598b822064c1779c9c1ff360ce66cabdda431cbc41e1733ad7a1cd656fc93968c0deaf61f2a3ff377a608c049c622ccebc2168d82d6
7
- data.tar.gz: 2558d43f93cb080aedb23e08679c757ebbd14fd74699fce2ef87e2ebfa802b12548ab7e0f8b6f8c74de4e684f7850283967967a85b16cb007aaef2ea0cefe9bf
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
@@ -1 +1,5 @@
1
- inherit_from: https://raw.githubusercontent.com/discourse/discourse/master/.rubocop.yml
1
+ inherit_gem:
2
+ rubocop-discourse: default.yml
3
+ inherit_mode:
4
+ merge:
5
+ - Exclude
@@ -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.1
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-10-09 00:00:00.000000000 Z
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.0.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: []
@@ -1,11 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- cache: bundler
4
-
5
- rvm:
6
- - 2.5.3
7
- - 2.4.5
8
- - 2.3.8
9
-
10
- gemfile:
11
- - Gemfile