Skip to content

Commit a3f5b5d

Browse files
chore: update rubocop requirement from ~> 1.80.2 to ~> 1.81.1 (#1705)
* chore: update rubocop requirement from ~> 1.80.2 to ~> 1.81.1 Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.80.2...v1.81.1) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.81.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * bump dependabot * squash: tweaks for dependabot --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ariel Valentin <[email protected]> Co-authored-by: Ariel Valentin <[email protected]>
1 parent 418720f commit a3f5b5d

File tree

63 files changed

+80
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+80
-63
lines changed

.instrumentation_generator/templates/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ group :test do
1616
gem 'opentelemetry-sdk', '~> 1.0'
1717
gem 'opentelemetry-test-helpers', '~> 0.3'
1818
gem 'rake', '~> 13.0'
19-
gem 'rubocop', '~> 1.80.2'
19+
gem 'rubocop', '~> 1.81.1'
2020
gem 'rubocop-performance', '~> 1.26.0'
2121
gem 'simplecov', '~> 0.17.1'
2222
gem 'webmock', '~> 3.24'

Gemfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@
66

77
source 'https://rubygems.org'
88

9+
# Due to a bug in Dependabot Core, we cannot update instrumentation gems because
10+
# they reference each other using local paths in their Gemfiles.
11+
#
12+
# This list of gems will be tracked and updated by Dependabot and we can then update them manually
13+
# bin/update-dependencies <gem-name> <new-version>
14+
gem 'opentelemetry-api', '~> 1.7'
15+
gem 'opentelemetry-common', '~> 0.21'
16+
gem 'opentelemetry-registry', '~> 0.1'
17+
gem 'opentelemetry-sdk', '~> 1.1'
18+
919
gem 'rake', '~> 13.0'
10-
gem 'rubocop', '~> 1.80.2'
20+
gem 'rubocop', '~> 1.81.1'
1121
gem 'rubocop-performance', '~> 1.26.0'

bin/update-dependencies

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@ fi
1010

1111
for file in $(git ls-files \*Gemfile \*.gemspec)
1212
do
13-
sed -i -E "s/'$1', '~> [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+'/'$1', '~> $2'/" "$file"
13+
# Portable sed -i for both macOS (BSD) and Linux (GNU)
14+
if [[ "$OSTYPE" == "darwin"* ]]; then
15+
# macOS requires an extension argument (use '' for no backup)
16+
sed -i '' -E "s/'$1', '~> [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+'/'$1', '~> $2'/" "$file"
17+
else
18+
# Linux doesn't require an extension argument
19+
sed -i -E "s/'$1', '~> [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+'/'$1', '~> $2'/" "$file"
20+
fi
1421
done
1522

1623
echo "Review your changes and commit"

helpers/mysql/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ group :test do
1313
gem 'minitest', '~> 5.0'
1414
gem 'opentelemetry-test-helpers', '~> 0.3'
1515
gem 'rake', '~> 13.0'
16-
gem 'rubocop', '~> 1.80.2'
16+
gem 'rubocop', '~> 1.81.1'
1717
gem 'rubocop-performance', '~> 1.26.0'
1818
gem 'simplecov', '~> 0.22.0'
1919
gem 'yard', '~> 0.9'

helpers/sql-obfuscation/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ group :test do
1313
gem 'minitest', '~> 5.0'
1414
gem 'opentelemetry-test-helpers', '~> 0.3'
1515
gem 'rake', '~> 13.0'
16-
gem 'rubocop', '~> 1.80.2'
16+
gem 'rubocop', '~> 1.81.1'
1717
gem 'rubocop-performance', '~> 1.26.0'
1818
gem 'simplecov', '~> 0.22.0'
1919
gem 'yard', '~> 0.9'

helpers/sql/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ group :test do
1414
gem 'minitest', '~> 5.0'
1515
gem 'opentelemetry-test-helpers', '~> 0.3'
1616
gem 'rake', '~> 13.0'
17-
gem 'rubocop', '~> 1.80.2'
17+
gem 'rubocop', '~> 1.81.1'
1818
gem 'rubocop-performance', '~> 1.26.0'
1919
gem 'simplecov', '~> 0.22.0'
2020
gem 'yard', '~> 0.9'

instrumentation/action_mailer/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ group :test do
1515
gem 'opentelemetry-sdk', '~> 1.1'
1616
gem 'opentelemetry-test-helpers', '~> 0.3'
1717
gem 'rake', '~> 13.0'
18-
gem 'rubocop', '~> 1.80.2'
18+
gem 'rubocop', '~> 1.81.1'
1919
gem 'rubocop-performance', '~> 1.26.0'
2020
gem 'simplecov', '~> 0.22.0'
2121
gem 'webmock', '~> 3.24'

instrumentation/action_pack/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ group :test do
1515
gem 'opentelemetry-sdk', '~> 1.1'
1616
gem 'opentelemetry-test-helpers', '~> 0.3'
1717
gem 'rake', '~> 13.0'
18-
gem 'rubocop', '~> 1.80.2'
18+
gem 'rubocop', '~> 1.81.1'
1919
gem 'rubocop-performance', '~> 1.26.0'
2020
gem 'simplecov', '~> 0.22.0'
2121
gem 'webmock', '~> 3.24'

instrumentation/action_view/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ group :test do
1515
gem 'opentelemetry-sdk', '~> 1.1'
1616
gem 'opentelemetry-test-helpers', '~> 0.3'
1717
gem 'rake', '~> 13.0'
18-
gem 'rubocop', '~> 1.80.2'
18+
gem 'rubocop', '~> 1.81.1'
1919
gem 'rubocop-performance', '~> 1.26.0'
2020
gem 'simplecov', '~> 0.22.0'
2121
gem 'webmock', '~> 3.24'

instrumentation/active_job/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ group :test do
1515
gem 'opentelemetry-sdk', '~> 1.1'
1616
gem 'opentelemetry-test-helpers', '~> 0.3'
1717
gem 'rake', '~> 13.0'
18-
gem 'rubocop', '~> 1.80.2'
18+
gem 'rubocop', '~> 1.81.1'
1919
gem 'rubocop-performance', '~> 1.26.0'
2020
gem 'simplecov', '~> 0.22.0'
2121
gem 'webmock', '~> 3.24'

0 commit comments

Comments
 (0)