fluent-plugin-chatwork 2.0.2 → 2.0.3

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
- SHA1:
3
- metadata.gz: 72b9074700991322749b868e02b33720856f4970
4
- data.tar.gz: 13807e97370d73b831464d21be1d2a20cd44896f
2
+ SHA256:
3
+ metadata.gz: e45b5213ff2d74c8887b01bf2f7b35d98caa14afee29e1bcc6b1dddbbc913215
4
+ data.tar.gz: 1641a43fd6fcc68b7b541ef466711e4541468d6109ae97074f3d8a36fc1dca5b
5
5
  SHA512:
6
- metadata.gz: f8e6f5100431c60c8edcf25026c644839da746828bce1868e5260901a55d5a643c43d2bea97ec8aa02ee416a2b55bc5ce51f318902e777e2fd67bf26662a0e2c
7
- data.tar.gz: c569290c67eb66bbb8c0a2c9b61222d7434405baa18bb61a4864c71721301f2a726dcccdea2bd16aa921c9cebe8afe66082c99cf9d223cf3d50d72d1f6c7b93d
6
+ metadata.gz: ba51d56830461bd000312ac9f9bb2f5ea5395b4b23f702bde79bdc371fc56ddef92c677a6a23cb77b0ece575e4a0e8fe117446d6f60a5158097b6f927deee222
7
+ data.tar.gz: 943daf1b1766c5b151f783c529f5dc44b2afaff001920993d74e275c68306a19d9cb42a2fd209773a4c9eb0dab6709e6d8c14d737cd91ffbec483880e7b842ab
@@ -0,0 +1,112 @@
1
+ name: test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ types:
9
+ - opened
10
+ - synchronize
11
+ - reopened
12
+ schedule:
13
+ - cron: "0 10 * * 5" # JST 19:00 (Fri)
14
+
15
+ env:
16
+ CI: "true"
17
+
18
+ jobs:
19
+ test:
20
+ runs-on: ubuntu-latest
21
+
22
+ container: ${{ matrix.ruby }}
23
+
24
+ strategy:
25
+ fail-fast: false
26
+
27
+ matrix:
28
+ ruby:
29
+ - ruby:2.1
30
+ - ruby:2.2
31
+ - ruby:2.3
32
+ - ruby:2.4
33
+ - ruby:2.5
34
+ - ruby:2.6
35
+ - ruby:2.7
36
+ - ruby:3.0
37
+ - rubylang/ruby:master-nightly-bionic
38
+ include:
39
+ - ruby: rubylang/ruby:master-nightly-bionic
40
+ allow_failures: "true"
41
+
42
+ steps:
43
+ - uses: actions/checkout@v2
44
+
45
+
46
+ - name: Cache vendor/bundle
47
+ uses: actions/cache@v1
48
+ id: cache_gem
49
+ with:
50
+ path: vendor/bundle
51
+ key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
52
+ restore-keys: |
53
+ v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
54
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
55
+
56
+ - name: bundle update
57
+ run: |
58
+ set -xe
59
+ bundle config path vendor/bundle
60
+ bundle update --jobs $(nproc) --retry 3
61
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
62
+
63
+ - name: Setup Code Climate Test Reporter
64
+ uses: aktions/codeclimate-test-reporter@v1
65
+ with:
66
+ codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
67
+ command: before-build
68
+ if: matrix.ruby >= 'ruby:2.4'
69
+ continue-on-error: true
70
+
71
+ - name: Run test
72
+ run: |
73
+ set -xe
74
+ bundle exec rspec
75
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
76
+
77
+ - name: Teardown Code Climate Test Reporter
78
+ uses: aktions/codeclimate-test-reporter@v1
79
+ with:
80
+ codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
81
+ command: after-build
82
+ if: matrix.ruby >= 'ruby:2.4' && always()
83
+ continue-on-error: true
84
+
85
+ - name: Slack Notification (not success)
86
+ uses: lazy-actions/slatify@master
87
+ if: "! success()"
88
+ continue-on-error: true
89
+ with:
90
+ job_name: ${{ format('*build* ({0})', matrix.ruby) }}
91
+ type: ${{ job.status }}
92
+ icon_emoji: ":octocat:"
93
+ url: ${{ secrets.SLACK_WEBHOOK }}
94
+ token: ${{ secrets.GITHUB_TOKEN }}
95
+
96
+ notify:
97
+ needs:
98
+ - test
99
+
100
+ runs-on: ubuntu-latest
101
+
102
+ steps:
103
+ - name: Slack Notification (success)
104
+ uses: lazy-actions/slatify@master
105
+ if: always()
106
+ continue-on-error: true
107
+ with:
108
+ job_name: '*build*'
109
+ type: ${{ job.status }}
110
+ icon_emoji: ":octocat:"
111
+ url: ${{ secrets.SLACK_WEBHOOK }}
112
+ token: ${{ secrets.GITHUB_TOKEN }}
data/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # Changelog
2
2
  ## master
3
- [full changelog](https://github.com/sue445/fluent-plugin-chatwork/compare/v2.0.2...master)
3
+ [full changelog](https://github.com/sue445/fluent-plugin-chatwork/compare/v2.0.3...master)
4
+
5
+ ## 2.0.3
6
+ [full changelog](https://github.com/sue445/fluent-plugin-chatwork/compare/v2.0.2...v2.0.3)
7
+
8
+ * Enable MFA requirement for gem releasing
9
+ * https://github.com/sue445/fluent-plugin-chatwork/pull/34
4
10
 
5
11
  ## 2.0.2
6
12
  [full changelog](https://github.com/sue445/fluent-plugin-chatwork/compare/v2.0.1...v2.0.2)
data/README.md CHANGED
@@ -3,8 +3,7 @@
3
3
  fluentd output plugin for post to [ChatWork](http://www.chatwork.com/)
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/fluent-plugin-chatwork.svg)](http://badge.fury.io/rb/fluent-plugin-chatwork)
6
- [![Build Status](https://travis-ci.org/sue445/fluent-plugin-chatwork.svg?branch=master)](https://travis-ci.org/sue445/fluent-plugin-chatwork)
7
- [![Dependency Status](https://gemnasium.com/sue445/fluent-plugin-chatwork.svg)](https://gemnasium.com/sue445/fluent-plugin-chatwork)
6
+ [![Build Status](https://github.com/sue445/fluent-plugin-chatwork/workflows/test/badge.svg?branch=master)](https://github.com/sue445/fluent-plugin-chatwork/actions?query=workflow%3Atest)
8
7
  [![Coverage Status](https://coveralls.io/repos/github/sue445/fluent-plugin-chatwork/badge.svg?branch=master)](https://coveralls.io/github/sue445/fluent-plugin-chatwork?branch=master)
9
8
  [![Code Climate](https://codeclimate.com/github/sue445/fluent-plugin-chatwork.png)](https://codeclimate.com/github/sue445/fluent-plugin-chatwork)
10
9
  [![Inline docs](http://inch-ci.org/github/sue445/fluent-plugin-chatwork.svg?branch=master)](http://inch-ci.org/github/sue445/fluent-plugin-chatwork)
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-chatwork"
7
- spec.version = "2.0.2"
7
+ spec.version = "2.0.3"
8
8
  spec.authors = ["sue445"]
9
9
  spec.email = ["sue445@sue445.net"]
10
10
  spec.summary = %q{fluentd output plugin for post to chatwork}
@@ -12,6 +12,11 @@ Gem::Specification.new do |spec|
12
12
  spec.homepage = "https://github.com/sue445/fluent-plugin-chatwork"
13
13
  spec.license = "MIT"
14
14
 
15
+ spec.metadata["homepage_uri"] = spec.homepage
16
+ spec.metadata["source_code_uri"] = spec.homepage
17
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
18
+ spec.metadata["rubygems_mfa_required"] = "true"
19
+
15
20
  spec.files = `git ls-files -z`.split("\x0")
16
21
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
22
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
@@ -21,10 +26,10 @@ Gem::Specification.new do |spec|
21
26
  spec.add_dependency "chatwork", ">= 0.4.0"
22
27
 
23
28
  spec.add_development_dependency "bundler"
24
- spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0.0"
25
29
  spec.add_development_dependency "coveralls"
26
30
  spec.add_development_dependency "rake"
27
31
  spec.add_development_dependency "rspec"
28
32
  spec.add_development_dependency "simplecov"
29
33
  spec.add_development_dependency "test-unit"
34
+ spec.add_development_dependency "webrick"
30
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-chatwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-18 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -59,21 +59,21 @@ dependencies:
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  - !ruby/object:Gem::Dependency
62
- name: codeclimate-test-reporter
62
+ name: coveralls
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - "~>"
65
+ - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: 1.0.0
67
+ version: '0'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - "~>"
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: 1.0.0
74
+ version: '0'
75
75
  - !ruby/object:Gem::Dependency
76
- name: coveralls
76
+ name: rake
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - ">="
@@ -87,7 +87,7 @@ dependencies:
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  - !ruby/object:Gem::Dependency
90
- name: rake
90
+ name: rspec
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - ">="
@@ -101,7 +101,7 @@ dependencies:
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  - !ruby/object:Gem::Dependency
104
- name: rspec
104
+ name: simplecov
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - ">="
@@ -115,7 +115,7 @@ dependencies:
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  - !ruby/object:Gem::Dependency
118
- name: simplecov
118
+ name: test-unit
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - ">="
@@ -129,7 +129,7 @@ dependencies:
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  - !ruby/object:Gem::Dependency
132
- name: test-unit
132
+ name: webrick
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - ">="
@@ -150,10 +150,9 @@ extensions: []
150
150
  extra_rdoc_files: []
151
151
  files:
152
152
  - ".coveralls.yml"
153
+ - ".github/workflows/test.yml"
153
154
  - ".gitignore"
154
155
  - ".rspec"
155
- - ".tachikoma.yml"
156
- - ".travis.yml"
157
156
  - CHANGELOG.md
158
157
  - Gemfile
159
158
  - LICENSE.txt
@@ -166,8 +165,12 @@ files:
166
165
  homepage: https://github.com/sue445/fluent-plugin-chatwork
167
166
  licenses:
168
167
  - MIT
169
- metadata: {}
170
- post_install_message:
168
+ metadata:
169
+ homepage_uri: https://github.com/sue445/fluent-plugin-chatwork
170
+ source_code_uri: https://github.com/sue445/fluent-plugin-chatwork
171
+ changelog_uri: https://github.com/sue445/fluent-plugin-chatwork/blob/master/CHANGELOG.md
172
+ rubygems_mfa_required: 'true'
173
+ post_install_message:
171
174
  rdoc_options: []
172
175
  require_paths:
173
176
  - lib
@@ -182,9 +185,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
185
  - !ruby/object:Gem::Version
183
186
  version: '0'
184
187
  requirements: []
185
- rubyforge_project:
186
- rubygems_version: 2.6.12
187
- signing_key:
188
+ rubygems_version: 3.2.22
189
+ signing_key:
188
190
  specification_version: 4
189
191
  summary: fluentd output plugin for post to chatwork
190
192
  test_files:
data/.tachikoma.yml DELETED
@@ -1 +0,0 @@
1
- strategy: 'bundler'
data/.travis.yml DELETED
@@ -1,26 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.1
4
- - 2.2
5
- - 2.3.3
6
- - 2.4.0
7
- - ruby-head
8
- cache: bundler
9
- bundler_args: "--jobs=2"
10
- before_script:
11
- - export CODECLIMATE_REPO_TOKEN=586f55fe847c8d296adc6a00e2adf651cd63f4ea3c6ae79e7d723ad2c1f86ffc
12
- - export COVERAGE=true
13
- script:
14
- - bundle exec rspec
15
- - bundle exec codeclimate-test-reporter
16
- branches:
17
- only:
18
- - master
19
- notifications:
20
- email: false
21
- slack:
22
- secure: i04GzZS8Xbq0ZGjz5EvTref5UgH6Z8RfJjFzGf8d841Z54WHpBOPy3aXIiMCVmk1yyB7AKul41l50QgaQenWKeizKhr+Adg6tIGYdrjX5m5tq4tDlpgNR+osYBCyDGgC5PJkF1nMmYMUnI8O1kLKbwE0cqigWTRnyWBTuD+LQ4s=
23
- matrix:
24
- allow_failures:
25
- - rvm: ruby-head
26
- sudo: false