soar_auditor_api 0.0.12 → 1.0.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: d2d378bec33315abcb06d8c6fdc0505792e50ec4
4
- data.tar.gz: 013aa139593683789ea78a26408f73e73f71c0a7
3
+ metadata.gz: fa79937acbd6210df311a8ee550a16cf9ca70f25
4
+ data.tar.gz: 69416f41655d4eaac34c461d0e0a46f8fe320938
5
5
  SHA512:
6
- metadata.gz: 1c70601ea244580f71e3985dc2e827fac54a425337dd926f1744759e3f3ea45b1f0a85fa2070710f9487810561767c9fafb7204840169740a4b1fdb2712eb73c
7
- data.tar.gz: c37106f5896f58e40f88b64a1db88e034632b775e7c1aac00077c08d6271b92247958823831a93d7e09bce6b92239f10965f9822d3bcce56f5483200e02936f0
6
+ metadata.gz: 870fbb597a4ab16b72506b79073c5eeead0625fcb9d8e7550ede55eb5a3237ee7d30d89ccf513d7f436ba684599ea31855935e7eb8917cc08c23071e5a95396b
7
+ data.tar.gz: b12cc3cb2bbad3189523580e5d965ca1cdb7a17f92d8ded189fcc5d8d5c9991430f6b77ab1ba661b9453c435330cd50b5464527a726e80c0b423b61b2fb3dde4
@@ -1 +1 @@
1
- ruby-2.2
1
+ ruby-2.3
@@ -0,0 +1,4 @@
1
+ node ('master') {
2
+ git 'git@github.com:hetznerZA/soar_auditor_api.git'
3
+ sh 'docker run --rm -t -v $(pwd):/testing -w /testing soar_sc:ci /bin/bash --login /testing/run_tests.sh'
4
+ }
@@ -10,6 +10,7 @@ module SoarAuditorApi
10
10
 
11
11
  def configure(configuration = nil)
12
12
  raise ArgumentError, "Invalid configuration provided" unless configuration_is_valid?(configuration)
13
+ prefer_direct_call?
13
14
  @configuration = configuration
14
15
  end
15
16
 
@@ -52,6 +53,10 @@ module SoarAuditorApi
52
53
  raise NotImplementedError, "Class must implement audit method in Auditor extending the API"
53
54
  end
54
55
 
56
+ def prefer_direct_call?
57
+ raise NotImplementedError, "Class must implement prefer_direct_call? method in Auditor extending the API"
58
+ end
59
+
55
60
  private
56
61
 
57
62
  def audit_filtered_out?(audit_level)
@@ -1,3 +1,3 @@
1
1
  module SoarAuditorApi
2
- VERSION = "0.0.12"
2
+ VERSION = "1.0.0"
3
3
  end
@@ -0,0 +1,6 @@
1
+ #! /bin/bash
2
+
3
+ rvm use .
4
+ gem install bundler
5
+ bundle
6
+ bundle exec rspec -cfd spec
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.12
4
+ version: 1.0.0
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-07-01 00:00:00.000000000 Z
11
+ date: 2017-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -79,6 +79,7 @@ files:
79
79
  - ".ruby-version"
80
80
  - ".travis.yml"
81
81
  - Gemfile
82
+ - Jenkinsfile
82
83
  - LICENSE.txt
83
84
  - README.md
84
85
  - Rakefile
@@ -88,6 +89,7 @@ files:
88
89
  - lib/soar_auditor_api/auditor_api.rb
89
90
  - lib/soar_auditor_api/serializable.rb
90
91
  - lib/soar_auditor_api/version.rb
92
+ - run_tests.sh
91
93
  - sanity/.ruby-gemset
92
94
  - sanity/.ruby-version
93
95
  - sanity/Gemfile
@@ -113,8 +115,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
115
  version: '0'
114
116
  requirements: []
115
117
  rubyforge_project:
116
- rubygems_version: 2.4.8
118
+ rubygems_version: 2.5.1
117
119
  signing_key:
118
120
  specification_version: 4
119
121
  summary: SOAR auditor api
120
122
  test_files: []
123
+ has_rdoc: