sapience 2.9.1 → 2.10

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: a5e40be4c3c23734786e06c3be620bab6a2c1a9a
4
- data.tar.gz: 3397ec7107fc0ac63f23809262c7cd793cd43e91
2
+ SHA256:
3
+ metadata.gz: b8328fe94f351331e7594422f677311ba6363758a907930a25d21d044b26546c
4
+ data.tar.gz: a3504915777fc5ce3faf0ea8b8e310269b8cba1d0c6b9ad7013bec43884a4046
5
5
  SHA512:
6
- metadata.gz: 5def20affb7f31b2ef491d458d1e8095cc54ab2db62ff6ca12016e200f20d91f7104b494702c45084431cc93006f60ef753314817f94ed34e1805a42dfcd677b
7
- data.tar.gz: 15a71d7c1491305fda7a7157bbcd82caf01f6bdc7ca6fa409aa2cca4e2192629f128e223054db957ccb73afddc6a0139233e39e2e8c3485c193706d95b031373
6
+ metadata.gz: ffcd578e958d88c52a12ebe6926478d7fec5077dc4d5d328a14e0bb088337758f3e81ab40e1a996211cac07d64cd6b66e73a1cf51b23ebb7eb7a953802146308
7
+ data.tar.gz: f88677aa78333f3b804c50c9b3cad868d2d37fe71dbd994ba165943f657f40ba78d0e9a620c8b2b23aea98a82dd2b39fcfe1c781bdae8ca4470d74675fce231e
@@ -1 +1 @@
1
- 2.4.1
1
+ 2.4.9
@@ -1,27 +1,15 @@
1
1
  sudo: required
2
2
  dist: trusty
3
- language: ruby
3
+ language: minimal
4
4
  cache:
5
- bundler: true
6
5
  directories:
7
6
  - $HOME/docker
8
- - $BUNDLE_PATH
9
- - ./vendor/bundle
10
7
 
11
8
  services:
12
9
  - docker
13
10
 
14
- before_install:
15
- - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
16
- - gem install bundler -v '< 2'
17
-
18
- install: bundle install --jobs 8 --retry 5
19
-
20
- before_script:
21
- - mkdir -p coverage/rails coverage/grape coverage/sapience
22
-
23
11
  script:
24
- - bundle exec rake reevoocop
12
+ - docker-compose run reevoocop
25
13
  - docker-compose run rspec
26
14
  - docker-compose run rails32
27
15
  - docker-compose run rails42
@@ -29,13 +17,3 @@ script:
29
17
  - docker-compose run grape
30
18
  - docker-compose run sinatra
31
19
 
32
- after_success:
33
- - chown -R $(whoami) coverage
34
- - bundle exec rake coverage:merge coverage:send
35
-
36
- notifications:
37
- slack:
38
- on_success: change
39
- on_failure: change
40
- on_pull_requests: false
41
- secure: apFwkfBQ+3NDJgcLNCHQori9qtr6ePaN3Xx7Sy7NVWwYm9BHNxoX/FN8/hxR63JjXrf1C0hK0FLQ0TiA0BN9PgEEIecg78BvWUwMClDDiwhyYN3H0Bbg35PUFtgDIrOGpu/TYlxNmdHEDYEAxaWsl9wSds8pAJsN6m7VTjGfBwJUDcOiM4L1eRpbp7smPqOjmuQFuOJnO8YkPb+6nUfz53cJrMRUdha89Vgmvnw6cP4/Ms1TsL3vKmMSVbGGh/6WNKPjU6IbuUjwlsh6a9xWxQOk6Wnis/Z+kA+T0XbLMuTLLmzRDuql1tjJeMPi+wukmK1a7GjpPkpkzAgwLQ/CkjTBfIRbMyaBYSuAciuOY8PDtCcT4WLwEvdZbkFmhAdSr1RYxIBpONVfZ/5DT3bpk71+O74OIBqxG6NmkiZ0B6u9/KxbnIINLVAcVaqsN8sdSqWlWKzPm45BfGPXGjmGGgIVFU31rs+W5Zs7IYMNUjZxabYKIv9TsBONbogfbcoGZA+rWWUnQdjypNWJS9wyQDvJ4btxqy8YhDfaV6gF30Un5JcAggMutzKJiYi+qAeh0uN3/9XoXV2N6XBnh58h8ny1NY+0vklWhtFGR1wfFAqkDskvCIZabSeJ5bFM6FtNbNKq9tYciS+eAO1vEYQVDFt9eY2uZF2mFDKRnEegHMU=
@@ -1,3 +1,12 @@
1
+ ## v2.10
2
+ - Fix spec for Ruby 2.4.1
3
+ - Bump version to 2.10 in order to properly highlight more significant change
4
+ - Add missing Changelog entry
5
+
6
+ ## v2.9.1
7
+ - Add support for sinatra applications by including `Sapience::Extensions::Sinatra::Middleware::Logging` middleware
8
+ - Bump Ruby version to 2.4.1
9
+
1
10
  ## v2.9.0
2
11
  - Sapience will return more parameters in logs created by Rails::Rack::Logger
3
12
 
@@ -14,7 +23,7 @@
14
23
  - Include current environment in log entries
15
24
 
16
25
  ## v2.6.2
17
- - Bugfix: clear tags after pushing log to processing queue
26
+ - Bugfix: clear tags after pushing log to processing queue
18
27
 
19
28
  ## v2.6.1
20
29
  - Bugfix: Fix sentry logging when payload is nil
@@ -8,13 +8,13 @@ services:
8
8
  RABBITMQ_DEFAULT_PASS: tests
9
9
 
10
10
  postgres:
11
- image: postgres:latest
11
+ image: postgres:9
12
12
  environment:
13
13
  POSTGRES_USER: sapience
14
14
  POSTGRES_PASSWORD: tests
15
15
 
16
16
  base:
17
- image: ruby:2.3
17
+ image: ruby:2.4
18
18
  cpu_shares: 4
19
19
  # Specify the directory from where all commands sent to the container will be
20
20
  # issued to where the code is mounted:
@@ -32,7 +32,13 @@ services:
32
32
  # "/usr/src/app" folder:
33
33
  - .:/usr/src/app
34
34
 
35
-
35
+ reevoocop:
36
+ extends:
37
+ service: base
38
+ entrypoint: /usr/src/app/dev-entrypoint.sh
39
+ command: bundle exec rake reevoocop
40
+ environment:
41
+ PATH: /usr/src/app/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
36
42
 
37
43
  rspec:
38
44
  extends:
@@ -46,11 +52,10 @@ services:
46
52
  PATH: /usr/src/app/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
47
53
 
48
54
 
49
-
50
55
  rails32:
51
56
  extends:
52
57
  service: base
53
- image: ruby:2.1
58
+ image: ruby:2.3
54
59
  working_dir: /usr/src/app/test_apps/rails_3_2
55
60
  entrypoint: /usr/src/app/dev-entrypoint.sh
56
61
  command: bundle exec rspec
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
  require "sapience"
3
3
  require "sapience/extensions/grape/timings"
4
+ require "grape"
4
5
  require "sapience/extensions/grape/middleware/logging"
5
6
  require "sapience/extensions/grape/notifications"
6
7
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Sapience
3
- VERSION = "2.9.1"
3
+ VERSION = "2.10"
4
4
  end
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency "concurrent-ruby", "~> 1.0"
29
29
  spec.add_development_dependency "active_model_serializers", "~> 0.10.0"
30
30
  spec.add_development_dependency "appraisal"
31
- spec.add_development_dependency "bundler", "~> 1.12"
31
+ spec.add_development_dependency "bundler", "~> 1"
32
32
  spec.add_development_dependency "codeclimate-test-reporter"
33
33
  spec.add_development_dependency "dogstatsd-ruby", "~> 2.0"
34
34
  spec.add_development_dependency "fuubar"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sapience
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.1
4
+ version: '2.10'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikael Henriksson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-09-27 00:00:00.000000000 Z
12
+ date: 2020-03-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: concurrent-ruby
@@ -59,14 +59,14 @@ dependencies:
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '1.12'
62
+ version: '1'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '1.12'
69
+ version: '1'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: codeclimate-test-reporter
72
72
  requirement: !ruby/object:Gem::Requirement
@@ -404,8 +404,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
404
404
  - !ruby/object:Gem::Version
405
405
  version: '0'
406
406
  requirements: []
407
- rubyforge_project:
408
- rubygems_version: 2.6.11
407
+ rubygems_version: 3.1.2
409
408
  signing_key:
410
409
  specification_version: 4
411
410
  summary: Hasslefree autoconfiguration for logging, metrics and exception collection.