rails-instrumentation 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: f16a0197a70766717864896e3d9124ac48883ecf01d6e3c748a3ac0ebe7d0cb7
4
- data.tar.gz: 9ca9ebbc6a9250bdffe7b3d5007720c2b7f5c1d21e52f2f40435d83963c50257
3
+ metadata.gz: 1c26892d66e7c765f6b96fcd43c4183992637b79d141ceadb2bca673c127c9c1
4
+ data.tar.gz: f8e3b2ba6d27678d736a82d4ef16c9c9f82d7d1af1b6396926dd1b574c721a84
5
5
  SHA512:
6
- metadata.gz: 21a28e7f1141283809344b4ea7fccc32bf04ecd0a8a44e8c58d153346278c1f8e17db608636616bbd88baef54a2c1454bb26f63d7b58ea11331ed81f8701ae8c
7
- data.tar.gz: e5183229a9d28d1577d3a33833adb400d9e21aeeebba0d7777b2a32a5ca01f0ae427e2cffff39e95e835a84335672644ae58d6e7590c400ed1c550d072643722
6
+ metadata.gz: b91a64c9f342fe3775b3691a707fd23a126abc62fb335dfa6cd0525ec74bf3f6ecd9382d78129b7200734817284e7c538ee7105a6b454428fb9d21127d72b2b1
7
+ data.tar.gz: 37f379774abce8a13e36a2934b547b04265e6854d301d1aae1f1d31e921034796adc3724248a39b643fc677fbe2778f77d7d85708211664ea4908d7ac72b98a7
data/Appraisals CHANGED
@@ -17,3 +17,11 @@ end
17
17
  appraise 'rails-4.2' do
18
18
  gem 'rails', '~> 4.2.0'
19
19
  end
20
+
21
+ appraise 'rails-4.1' do
22
+ gem 'rails', '~> 4.1.0'
23
+ end
24
+
25
+ appraise 'rails-3.2' do
26
+ gem 'rails', '~> 3.2.0'
27
+ end
@@ -9,7 +9,6 @@ module Rails
9
9
  # this naming scheme 'method.class' is how we ensure that the notification in the
10
10
  # subscriber is the same one
11
11
  name = "#{method_name}.#{self.class.name}"
12
- puts ::Rails::Instrumentation.tracer
13
12
  scope = ::Rails::Instrumentation.tracer.start_active_span(name)
14
13
 
15
14
  # skip adding tags here. Getting the complete set of information is
@@ -30,7 +29,6 @@ module Rails
30
29
  end
31
30
 
32
31
  def self.restore_process_action(klass: ::ActionController::Instrumentation)
33
- puts klass.respond_to? :process_action_original, true
34
32
  klass.class_eval do
35
33
  remove_method :process_action
36
34
  alias_method :process_action, :process_action_original
@@ -1,5 +1,5 @@
1
1
  module Rails
2
2
  module Instrumentation
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '0.1.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-instrumentation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ashwin Chandrasekar
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-11 00:00:00.000000000 Z
11
+ date: 2019-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentracing