chatwork 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 585f2c778d77f3260712b3ad3eaa0e318e78d8904fa96cb8d72774579357710f
4
- data.tar.gz: 48b488cb2609d54b4df6c6a393e24332636c5443feadd65ee03abced689af352
3
+ metadata.gz: fed09ff96338f37d85385fc5bc591f1aa3bbb10a3bfba8f8dda496d16e0f6cb6
4
+ data.tar.gz: c59ff6a457ed76cc3ec4b726d27af626bed5757d4dfa48125ac692e96ca03430
5
5
  SHA512:
6
- metadata.gz: 03fa686ba7691e4bd5ba8ab9a2bdb39fdc9543c8cbf552ec34c0a8c8188ee54fad0d85f29dcb103f887c5c774f56482ba6ce4be759610f139c5818839dd70291
7
- data.tar.gz: 1e24ff095ea983bad035f3d55ff9b94fc12f19fc6cd6563a7addf58f8a023c62ce9d102597fe67e8abf91b9cec1caafc3596acab74f3f8dc0e52e41f7cb2c422
6
+ metadata.gz: 33837b97deba97b4eae2f307b937e03b29c562bca5de3b37c46c20176bfcf713ba44759d7c341d6a2542ade474ffd0f61e8ad83d83920c923d35b2367d69d87e
7
+ data.tar.gz: 0f97273eb31cbc1d8eeffc022f414d8f59c500eacc8de079623220d1c74e52bed8caff3e0f33fbe0497aa4d8508f2c95f63cf52bfe95749d3c20e5428d8e371e
@@ -6,5 +6,7 @@ updates:
6
6
  directory: /
7
7
  schedule:
8
8
  interval: weekly
9
+ cooldown:
10
+ default-days: 7
9
11
  assignees:
10
12
  - sue445
@@ -0,0 +1,41 @@
1
+ name: Publish gem to rubygems.org
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ release:
8
+ if: github.repository == 'asonas/chatwork-ruby'
9
+ runs-on: ubuntu-latest
10
+
11
+ environment:
12
+ name: rubygems.org
13
+ url: https://rubygems.org/gems/chatwork
14
+
15
+ permissions:
16
+ contents: write
17
+ id-token: write
18
+
19
+ steps:
20
+ - name: Harden Runner
21
+ uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
22
+ with:
23
+ egress-policy: audit
24
+
25
+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
26
+
27
+ - name: Set up Ruby
28
+ uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c # v1.237.0
29
+ with:
30
+ bundler-cache: true
31
+ ruby-version: ruby
32
+
33
+ - name: Publish to RubyGems
34
+ uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
35
+
36
+ - name: Create GitHub release
37
+ run: |
38
+ tag_name="$(git describe --tags --abbrev=0)"
39
+ gh release create "${tag_name}" --verify-tag --generate-notes
40
+ env:
41
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -9,8 +9,6 @@ on:
9
9
  - opened
10
10
  - synchronize
11
11
  - reopened
12
- schedule:
13
- - cron: "0 10 * * 5" # JST 19:00 (Fri)
14
12
 
15
13
  jobs:
16
14
  test:
@@ -27,6 +25,7 @@ jobs:
27
25
  - "3.1"
28
26
  - "3.2"
29
27
  - "3.3"
28
+ - "3.4"
30
29
  gemfile:
31
30
  - faraday_2
32
31
 
@@ -34,7 +33,7 @@ jobs:
34
33
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
35
34
 
36
35
  steps:
37
- - uses: actions/checkout@v4
36
+ - uses: actions/checkout@v5
38
37
  with:
39
38
  submodules: "true"
40
39
 
data/CHANGELOG.md CHANGED
@@ -1,10 +1,18 @@
1
1
  # Change Log
2
2
  ## Unreleased
3
- [Full Changelog](https://github.com/asonas/chatwork-ruby/compare/v1.0.0...master)
3
+ [Full Changelog](https://github.com/asonas/chatwork-ruby/compare/v1.0.2...master)
4
+
5
+ ## v1.0.2
6
+ [Full Changelog](https://github.com/asonas/chatwork-ruby/compare/v1.0.1...v1.0.2)
7
+
8
+ * Release gem from GitHub Actions
9
+ * https://github.com/asonas/chatwork-ruby/pull/93
4
10
 
5
11
  ## v1.0.1
6
12
  [Full Changelog](https://github.com/asonas/chatwork-ruby/compare/v1.0.1...v1.0.0)
7
13
 
14
+ * Removed compatibility with old faraday
15
+ * https://github.com/asonas/chatwork-ruby/pull/80
8
16
  * Fix NoMethodError: undefined method `mime_type=' for ChatWork::Multipart:Class with faraday-multipart v1.1.0+
9
17
  * https://github.com/asonas/chatwork-ruby/pull/90
10
18
 
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Ruby bindings of ChatWork API
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/chatwork.svg)](https://badge.fury.io/rb/chatwork)
6
- [![Build Status](https://github.com/asonas/chatwork-ruby/workflows/test/badge.svg?branch=master)](https://github.com/asonas/chatwork-ruby/actions?query=workflow%3Atest)
6
+ [![test](https://github.com/asonas/chatwork-ruby/actions/workflows/test.yml/badge.svg)](https://github.com/asonas/chatwork-ruby/actions/workflows/test.yml)
7
7
  [![Coverage Status](https://coveralls.io/repos/github/asonas/chatwork-ruby/badge.svg?branch=master)](https://coveralls.io/github/asonas/chatwork-ruby)
8
8
 
9
9
  ## Installation
@@ -1,3 +1,3 @@
1
1
  module ChatWork
2
- VERSION = "1.0.1".freeze
2
+ VERSION = "1.0.2".freeze
3
3
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chatwork
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
  - asonas
8
8
  - sue445
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2024-12-18 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: faraday
@@ -287,6 +286,7 @@ extra_rdoc_files: []
287
286
  files:
288
287
  - ".env.example"
289
288
  - ".github/dependabot.yml"
289
+ - ".github/workflows/release_gem.yml"
290
290
  - ".github/workflows/test.yml"
291
291
  - ".gitignore"
292
292
  - ".gitmodules"
@@ -376,7 +376,6 @@ metadata:
376
376
  source_code_uri: https://github.com/asonas/chatwork-ruby
377
377
  changelog_uri: https://github.com/asonas/chatwork-ruby/blob/master/CHANGELOG.md
378
378
  rubygems_mfa_required: 'true'
379
- post_install_message:
380
379
  rdoc_options: []
381
380
  require_paths:
382
381
  - lib
@@ -391,8 +390,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
391
390
  - !ruby/object:Gem::Version
392
391
  version: '0'
393
392
  requirements: []
394
- rubygems_version: 3.5.22
395
- signing_key:
393
+ rubygems_version: 3.6.7
396
394
  specification_version: 4
397
395
  summary: Ruby bindings of ChatWork API
398
396
  test_files: