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 +4 -4
- data/lib/cru_lib.rb +1 -0
- data/lib/cru_lib/global_registry_master_person_methods.rb +2 -6
- data/lib/cru_lib/railtie.rb +14 -0
- data/lib/cru_lib/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3b045a67f198699974080c3cffa49b2a15abbee
|
4
|
+
data.tar.gz: e613a6e4ee99d2e5228c8534a9755f1d5a7f97a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a561ee2fc0cd12f144d3e4124b0f304634658155baa8ea68d246e4bc2947853c120037851b110f675911bf65d3d2e600d08192260af22685961fee37b52ffb3
|
7
|
+
data.tar.gz: 8b7d3e04a0bae7b0952cf7d4a00679db43ffaae862228f972e9ac7c292740325b57a28b08f5c7328a51e59f413efc899b5ea01ef5ba6496f50d659da5213f051
|
data/lib/cru_lib.rb
CHANGED
@@ -34,11 +34,7 @@ module CruLib
|
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
37
|
-
class NoGlobalRegistryIdError <
|
37
|
+
class NoGlobalRegistryIdError < StandardError; end
|
38
38
|
|
39
|
-
class NoGlobalRegistryMasterPersonError <
|
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
|
data/lib/cru_lib/version.rb
CHANGED
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.
|
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-
|
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
|