Skip to content

Commit

Permalink
Release v1.0.0.rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrylo committed Dec 10, 2015
0 parents commit 5073d96
Show file tree
Hide file tree
Showing 43 changed files with 4,983 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.gem
Gemfile.lock
.bundle
doc
.yardoc
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--warnings
74 changes: 74 additions & 0 deletions .rubocop.yml
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
8 changes: 8 additions & 0 deletions CHANGELOG.md
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
84 changes: 84 additions & 0 deletions CONTRIBUTING.md
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/
5 changes: 5 additions & 0 deletions Gemfile
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'
21 changes: 21 additions & 0 deletions LICENSE.md
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.
Loading

0 comments on commit 5073d96

Please sign in to comment.