Skip to content

Commit 624ebc1

Browse files
chore(deps): bump sinatra and thin in /examples/language-sdk-instrumentation/ruby/rideshare (#4306)
* chore(deps): bump sinatra and thin Bumps [sinatra](https://github.com/sinatra/sinatra) and [thin](https://github.com/macournoyer/thin). These dependencies needed to be updated together. Updates `sinatra` from 2.2.4 to 4.1.1 - [Changelog](https://github.com/sinatra/sinatra/blob/main/CHANGELOG.md) - [Commits](sinatra/sinatra@v2.2.4...v4.1.1) Updates `thin` from 1.8.2 to 2.0.1 - [Release notes](https://github.com/macournoyer/thin/releases) - [Changelog](https://github.com/macournoyer/thin/blob/master/CHANGELOG) - [Commits](macournoyer/thin@v1.8.2...v2.0.1) --- updated-dependencies: - dependency-name: sinatra dependency-version: 4.1.1 dependency-type: direct:production - dependency-name: thin dependency-version: 2.0.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Fix ruby examples --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Christian Simon <[email protected]>
1 parent 15478b3 commit 624ebc1

File tree

6 files changed

+131
-26
lines changed

6 files changed

+131
-26
lines changed

examples/language-sdk-instrumentation/ruby/rideshare/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ RUN bundle install
99

1010
COPY lib ./lib
1111

12+
ENV APP_ENV=production
13+
1214
CMD [ "ruby", "lib/server.rb" ]

examples/language-sdk-instrumentation/ruby/rideshare/Gemfile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ source "https://rubygems.org"
44

55
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
66

7-
# gem "rails"
87
gem 'pyroscope', '= 0.6.4'
9-
gem "sinatra", "~> 2.1"
10-
11-
gem "thin", "~> 1.8"
8+
gem "sinatra", "~> 4.1"
9+
gem "thin", "~> 2.0"
10+
gem 'pyroscope-otel'
11+
gem 'opentelemetry-sdk'
12+
gem 'opentelemetry-exporter-otlp'
13+
14+
gem "rackup", "~> 2.2"
15+
gem "puma", "~> 6.6"
Lines changed: 102 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,130 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4+
base64 (0.3.0)
5+
bigdecimal (3.1.8)
46
daemons (1.4.1)
57
eventmachine (1.2.7)
8+
ffi (1.17.2)
69
ffi (1.17.2-aarch64-linux-gnu)
10+
ffi (1.17.2-aarch64-linux-musl)
11+
ffi (1.17.2-arm-linux-gnu)
12+
ffi (1.17.2-arm-linux-musl)
713
ffi (1.17.2-arm64-darwin)
14+
ffi (1.17.2-x86-linux-gnu)
15+
ffi (1.17.2-x86-linux-musl)
16+
ffi (1.17.2-x86_64-darwin)
817
ffi (1.17.2-x86_64-linux-gnu)
9-
mustermann (2.0.2)
18+
ffi (1.17.2-x86_64-linux-musl)
19+
google-protobuf (4.29.1)
20+
bigdecimal
21+
rake (>= 13)
22+
google-protobuf (4.29.1-aarch64-linux)
23+
bigdecimal
24+
rake (>= 13)
25+
google-protobuf (4.29.1-arm64-darwin)
26+
bigdecimal
27+
rake (>= 13)
28+
google-protobuf (4.29.1-x86-linux)
29+
bigdecimal
30+
rake (>= 13)
31+
google-protobuf (4.29.1-x86_64-darwin)
32+
bigdecimal
33+
rake (>= 13)
34+
google-protobuf (4.29.1-x86_64-linux)
35+
bigdecimal
36+
rake (>= 13)
37+
googleapis-common-protos-types (1.16.0)
38+
google-protobuf (>= 3.18, < 5.a)
39+
logger (1.7.0)
40+
mustermann (3.0.3)
1041
ruby2_keywords (~> 0.0.1)
42+
nio4r (2.7.4)
43+
opentelemetry-api (1.5.0)
44+
opentelemetry-common (0.21.0)
45+
opentelemetry-api (~> 1.0)
46+
opentelemetry-exporter-otlp (0.29.1)
47+
google-protobuf (>= 3.18)
48+
googleapis-common-protos-types (~> 1.3)
49+
opentelemetry-api (~> 1.1)
50+
opentelemetry-common (~> 0.20)
51+
opentelemetry-sdk (~> 1.2)
52+
opentelemetry-semantic_conventions
53+
opentelemetry-registry (0.3.1)
54+
opentelemetry-api (~> 1.1)
55+
opentelemetry-sdk (1.6.0)
56+
opentelemetry-api (~> 1.1)
57+
opentelemetry-common (~> 0.20)
58+
opentelemetry-registry (~> 0.2)
59+
opentelemetry-semantic_conventions
60+
opentelemetry-semantic_conventions (1.10.1)
61+
opentelemetry-api (~> 1.0)
62+
puma (6.6.0)
63+
nio4r (~> 2.0)
64+
pyroscope (0.6.4)
65+
ffi
1166
pyroscope (0.6.4-aarch64-linux)
1267
ffi
1368
pyroscope (0.6.4-arm64-darwin)
1469
ffi
70+
pyroscope (0.6.4-x86_64-darwin)
71+
ffi
1572
pyroscope (0.6.4-x86_64-linux)
1673
ffi
17-
rack (2.2.14)
18-
rack-protection (2.2.4)
19-
rack
74+
pyroscope-otel (0.1.4)
75+
opentelemetry-api (~> 1.1)
76+
pyroscope (>= 0.5.1, < 1.0)
77+
rack (3.1.16)
78+
rack-protection (4.1.1)
79+
base64 (>= 0.1.0)
80+
logger (>= 1.6.0)
81+
rack (>= 3.0.0, < 4)
82+
rack-session (2.1.1)
83+
base64 (>= 0.1.0)
84+
rack (>= 3.0.0)
85+
rackup (2.2.1)
86+
rack (>= 3)
87+
rake (13.2.1)
2088
ruby2_keywords (0.0.5)
21-
sinatra (2.2.4)
22-
mustermann (~> 2.0)
23-
rack (~> 2.2)
24-
rack-protection (= 2.2.4)
89+
sinatra (4.1.1)
90+
logger (>= 1.6.0)
91+
mustermann (~> 3.0)
92+
rack (>= 3.0.0, < 4)
93+
rack-protection (= 4.1.1)
94+
rack-session (>= 2.0.0, < 3)
2595
tilt (~> 2.0)
26-
thin (1.8.2)
96+
thin (2.0.1)
2797
daemons (~> 1.0, >= 1.0.9)
2898
eventmachine (~> 1.0, >= 1.0.4)
29-
rack (>= 1, < 3)
30-
tilt (2.3.0)
99+
logger
100+
rack (>= 1, < 4)
101+
tilt (2.6.0)
31102

32103
PLATFORMS
33104
aarch64-linux
34-
arm64-darwin-22
105+
aarch64-linux-gnu
106+
aarch64-linux-musl
107+
arm-linux-gnu
108+
arm-linux-musl
109+
arm64-darwin
110+
ruby
111+
x86-linux
112+
x86-linux-gnu
113+
x86-linux-musl
114+
x86_64-darwin
35115
x86_64-linux
116+
x86_64-linux-gnu
117+
x86_64-linux-musl
36118

37119
DEPENDENCIES
120+
opentelemetry-exporter-otlp
121+
opentelemetry-sdk
122+
puma (~> 6.6)
38123
pyroscope (= 0.6.4)
39-
sinatra (~> 2.1)
40-
thin (~> 1.8)
124+
pyroscope-otel
125+
rackup (~> 2.2)
126+
sinatra (~> 4.1)
127+
thin (~> 2.0)
41128

42129
BUNDLED WITH
43-
2.4.10
130+
2.5.23

examples/tracing/ruby/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ RUN bundle install
99

1010
COPY lib ./lib
1111

12+
ENV APP_ENV=production
13+
1214
CMD [ "ruby", "lib/server.rb" ]

examples/tracing/ruby/Gemfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ source "https://rubygems.org"
44

55
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
66

7-
gem 'pyroscope', '= 0.5.12'
7+
gem 'pyroscope', '= 0.6.4'
88
gem "sinatra", "~> 4.1"
99
gem "thin", "~> 2.0"
1010
gem 'pyroscope-otel'
1111
gem 'opentelemetry-sdk'
1212
gem 'opentelemetry-exporter-otlp'
13+
14+
gem "rackup", "~> 2.2"
15+
gem "puma", "~> 6.6"

examples/tracing/ruby/Gemfile.lock

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ GEM
3939
logger (1.7.0)
4040
mustermann (3.0.3)
4141
ruby2_keywords (~> 0.0.1)
42+
nio4r (2.7.4)
4243
opentelemetry-api (1.5.0)
4344
opentelemetry-common (0.21.0)
4445
opentelemetry-api (~> 1.0)
@@ -58,15 +59,17 @@ GEM
5859
opentelemetry-semantic_conventions
5960
opentelemetry-semantic_conventions (1.10.1)
6061
opentelemetry-api (~> 1.0)
61-
pyroscope (0.5.12)
62+
puma (6.6.0)
63+
nio4r (~> 2.0)
64+
pyroscope (0.6.4)
6265
ffi
63-
pyroscope (0.5.12-aarch64-linux)
66+
pyroscope (0.6.4-aarch64-linux)
6467
ffi
65-
pyroscope (0.5.12-arm64-darwin)
68+
pyroscope (0.6.4-arm64-darwin)
6669
ffi
67-
pyroscope (0.5.12-x86_64-darwin)
70+
pyroscope (0.6.4-x86_64-darwin)
6871
ffi
69-
pyroscope (0.5.12-x86_64-linux)
72+
pyroscope (0.6.4-x86_64-linux)
7073
ffi
7174
pyroscope-otel (0.1.4)
7275
opentelemetry-api (~> 1.1)
@@ -79,6 +82,8 @@ GEM
7982
rack-session (2.1.1)
8083
base64 (>= 0.1.0)
8184
rack (>= 3.0.0)
85+
rackup (2.2.1)
86+
rack (>= 3)
8287
rake (13.2.1)
8388
ruby2_keywords (0.0.5)
8489
sinatra (4.1.1)
@@ -114,8 +119,10 @@ PLATFORMS
114119
DEPENDENCIES
115120
opentelemetry-exporter-otlp
116121
opentelemetry-sdk
117-
pyroscope (= 0.5.12)
122+
puma (~> 6.6)
123+
pyroscope (= 0.6.4)
118124
pyroscope-otel
125+
rackup (~> 2.2)
119126
sinatra (~> 4.1)
120127
thin (~> 2.0)
121128

0 commit comments

Comments
 (0)