Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit d4ab15b

Browse files
authored
Merge pull request #1 from errbit-ng/modernize
Modernize
2 parents 0e06c94 + 2e30a63 commit d4ab15b

21 files changed

+420
-131
lines changed

.github/workflows/jruby.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: RSpec on JRuby
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
schedule:
11+
- cron: "0 21 * * 6"
12+
13+
env:
14+
CI: "yes"
15+
JRUBY_OPTS: "--debug"
16+
17+
jobs:
18+
rspec:
19+
runs-on: ubuntu-24.04
20+
timeout-minutes: 10
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
ruby: ["jruby-9.4"]
25+
26+
steps:
27+
- name: Harden Runner
28+
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
29+
with:
30+
egress-policy: audit
31+
32+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33+
- run: rm -f Gemfile.lock
34+
- run: rm -f .ruby-version
35+
- name: Set up Ruby
36+
uses: ruby/setup-ruby@2654679fe7f7c29875c669398a8ec0791b8a64a1 # v1.215.0
37+
with:
38+
ruby-version: ${{ matrix.ruby }}
39+
rubygems: latest
40+
bundler: latest
41+
bundler-cache: true
42+
- run: bundle exec rspec
43+
- name: Upload coverage to Codecov
44+
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1

.github/workflows/rspec.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: RSpec
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
schedule:
11+
- cron: "0 21 * * 6"
12+
13+
env:
14+
CI: "yes"
15+
16+
jobs:
17+
rspec:
18+
runs-on: ubuntu-24.04
19+
timeout-minutes: 10
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
ruby: ["3.1", "3.2", "3.3", "3.4"]
24+
25+
steps:
26+
- name: Harden Runner
27+
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
28+
with:
29+
egress-policy: audit
30+
31+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32+
- run: rm -f Gemfile.lock
33+
- run: rm -f .ruby-version
34+
- name: Set up Ruby
35+
uses: ruby/setup-ruby@2654679fe7f7c29875c669398a8ec0791b8a64a1 # v1.215.0
36+
with:
37+
ruby-version: ${{ matrix.ruby }}
38+
rubygems: latest
39+
bundler: latest
40+
bundler-cache: true
41+
- run: bundle exec rspec
42+
- name: Upload coverage to Codecov
43+
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1

.gitignore

+13-20
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
1-
*.gem
2-
*.rbc
3-
.bundle
4-
.config
5-
.yardoc
6-
Gemfile.lock
7-
InstalledFiles
8-
_yardoc
9-
coverage
10-
doc/
11-
lib/bundler/man
12-
pkg
13-
rdoc
14-
spec/reports
15-
test/tmp
16-
test/version_tmp
17-
tmp
18-
*.swp
19-
.rspec
20-
vendor/bundle
1+
/.bundle/
2+
/.yardoc
3+
/_yardoc/
4+
/coverage/
5+
/doc/
6+
/pkg/
7+
/spec/reports/
8+
/tmp/
9+
10+
# rspec failure tracking
11+
.rspec_status
12+
13+
.idea/

.rspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
--color
21
--format documentation
2+
--color
33
--require spec_helper

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.1.6

.travis.yml

-9
This file was deleted.

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
## main
4+
5+
* Rename to `errbit-ng-github-plugin`

Gemfile

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1-
source 'https://rubygems.org'
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
# Specify your gem's dependencies in errbit-ng-github-plugin.gemspec
26
gemspec
7+
8+
gem "rake"
9+
gem "rspec"
10+
gem "standard"
11+
gem "simplecov"
12+
gem "simplecov-cobertura", require: false

Gemfile.lock

