zipkin-tracer 0.47.3 → 0.48.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: 853e0ae1f408f68a420193b5deb379ab1acbd697b75f98bfbd9115071eb62902
4
- data.tar.gz: 960b5be09c3c54a38ea23596a6e085a4d5beb9908ab2309c36027dbc6fe3933a
3
+ metadata.gz: 37efbe4cb404d2d34f93fcc3b5aaa86e962579aeff0f83c9a2326e10f6057eb3
4
+ data.tar.gz: 2ee5fd81a8e614797a08fa74ced37269d7e8d492ae90690812cf78510538bdf5
5
5
  SHA512:
6
- metadata.gz: 9b11d82d1c20be368f1b0ec44c98d53648f9bba071880b65e4a37f455d529014d693a0a8808cb46e4aa661375b40ecc9725aa267f177a322297d6f74be0166a8
7
- data.tar.gz: 3a9650a7b7a9e926af207c1064f5e45206545c879f8b00625d83dc020e82dbc388e5574dea1974697cd46a301e78730198d660095b862e01e539300a18c5556c
6
+ metadata.gz: de1d349955b7e5999488015abc21480a0327c4e956e3d6aa5bcbb92c2769a36af2f51a9e731aa33406c739f688f520bd32f1efe4438bf9ba39160e9d5301c544
7
+ data.tar.gz: 875f8c728dd41123c2fbaaa2d039863d88ace63a00bedbf91b156ae41740e761a5347e853fa86614db992892c504cda0e2d29b1fd88cf1fd881fef07d637502c
@@ -20,10 +20,22 @@ jobs:
20
20
  strategy:
21
21
  fail-fast: false
22
22
  matrix: # https://github.com/ruby/setup-ruby/blob/master/README.md#supported-versions
23
- ruby: [2.3, 2.4, 2.5, 2.6, 2.7, jruby-9.1, jruby-9.2]
23
+ ruby: [2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1, jruby-9.1, jruby-9.2]
24
24
  gemfile:
25
25
  - gemfiles/faraday_0.x.gemfile
26
26
  - gemfiles/faraday_1.x.gemfile
27
+ - gemfiles/faraday_2.x.gemfile
28
+ exclude:
29
+ - ruby: 2.3
30
+ gemfile: gemfiles/faraday_2.x.gemfile
31
+ - ruby: 2.4
32
+ gemfile: gemfiles/faraday_2.x.gemfile
33
+ - ruby: 2.5
34
+ gemfile: gemfiles/faraday_2.x.gemfile
35
+ - ruby: jruby-9.1
36
+ gemfile: gemfiles/faraday_2.x.gemfile
37
+ - ruby: jruby-9.2
38
+ gemfile: gemfiles/faraday_2.x.gemfile
27
39
  steps:
28
40
  - name: Checkout Repository
29
41
  uses: actions/checkout@v2
data/Appraisals CHANGED
@@ -5,3 +5,7 @@ end
5
5
  appraise 'faraday_1.x' do
6
6
  gem 'faraday', '~> 1.0'
7
7
  end
8
+
9
+ appraise 'faraday_2.x' do
10
+ gem 'faraday', '~> 2.0'
11
+ end
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.48.0
2
+ * Allow Faraday 2.x.
3
+
1
4
  # 0.47.3
