Skip to content

Commit 43e1185

Browse files
committed
Merge branch 'release/3.2.0'
2 parents 111640d + d3a135d commit 43e1185

File tree

405 files changed

+8919
-6742
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

405 files changed

+8919
-6742
lines changed

Diff for: .dockerignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Dockerfile
2+
coverage

Diff for: .document

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
spec/**/*.rb
22
lib/**/*.rb
33
-
4-
README.rdoc
5-
CHANGELOG.rdoc
6-
TODO.rdoc
4+
README.md
5+
CHANGELOG.md
6+
TODO.md

Diff for: .github/release-drafter.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
template: |
2+
## What's Changed
3+
4+
$CHANGES

Diff for: .github/workflows/ci.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
branches:
5+
- '*'
6+
7+
push:
8+
branches:
9+
- '*'
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
ruby: ['2.4', '2.5', '2.6']
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v1
22+
23+
- name: Setup Ruby
24+
uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: ${{ matrix.ruby }}
27+
bundler-cache: true
28+
29+
- name: Install sqlite
30+
run: |
31+
sudo apt-get install libsqlite3-dev
32+
33+
- name: Run Tests
34+
run: INTEGRATION_TESTS=1 bundle exec rspec
35+
36+
- name: Rubocop
37+
run: bundle exec rubocop

Diff for: .github/workflows/codeql-analysis.yml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: "Code scanning - action"
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- pr/*
7+
- scratch/*
8+
pull_request:
9+
schedule:
10+
- cron: '0 20 * * 7'
11+
12+
jobs:
13+
CodeQL-Build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v2
20+
with:
21+
# We must fetch at least the immediate parents so that if this is
22+
# a pull request then we can checkout the head.
23+
fetch-depth: 2
24+
25+
# If this run was triggered by a pull request event, then checkout
26+
# the head of the pull request instead of the merge commit.
27+
- run: git checkout HEAD^2
28+
if: ${{ github.event_name == 'pull_request' }}
29+
30+
# Initializes the CodeQL tools for scanning.
31+
- name: Initialize CodeQL
32+
uses: github/codeql-action/init@v1
33+
# Override language selection by uncommenting this and choosing your languages
34+
# with:
35+
# languages: go, javascript, csharp, python, cpp, java
36+
37+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
38+
# If this step fails, then you should remove it and run the build manually (see below)
39+
- name: Autobuild
40+
uses: github/codeql-action/autobuild@v1
41+
42+
# ℹ️ Command-line programs to run using the OS shell.
43+
# 📚 https://git.io/JvXDl
44+
45+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
46+
# and modify them (or add more) to build your code if your project
47+
# uses a compiled language
48+
49+
#- run: |
50+
# make bootstrap
51+
# make release
52+
53+
- name: Perform CodeQL Analysis
54+
uses: github/codeql-action/analyze@v1

Diff for: .github/workflows/release-drafter.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
# Drafts your next Release notes as Pull Requests are merged into "develop"
13+
- uses: release-drafter/release-drafter@v5
14+
with:
15+
config-name: release-drafter.yml
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Diff for: .github/workflows/release.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release
2+
on:
3+
push:
4+
tags:
5+
- 'v*'
6+
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v1
14+
15+
- name: Setup Ruby
16+
uses: actions/setup-ruby@v1
17+
with:
18+
ruby-version: 2.6.x
19+
20+
- name: Bundle
21+
run: |
22+
gem update --system
23+
gem update bundler
24+
bundle install --jobs 4 --retry 3
25+
26+
- name: Publish to GPR
27+
run: |
28+
mkdir -p $HOME/.gem
29+
touch $HOME/.gem/credentials
30+
chmod 0600 $HOME/.gem/credentials
31+
printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
32+
gem build *.gemspec
33+
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
34+
env:
35+
GEM_HOST_API_KEY: ${{ secrets.GPR_AUTH_TOKEN }}
36+
OWNER: ctran

Diff for: .gitignore

-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
!/spec/integration/*/log/.gitkeep
2-
!/spec/integration/*/tmp/.gitkeep
31
*.gem
42
.DS_Store
53
.bundle
@@ -16,8 +14,4 @@
1614
/doc/*
1715
/pkg/*
1816
/spec/debug.log
19-
/spec/integration/*/bin/
20-
/spec/integration/*/db/test.*
21-
/spec/integration/*/log/*
22-
/spec/integration/*/tmp/*
2317
.byebug_history

Diff for: .rubocop.yml

+5
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@ AllCops:
66
- 'vendor/**/*'
77
- 'spec/fixtures/**/*'
88
- 'tmp/**/*'
9+
- 'spec/integration/**/*'
10+
11+
Metrics/BlockLength:
12+
Exclude:
13+
- 'spec/**/*.rb'

0 commit comments

Comments
 (0)