apollo-studio-tracing 1.0.0.beta.2 → 1.0.0

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: a0245b851f9097ea68a63c2ee597623fd78fe996815ecb1ede6c0eb0bc099ee5
4
- data.tar.gz: 4825aca433b5ecbe2e92cad72bec693385bc36deff5b359f1b89e4ada93ce62a
3
+ metadata.gz: 0ff2d17a9b33169e238f8c70b88916e38fcc16b527903b3392419c2cc73353b5
4
+ data.tar.gz: 70adab1f671440bd2c697b879471b60e42e9e279ead91b0a62180df6b5c8be2d
5
5
  SHA512:
6
- metadata.gz: 6788426088d1ba3ab7a7b0413b204ed27a4d8f1bb925971cd1519f8dffa4b310513d192690048f625792f96fb2993754260f3e6b2f69f431f5b50e2079381210
7
- data.tar.gz: edcb041873543ebf79b69d4b373bcaba4c6dfdc18f7c31260565dc345dc1d07ff647e2245ec74a31b263d70fbff78c13e7cf9a62f60030afceb5a3894cc37418
6
+ metadata.gz: 25a9934e528dd156ce401103df016ec5592b16a99bb29900dd7b6a9daa0ca9cbbb7549bffcf1aec4aa6d092de73421c8285c3bb8c503b8cec05dc27aa6c5be86
7
+ data.tar.gz: a36ef4094400263b728d215a88849bd371ab5d06090edbac939fc9a8b3e2120390929a812107d1cd9456c800c10e9835eb7fc5328a2aa3aad039e18719820853
data/CHANGELOG.md CHANGED
@@ -1,11 +1,4 @@
1
- # [1.0.0-beta.2](https://github.com/EnjoyTech/apollo-studio-tracing-ruby/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2020-10-30)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * **tracing:** avoid trapping SIGINT, just use `at_exit` ([455a6fe](https://github.com/EnjoyTech/apollo-studio-tracing-ruby/commit/455a6fe14764949b8ffd303f7082c9f01eff3ca5))
7
-
8
- # [1.0.0-beta.1](https://github.com/EnjoyTech/apollo-studio-tracing-ruby/compare/v0.1.0...v1.0.0-beta.1) (2020-10-23)
1
+ # [1.0.0](https://github.com/EnjoyTech/apollo-studio-tracing-ruby/compare/v0.1.0...v1.0.0) (2020-10-26)
9
2
 
10
3
 
11
4
  ### Bug Fixes
@@ -32,7 +32,9 @@ module ApolloStudioTracing
32
32
  tracers.each(&:shutdown_trace_channel)
33
33
  end
34
34
 
35
- at_exit { shutdown }
35
+ trap('SIGINT') do
36
+ Thread.new { shutdown }
37
+ end
36
38
 
37
39
  private
38
40
 
@@ -104,7 +104,6 @@ module ApolloStudioTracing
104
104
  def shutdown
105
105
  return unless @uploader_thread
106
106
 
107
- ApolloStudioTracing.logger.info('Shutting down Apollo trace channel...')
108
107
  @shutdown_barrier.shutdown
109
108
  @uploader_thread.join
110
109
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ApolloStudioTracing
4
- VERSION = '1.0.0.beta.2'
4
+ VERSION = '1.0.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apollo-studio-tracing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Saniwck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-30 00:00:00.000000000 Z
11
+ date: 2020-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
@@ -247,9 +247,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
247
247
  version: 2.2.0
248
248
  required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  requirements:
250
- - - ">"
250
+ - - ">="
251
251
  - !ruby/object:Gem::Version
252
- version: 1.3.1
252
+ version: '0'
253
253
  requirements: []
254
254
  rubygems_version: 3.0.3
255
255
  signing_key: