Skip to content

Commit 77947cd

Browse files
committed
Initial public release
0 parents  commit 77947cd

78 files changed

Lines changed: 3533 additions & 0 deletions

Some content is hidden

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

.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/callback_hell/version.rb
3+
skip_ci: true
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, yaroslav
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, etc.):**
23+
24+
**callback_hell 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, yaroslav
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/rspec.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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+
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
16+
CI: true
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
ruby: ["3.4"]
21+
gemfile: ["gemfiles/rails8.gemfile"]
22+
include:
23+
- ruby: "3.2"
24+
gemfile: "gemfiles/rails7.gemfile"
25+
- ruby: "3.3"
26+
gemfile: "gemfiles/rails8.gemfile"
27+
- ruby: "3.4"
28+
gemfile: "gemfiles/railsmaster.gemfile"
29+
steps:
30+
- uses: actions/checkout@v3
31+
- uses: ruby/setup-ruby@v1
32+
with:
33+
ruby-version: ${{ matrix.ruby }}
34+
bundler-cache: true
35+
- name: Run RSpec
36+
run: |
37+
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: 3.4
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: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Numerous always-ignore extensions
2+
*.diff
3+
*.err
4+
*.orig
5+
*.log
6+
*.rej
7+
*.swo
8+
*.swp
9+
*.vi
10+
*~
11+
*.sass-cache
12+
*.iml
13+
.idea/
14+
15+
# Sublime
16+
*.sublime-project
17+
*.sublime-workspace
18+
19+
# OS or Editor folders
20+
.DS_Store
21+
.cache
22+
.project
23+
.settings
24+
.tmproj
25+
Thumbs.db
26+
27+
.zed/
28+
29+
.bundle/
30+
log/*.log
31+
pkg/
32+
spec/dummy/db/*.sqlite3
33+
spec/dummy/db/*.sqlite3-journal
34+
spec/dummy/tmp/
35+
36+
Gemfile.lock
37+
Gemfile.local
38+
.rspec-local
39+
.ruby-version
40+
*.gem
41+
42+
tmp/
43+
.rbnext/
44+
45+
gemfiles/*.lock
46+
47+
*.sqlite

.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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
--require spec_helper
2+
# --format documentation
3+
--format progress
4+
--color
5+
--order random

.rubocop-md.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
inherit_from: ".rubocop.yml"
2+
3+
require:
4+
- rubocop-md
5+
6+
AllCops:
7+
Include:
8+
- '**/*.md'

0 commit comments

Comments
 (0)