+144
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
PATH
2+
remote: .
3+
specs:
4+
errbit-ng-github-plugin (0.1.0)
5+
errbit-ng-plugin
6+
octokit
7+
8+
GEM
9+
remote: https://rubygems.org/
10+
specs:
11+
activesupport (7.2.2.1)
12+
base64
13+
benchmark (>= 0.3)
14+
bigdecimal
15+
concurrent-ruby (~> 1.0, >= 1.3.1)
16+
connection_pool (>= 2.2.5)
17+
drb
18+
i18n (>= 1.6, < 2)
19+
logger (>= 1.4.2)
20+
minitest (>= 5.1)
21+
securerandom (>= 0.3)
22+
tzinfo (~> 2.0, >= 2.0.5)
23+
addressable (2.8.7)
24+
public_suffix (>= 2.0.2, < 7.0)
25+
ast (2.4.2)
26+
base64 (0.2.0)
27+
benchmark (0.4.0)
28+
bigdecimal (3.1.9)
29+
concurrent-ruby (1.3.5)
30+
connection_pool (2.5.0)
31+
diff-lcs (1.5.1)
32+
docile (1.4.1)
33+
drb (2.2.1)
34+
errbit-ng-plugin (0.1.0)
35+
faraday (2.12.2)
36+
faraday-net_http (>= 2.0, < 3.5)
37+
json
38+
logger
39+
faraday-net_http (3.4.0)
40+
net-http (>= 0.5.0)
41+
i18n (1.14.7)
42+
concurrent-ruby (~> 1.0)
43+
json (2.9.1)
44+
language_server-protocol (3.17.0.4)
45+
lint_roller (1.1.0)
46+
logger (1.6.5)
47+
minitest (5.25.4)
48+
net-http (0.6.0)
49+
uri
50+
octokit (9.2.0)
51+
faraday (>= 1, < 3)
52+
sawyer (~> 0.9)
53+
parallel (1.26.3)
54+
parser (3.3.7.0)
55+
ast (~> 2.4.1)
56+
racc
57+
public_suffix (6.0.1)
58+
racc (1.8.1)
59+
rainbow (3.1.1)
60+
rake (13.2.1)
61+
regexp_parser (2.10.0)
62+
rspec (3.13.0)
63+
rspec-core (~> 3.13.0)
64+
rspec-expectations (~> 3.13.0)
65+
rspec-mocks (~> 3.13.0)
66+
rspec-core (3.13.2)
67+
rspec-support (~> 3.13.0)
68+
rspec-expectations (3.13.3)
69+
diff-lcs (>= 1.2.0, < 2.0)
70+
rspec-support (~> 3.13.0)
71+
rspec-mocks (3.13.2)
72+
diff-lcs (>= 1.2.0, < 2.0)
73+
rspec-support (~> 3.13.0)
74+
rspec-support (3.13.2)
75+
rubocop (1.70.0)
76+
json (~> 2.3)
77+
language_server-protocol (>= 3.17.0)
78+
parallel (~> 1.10)
79+
parser (>= 3.3.0.2)
80+
rainbow (>= 2.2.2, < 4.0)
81+
regexp_parser (>= 2.9.3, < 3.0)
82+
rubocop-ast (>= 1.36.2, < 2.0)
83+
ruby-progressbar (~> 1.7)
84+
unicode-display_width (>= 2.4.0, < 4.0)
85+
rubocop-ast (1.38.0)
86+
parser (>= 3.3.1.0)
87+
rubocop-performance (1.23.1)
88+
rubocop (>= 1.48.1, < 2.0)
89+
rubocop-ast (>= 1.31.1, < 2.0)
90+
ruby-progressbar (1.13.0)
91+
sawyer (0.9.2)
92+
addressable (>= 2.3.5)
93+
faraday (>= 0.17.3, < 3)
94+
securerandom (0.4.1)
95+
simplecov (0.16.1)
96+
docile (~> 1.1)
97+
json (>= 1.8, < 3)
98+
simplecov-html (~> 0.10.0)
99+
simplecov-cobertura (1.4.2)
100+
simplecov (~> 0.8)
101+
simplecov-html (0.10.2)
102+
standard (1.44.0)
103+
language_server-protocol (~> 3.17.0.2)
104+
lint_roller (~> 1.0)
105+
rubocop (~> 1.70.0)
106+
standard-custom (~> 1.0.0)
107+
standard-performance (~> 1.6)
108+
standard-custom (1.0.2)
109+
lint_roller (~> 1.0)
110+
rubocop (~> 1.50)
111+
standard-performance (1.6.0)
112+
lint_roller (~> 1.1)
113+
rubocop-performance (~> 1.23.0)
114+
tzinfo (2.0.6)
115+
concurrent-ruby (~> 1.0)
116+
unicode-display_width (3.1.4)
117+
unicode-emoji (~> 4.0, >= 4.0.4)
118+
unicode-emoji (4.0.4)
119+
uri (1.0.2)
120+
121+
PLATFORMS
122+
aarch64-linux-gnu
123+
aarch64-linux-musl
124+
arm-linux-gnu
125+
arm-linux-musl
126+
arm64-darwin
127+
ruby
128+
x86-linux-gnu
129+
x86-linux-musl
130+
x86_64-darwin
131+
x86_64-linux-gnu
132+
x86_64-linux-musl
133+
134+
DEPENDENCIES
135+
activesupport
136+
errbit-ng-github-plugin!
137+
rake
138+
rspec
139+
simplecov
140+
simplecov-cobertura
141+
standard
142+
143+
BUNDLED WITH
144+
2.6.3

LICENSE.txt

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
Copyright (c) 2013 Cyril Mougel
1+
The MIT License (MIT)
22

3-
MIT License
3+
Copyright (c) 2013 Cyril Mougel
4+
Copyright (c) 2025 Errbit-NG Team
45

5-
Permission is hereby granted, free of charge, to any person obtaining
6-
a copy of this software and associated documentation files (the
7-
"Software"), to deal in the Software without restriction, including
8-
without limitation the rights to use, copy, modify, merge, publish,
9-
distribute, sublicense, and/or sell copies of the Software, and to
10-
permit persons to whom the Software is furnished to do so, subject to
11-
the following conditions:
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
1212

13-
The above copyright notice and this permission notice shall be
14-
included in all copies or substantial portions of the Software.
13+
The above copyright notice and this permission notice shall be included in
14+
all copies or substantial portions of the Software.
1515

16-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+
THE SOFTWARE.

README.md

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
# Errbit Github Plugin [![TravisCI][travis-img-url]][travis-ci-url]
1+
# Errbit-NG GitHub Plugin
22

3-
[travis-img-url]: https://travis-ci.org/errbit/errbit_github_plugin.svg?branch=master
4-
[travis-ci-url]: http://travis-ci.org/errbit/errbit_github_plugin
3+
This plugin provides GitHub issue tracker integration for Errbit-NG, and it is the
4+
only one plugin included by default in Errbit-NG.
55

6-
This plugin provides GitHub issue tracker integration for Errbit and it is the
7-
only plugin included by default in Errbit.
6+
## Contributing
7+
8+
Bug reports and pull requests are welcome on GitHub at https://github.com/errbit-ng/errbit-ng-github-plugin.
9+
10+
## License
11+
12+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Rakefile

+7
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1+
# frozen_string_literal: true
2+
13
require "bundler/gem_tasks"
4+
require "rspec/core/rake_task"
5+
6+
RSpec::Core::RakeTask.new(:spec)
7+
8+
task default: :spec

0 commit comments

Comments
 (0)