compare_linker 1.4.6 → 1.4.8

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: 28b1fcff96a8a8f848781ed665c075737ba4175dcc26d368b830fbb348f11551
4
- data.tar.gz: c63503992bb98d7851957939712de96644418620c9d196352ac31942955a2286
3
+ metadata.gz: 8f09d77eb2d984238bb9d4c266fffa321df5fed3e6c327cb1548a1ece8888fa3
4
+ data.tar.gz: 4797828bba63fe4fb94b4278e0788486e116f3ca723a71870c689fa62f2bc98d
5
5
  SHA512:
6
- metadata.gz: 7e479277bc6b6c87accf8112087c7894c066a29c1bdf61702bcdce1d02d75f78da8c32668f1bae40334d12c0f3b382c330557f3af41a57c66cccb65cda6ae1f9
7
- data.tar.gz: ed14d610f5729aa6b5f05999da3e9b7d5949c6f2abe747f65fc87faff7cce7b0ab5f9fa48d88ed81cfce029e3d52f3ca4fdef167c08628f4d1a60bbc048651a2
6
+ metadata.gz: a285fba6c45c4d0f1203c527346f6c3d68b7256f18b56729f3f091cde69d60eb43326bbe31ebbc6b6a72a82a2e3966c7840cc6e4a812b40d1ddef1a9052bad2b
7
+ data.tar.gz: d13271f54f9e017ff366e2abfd978f98c0e2e47ed80e13ac7b58f09128964814ab9d942451c694ffa74b39c2f6feebc13d52464f7f3d7ba8bec7795355d576e3
@@ -0,0 +1,24 @@
1
+ name: Schedule
2
+
3
+ on:
4
+ schedule:
5
+ - cron: "00 10 * * 5" # every friday 19:00 JST
6
+
7
+ jobs:
8
+ codeql:
9
+ permissions:
10
+ actions: read
11
+ checks: read
12
+ contents: read
13
+ security-events: write
14
+ uses: route06/actions/.github/workflows/codeql_core.yml@9e45172619c61b4bafec4eddde0872fb3947c190 # v2.4.1
15
+ with:
16
+ language: "ruby"
17
+ pushover:
18
+ name: pushover if failure
19
+ if: github.ref_name == github.event.repository.default_branch && failure()
20
+ needs: codeql
21
+ uses: ./.github/workflows/pushover.yml
22
+ secrets:
23
+ PUSHOVER_API_KEY: ${{ secrets.PUSHOVER_API_KEY }}
24
+ PUSHOVER_USER_KEY: ${{ secrets.PUSHOVER_USER_KEY }}
@@ -17,12 +17,19 @@ jobs:
17
17
  steps:
18
18
  - uses: actions/checkout@v4
19
19
  - name: Run actionlint
20
- uses: reviewdog/action-actionlint@fd627997c9688c2f39e13917aed23873c031b834 # v1.48.0
20
+ uses: reviewdog/action-actionlint@7eeec1dd160c2301eb28e1568721837d084558ad # v1.57.0
21
21
  with:
22
22
  fail_on_error: true
23
23
  filter_mode: nofilter
24
24
  level: error
25
25
  reporter: github-pr-review
26
+ codeql:
27
+ permissions:
28
+ actions: read
29
+ checks: read
30
+ contents: read
31
+ security-events: write
32
+ uses: route06/actions/.github/workflows/codeql.yml@9e45172619c61b4bafec4eddde0872fb3947c190 # v2.4.1
26
33
  rspec:
27
34
  runs-on: ubuntu-latest
28
35
  timeout-minutes: 5
@@ -44,7 +51,7 @@ jobs:
44
51
  pushover:
45
52
  name: pushover if failure
46
53
  if: github.ref_name == github.event.repository.default_branch && failure()
47
- needs: [actionlint, rspec]
54
+ needs: [actionlint, codeql, rspec]
48
55
  uses: ./.github/workflows/pushover.yml
49
56
  secrets:
50
57
  PUSHOVER_API_KEY: ${{ secrets.PUSHOVER_API_KEY }}
