sentry-rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12812aa43ec08e1599d09ce9e0602cd141519dc50fccf6b6e91a6b01123898c6
4
- data.tar.gz: e227fc53d69083c4844f7db7a8f2321d6d13c94fe7ae56f15c568e13de20aa90
3
+ metadata.gz: 3a0780603b519760f8819b1e9245514d479f5c55595d7a5d91a09ea1d72d1ea9
4
+ data.tar.gz: d2137a13dd2f272298027818a2fd076c2b4a7b70bad18bd028b39a1fe95f9109
5
5
  SHA512:
6
- metadata.gz: e89fa75dff95ea2f9308e3250594104b3831b7578bddb80da23cde9ad15dacc0f4a1564777e2ab34acf358f16f7ee70c0900f33fac348346429f58ab732296f2
7
- data.tar.gz: 1715da8885b92a56df96c48e80956d5a17d3759509a562967325f3a1be7beb7e5df893a8e0b81670c9591518f04e29e5e893c515213af446e9fa2084769ab177
6
+ metadata.gz: 0c0a349aded55ded8dc9c1d758cb1d23ee30ee08fbe063f58b842d31436a1e282d66dfea089441f71c6519ed4df340ea4bb6a3293832bc9301edfc5c3509243a
7
+ data.tar.gz: ba5ed5414046187fcb7d1481e0808ff98bc35b91f61cd7481a5cba104e177fc36a3961fc6c23e871e9e7a2cc2cb8d6f8650b5ff21bc5cbc9c866a03d7fe654c4
data/.craft.yml CHANGED
@@ -12,7 +12,7 @@ artifactProvider:
12
12
  targets:
13
13
  - name: gem
14
14
  - name: github
15
- tagPrefix: sentry-rails
15
+ tagPrefix: sentry-rails-v
16
16
  - name: registry
17
17
  type: sdk
18
18
  config:
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.2
4
+
5
+ Fix require reference
6
+
3
7
  ## 0.1.1
4
8
 
5
9
  Release test
data/README.md CHANGED
@@ -1,44 +1,52 @@
1
- # Sentry::Ruby
1
+ <p align="center">
2
+ <a href="https://sentry.io" target="_blank" align="center">
3
+ <img src="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" width="280">
4
+ </a>
5
+ <br>
6
+ </p>
2
7
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/sentry/ruby`. To experiment with that code, run `bin/console` for an interactive prompt.
8
+ # sentry-rails, the Rails integration for Sentry's Ruby client
4
9
 
5
- TODO: Delete this and the text above, and describe your gem
10
+ ---
6
11
 
7
- ## Installation
8
12
 
9
- Add this line to your application's Gemfile:
13
+ [![Gem Version](https://img.shields.io/gem/v/sentry-rails.svg)](https://rubygems.org/gems/sentry-rails)
14
+ ![Build Status](https://github.com/getsentry/sentry-ruby/workflows/sentry-rails%20Test/badge.svg)
15
+ [![Coverage Status](https://img.shields.io/codecov/c/github/getsentry/sentry-ruby/master?logo=codecov)](https://codecov.io/gh/getsentry/sentry-ruby/branch/master)
16
+ [![Gem](https://img.shields.io/gem/dt/sentry-rails.svg)](https://rubygems.org/gems/sentry-rails/)
17
+ [![SemVer](https://api.dependabot.com/badges/compatibility_score?dependency-name=sentry-rails&package-manager=bundler&version-scheme=semver)](https://dependabot.com/compatibility-score.html?dependency-name=sentry-rails&package-manager=bundler&version-scheme=semver)
10
18
 
11
- ```ruby
12
- gem 'sentry-ruby'
13
- ```
14
-
15
- And then execute:
16
-
17
- $ bundle install
18
-
19
- Or install it yourself as:
20
19
 
21
- $ gem install sentry-ruby
20
+ [Documentation](https://docs.sentry.io/clients/ruby/) | [Bug Tracker](https://github.com/getsentry/sentry-ruby/issues) | [Forum](https://forum.sentry.io/) | IRC: irc.freenode.net, #sentry
22
21
 
23
- ## Usage
22
+ The official Ruby-language client and integration layer for the [Sentry](https://github.com/getsentry/sentry) error reporting API.
24
23
 
25
- TODO: Write usage instructions here
26
24
 
27
- ## Development
25
+ ## Requirements
28
26
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
27
+ This integration requires Rails version >= 5.0 and Ruby version >= 2.4
30
28
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
29
+ ## Getting Started
32
30
 
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/sentry-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/sentry-ruby/blob/master/CODE_OF_CONDUCT.md).
31
+ ### Install
36
32
 
33
+ ```ruby
34
+ gem "sentry-rails"
35
+ ```
37
36
 
38
- ## License
37
+ ### Integration Specific Configuration
39
38
 
40
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
39
+ This gem has a few Rails-specific configuration options
41
40
 
42
- ## Code of Conduct
41
+ ```ruby
42
+ Sentry.init do |config|
43
+ # report exceptions rescued by ActionDispatch::ShowExceptions or ActionDispatch::DebugExceptions middlewares
44
+ # the default value is true
45
+ config.rails.report_rescued_exceptions = true
46
+
47
+ # this gem also provides a new breadcrumb logger that accepts instrumentaions from ActiveSupport
48
+ # it's not activated by default, but you can enable it with
49
+ config.breadcrumbs_logger = [:active_support_logger]
50
+ end
51
+ ```
43
52
 
44
- Everyone interacting in the Sentry::Ruby project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/sentry-ruby/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,2 @@
1
+ require "sentry/rails/version"
2
+ require "sentry/rails"
@@ -1,4 +1,4 @@
1
- require "sentry"
1
+ require "sentry-ruby"
2
2
  require "sentry/rails/configuration"
3
3
  require "sentry/rails/railtie"
4
4
 
@@ -1,5 +1,5 @@
1
1
  module Sentry
2
2
  module Rails
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentry-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sentry Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-06 00:00:00.000000000 Z
11
+ date: 2020-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -58,6 +58,7 @@ files:
58
58
  - Rakefile
59
59
  - bin/console
60
60
  - bin/setup
61
+ - lib/sentry-rails.rb
61
62
  - lib/sentry/rails.rb
62
63
  - lib/sentry/rails/active_job.rb
63
64
  - lib/sentry/rails/backtrace_cleaner.rb