openteam-commons 0.3.2 → 0.3.3

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
  SHA1:
3
- metadata.gz: af24d7c6ddc9f21ff13cbf6c4bcb865fc42f73fd
4
- data.tar.gz: c406cb338e86584f594fb4e121dc6dbce57ec4c7
3
+ metadata.gz: 91e02b18f00660ec4e4cd2362b428469797c5743
4
+ data.tar.gz: c4b975850e41ec02612b355cf3a5fb135c8c2cec
5
5
  SHA512:
6
- metadata.gz: 5e2dbf156d7b2b21b55652ef8f36489feb1de4badd50f770f03418479fae17c312da234231690ac8e4201d789d8288925c075ee099c36246c2a45ae086077cf3
7
- data.tar.gz: 0b01080004164a4ce7faae441e9efbdcc63d625d7d59d8c1ddba644ad75d9e6995d986d1f80ca55a72e5fb4dd4a2147d5ed54a05b5998a81ff90a76436fc7a3d
6
+ metadata.gz: a292f7bde2873490f462996c0cfebd150a106d621b21025181397c311ef15a51145d8fd43efb520653765ad8a8c81071c890957478a856161966bcac8ab2c636
7
+ data.tar.gz: df40dc3eae501a8dc542001e56d00863a0610cc533fde57ca7a9d6844c26dc6035ec5cd814e338fbc2390e73257ab5f423241c63c8794df5fb50c7f06dfffbf5
@@ -58,6 +58,11 @@ module OpenteamCommons
58
58
  config.environment = Rails.env
59
59
  config.ignore_environments = %w[development test]
60
60
  end
61
+ Airbrake.add_filter do |notice|
62
+ if notice[:errors].any? { |error| error[:type] == 'ActiveRecord::RecordNotFound' }
63
+ notice.ignore!
64
+ end
65
+ end
61
66
  end
62
67
  end
63
68
  end
@@ -1,3 +1,3 @@
1
1
  module OpenteamCommons
2
- VERSION = '0.3.2'.freeze
2
+ VERSION = '0.3.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openteam-commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-13 00:00:00.000000000 Z
11
+ date: 2016-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: airbrake