Skip to content

Commit c1ee022

Browse files
committed
I'm back
1 parent 7321f7e commit c1ee022

Some content is hidden

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

43 files changed

+517
-219
lines changed

.gem_release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
bump:
2+
file: lib/imatcher/version.rb
3+
skip_ci: true

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: palkan
7+
8+
---
9+
10+
## What did you do?
11+
12+
## What did you expect to happen?
13+
14+
## What actually happened?
15+
16+
## Additional context
17+
18+
## Environment
19+
20+
**Ruby Version:**
21+
22+
**Framework Version (Rails, whatever):**
23+
24+
**Imatcher Version:**
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: palkan
7+
8+
---
9+
10+
## Is your feature request related to a problem? Please describe.
11+
12+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
13+
14+
## Describe the solution you'd like
15+
16+
A clear and concise description of what you want to happen.
17+
18+
## Describe alternatives you've considered
19+
20+
A clear and concise description of any alternative solutions or features you've considered.
21+
22+
## Additional context
23+
24+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!--
2+
First of all, thanks for contributing!
3+
4+
If it's a typo fix or minor documentation update feel free to skip the rest of this template!
5+
-->
6+
7+
## What is the purpose of this pull request?
8+
9+
<!--
10+
If it's a bug fix, then link it to the issue, for example:
11+
12+
Fixes #xxx
13+
-->
14+
15+
## What changes did you make? (overview)
16+
17+
## Is there anything you'd like reviewers to focus on?
18+
19+
## Checklist
20+
21+
- [ ] I've added tests for this change
22+
- [ ] I've added a Changelog entry
23+
- [ ] I've updated a documentation

.github/workflows/docs-lint.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Lint Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- "*.md"
9+
- "**/*.md"
10+
pull_request:
11+
paths:
12+
- "*.md"
13+
- "**/*.md"
14+
15+
jobs:
16+
rubocop:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v2
20+
- uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: 2.7
23+
- name: Lint Markdown files with RuboCop
24+
run: |
25+
gem install bundler
26+
bundle install --gemfile gemfiles/rubocop.gemfile --jobs 4 --retry 3
27+
bundle exec --gemfile gemfiles/rubocop.gemfile rubocop -c .rubocop-md.yml
28+
forspell:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v2
32+
- name: Install Hunspell
33+
run: |
34+
sudo apt-get install hunspell
35+
- uses: ruby/setup-ruby@v1
36+
with:
37+
ruby-version: 2.7
38+
- name: Cache installed gems
39+
uses: actions/cache@v1
40+
with:
41+
path: /home/runner/.rubies/ruby-2.7.0/lib/ruby/gems/2.7.0
42+
key: gems-cache-${{ runner.os }}
43+
- name: Install Forspell
44+
run: gem install forspell
45+
- name: Run Forspell
46+
run: forspell *.md .github/**/*.md
47+
liche:
48+
runs-on: ubuntu-latest
49+
env:
50+
GO111MODULE: on
51+
steps:
52+
- uses: actions/checkout@v2
53+
- name: Set up Go
54+
uses: actions/setup-go@v1
55+
with:
56+
go-version: 1.13.x
57+
- name: Run liche
58+
run: |
59+
export PATH=$PATH:$(go env GOPATH)/bin
60+
go get -u github.com/raviqqe/liche
61+
liche README.md CHANGELOG.md

.github/workflows/rspec.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
rspec:
11+
runs-on: ubuntu-latest
12+
env:
13+
BUNDLE_JOBS: 4
14+
BUNDLE_RETRY: 3
15+
CI: true
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
ruby: ["2.6", "2.7", "3.0", "3.1"]
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: ${{ matrix.ruby }}
25+
bundler-cache: true
26+
- name: Run RSpec
27+
run: |
28+
bundle exec rspec

.github/workflows/rubocop.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Lint Ruby
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
rubocop:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: ruby/setup-ruby@v1
15+
with:
16+
ruby-version: 2.7
17+
- name: Lint Ruby code with RuboCop
18+
run: |
19+
gem install bundler
20+
bundle install --gemfile gemfiles/rubocop.gemfile --jobs 4 --retry 3
21+
bundle exec --gemfile gemfiles/rubocop.gemfile rubocop

.gitignore

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,21 @@
2323
.settings
2424
.tmproj
2525
Thumbs.db
26+
27+
.bundle/
28+
log/*.log
29+
pkg/
30+
spec/dummy/db/*.sqlite3
31+
spec/dummy/db/*.sqlite3-journal
32+
spec/dummy/tmp/
33+
34+
Gemfile.lock
35+
Gemfile.local
36+
.rspec
37+
.ruby-version
2638
*.gem
2739

28-
/.bundle/
29-
/.yardoc
30-
/Gemfile.lock
31-
/_yardoc/
32-
/coverage/
33-
/doc/
34-
/pkg/
35-
/spec/reports/
36-
/tmp/
40+
tmp/
41+
.rbnext/
42+
43+
gemfiles/*.lock

.mdlrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rules "~MD013", "~MD033", "~MD029", "~MD034"

.rspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
--format documentation
1+
-f d
22
--color

0 commit comments

Comments
 (0)