soar_auditor_api 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soar_auditor_api/auditor_api.rb +2 -2
- data/lib/soar_auditor_api/version.rb +1 -1
- data/sanity/Gemfile +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2d378bec33315abcb06d8c6fdc0505792e50ec4
|
4
|
+
data.tar.gz: 013aa139593683789ea78a26408f73e73f71c0a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c70601ea244580f71e3985dc2e827fac54a425337dd926f1744759e3f3ea45b1f0a85fa2070710f9487810561767c9fafb7204840169740a4b1fdb2712eb73c
|
7
|
+
data.tar.gz: c37106f5896f58e40f88b64a1db88e034632b775e7c1aac00077c08d6271b92247958823831a93d7e09bce6b92239f10965f9822d3bcce56f5483200e02936f0
|
@@ -3,9 +3,9 @@ module SoarAuditorApi
|
|
3
3
|
AUDIT_LEVELS = [:debug, :info, :warn, :error, :fatal] unless defined? AUDIT_LEVELS; AUDIT_LEVELS.freeze
|
4
4
|
DEFAULT_AUDIT_LEVEL = :info unless defined? DEFAULT_AUDIT_LEVEL; DEFAULT_AUDIT_LEVEL.freeze
|
5
5
|
|
6
|
-
def initialize
|
7
|
-
@configuration = nil
|
6
|
+
def initialize(configuration = nil)
|
8
7
|
@minimum_audit_level = DEFAULT_AUDIT_LEVEL
|
8
|
+
configure(configuration) if configuration
|
9
9
|
end
|
10
10
|
|
11
11
|
def configure(configuration = nil)
|
data/sanity/Gemfile
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soar_auditor_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Barney de Villiers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|