compare_linker 1.4.4 → 1.4.6

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: 9bae334a1336c83a873958fd02d6f31fd7637bf654a9119dc7812b887957aeeb
4
- data.tar.gz: e2da7fd305c318105735b670cbe3aa1a0a4dd3233d79e2fd72cfd3a2c6d3f15e
3
+ metadata.gz: 28b1fcff96a8a8f848781ed665c075737ba4175dcc26d368b830fbb348f11551
4
+ data.tar.gz: c63503992bb98d7851957939712de96644418620c9d196352ac31942955a2286
5
5
  SHA512:
6
- metadata.gz: 38de120f6bda8fed338f6afd28c46253181f8107698af8c64d26a4f8262364c051fda12987e8296dee80eaede71b2a2fac884a2c5828949791641d1ab2cf8c1b
7
- data.tar.gz: b3c4ca050cb298579e1d290a405db09b9d0f146d8506b9ef8f01fcf7c9454e1ac3ae56ab3a4d7032c37a1f480f70a25ddfa1abffa3f85a5c4c30267402d8a5e5
6
+ metadata.gz: 7e479277bc6b6c87accf8112087c7894c066a29c1bdf61702bcdce1d02d75f78da8c32668f1bae40334d12c0f3b382c330557f3af41a57c66cccb65cda6ae1f9
7
+ data.tar.gz: ed14d610f5729aa6b5f05999da3e9b7d5949c6f2abe747f65fc87faff7cce7b0ab5f9fa48d88ed81cfce029e3d52f3ca4fdef167c08628f4d1a60bbc048651a2
@@ -0,0 +1,11 @@
1
+ # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
2
+ version: 2
3
+ updates:
4
+ - package-ecosystem: "github-actions"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "monthly"
8
+ time: "19:00"
9
+ timezone: "Asia/Tokyo"
10
+ assignees:
11
+ - "masutaka"
@@ -0,0 +1,25 @@
1
+ name: Pushover
2
+
3
+ on:
4
+ workflow_call:
5
+ secrets:
6
+ PUSHOVER_API_KEY:
7
+ required: true
8
+ PUSHOVER_USER_KEY:
9
+ required: true
10
+
11
+ jobs:
12
+ pushover:
13
+ runs-on: ubuntu-latest
14
+ timeout-minutes: 5
15
+ steps:
16
+ - name: pushover-actions
17
+ uses: umahmood/pushover-actions@5da31193f672e7418804bdb51836bdf20f393c8f # v1.1.0
18
+ env:
19
+ PUSHOVER_TOKEN: ${{ secrets.PUSHOVER_API_KEY }}
20
+ PUSHOVER_USER: ${{ secrets.PUSHOVER_USER_KEY }}
21
+ with:
22
+ status: "failure"
23
+ title: "Failed ${{ github.repository }}'s workflow (${{ github.workflow }})"
24
+ url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
25
+ priority: 1 # High
@@ -0,0 +1,51 @@
1
+ name: Test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+
9
+ jobs:
10
+ actionlint:
11
+ runs-on: ubuntu-latest
12
+ timeout-minutes: 5
13
+ permissions:
14
+ checks: write
15
+ contents: read
16
+ pull-requests: write
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - name: Run actionlint
20
+ uses: reviewdog/action-actionlint@fd627997c9688c2f39e13917aed23873c031b834 # v1.48.0
21
+ with:
22
+ fail_on_error: true
23
+ filter_mode: nofilter
24
+ level: error
25
+ reporter: github-pr-review
26
+ rspec:
27
+ runs-on: ubuntu-latest
28
+ timeout-minutes: 5
29
+ strategy:
30
+ matrix:
31
+ ruby-version:
32
+ - '3.0'
33
+ - '3.1'
34
+ - '3.2'
35
+ - '3.3'
36
+ steps:
37
+ - uses: actions/checkout@v4
38
+ - uses: ruby/setup-ruby@v1
39
+ with:
40
+ ruby-version: ${{ matrix.ruby-version }}
41
+ bundler-cache: true
42
+ - name: Run rspec
43
+ run: bundle exec rake spec
44
+ pushover:
45
+ name: pushover if failure
46
+ if: github.ref_name == github.event.repository.default_branch && failure()
47
+ needs: [actionlint, rspec]
48
+ uses: ./.github/workflows/pushover.yml
49
+ secrets:
50
+ PUSHOVER_API_KEY: ${{ secrets.PUSHOVER_API_KEY }}
51
+ PUSHOVER_USER_KEY: ${{ secrets.PUSHOVER_USER_KEY }}
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # Compare Linker
2
2
 
3
- [![Travis Status](https://img.shields.io/travis/masutaka/compare_linker.svg?logo=travis&style=flat-square)][travisci]
3
+ [![Test](https://github.com/masutaka/compare_linker/actions/workflows/test.yml/badge.svg)][Test]
4
4
  [![License](https://img.shields.io/github/license/masutaka/compare_linker.svg?style=flat-square)][license]
5
5
  [![Gem](https://img.shields.io/gem/v/compare_linker.svg?logo=ruby&style=flat-square)][gem-link]
6
6
 
7
- [travisci]: https://travis-ci.org/masutaka/compare_linker
8
- [license]: https://github.com/masutaka/compare_linker/blob/master/LICENSE.txt
7
+ [Test]: https://github.com/masutaka/compare_linker/actions/workflows/test.yml?query=branch%3Amain
8
+ [license]: https://github.com/masutaka/compare_linker/blob/main/LICENSE.txt
9
9
  [gem-link]: http://badge.fury.io/rb/compare_linker
10
10
 
11
11
  ## Description
@@ -18,8 +18,9 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "octokit"
21
+ spec.add_dependency "base64"
22
22
  spec.add_dependency "httpclient"
23
+ spec.add_dependency "octokit"
23
24
 
24
25
  spec.add_development_dependency "bundler", ">= 1.3"
25
26
  spec.add_development_dependency "factory_bot"
@@ -1,4 +1,5 @@
1
1
  require "bundler"
2
+ require "base64"
2
3
 
3
4
  class CompareLinker
4
5
  class LockfileFetcher
@@ -1,3 +1,3 @@
1
1
  class CompareLinker
2
- VERSION = "1.4.4"
2
+ VERSION = "1.4.6"
3
3
  end
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compare_linker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Masuda
8
8
  - Kensuke Nagae
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-03-17 00:00:00.000000000 Z
12
+ date: 2024-07-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: octokit
15
+ name: base64
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - ">="
@@ -39,6 +39,20 @@ dependencies:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: octokit
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
42
56
  - !ruby/object:Gem::Dependency
43
57
  name: bundler
44
58
  requirement: !ruby/object:Gem::Requirement
@@ -103,9 +117,11 @@ executables: []
103
117
  extensions: []
104
118
  extra_rdoc_files: []
105
119
  files:
120
+ - ".github/dependabot.yml"
121
+ - ".github/workflows/pushover.yml"
122
+ - ".github/workflows/test.yml"
106
123
  - ".gitignore"
107
124
  - ".rspec"
108
- - ".travis.yml"
109
125
  - Gemfile
110
126
  - LICENSE.txt
111
127
  - README.md
@@ -141,7 +157,7 @@ homepage: https://github.com/masutaka/compare_linker
141
157
  licenses:
142
158
  - MIT
143
159
  metadata: {}
144
- post_install_message:
160
+ post_install_message:
145
161
  rdoc_options: []
146
162
  require_paths:
147
163
  - lib
@@ -156,8 +172,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
172
  - !ruby/object:Gem::Version
157
173
  version: '0'
158
174
  requirements: []
159
- rubygems_version: 3.0.3
160
- signing_key:
175
+ rubygems_version: 3.5.3
176
+ signing_key:
161
177
  specification_version: 4
162
178
  summary: Create GitHub's compare view URLs for pull request
163
179
  test_files:
data/.travis.yml DELETED
@@ -1,6 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.6.1
4
- - 2.5.3
5
- - 2.4.5
6
- - 2.3.8