Skip to content

Commit 4624313

Browse files
committed
merge main
2 parents 0f83fda + c3dcf4d commit 4624313

File tree

14 files changed

+237
-150
lines changed

14 files changed

+237
-150
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: '[BUG] <title>'
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: bundler
4+
directory: "/"
5+
schedule:
6+
interval: monthly
7+
open-pull-requests-limit: 10

.github/workflows/ci.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,30 @@
1-
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6-
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7-
8-
name: Tests
1+
name: Build
92

103
on:
4+
push:
5+
branches: ["master", "main"]
116
pull_request:
127
branches: ["**"]
138

149
permissions:
1510
contents: read
1611

1712
jobs:
13+
rubocop:
14+
name: RuboCop
15+
runs-on: ubuntu-latest
16+
env:
17+
BUNDLE_ONLY: rubocop
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v4
21+
- name: Setup Ruby and install gems
22+
uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: 3.3.0
25+
bundler-cache: true
26+
- name: Run Rubocop
27+
run: bundle exec rubocop --parallel
1828
test:
1929
runs-on: ubuntu-latest
2030
strategy:

.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ AllCops:
55
- "treblle-ruby.gemspec"
66
- "Gemfile.lock"
77
- "gemfiles/*"
8+
- "vendor/**/*"
89

910
require:
1011
- rubocop-performance
@@ -126,3 +127,6 @@ Style/StringConcatenation:
126127

127128
Style/DocumentDynamicEvalDefinition:
128129
Enabled: false
130+
131+
Style/Documentation:
132+
Enabled: false

Gemfile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ gem "appraisal"
88
gem 'rails'
99
gem 'rake'
1010
gem 'rspec'
11-
gem 'rubocop', require: false
12-
gem 'rubocop-performance', require: false
13-
gem 'simplecov', require: false, group: :test
1411
gem 'webmock'
12+
13+
group 'rubocop' do
14+
gem 'rubocop', require: false
15+
gem 'rubocop-performance', require: false
16+
end
17+
18+
group 'test' do
19+
gem 'simplecov', require: false
20+
end

0 commit comments

Comments
 (0)