soar_auditing_provider_api 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 129f7530981c838d82f5d4df7ec4bceec5f888e2
4
- data.tar.gz: 8cd72a7b979eac9895936a3e3b9537a89e743476
3
+ metadata.gz: f6a18a6f6b5e01c13bef068106040e69270fb09b
4
+ data.tar.gz: 668101c72ce95f7d3f6e1333649a2997503ac74c
5
5
  SHA512:
6
- metadata.gz: f247e6185716ccd657f6205f7941a3a49f8aee55d01dcb1d2b53453d6b6c3c1da4f408d1dbaff70d31a6473398061d37957f95af50355e07b517ee92ed09452a
7
- data.tar.gz: f425413a555d07ceb92b5348ac23fe5f84b195b2d44c60bd90be0cf0aeec85a8b7f49ba39819279c0b62d3e6b1c73d66f3e02c648527eb132e4eda61314a29c2
6
+ metadata.gz: cefc70cff2ae4ea90a9f8b71e6639a9dda685c4296fd7b1e37107b8e74a7e7b60d90848481238ad53679a0b3c23cd25152aed92c0d585903d8076cb98b2d0be3
7
+ data.tar.gz: 83e011b9a0d74e8ef50b39bbaf5224b90d1244fcd3350e59385c7cebe4c0b55688fb35c77c2700256ba35b8506dc6246c39a4da6e42e8c4fa4423a4d80c1dbd6
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # SoarAuditingProvider
1
+ # SoarAuditingProviderAPI
2
2
 
3
3
  This gem provides the auditing API that audit providers for the SOAR architecture should adhere to.
4
4
 
@@ -8,7 +8,7 @@ The API provides default delegation behaviour that calls the API methods verbati
8
8
 
9
9
  If you'd simply like the auditing provider to use the first (perhaps only?) auditor that it knows about, you can tell it to select DEFAULT so:
10
10
 
11
- auditor = auditing_provider.select(SoarAuditingProvider::AuditingProviderAPI::DEFAULT)
11
+ auditor = auditing_provider.select(SoarAuditingProviderAPI::AuditingProviderAPI::DEFAULT)
12
12
 
13
13
  ## Installation
14
14
 
@@ -34,17 +34,17 @@ Run the rspec test tests:
34
34
 
35
35
  ## Usage
36
36
 
37
- Extend the SoarAuditingProvider::AuditingProviderAPI to create a new auditing provider, or instantiate the API directly for an out-of-the-box auditing provider with default behaviour.
37
+ Extend the SoarAuditingProviderAPI::AuditingProviderAPI to create a new auditing provider, or instantiate the API directly for an out-of-the-box auditing provider with default behaviour.
38
38
 
39
39
  ```
40
- class MyAuditingProvider < SoarAuditingProvider::AuditingProviderAPI
40
+ class MyAuditingProvider < SoarAuditingProviderAPI::AuditingProviderAPI
41
41
  end
42
42
  ```
43
43
 
44
44
  or
45
45
 
46
46
  ```
47
- auditor_provider = SoarAuditingProvider::AuditingProviderAPI.new(auditors)
47
+ auditor_provider = SoarAuditingProviderAPI::AuditingProviderAPI.new(auditors)
48
48
  ```
49
49
 
50
50
  Initialize the provider so:
@@ -97,8 +97,8 @@ class Main
97
97
  def test_sanity
98
98
  auditor = Logger.new 'sanity'
99
99
  auditor.outputters = Outputter.stdout
100
- @iut = SoarAuditingProvider::AuditingProviderAPI.new( { auditor => { 'nfrs' => {'accessibility' => 'local'} } } )
101
- @iut.select(SoarAuditingProvider::AuditingProviderAPI::DEFAULT)
100
+ @iut = SoarAuditingProviderAPI::AuditingProviderAPI.new( { auditor => { 'nfrs' => {'accessibility' => 'local'} } } )
101
+ @iut.select(SoarAuditingProviderAPI::AuditingProviderAPI::DEFAULT)
102
102
  some_debug_object = 123
103
103
  @iut.info("This is info")
104
104
  @iut.debug(some_debug_object)
@@ -2,5 +2,5 @@ require "soar_auditing_provider_api/version"
2
2
  require 'soar_auditing_provider_api/auditing_provider_api'
3
3
  require 'soar_auditing_provider_api/nfr_match_error'
4
4
 
5
- module SoarAuditingProvider
5
+ module SoarAuditingProviderAPI
6
6
  end
@@ -1,4 +1,4 @@
1
- module SoarAuditingProvider
1
+ module SoarAuditingProviderAPI
2
2
  class AuditingProviderAPI
3
3
  DEFAULT = {} unless defined? DEFAULT; DEFAULT.freeze
4
4
 
@@ -1,4 +1,4 @@
1
- module SoarAuditingProvider
1
+ module SoarAuditingProviderAPI
2
2
  class NFRMatchError < StandardError
3
3
  end
4
- end
4
+ end
@@ -1,3 +1,3 @@
1
- module SoarAuditingProvider
2
- VERSION = "0.8.0"
1
+ module SoarAuditingProviderAPI
2
+ VERSION = "0.9.0"
3
3
  end
data/sanity/sanity.rb CHANGED
@@ -7,8 +7,8 @@ class Main
7
7
  def test_sanity
8
8
  auditor = Logger.new 'sanity'
9
9
  auditor.outputters = Outputter.stdout
10
- @iut = SoarAuditingProvider::AuditingProviderAPI.new( { auditor => { 'nfrs' => {'accessibility' => 'local'} } } )
11
- @iut.select(SoarAuditingProvider::AuditingProviderAPI::DEFAULT)
10
+ @iut = SoarAuditingProviderAPI::AuditingProviderAPI.new( { auditor => { 'nfrs' => {'accessibility' => 'local'} } } )
11
+ @iut.select(SoarAuditingProviderAPI::AuditingProviderAPI::DEFAULT)
12
12
  some_debug_object = 123
13
13
  @iut.info("This is info")
14
14
  @iut.debug(some_debug_object)
@@ -5,7 +5,7 @@ require 'soar_auditing_provider_api/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "soar_auditing_provider_api"
8
- spec.version = SoarAuditingProvider::VERSION
8
+ spec.version = SoarAuditingProviderAPI::VERSION
9
9
  spec.authors = ["Ernst Van Graan"]
10
10
  spec.email = ["ernst.van.graan@hetzner.co.za"]
11
11
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar_auditing_provider_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernst Van Graan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-27 00:00:00.000000000 Z
11
+ date: 2016-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler