elastic-apm 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be39e840d3e28c527b2aa20b19e0c81820c9a7660977179439d19ce92cfd7903
4
- data.tar.gz: 10fe2ea416b4ade09b0fdb5b76d7609135c0bae3c5ba855cf8dffccf110f4d35
3
+ metadata.gz: 534cd9137c9070d1997aca45e6906f872828bcc8915d24d728af8ffdde9196c0
4
+ data.tar.gz: ab8e7cc3fe4c402f16b3fa985a8f18c44643843121258a7f1595977bd2854f2e
5
5
  SHA512:
6
- metadata.gz: e3d2e587d199b774c3d647a6790215866641c36305241870b5843d11af5d80a926a6326f9aa6b6f5112419184660cfb8c5ec7dc637ce364a5ed1eb04d1f32a6b
7
- data.tar.gz: 9780322c3de755f2db259de818df6bfb2339c37ec24038412a378ec42a85991edbe4a0f7271c2a48ce6cc5246a73d17aabe081867517171c7e25de8bce5d0643
6
+ metadata.gz: 878a346c2676ed61d1c983745b31fd6eb7a90e92d2e6f23a684b7f7d87eb2694db12ce5f3e194b51740e55bf6572bcbe6838473b185558a9d10458ecc975fcac
7
+ data.tar.gz: 00a6df2a7a69c945db62e20cd80b0a2b86104ef7213adede47713c82b9bf9ff9c0c705a2dc30a3863ab86a1a1c999c7d2cf682c1cb0ef64aa3d07921c86e7acc
data/.rspec CHANGED
@@ -1 +1,2 @@
1
1
  --color
2
+ --require spec_helper
data/.rubocop.yml CHANGED
@@ -20,9 +20,6 @@ Lint/RescueException:
20
20
  Lint/HandleExceptions:
21
21
  Enabled: false
22
22
 
23
- Lint/SplatKeywordArguments:
24
- Enabled: false
25
-
26
23
  Metrics/BlockLength:
27
24
  Exclude:
28
25
  - 'spec/**/*.rb'
data/Gemfile CHANGED
@@ -20,6 +20,7 @@ gem 'sidekiq'
20
20
  gem 'timecop'
21
21
  gem 'webmock'
22
22
  gem 'yard'
23
+ gem 'yarjuf'
23
24
 
24
25
  if RUBY_PLATFORM == 'java'
25
26
  gem 'jdbc-sqlite3'
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # elastic-apm
2
2
  ## Elastic APM agent for ♦️Ruby (🚧 BETA)
3
3
 
4
- [![Jenkins](https://img.shields.io/jenkins/s/https/apm-ci.elastic.co/job/elastic+apm-agent-ruby+master.svg)](https://apm-ci.elastic.co/job/elastic+apm-agent-ruby+master/)
4
+ [![Jenkins](https://img.shields.io/jenkins/s/https/apm-ci.elastic.co/job/elastic+apm-agent-ruby+master.svg)](https://apm-ci.elastic.co/job/elastic+apm-agent-ruby+master/) [![Gem](https://img.shields.io/gem/v/elastic-apm.svg)](https://rubygems.org/gems/elastic-apm)
5
5
 
6
6
  This is the official Rubygem for [Elastic][] [APM][].
7
7
 
data/docs/index.asciidoc CHANGED
@@ -1,3 +1,6 @@
1
+ :branch: current
2
+ include::{asciidoc-dir}/../../shared/attributes.asciidoc[]
3
+
1
4
  ifdef::env-github[]
2
5
  NOTE: For the best reading experience, please view this documentation at https://www.elastic.co/guide/en/apm/agent/ruby[elastic.co]
3
6
  endif::[]
@@ -13,7 +16,7 @@ It has built-in support for <<getting-started-rails,Ruby on Rails>> and other <<
13
16
 
14
17
  This agent is one of several components you need to get started collecting APM data. See also:
15
18
 
16
- * https://www.elastic.co/guide/en/apm/server/current/index.html[APM Server]
19
+ * {apm-server-ref}[APM Server]
17
20
 
18
21
  [[framework-support]]
19
22
  The Elastic APM Ruby Agent officially supports <<getting-started-rails,Ruby on Rails>> versions 4.x on onwards.
@@ -10,7 +10,12 @@ module ElasticAPM
10
10
  Config::DEFAULTS.each { |option, value| config.elastic_apm[option] = value }
11
11
 
12
12
  initializer 'elastic_apm.initialize' do |app|
13
- config = app.config.elastic_apm.merge(app: app)
13
+ config = app.config.elastic_apm.merge(app: app).tap do |c|
14
+ # Prepend Rails.root to log_path if present
15
+ if c.log_path && !c.log_path.start_with?('/')
16
+ c.log_path = Rails.root.join(c.log_path)
17
+ end
18
+ end
14
19
 
15
20
  begin
16
21
  agent = ElasticAPM.start config
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ElasticAPM
4
- VERSION = '0.7.2'.freeze
4
+ VERSION = '0.7.3'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic-apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikkel Malmberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-04 00:00:00.000000000 Z
11
+ date: 2018-06-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: