activeerror 1.0.0 → 1.0.1

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: 7152e2ef6d0ce997ab2c1ac6ad20301641bc3888da16d14d8ba447f0f25bbe42
4
- data.tar.gz: c75638bb627a0bc6250e3eb7fd2c0041dda4eb7b1ac6849de0d2bda07cd7663d
3
+ metadata.gz: 4a975ff9c639f582045df2fe349d69c5359b6060c0421f8c08e8c9e5a8578fcc
4
+ data.tar.gz: acbed4f63bd84ee096c225df7fbd693ed74586ae3813ca3c9c0b7e067ac5078d
5
5
  SHA512:
6
- metadata.gz: 2576054be5ff1b83af55777b9135a991e6fe05a845c1197d55aad43b79676fb830a09712be37c0d7591f1eb7f5e36b09af7ad8c71cf3a129f32a9d985dd3fb5d
7
- data.tar.gz: 81ff00bc1f0e4e0fbe9230ec37e0fb72b1bc960375f9c64c9c6348fff2ec6ca2d8f98b237dec00b9e02fadbd4a7eee9b3427d2aea486f5c747ed06b479df0f9c
6
+ metadata.gz: b2d918aba97dea878b9f11e0bce25ea478c76ceb7aee9a479dcdb327c93aae3debde34af92e04cfc27ca8402993dd792e96782a770b21288809f0fe447bdf092
7
+ data.tar.gz: a82cd81c6b60217ac2a483d19e48f6ba02794b15028e0254e10a30b1e03a9f8304510c564a9d7a16e95bdc461e25f7d9c6994f5f089fb882ac36270244823c4c
data/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  One of the fundemental tools needed to take your Rails app to production is a
4
4
  way to track errors that are triggered. Unfortunately, theres no free, easy,
5
- open source way to track them for small or medium apps. Honeybadger and Sentry are great,
6
- but they are only free for a single user and are closed source. With Sentry
5
+ open source way to track them for small or medium apps. Honeybadger, Sentry,
6
+ and AppSignal are great, but they are are closed source. With Sentry
7
7
  looking at using your data as training
8
8
  data([link](https://blog.sentry.io/ai-privacy-and-terms-of-service-updates/?original_referrer=https%3A%2F%2Fsentry.io%2F))
9
9
  there should be an easy open source alternative where you control the data.
@@ -16,7 +16,7 @@ with is the one baked into Rails that we use everyday in development. So with
16
16
  ActiveError, when an error gets raised it's captured and stored in the
17
17
  database (we attempt to group the same error together as Instances to reduce
18
18
  noise) and then we recreate the error and display it using the built in debug
19
- view from Rails. Once you've resolved the error you can click "Resolve" with
19
+ view from Rails. Once you've resolved the error you can click "Resolve" which
20
20
  will destroy the record.
21
21
 
22
22
  ![screenshot 1](https://github.com/npezza93/active_error/blob/main/.github/screenshot1.png)
@@ -13,15 +13,11 @@ module ActiveError
13
13
  yaml: { unsafe_load: true }
14
14
 
15
15
  serialize :backtrace, type: Array, coder: YAML
16
- serialize :backtrace_locations, type: Array, coder: YAML,
16
+ serialize :backtrace_locations, type: Array, coder: YAML,
17
17
  yaml: { unsafe_load: true }
18
18
  serialize :blamed_files, type: Array, coder: YAML
19
19
 
20
- scope :top_level, lambda {
21
- left_joins(:parent_cause).where(
22
- parent_causes_active_error_faults: { id: nil }
23
- )
24
- }
20
+ scope :top_level, -> { where.missing(:parent_cause) }
25
21
 
26
22
  def exception
27
23
  ExceptionMock.make(fault: self)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveError
4
- VERSION = Gem::Version.new("1.0.0")
4
+ VERSION = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeerror
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Pezza