Skip to content

Commit 8cf2eea

Browse files
authored
Merge pull request #1 from bikeindex/community-maintained
Updates from community-maintained fork
2 parents 5d01c41 + 5d96dff commit 8cf2eea

35 files changed

+733
-187
lines changed

.envrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
use_devbox() {
2+
watch_file devbox.json
3+
eval $(devbox shell --print-env)
4+
}
5+
6+
# use devbox

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,26 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
ruby: ['2.7']
17+
ruby: ['2.7.6']
1818

1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222

2323
- name: Setup Ruby
2424
uses: ruby/setup-ruby@v1
2525
with:
2626
ruby-version: ${{ matrix.ruby }}
27-
bundler-cache: true
27+
bundler-cache: false
28+
29+
- name: Update RubyGems and install dependencies
30+
run: |
31+
gem update --system 3.3.22
32+
bundle config set --local force_ruby_platform true
33+
bundle install --jobs 4 --retry 3
2834
2935
- name: Run Tests
3036
run: bundle exec rspec
3137

3238
- name: Rubocop
33-
run: bundle exec rubocop
39+
run: bundle exec rubocop

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929

3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@
22
.DS_Store
33
.bundle
44
.gems
5-
.rbenv-version
6-
.ruby-*
7-
/.idea/
8-
/.rbx
9-
/.rvmrc
10-
/.yardoc/*
11-
/Gemfile.lock
5+
/out
126
/coverage/*
137
/dist
148
/doc/*

.gitpod.Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM gitpod/workspace-full
2+
USER gitpod
3+
4+
# Install Ruby version 2.7.6 and set it as default
5+
RUN _ruby_version=ruby-2.7.6 \
6+
&& printf "rvm_gems_path=/home/gitpod/.rvm\n" > ~/.rvmrc \
7+
&& bash -lc "rvm reinstall ${_ruby_version} && \
8+
rvm use ${_ruby_version} --default" \
9+
&& printf "rvm_gems_path=/workspace/.rvm" > ~/.rvmrc \
10+
&& printf "{ rvm use \$(rvm current); } >/dev/null 2>&1\n" >> "$HOME/.bashrc.d/70-ruby"
11+

.gitpod.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
image:
2+
file: .gitpod.Dockerfile
3+
4+
github:
5+
prebuilds:
6+
develop: true
7+
# enable for pull requests coming from this repo (defaults to true)
8+
pullRequests: true
9+
10+
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
11+
addComment: true
12+
13+
# add a "Review in Gitpod" button to pull requests (defaults to false)
14+
addBadge: true
15+
16+
# add a label once the prebuild is ready to pull requests (defaults to false)
17+
addLabel: prebuilt-in-gitpod
18+
19+
tasks:
20+
- init: bundle install

.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 98 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)