forked from toptal/chewy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Badiapp/toptal/chewy-v7.0.1
Toptal/chewy v7.0.1
- Loading branch information
Showing
23 changed files
with
580 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
name: Bug Report | ||
about: Report an issue with Chewy you've discovered. | ||
--- | ||
|
||
*Be clear, concise and precise in your description of the problem. | ||
Open an issue with a descriptive title and a summary in grammatically correct, | ||
complete sentences.* | ||
|
||
*Use the template below when reporting bugs. Please, make sure that | ||
you're running the latest stable Chewy and that the problem you're reporting | ||
hasn't been reported (and potentially fixed) already.* | ||
|
||
*Before filing the ticket you should replace all text above the horizontal | ||
rule with your own words.* | ||
|
||
-------- | ||
|
||
## Expected behavior | ||
|
||
Describe here how you expected Chewy to behave in this particular situation. | ||
|
||
## Actual behavior | ||
|
||
Describe here what actually happened. | ||
|
||
## Steps to reproduce the problem | ||
|
||
This is extremely important! Providing us with a reliable way to reproduce | ||
a problem will expedite its solution. | ||
|
||
## Version Information | ||
|
||
Share here essential version information such as: | ||
|
||
* Chewy version | ||
* Elasticsearch version | ||
* Ruby version | ||
* Rails version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest new Chewy features or improvements to existing features. | ||
--- | ||
|
||
## Is your feature request related to a problem? Please describe. | ||
|
||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
## Describe the solution you'd like | ||
|
||
A clear and concise description of what you want to happen. | ||
|
||
## Describe alternatives you've considered | ||
|
||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
## Additional context | ||
|
||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
**Replace this text with a summary of the changes in your PR. | ||
The more detailed you are, the better.** | ||
|
||
----------------- | ||
|
||
Before submitting the PR make sure the following are checked: | ||
|
||
* [ ] The PR relates to *only* one subject with a clear title and description in grammatically correct, complete sentences. | ||
* [ ] Wrote [good commit messages][1]. | ||
* [ ] Commit message starts with `[Fix #issue-number]` (if the related issue exists). | ||
* [ ] Feature branch is up-to-date with `master` (if not - rebase it). | ||
* [ ] Squashed related commits together. | ||
* [ ] Added tests. | ||
* [ ] Added an entry to the changelog if the new code introduces user-observable changes. See [changelog entry format](https://github.com/toptal/chewy/blob/master/CONTRIBUTING.md#changelog-entry-format) for details. | ||
|
||
[1]: https://chris.beams.io/posts/git-commit/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
name: CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: [2.6, 2.7] | ||
gemfile: [rails.5.2.activerecord, rails.6.0.activerecord, rails.6.1.activerecord] | ||
name: ${{ matrix.ruby }}-${{ matrix.gemfile }} | ||
|
||
env: | ||
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
- name: Run Elasticsearch | ||
uses: elastic/elastic-github-actions/elasticsearch@master | ||
with: | ||
stack-version: 7.10.1 | ||
port: 9250 | ||
- name: Tests | ||
run: bundle exec rspec | ||
|
||
ruby-3-0-activerecord-6-1: | ||
runs-on: ubuntu-latest | ||
env: | ||
BUNDLE_GEMFILE: gemfiles/rails.6.1.activerecord.gemfile | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.0' | ||
bundler-cache: true | ||
- name: Run Elasticsearch | ||
uses: elastic/elastic-github-actions/elasticsearch@master | ||
with: | ||
stack-version: 7.10.1 | ||
port: 9250 | ||
- name: Tests | ||
run: bundle exec rspec | ||
|
||
ruby-3-0-activerecord-6-1-es6: | ||
runs-on: ubuntu-latest | ||
env: | ||
BUNDLE_GEMFILE: gemfiles/rails.6.1.activerecord.gemfile | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.0' | ||
bundler-cache: true | ||
- name: Run Elasticsearch | ||
uses: elastic/elastic-github-actions/elasticsearch@master | ||
with: | ||
stack-version: 6.8.15 | ||
port: 9250 | ||
- name: Tests | ||
run: bundle exec rspec | ||
|
||
ruby-2-7-activerecord-6-1-es6: | ||
runs-on: ubuntu-latest | ||
env: | ||
BUNDLE_GEMFILE: gemfiles/rails.6.1.activerecord.gemfile | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7 | ||
bundler-cache: true | ||
- name: Run Elasticsearch | ||
uses: elastic/elastic-github-actions/elasticsearch@master | ||
with: | ||
stack-version: 6.8.15 | ||
port: 9250 | ||
- name: Tests | ||
run: bundle exec rspec | ||
|
||
rubocop: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7 | ||
bundler-cache: true | ||
- run: bundle exec rubocop --format simple |
Oops, something went wrong.