-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5073d96
Showing
43 changed files
with
4,983 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.gem | ||
Gemfile.lock | ||
.bundle | ||
doc | ||
.yardoc |
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 @@ | ||
--warnings |
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,74 @@ | ||
# Explanations of all possible options: | ||
# https://github.com/bbatsov/rubocop/blob/master/config/default.yml | ||
AllCops: | ||
DisplayCopNames: true | ||
DisplayStyleGuide: true | ||
|
||
Lint/HandleExceptions: | ||
Enabled: true | ||
|
||
Metrics/MethodLength: | ||
Max: 25 | ||
|
||
Style/SpaceInsideBrackets: | ||
Enabled: true | ||
|
||
Metrics/LineLength: | ||
Max: 90 | ||
|
||
Style/AccessorMethodName: | ||
Enabled: true | ||
|
||
Style/DotPosition: | ||
EnforcedStyle: trailing | ||
|
||
# Details: | ||
# http://c2.com/cgi/wiki?AbcMetric | ||
Metrics/AbcSize: | ||
# The ABC size is a calculated magnitude, so this number can be a Fixnum or | ||
# a Float. | ||
Max: 20 | ||
|
||
Style/StringLiterals: | ||
Enabled: false | ||
|
||
Style/HashSyntax: | ||
EnforcedStyle: ruby19 | ||
|
||
Style/GuardClause: | ||
Enabled: true | ||
|
||
Style/FileName: | ||
Exclude: | ||
- 'lib/airbrake-ruby.rb' | ||
|
||
Style/SpaceInsideHashLiteralBraces: | ||
Enabled: true | ||
|
||
Style/NumericLiterals: | ||
Enabled: false | ||
|
||
Style/ParallelAssignment: | ||
Enabled: true | ||
|
||
Style/SpaceAroundOperators: | ||
Enabled: true | ||
|
||
Style/SignalException: | ||
EnforcedStyle: only_raise | ||
|
||
Style/RedundantSelf: | ||
Enabled: true | ||
|
||
Style/SpaceInsideParens: | ||
Enabled: true | ||
|
||
Style/TrivialAccessors: | ||
AllowPredicates: true | ||
|
||
Style/PredicateName: | ||
Exclude: | ||
- 'lib/airbrake-ruby/async_sender.rb' | ||
|
||
Metrics/ClassLength: | ||
Max: 120 |
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,8 @@ | ||
Airbrake Ruby Changelog | ||
======================= | ||
|
||
### [v1.0.0.rc.1][v1.0.0.rc.1] (December 11, 2015) | ||
|
||
* Initial release | ||
|
||
[v1.0.0.rc.1]: https://github.com/airbrake/airbrake-ruby/releases/tag/v1.0.0.rc.1 |
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,84 @@ | ||
How to contribute | ||
================= | ||
|
||
Pull requests | ||
------------- | ||
|
||
<img align="right" src="https://img-fotki.yandex.ru/get/15568/98991937.1f/0_b5d09_41234679_orig"/> | ||
|
||
We love your contributions, thanks for taking the time to contribute! | ||
|
||
It's really easy to start contributing, just follow these simple steps: | ||
|
||
1. [Fork][fork-article] the [repo][airbrake-ruby]: | ||
|
||
![Fork][fork] | ||
|
||
2. Run the test suite to make sure the tests pass: | ||
|
||
```shell | ||
bundle exec rake | ||
``` | ||
|
||
3. [Create a separate branch][branch], commit your work and push it to your | ||
fork. If you add comments, please make sure that they are compatible with | ||
[YARD][yard]: | ||
|
||
``` | ||
git checkout -b my-branch | ||
git commit -am | ||
git push origin my-branch | ||
``` | ||
|
||
4. Verify that your code doesn't offend Rubocop: | ||
|
||
``` | ||
bundle exec rubocop | ||
``` | ||
|
||
5. Run the test suite again (new tests are always welcome): | ||
|
||
``` | ||
bundle exec rake | ||
``` | ||
|
||
6. [Make a pull request][pr] | ||
|
||
Submitting issues | ||
----------------- | ||
|
||
Our [issue tracker][issues] is a perfect place for filing bug reports or | ||
discussing possible features. If you report a bug, consider using the following | ||
template (copy-paste friendly): | ||
|
||
``` | ||
* Airbrake version: {YOUR VERSION} | ||
* Ruby version: {YOUR VERSION} | ||
* Framework name & version: {YOUR DATA} | ||
#### Airbrake config | ||
# YOUR CONFIG | ||
# | ||
# Make sure to delete any sensitive information | ||
# such as your project id and project key. | ||
#### Description | ||
{We would be thankful if you provided steps to reproduce the issue, expected & | ||
actual results, any code snippets or even test repositories, so we could clone | ||
it and test} | ||
``` | ||
|
||
<p align="center"> | ||
<img src="https://img-fotki.yandex.ru/get/4702/98991937.1f/0_b5d0a_ba0c0ee6_orig"> | ||
<b>Build Better Software</b> | ||
</p> | ||
|
||
[airbrake-ruby]: https://github.com/airbrake/airbrake-ruby | ||
[fork-article]: https://help.github.com/articles/fork-a-repo | ||
[fork]: https://img-fotki.yandex.ru/get/3800/98991937.1f/0_b5c39_839c8786_orig | ||
[branch]: https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/ | ||
[pr]: https://help.github.com/articles/using-pull-requests | ||
[issues]: https://github.com/airbrake/airbrake-ruby/issues | ||
[yard]: http://yardoc.org/ |
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,5 @@ | ||
source 'https://rubygems.org' | ||
gemspec | ||
|
||
# Rubocop supports only >=1.9.3 | ||
gem 'rubocop', '~> 0.33', require: false unless RUBY_VERSION == '1.9.2' |
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,21 @@ | ||
The MIT License | ||
=============== | ||
|
||
Copyright © 2015 Airbrake Technologies, Inc. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the 'Software'), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Oops, something went wrong.