method-tracer 1.0.0 → 1.0.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
  SHA1:
3
- metadata.gz: eb107033455f2a46d43efd3b562fbc63b7f5ecff
4
- data.tar.gz: 7b1bd529dc230a3d450645166d6210ff54bdbfe3
3
+ metadata.gz: 2fee84ea1e6a263ddd510f1fb651e44d11eeef4c
4
+ data.tar.gz: bfcde62b93a2950439a6e36d93e4495ff4fce74b
5
5
  SHA512:
6
- metadata.gz: e64efb0d0b68c93bcb0da26060407a8a55fcd10e728ab238f60edf1069544da56b3334a9e9903698be7f055745b7a362a2247341a91397d4c540219bc0bb1fa7
7
- data.tar.gz: c20d22836aef43402ac8fc0a1e09eec4852da491ba1eda8964631ca3714a9bd31c150497524b484768d598e48c6d9e7cee9042a34bd2c075e068e2a7f77cc935
6
+ metadata.gz: 2e87ac04bb38bc82fcce14ee353a0b2e1f9259e541484d5df23d439f62082200c2503d94b3f2f383826d8ae8b54cb84e314c0463d9637cb6e5b913fdc3e09c51
7
+ data.tar.gz: 88867020c3a2456730f511fbb0c9397c601fc6e88f3cb89b516673dab5259585b68f4b3b6e6621ac29816dfa99dace7a00c094001ade8bfd53a38fcfd26cb13e
@@ -1,5 +1,8 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.4
4
+ - 2.1
5
+ - 2.2
6
+ - 2.3
7
+ - 2.4
5
8
  before_install: gem install bundler -v 1.15.3
@@ -38,7 +38,7 @@ class Method
38
38
  end
39
39
  raise
40
40
  ensure
41
- current_span&.finish
41
+ current_span.finish if current_span
42
42
  end
43
43
 
44
44
  def trace_method(klazz, method_name, **args, &block)
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "method-tracer"
7
- spec.version = "1.0.0"
7
+ spec.version = "1.0.1"
8
8
  spec.authors = ["iaintshine"]
9
9
  spec.email = ["bodziomista@gmail.com"]
10
10
 
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "https://github.com/iaintshine/ruby-method-tracer"
14
14
  spec.license = "Apache-2.0"
15
15
 
16
- spec.required_ruby_version = ">= 2.3.0"
16
+ spec.required_ruby_version = ">= 2.1.0"
17
17
 
18
18
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
19
  f.match(%r{^(test|spec|features)/})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: method-tracer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - iaintshine
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-14 00:00:00.000000000 Z
11
+ date: 2017-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentracing
@@ -111,7 +111,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
111
  requirements:
112
112
  - - ">="
113
113
  - !ruby/object:Gem::Version
114
- version: 2.3.0
114
+ version: 2.1.0
115
115
  required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - ">="