reevoo_sapience 0.2.7 → 0.2.8

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: af15b7e95257816887504e20ca8a160c2ff431e3
4
- data.tar.gz: de6fcee34c3221a464dec98aa46e00bc1c3c99ee
3
+ metadata.gz: bc0aefe18feaf09e508b53152a462e7c3f2d2b2a
4
+ data.tar.gz: 3b77f4054e92ebe1dec230a2dae1bbecc76103a6
5
5
  SHA512:
6
- metadata.gz: e0bc8ef787aa7bcac40f22656439598eb2c0284e12735dd659f16166f0799329fd56c3a871f06ff7259b185a2bf9e63a728c59e9989509ea65aaf71051f65b94
7
- data.tar.gz: fae8ad679c7504b24621da2a6f094778d24bb462c0a4863dc95ef722bac83bba73a0cf979bd415519d8b3e077e4ddd9f494503297ca729921595e936bc9695a8
6
+ metadata.gz: 30a66e7470ed12e81afcb95d92f9f6b44a628535e36036efb1c744fe96d7b8cb18828ac75fdfab7b6ec598561574b95733aff2adcb91cffd291e7a24f5d188df
7
+ data.tar.gz: d07f3a33479e649ff41ce314ed5b37bf667ebae4fbc3783f867a80e62191f1972bc0f1e71a5a6d8a3bfd697aef2245b9411d73db8ba26568811fd2254e1139ce
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## v0.2.8
2
+
3
+ - Always add a datadog appender
4
+ - Allow override of default config by placing a config/sapience.yml in the applications root directory
5
+
1
6
  ## v0.1.3
2
7
 
3
8
  - Move dependencies to reevoo_sapience. This is where we know what dependencies we have so declare those dependencies for the gem.
data/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'reevoo_sapience-rb'
10
+ gem 'reevoo_sapience'
11
11
  ```
12
12
 
13
13
  And then execute:
@@ -20,6 +20,6 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- There is nothing to be done here. The gem contains a reevoo specific override `sapience.yml` with the configuration the Reevoo Ltd. company uses internally. It is used to centralize logging, metrics and exception collection within our organization.
23
+ There is nothing to be done here. The gem contains a reevoo specific override `sapience.yml` with the configuration the Reevoo Ltd. company uses internally. It is used to centralize logging, metrics and exception collection within our organization.
24
24
 
25
- Our configuration can be found in [lib/default_reevoo_sapience.yml](https://github.com/reevoo/reevoo_sapience-rb/blob/master/lib/default_reevoo_sapience.yml).
25
+ Our configuration can be found in [lib/default_reevoo_sapience.yml](https://github.com/reevoo/reevoo_sapience-rb/blob/master/lib/default_reevoo_sapience.yml).
@@ -2,6 +2,8 @@
2
2
  default:
3
3
  log_level: debug
4
4
  appenders:
5
+ - datadog:
6
+ url: <%= ENV.fetch("STATSD_URL", "udp://localhost:8125") %>
5
7
  - stream:
6
8
  io: STDOUT
7
9
  formatter: json
@@ -9,6 +11,8 @@ default:
9
11
  test:
10
12
  log_level: warn
11
13
  appenders:
14
+ - datadog:
15
+ url: <%= ENV.fetch("STATSD_URL", "udp://localhost:8125") %>
12
16
  - stream:
13
17
  file_name: log/test.log
14
18
  formatter: color
@@ -16,6 +20,8 @@ test:
16
20
  development:
17
21
  log_level: debug
18
22
  appenders:
23
+ - datadog:
24
+ url: <%= ENV.fetch("STATSD_URL", "udp://localhost:8125") %>
19
25
  - stream:
20
26
  io: STDOUT
21
27
  formatter: color
@@ -48,6 +54,8 @@ staging:
48
54
  ci:
49
55
  log_level: warn
50
56
  appenders:
57
+ - datadog:
58
+ url: <%= ENV.fetch("STATSD_URL", "udp://localhost:8125") %>
51
59
  - stream:
52
60
  io: STDOUT
53
61
  formatter: color
@@ -8,8 +8,6 @@ module Sapience
8
8
 
9
9
  class << self
10
10
  def config_file_path
11
- return application_config_file if File.exist?(application_config_file)
12
-
13
11
  File.join(CURRENT_FOLDER, REEVOO_DEFAULT_FILE)
14
12
  end
15
13
  end
@@ -1,3 +1,3 @@
1
1
  module ReevooSapience
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reevoo_sapience
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikael Henriksson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-09-22 00:00:00.000000000 Z
12
+ date: 2016-09-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sapience