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 +4 -4
- data/.github/workflows/test.yml +13 -1
- data/Appraisals +4 -0
- data/CHANGELOG.md +3 -0
- data/build-bin/README.md +17 -2
- data/gemfiles/faraday_2.x.gemfile +18 -0
- data/lib/zipkin-tracer/version.rb +1 -1
- data/zipkin-tracer.gemspec +2 -1
- metadata +20 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37efbe4cb404d2d34f93fcc3b5aaa86e962579aeff0f83c9a2326e10f6057eb3
|
4
|
+
data.tar.gz: 2ee5fd81a8e614797a08fa74ced37269d7e8d492ae90690812cf78510538bdf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de1d349955b7e5999488015abc21480a0327c4e956e3d6aa5bcbb92c2769a36af2f51a9e731aa33406c739f688f520bd32f1efe4438bf9ba39160e9d5301c544
|
7
|
+
data.tar.gz: 875f8c728dd41123c2fbaaa2d039863d88ace63a00bedbf91b156ae41740e761a5347e853fa86614db992892c504cda0e2d29b1fd88cf1fd881fef07d637502c
|
data/.github/workflows/test.yml
CHANGED
@@ -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
data/CHANGELOG.md
CHANGED
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
|
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: "../"
|
data/zipkin-tracer.gemspec
CHANGED
@@ -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', '<
|
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.
|
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:
|
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: '
|
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: '
|
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.
|
312
|
+
rubygems_version: 3.1.6
|
298
313
|
signing_key:
|
299
314
|
specification_version: 4
|
300
315
|
summary: Ruby tracing via Zipkin
|