2
5
  * Moved CI to [GitHub Actions](https://github.com/openzipkin/zipkin-ruby/workflows).
3
6
 
data/build-bin/README.md CHANGED
@@ -91,14 +91,14 @@ complete in less than a minute (10 credit cost).
91
91
  Here's a partial `.travis.yml` including only the aspects mentioned above.
92
92
  ```yaml
93
93
  git:
94
- depth: false # full git history for license check, and doc-only skipping
94
+ depth: false # TRAVIS_COMMIT_RANGE requires full commit history.
95
95
 
96
96
  jobs:
97
97
  include:
98
98
  - stage: test
99
99
  if: branch = master AND tag IS blank AND type IN (push, pull_request)
100
100
  name: Run unit and integration tests
101
- before_install: |
101
+ before_install: | # Prevent test build of a documentation-only change.
102
102
  if [ -n "${TRAVIS_COMMIT_RANGE}" ] && ! git diff --name-only "${TRAVIS_COMMIT_RANGE}" -- | grep -qv '\.md$'; then
103
103
  echo "Stopping job as changes only affect documentation (ex. README.md)"
104
104
  travis_terminate 0
@@ -107,6 +107,21 @@ jobs:
107
107
  script: ./build-bin/test
108
108
  ```
109
109
 
110
+ When Travis only runs tests (something else does deploy), there's no need to use stages:
111
+ ```yaml
112
+ git:
113
+ depth: false # TRAVIS_COMMIT_RANGE requires full commit history.
114
+
115
+ if: branch = master AND tag IS blank AND type IN (push, pull_request)
116
+ before_install: | # Prevent test build of a documentation-only change.
117
+ if [ -n "${TRAVIS_COMMIT_RANGE}" ] && ! git diff --name-only "${TRAVIS_COMMIT_RANGE}" -- | grep -qv '\.md$'; then
118
+ echo "Stopping job as changes only affect documentation (ex. README.md)"
119
+ travis_terminate 0
120
+ fi
121
+ install: ./build-bin/configure_test
122
+ script: ./build-bin/test
123
+ ```
124
+
110
125
  ## Deploy
111
126
 
112
127
  Deploy builds and pushes artifacts to a remote repository for master and release commits on it. CI
@@ -0,0 +1,18 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "faraday", "~> 2.0"
6
+
7
+ platforms :ruby do
8
+ gem "benchmark-ips"
9
+ gem "rbtrace"
10
+ gem "byebug"
11
+ gem "simplecov", require: false
12
+ end
13
+
14
+ platforms :jruby do
15
+ gem "hermann", "~> 0.27.0"
16
+ end
17
+
18
+ gemspec path: "../"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ZipkinTracer
4
- VERSION = '0.47.3'
4
+ VERSION = '0.48.0'
5
5
  end
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
  end
25
25
  s.require_paths = ['lib']
26
26
 
27
- s.add_dependency 'faraday', '>= 0.13', '< 2.0'
27
+ s.add_dependency 'faraday', '>= 0.13', '< 3.0'
28
28
  s.add_dependency 'rack', '>= 1.0'
29
29
  s.add_dependency 'sucker_punch', '~> 2.0'
30
30
 
@@ -37,5 +37,6 @@ Gem::Specification.new do |s|
37
37
  s.add_development_dependency 'rake', '~> 13.0'
38
38
  s.add_development_dependency 'timecop', '~> 0.8'
39
39
  s.add_development_dependency 'webmock', '~> 3.0'
40
+ s.add_development_dependency 'webrick'
40
41
  s.add_development_dependency 'simplecov', '~> 0.16'
41
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zipkin-tracer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.3
4
+ version: 0.48.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franklin Hu
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2020-12-04 00:00:00.000000000 Z
17
+ date: 2022-02-17 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: faraday
@@ -25,7 +25,7 @@ dependencies:
25
25
  version: '0.13'
26
26
  - - "<"
27
27
  - !ruby/object:Gem::Version
28
- version: '2.0'
28
+ version: '3.0'
29
29
  type: :runtime
30
30
  prerelease: false
31
31
  version_requirements: !ruby/object:Gem::Requirement
@@ -35,7 +35,7 @@ dependencies:
35
35
  version: '0.13'
36
36
  - - "<"
37
37
  - !ruby/object:Gem::Version
38
- version: '2.0'
38
+ version: '3.0'
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: rack
41
41
  requirement: !ruby/object:Gem::Requirement
@@ -190,6 +190,20 @@ dependencies:
190
190
  - - "~>"
191
191
  - !ruby/object:Gem::Version
192
192
  version: '3.0'
193
+ - !ruby/object:Gem::Dependency
194
+ name: webrick
195
+ requirement: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: '0'
200
+ type: :development
201
+ prerelease: false
202
+ version_requirements: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ version: '0'
193
207
  - !ruby/object:Gem::Dependency
194
208
  name: simplecov
195
209
  requirement: !ruby/object:Gem::Requirement
@@ -245,6 +259,7 @@ files:
245
259
  - build-bin/test
246
260
  - gemfiles/faraday_0.x.gemfile
247
261
  - gemfiles/faraday_1.x.gemfile
262
+ - gemfiles/faraday_2.x.gemfile
248
263
  - lib/zipkin-tracer.rb
249
264
  - lib/zipkin-tracer/application.rb
250
265
  - lib/zipkin-tracer/config.rb
@@ -294,7 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
294
309
  - !ruby/object:Gem::Version
295
310
  version: '0'
296
311
  requirements: []
297
- rubygems_version: 3.1.4
312
+ rubygems_version: 3.1.6
298
313
  signing_key:
299
314
  specification_version: 4
300
315
  summary: Ruby tracing via Zipkin