airbrake-jets 0.3.0 → 0.4.0

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: 51bfcaa9d2084ec61917d9907d6d5b2735918adc40f10cb45efb0b36603a9cba
4
- data.tar.gz: db8072edc1227c0ced9f272a05ad3ec632bfefc0b691fd51eb811d08936bccec
3
+ metadata.gz: 12846edc15fc02a6690b05e4b7a5b29101d4b969cdf45df6078cc33ef5c99ce2
4
+ data.tar.gz: bf9095284084a1d06c0c86809d2c072faf3c61e51ff7d69cbce775fc349ae219
5
5
  SHA512:
6
- metadata.gz: 55175dd570409183a5c5e0bc3dab58c373ac8089f84d4d2e566d868d8258d0b4db85ed39aa3f9f573f13563615083403e5cff0e52d98886eb55be28ae5d21927
7
- data.tar.gz: cc7b0f4ce844888e3af9e9e1fe176b013a52602a9bf8b66cc7251e45c7c6e61a636b1c6352fd225f4f59e52abf5594a651b14d5314888e656278428da64f8e78
6
+ metadata.gz: f0c531d90c256076323e58b70361f070451986d9c962325d557d7e3fd94c745bb998137ed9455d926f7f6ddad0ff1ba8fcdf251a435476a4cf4f2846ac860f82
7
+ data.tar.gz: a2fecbe0cc80e197e723e9ff72038bc5634b4d57632310d9f04bceb7fbabfbe508b5901093354768234e6111a8e7e179dae27e165c99562496335f0cde622c21
@@ -3,6 +3,11 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.4.0]
7
+ - AIRBRAKE_IGNORE_ENVIRONMENTS setting
8
+ - set root_directory to nil
9
+ - use notify_sync for lambda
10
+
6
11
  ## [0.3.0]
7
12
  - add airbrake-ruby gem dependency
8
13
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- airbrake-jets (0.3.0)
4
+ airbrake-jets (0.4.0)
5
5
  airbrake-ruby
6
6
 
7
7
  GEM
@@ -7,12 +7,14 @@ module AirbrakeJets
7
7
  c.project_id = ENV["AIRBRAKE_PROJECT_ID"]
8
8
  c.project_key = ENV["AIRBRAKE_PROJECT_KEY"]
9
9
  c.environment = Jets.env.to_s
10
- c.ignore_environments = %w(development test cucumber)
10
+ ignore_environments = ENV["AIRBRAKE_IGNORE_ENVIRONMENTS"]
11
+ c.ignore_environments = ignore_environments ? ignore_environments.split(' ') : %w(test cucumber)
12
+ c.root_directory = nil # to bypass Airbrake::Filters
11
13
  end
12
14
  end
13
15
 
14
16
  on_exception 'airbrake.capture' do |exception|
15
- Airbrake.notify(exception)
17
+ Airbrake.notify_sync(exception) # use sync or Lambda process goes away before request is completed
16
18
  end
17
19
  end
18
20
  end
@@ -1,3 +1,3 @@
1
1
  module AirbrakeJets
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake-jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen