cru_lib 0.1.0 → 0.1.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
  SHA1:
3
- metadata.gz: 397cabcb415a6a6f962af2204ca61ee8957337c0
4
- data.tar.gz: e8e32dfa19555f824d154c93f61eadf70dc9c72f
3
+ metadata.gz: c3b045a67f198699974080c3cffa49b2a15abbee
4
+ data.tar.gz: e613a6e4ee99d2e5228c8534a9755f1d5a7f97a3
5
5
  SHA512:
6
- metadata.gz: 7ff5ae65ae52213533ff4b8c6ec2e6bf45ebf3ac494b4fb76f955990e80a7a3c3e6d46889490bb15e9948003328b07b29dba88ccd64f921bf3d698046e37c357
7
- data.tar.gz: a6eccc089b8bf8f4b121ae50b396e82336f7ad0f3465029db8567340868f888cbfa05fc9e6bc36d5567289bcee6cee7202bd8384a021f8228bdabff5ec18acd8
6
+ metadata.gz: 7a561ee2fc0cd12f144d3e4124b0f304634658155baa8ea68d246e4bc2947853c120037851b110f675911bf65d3d2e600d08192260af22685961fee37b52ffb3
7
+ data.tar.gz: 8b7d3e04a0bae7b0952cf7d4a00679db43ffaae862228f972e9ac7c292740325b57a28b08f5c7328a51e59f413efc899b5ea01ef5ba6496f50d659da5213f051
@@ -3,6 +3,7 @@ require 'cru_lib/async'
3
3
  require 'cru_lib/global_registry_methods'
4
4
  require 'cru_lib/global_registry_relationship_methods'
5
5
  require 'cru_lib/global_registry_master_person_methods'
6
+ require 'cru_lib/railtie'
6
7
 
7
8
  module CruLib
8
9
  end
@@ -34,11 +34,7 @@ module CruLib
34
34
  end
35
35
  end
36
36
 
37
- class NoGlobalRegistryIdError < Rollbar::Ignore; end
37
+ class NoGlobalRegistryIdError < StandardError; end
38
38
 
39
- class NoGlobalRegistryMasterPersonError < Rollbar::Ignore; end
40
- end
41
-
42
- module Rollbar
43
- class Ignore < StandardError; end
39
+ class NoGlobalRegistryMasterPersonError < StandardError; end
44
40
  end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CruLib
4
+ class Railtie < Rails::Railtie
5
+ initializer 'crulib_railtie.configure_rollbar' do
6
+ if Module::const_defined? :Rollbar
7
+ ::Rollbar.configure do |config|
8
+ config.exception_level_filters.merge!('CruLib::NoGlobalRegistryIdError' => 'ignore',
9
+ 'CruLib::NoGlobalRegistryMasterPersonError' => 'ignore')
10
+ end
11
+ end
12
+ end
13
+ end
14
+ end
@@ -1,3 +1,3 @@
1
1
  module CruLib
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cru_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Starcher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-04 00:00:00.000000000 Z
11
+ date: 2017-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: global_registry
@@ -99,6 +99,7 @@ files:
99
99
  - lib/cru_lib/global_registry_master_person_methods.rb
100
100
  - lib/cru_lib/global_registry_methods.rb
101
101
  - lib/cru_lib/global_registry_relationship_methods.rb
102
+ - lib/cru_lib/railtie.rb
102
103
  - lib/cru_lib/version.rb
103
104
  - spec/shared_examples_for_global_registry_models.rb
104
105
  homepage: https://github.com/CruGlobal/cru_lib