dry-monitor 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +20 -12
- data/CHANGELOG.md +11 -0
- data/Gemfile +0 -1
- data/lib/dry/monitor.rb +16 -3
- data/lib/dry/monitor/rack/logger.rb +1 -0
- data/lib/dry/monitor/rack/middleware.rb +0 -1
- data/lib/dry/monitor/version.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79d679b29fb37de532a1855d9d9225bb1337f9675c93ec509b6ea2f70f2123d7
|
4
|
+
data.tar.gz: 3308df70e50a3d4bf2c95a772846e3c6229ef764d6ec679e5a3760249f48afb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bb851503a4caa35361e751bb68367d71b04d3c005f08d47090cb5646b7756be257ecc7bbaff5b22aff18e7cf34770af3b39b196886bb35d221002c4b6996d31
|
7
|
+
data.tar.gz: e2247a4b41a7430b1a609556aab0dbfca7c0bf7fe115ef19a91c772e3f47707d57aa80bb024ad9bfc222d73d50ddba5904ab08c08ef66505208bcaaf20e43316
|
data/.travis.yml
CHANGED
@@ -1,22 +1,30 @@
|
|
1
1
|
language: ruby
|
2
2
|
cache: bundler
|
3
|
-
|
4
|
-
|
3
|
+
sudo: false
|
4
|
+
bundler_args: --without benchmarks tools
|
5
5
|
before_install: gem update --system
|
6
|
-
|
7
|
-
-
|
6
|
+
before_script:
|
7
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
8
|
+
- chmod +x ./cc-test-reporter
|
9
|
+
- ./cc-test-reporter before-build
|
10
|
+
after_script:
|
11
|
+
- "[ -d coverage ] && ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
|
12
|
+
script:
|
13
|
+
- bundle exec rake ci
|
8
14
|
rvm:
|
9
|
-
- 2.
|
10
|
-
- 2.
|
11
|
-
- 2.
|
12
|
-
-
|
15
|
+
- 2.6.0
|
16
|
+
- 2.5.3
|
17
|
+
- 2.4.5
|
18
|
+
- 2.3.8
|
19
|
+
- jruby-9.2.5.0
|
13
20
|
env:
|
14
21
|
global:
|
15
|
-
- COVERAGE=
|
22
|
+
- COVERAGE=true
|
16
23
|
notifications:
|
24
|
+
email: false
|
17
25
|
webhooks:
|
18
26
|
urls:
|
19
27
|
- https://webhooks.gitter.im/e/19098b4253a72c9796db
|
20
|
-
on_success: change
|
21
|
-
on_failure: always
|
22
|
-
on_start: false
|
28
|
+
on_success: change # options: [always|never|change] default: always
|
29
|
+
on_failure: always # options: [always|never|change] default: always
|
30
|
+
on_start: false # default: false
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/lib/dry/monitor.rb
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
require 'dry/monitor/logger'
|
2
2
|
require 'dry/monitor/notifications'
|
3
|
-
require 'dry/
|
4
|
-
|
5
|
-
|
3
|
+
require 'dry/core/extensions'
|
4
|
+
|
5
|
+
module Dry
|
6
|
+
module Monitor
|
7
|
+
extend Dry::Core::Extensions
|
8
|
+
|
9
|
+
register_extension(:rack) do
|
10
|
+
require 'rack/utils'
|
11
|
+
require 'dry/monitor/rack/logger'
|
12
|
+
end
|
13
|
+
|
14
|
+
register_extension(:sql) do
|
15
|
+
require 'dry/monitor/sql/logger'
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/lib/dry/monitor/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry-monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Solnica
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-equalizer
|
@@ -183,8 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
|
-
|
187
|
-
rubygems_version: 2.7.6
|
186
|
+
rubygems_version: 3.0.2
|
188
187
|
signing_key:
|
189
188
|
specification_version: 4
|
190
189
|
summary: Monitoring and instrumentation APIs
|