systemd_service_check 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +49 -0
- data/CHANGELOG.md +6 -0
- data/README.md +21 -5
- data/lib/systemd_service_check/version.rb +1 -1
- data/systemd_service_check.gemspec +9 -4
- metadata +34 -21
- data/.travis.yml +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 731fa4fa5df31711079f48b19a36b2b3b1e22f7bfbd39e6b64bd3b6dd6e3dd05
|
4
|
+
data.tar.gz: fb4ccb2e5a6fc29cbed5576d8017a1f32213ec794c9b23f49b1141005eb13a01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2675b88b57569b896d8c87321218dbd75eec7d33d7300a73a3016761cc6f37b9174431649658f914e4a64e0343efa32c6ece8edac682ca1991771adcb77107f
|
7
|
+
data.tar.gz: 7eb76f53b278acaa567c9890f02d40f3a886ae70b2e2067c0ea7ad95e28a35ebda7deaec38efdaa0f6081a102fe83446d4a7fe0af119861eb8a2e7ccafad84fd
|
@@ -0,0 +1,49 @@
|
|
1
|
+
name: Ruby
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches: [ master ]
|
5
|
+
pull_request:
|
6
|
+
branches: [ master ]
|
7
|
+
schedule:
|
8
|
+
- cron: '0 21 * * SAT' # UTC => JST 06:00:00 SUN
|
9
|
+
env:
|
10
|
+
# nektos/act: Run your GitHub Actions locally 🚀
|
11
|
+
# https://github.com/nektos/act
|
12
|
+
ACT:
|
13
|
+
jobs:
|
14
|
+
test:
|
15
|
+
runs-on: ubuntu-latest
|
16
|
+
strategy:
|
17
|
+
matrix:
|
18
|
+
ruby-version:
|
19
|
+
- '2.6'
|
20
|
+
- '2.7'
|
21
|
+
- '3.0'
|
22
|
+
steps:
|
23
|
+
- uses: actions/checkout@v2
|
24
|
+
|
25
|
+
- name: Setup Ruby, JRuby and TruffleRuby
|
26
|
+
uses: ruby/setup-ruby@v1.81.0
|
27
|
+
with:
|
28
|
+
ruby-version: ${{ matrix.ruby-version }}
|
29
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
30
|
+
|
31
|
+
- name: Run tests
|
32
|
+
run: bundle exec rake
|
33
|
+
|
34
|
+
- name: Upload a Build Artifact
|
35
|
+
if: ${{ !env.ACT && matrix.ruby-version == '3.0' }}
|
36
|
+
uses: actions/upload-artifact@v2.2.4
|
37
|
+
with:
|
38
|
+
name: coverage
|
39
|
+
path: coverage
|
40
|
+
|
41
|
+
- name: Report coverage to Code Climate
|
42
|
+
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' }}
|
43
|
+
# Code Climate Coverage Action · Actions · GitHub Marketplace
|
44
|
+
# https://github.com/marketplace/actions/code-climate-coverage-action#example-with-only-upload
|
45
|
+
uses: paambaati/codeclimate-action@v2.7.5
|
46
|
+
env:
|
47
|
+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
48
|
+
with:
|
49
|
+
debug: true
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,12 @@ Please confirm details from the following.
|
|
4
4
|
|
5
5
|
https://github.com/k-ta-yamada/systemd_service_check/releases
|
6
6
|
|
7
|
+
## v1.1.1
|
8
|
+
|
9
|
+
2021-09-06 JST
|
10
|
+
|
11
|
+
- required_ruby_version change to `>= 2.6.0` because Ruby 2.5 reaches EOL.
|
12
|
+
|
7
13
|
## v1.1.0
|
8
14
|
|
9
15
|
2018-02-08 +0900
|
data/README.md
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
|
1
|
+
[![Gem Version][gem_version-svg]][gem_version]
|
2
|
+
[![Build Status][travis-svg]][travis]
|
3
|
+
[![Downloads][downloads-svg]][gem_version]
|
4
|
+
[![Inline docs][inch-ci-svg]][inch-ci]
|
5
|
+
[![Code Climate][codeclimate-svg]][codeclimate]
|
6
|
+
[![Test Coverage][codeclimate_cov-svg]][codeclimate_cov]
|
2
7
|
|
3
|
-
|
4
|
-
[![Build Status](https://travis-ci.org/k-ta-yamada/systemd_service_check.svg?branch=master)](https://travis-ci.org/k-ta-yamada/systemd_service_check)
|
5
|
-
[![Inline docs](http://inch-ci.org/github/k-ta-yamada/systemd_service_check.svg?branch=master&style=shields)](http://inch-ci.org/github/k-ta-yamada/systemd_service_check)
|
8
|
+
# SystemdServiceCheck
|
6
9
|
|
7
10
|
This gem provide `ssc` command to check multiple `systemd service`
|
8
11
|
etc on multiple remote servers using net-ssh.
|
@@ -332,7 +335,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
332
335
|
|
333
336
|
## Contributing
|
334
337
|
|
335
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/k-ta-yamada/systemd_service_check. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](
|
338
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/k-ta-yamada/systemd_service_check. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://contributor-covenant.org) code of conduct.
|
336
339
|
|
337
340
|
## License
|
338
341
|
|
@@ -341,3 +344,16 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
341
344
|
## Code of Conduct
|
342
345
|
|
343
346
|
Everyone interacting in the SystemdServiceCheck project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/k-ta-yamada/systemd_service_check/blob/master/CODE_OF_CONDUCT.md).
|
347
|
+
|
348
|
+
|
349
|
+
[gem_version]: https://badge.fury.io/rb/systemd_service_check
|
350
|
+
[gem_version-svg]: https://badge.fury.io/rb/systemd_service_check.svg
|
351
|
+
[travis]: https://travis-ci.org/k-ta-yamada/systemd_service_check
|
352
|
+
[travis-svg]: https://travis-ci.org/k-ta-yamada/systemd_service_check.svg
|
353
|
+
[codeclimate]: https://codeclimate.com/github/k-ta-yamada/systemd_service_check
|
354
|
+
[codeclimate-svg]: https://codeclimate.com/github/k-ta-yamada/systemd_service_check/badges/gpa.svg
|
355
|
+
[codeclimate_cov]: https://codeclimate.com/github/k-ta-yamada/systemd_service_check/coverage
|
356
|
+
[codeclimate_cov-svg]: https://codeclimate.com/github/k-ta-yamada/systemd_service_check/badges/coverage.svg
|
357
|
+
[inch-ci]: https://inch-ci.org/github/k-ta-yamada/systemd_service_check
|
358
|
+
[inch-ci-svg]: https://inch-ci.org/github/k-ta-yamada/systemd_service_check.svg?branch=master
|
359
|
+
[downloads-svg]: https://ruby-gem-downloads-badge.herokuapp.com/systemd_service_check?type=total&total_label=&color=brightgreen
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["k-ta-yamada"]
|
10
10
|
spec.email = ["key.luvless@gmail.com"]
|
11
11
|
|
12
|
-
spec.required_ruby_version = '>= 2.
|
12
|
+
spec.required_ruby_version = '>= 2.6.0'
|
13
13
|
|
14
14
|
spec.summary = 'This gem provide `ssc` command to check multiple `systemd service` etc on multiple remote servers using net-ssh.'
|
15
15
|
spec.description = 'This gem provide `ssc` command to check multiple `systemd service` etc on multiple remote servers using net-ssh.'
|
@@ -34,9 +34,14 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.executables = ['ssc']
|
35
35
|
spec.require_paths = ["lib"]
|
36
36
|
|
37
|
-
spec.add_development_dependency "bundler"
|
38
|
-
spec.add_development_dependency "minitest"
|
39
|
-
spec.add_development_dependency "rake"
|
37
|
+
spec.add_development_dependency "bundler"
|
38
|
+
spec.add_development_dependency "minitest"
|
39
|
+
spec.add_development_dependency "rake"
|
40
|
+
# Workaround for cc-test-reporter with SimpleCov 0.18.
|
41
|
+
# Stop upgrading SimpleCov until the following issue will be resolved.
|
42
|
+
# https://github.com/codeclimate/test-reporter/issues/418
|
43
|
+
# https://github.com/codeclimate/test-reporter/issues/413
|
44
|
+
spec.add_development_dependency 'simplecov', '= 0.17'
|
40
45
|
|
41
46
|
spec.add_development_dependency 'capture_stdout'
|
42
47
|
spec.add_development_dependency 'minitest-reporters'
|
metadata
CHANGED
@@ -1,57 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: systemd_service_check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- k-ta-yamada
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
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: simplecov
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
61
|
+
version: '0.17'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- -
|
66
|
+
- - '='
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
68
|
+
version: '0.17'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: capture_stdout
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,10 +215,10 @@ executables:
|
|
201
215
|
extensions: []
|
202
216
|
extra_rdoc_files: []
|
203
217
|
files:
|
218
|
+
- ".github/workflows/ruby.yml"
|
204
219
|
- ".gitignore"
|
205
220
|
- ".rubocop.yml"
|
206
221
|
- ".rubocop_todo.yml"
|
207
|
-
- ".travis.yml"
|
208
222
|
- CHANGELOG.md
|
209
223
|
- CODE_OF_CONDUCT.md
|
210
224
|
- Gemfile
|
@@ -228,7 +242,7 @@ homepage: https://github.com/k-ta-yamada/systemd_service_check
|
|
228
242
|
licenses:
|
229
243
|
- MIT
|
230
244
|
metadata: {}
|
231
|
-
post_install_message:
|
245
|
+
post_install_message:
|
232
246
|
rdoc_options: []
|
233
247
|
require_paths:
|
234
248
|
- lib
|
@@ -236,16 +250,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
236
250
|
requirements:
|
237
251
|
- - ">="
|
238
252
|
- !ruby/object:Gem::Version
|
239
|
-
version: 2.
|
253
|
+
version: 2.6.0
|
240
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
241
255
|
requirements:
|
242
256
|
- - ">="
|
243
257
|
- !ruby/object:Gem::Version
|
244
258
|
version: '0'
|
245
259
|
requirements: []
|
246
|
-
|
247
|
-
|
248
|
-
signing_key:
|
260
|
+
rubygems_version: 3.2.3
|
261
|
+
signing_key:
|
249
262
|
specification_version: 4
|
250
263
|
summary: This gem provide `ssc` command to check multiple `systemd service` etc on
|
251
264
|
multiple remote servers using net-ssh.
|