nexaas-auditor 1.0.4 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +7 -0
- data/Gemfile +1 -1
- data/lib/nexaas/auditor/statistics_trackers/stathat.rb +3 -2
- data/lib/nexaas/auditor/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3412f559153fe0192db6ea876f9465fa4a685a2d3140d3553b2531bf693b09d6
|
4
|
+
data.tar.gz: cdcddf292e45f41367ae60e012dfddc0dbcb87ce99dfab5ab590d1703d0b3888
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c934703f74274b71ed20872930d4424279e1d9a62f5bf03290c1a2b6998d0d723952026eced2c1d982a787f19ef1f2af93667e44ac1acdc43439d13daec9b4d
|
7
|
+
data.tar.gz: 53bd9c498cfe686a6d4bdfbfda37cb1475597b23ed450df62231ed55e9001a5717c539cc7494939d8366f85c566291a119729297589957a4ae261196cbb261ae
|
data/.travis.yml
CHANGED
@@ -3,5 +3,12 @@ language: ruby
|
|
3
3
|
rvm:
|
4
4
|
- 2.2.5
|
5
5
|
- 2.3.1
|
6
|
+
- 2.5.3
|
6
7
|
before_install: gem install bundler -v 1.12.5
|
8
|
+
before_script:
|
9
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
10
|
+
- chmod +x ./cc-test-reporter
|
11
|
+
- ./cc-test-reporter before-build
|
7
12
|
script: bundle exec rake spec
|
13
|
+
after_script:
|
14
|
+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
data/Gemfile
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'stathat'
|
2
|
-
|
3
1
|
module Nexaas
|
4
2
|
module Auditor
|
5
3
|
module StatisticsTrackers
|
@@ -11,6 +9,9 @@ module Nexaas
|
|
11
9
|
@key = key.to_s
|
12
10
|
@namespace = namespace.to_s
|
13
11
|
@logger = Nexaas::Auditor.configuration.logger
|
12
|
+
if Nexaas::Auditor.configuration.statistics_service == 'stathat'
|
13
|
+
require 'stathat'
|
14
|
+
end
|
14
15
|
raise ArgumentError, "required Stathat EZ Key not found" if @key == ''
|
15
16
|
end
|
16
17
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexaas-auditor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Tassinari de Oliveira
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -136,8 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '0'
|
138
138
|
requirements: []
|
139
|
-
|
140
|
-
rubygems_version: 2.5.1
|
139
|
+
rubygems_version: 3.0.2
|
141
140
|
signing_key:
|
142
141
|
specification_version: 4
|
143
142
|
summary: Common code for audit logs and statistcs tracking for Nexaas Rails apps,
|