logasm-tracer 0.2.2 → 0.2.3

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: 855dc6c7e846eaa9aef14269dc21261aacc24ee3
4
- data.tar.gz: c2bea15d8a140de1930be131b11d02a021744fcb
3
+ metadata.gz: f40c0fcc33d8c65ea67ae0189bf3a28b93c47e13
4
+ data.tar.gz: a40d752854a1b4cf06ebbae167870b7ea39528d2
5
5
  SHA512:
6
- metadata.gz: 804b5854d889fc72fff9d8cba895829db782116485474ec5c4568714676eb57d2183fe52d88525d2730dcb0d00a6a25fc0838d711ae27c88f3705d0c4c550812
7
- data.tar.gz: ff9ffe2acca5942c03da1402ab0c524121064d2a9d6af4d876d112c0cb6f38e22a2dae76c8e30988d949b62213b3f3ef592529157e7a23da1f2e0b12f3551f21
6
+ metadata.gz: ce760ee14733c3eb7289884f96c7321548014dc62367ac9a75981a551d88130e86f3aa53e7c5d37eaeb67a968df047b11c19ee4491a1285fae4b162dddc4db77
7
+ data.tar.gz: 956ed6ebdeef84f7a6f574bc2f7860c030e891410ace5579e7c00d470b1336daec24e817b4c8598c60502fbdd476f4ef6095f9ae78981b7e204b55c29177891b
data/lib/logasm/tracer.rb CHANGED
@@ -1,4 +1,3 @@
1
- require 'logasm/tracer/version'
2
1
  require 'logasm/tracer/span'
3
2
  require 'logasm/tracer/span_context'
4
3
  require 'logasm/tracer/trace_id'
@@ -4,6 +4,8 @@ class Logasm
4
4
  class Span
5
5
  attr_reader :context
6
6
 
7
+ attr_writer :operation_name
8
+
7
9
  def initialize(context, operation_name, logger, start_time: Time.now, tags: {})
8
10
  @context = context
9
11
  @operation_name = operation_name
@@ -1,11 +1,10 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'logasm/tracer/version'
5
4
 
6
5
  Gem::Specification.new do |spec|
7
6
  spec.name = "logasm-tracer"
8
- spec.version = Logasm::Tracer::VERSION
7
+ spec.version = "0.2.3"
9
8
  spec.authors = ["SaleMove TechMovers"]
10
9
  spec.email = ["techmovers@salemove.com"]
11
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logasm-tracer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - SaleMove TechMovers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-19 00:00:00.000000000 Z
11
+ date: 2017-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,7 +72,6 @@ files:
72
72
  - lib/logasm/tracer/span.rb
73
73
  - lib/logasm/tracer/span_context.rb
74
74
  - lib/logasm/tracer/trace_id.rb
75
- - lib/logasm/tracer/version.rb
76
75
  - logasm-tracer.gemspec
77
76
  homepage: ''
78
77
  licenses:
@@ -1,5 +0,0 @@
1
- class Logasm
2
- class Tracer
3
- VERSION = "0.2.2"
4
- end
5
- end