data/README.md CHANGED
@@ -1,12 +1,10 @@
1
1
  # Compare Linker
2
2
 
3
- [![Test](https://github.com/masutaka/compare_linker/actions/workflows/test.yml/badge.svg)][Test]
4
- [![License](https://img.shields.io/github/license/masutaka/compare_linker.svg?style=flat-square)][license]
5
- [![Gem](https://img.shields.io/gem/v/compare_linker.svg?logo=ruby&style=flat-square)][gem-link]
3
+ [![Test Status](https://img.shields.io/github/actions/workflow/status/masutaka/compare_linker/test.yml?branch=main&style=flat-square&logo=githubactions&label=Test)][test]
4
+ [![Gem Version](https://img.shields.io/gem/v/compare_linker?style=flat-square&logo=rubygems&label=Gem)][gem]
6
5
 
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
- [gem-link]: http://badge.fury.io/rb/compare_linker
6
+ [test]: https://github.com/masutaka/compare_linker/actions/workflows/test.yml?query=branch%3Amain
7
+ [gem]: https://rubygems.org/gems/compare_linker
10
8
 
11
9
  ## Description
12
10
 
@@ -63,6 +61,10 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
63
61
 
64
62
  Bug reports and pull requests are welcome on GitHub at https://github.com/masutaka/compare_linker. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
65
63
 
66
- ## License
64
+ ## Contributors
67
65
 
68
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
66
+ <a href="https://github.com/masutaka/compare_linker/graphs/contributors">
67
+ <img src="https://contrib.rocks/image?repo=masutaka/compare_linker" />
68
+ </a>
69
+
70
+ *Made with [contrib.rocks](https://contrib.rocks).*
@@ -21,7 +21,9 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency "base64"
22
22
  spec.add_dependency "httpclient"
23
23
  spec.add_dependency "octokit"
24
+ spec.add_dependency "ostruct"
24
25
 
26
+ spec.add_development_dependency "activesupport", ">= 5.0.0", "< 7.2.0" # temporary pinned. See https://github.com/masutaka/compare_linker/pull/50
25
27
  spec.add_development_dependency "bundler", ">= 1.3"
26
28
  spec.add_development_dependency "factory_bot"
27
29
  spec.add_development_dependency "rake"
@@ -26,7 +26,7 @@ class CompareLinker
26
26
  private
27
27
 
28
28
  def rubygems
29
- @rubygems ||= YAML.load(IO.read(file))
29
+ @rubygems ||= YAML.load(File.read(file))
30
30
  end
31
31
  end
32
32
  end
@@ -1,3 +1,3 @@
1
1
  class CompareLinker
2
- VERSION = "1.4.6"
2
+ VERSION = "1.4.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compare_linker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Masuda
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-07-03 00:00:00.000000000 Z
12
+ date: 2024-10-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: base64
@@ -53,6 +53,40 @@ dependencies:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: ostruct
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: activesupport
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 5.0.0
77
+ - - "<"
78
+ - !ruby/object:Gem::Version
79
+ version: 7.2.0
80
+ type: :development
81
+ prerelease: false
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 5.0.0
87
+ - - "<"
88
+ - !ruby/object:Gem::Version
89
+ version: 7.2.0
56
90
  - !ruby/object:Gem::Dependency
57
91
  name: bundler
58
92
  requirement: !ruby/object:Gem::Requirement
@@ -119,6 +153,7 @@ extra_rdoc_files: []
119
153
  files:
120
154
  - ".github/dependabot.yml"
121
155
  - ".github/workflows/pushover.yml"
156
+ - ".github/workflows/schedule.yml"
122
157
  - ".github/workflows/test.yml"
123
158
  - ".gitignore"
124
159
  - ".rspec"
@@ -172,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
207
  - !ruby/object:Gem::Version
173
208
  version: '0'
174
209
  requirements: []
175
- rubygems_version: 3.5.3
210
+ rubygems_version: 3.5.16
176
211
  signing_key:
177
212
  specification_version: 4
178
213
  summary: Create GitHub's compare view URLs for pull request