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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a6ca13a1aafd6c0951f33632c9e30d6ff58c66c
4
- data.tar.gz: 2032f1f98e5fab2bba3bf2bc6eacb3398ea01a67
3
+ metadata.gz: d2d378bec33315abcb06d8c6fdc0505792e50ec4
4
+ data.tar.gz: 013aa139593683789ea78a26408f73e73f71c0a7
5
5
  SHA512:
6
- metadata.gz: 1f78bd19b826bfc04d64839125afaaae91dbb26b9871f3524d1ba7f1b5186d1aa901ff21efc54de29f596d80fa79c05e656e9fe18b71e46af46053f4acff2d78
7
- data.tar.gz: 3a418772ac299a337eb266f78f276691431d1485ff9c4497fd80d10ede7cea010dee8f8cc74e11b5690653fe557d42e6b51e6694259e8b87e42bfad865232f1f
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)
@@ -1,3 +1,3 @@
1
1
  module SoarAuditorApi
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
data/sanity/Gemfile CHANGED
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem 'byebug'
4
4
  #gem 'soar_auditor_api', :path => '/home/barney/git/soar_auditor_api'
5
- gem 'soar_auditor_api', "~> 0.0.11"
5
+ gem 'soar_auditor_api', "~> 0.0.12"
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.11
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-05-30 00:00:00.000000000 Z
11
+ date: 2016-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler