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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e0b358be308532bfc459d2d0772fa0749a66dd78
4
- data.tar.gz: 6eb21647d55631936eb8f7058f9f3ba834267f55
2
+ SHA256:
3
+ metadata.gz: 3412f559153fe0192db6ea876f9465fa4a685a2d3140d3553b2531bf693b09d6
4
+ data.tar.gz: cdcddf292e45f41367ae60e012dfddc0dbcb87ce99dfab5ab590d1703d0b3888
5
5
  SHA512:
6
- metadata.gz: 333e3c49f93e6311933b8d686b3947da76f5e3e6b21b5be91013b5704a4a722156cbbf36ebb55e0345fcd915ff915fead2826ae0735c501830741add713828ed
7
- data.tar.gz: 0b2256b21b9ebd392df8dff55863bf9516252c9cc3951ecf494664222e12bc5dc6f233a4428bfac406ad6493166d4741c344a01797f3efce7fd83bb6e127c85b
6
+ metadata.gz: 1c934703f74274b71ed20872930d4424279e1d9a62f5bf03290c1a2b6998d0d723952026eced2c1d982a787f19ef1f2af93667e44ac1acdc43439d13daec9b4d
7
+ data.tar.gz: 53bd9c498cfe686a6d4bdfbfda37cb1475597b23ed450df62231ed55e9001a5717c539cc7494939d8366f85c566291a119729297589957a4ae261196cbb261ae
@@ -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
@@ -7,4 +7,4 @@ gem 'activesupport', '~> 4.2', require: false
7
7
  gem 'stathat', '~> 0.1', require: false
8
8
  gem 'nunes', '~> 0.4', require: false
9
9
 
10
- gem 'codeclimate-test-reporter', group: :test, require: nil
10
+ gem 'simplecov', group: :test, require: nil
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module Nexaas
2
2
  module Auditor
3
- VERSION = "1.0.4"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
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
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: 2016-10-11 00:00:00.000000000 Z
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
- rubyforge_project:
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,