Skip to content

Commit 6b93011

Browse files
authored
Massive upgrade of everything at once ;-) (#105)
* Massive upgrade of everything at once ;-) * Ruby 2.7.1 -> 3.0.1 * Bazel 3.4.1 -> 4.1.0 * Rules Ruby: 0.5.0 candidate Updated CircleCI Docker image to 3.0.1. * Upgrade Rubocop and add new rules * Update README & v0.5.0 * Fixes issue #81
1 parent 239d5f0 commit 6b93011

25 files changed

+328
-335
lines changed

.bazelversion

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.1
1+
4.1.0

.circleci/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# rules_ruby circleci Docker file.
33
#
4-
FROM ruby:2.7.1
4+
FROM ruby:3.0.1
55

66
# make Apt non-interactive
77
RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/90circleci \

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
working_directory: /home/circleci/repo
66
resource_class: medium
77
docker:
8-
- image: bazelruby/ruby-2.7.1
8+
- image: bazelruby/ruby-3.0.1
99
environment:
1010
PATH: "/usr/local/bin:/usr/bin:/sbin:/opt/bin:/home/circleci/repo/bin:/bin:/sbin:/usr/sbin"
1111
BUNDLE_PATH: /home/circleci/.bundle_cache

.envrc

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ PATH_add bin
1010
}
1111
}
1212

13+
eval "$(rbenv init -)"
14+
rbenv local $(cat .ruby-version)
15+
echo "Ruby Version is $(ruby --version)"

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.1
1+
3.0.1

CHANGELOG.md

+26-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,31 @@
11
# Changelog
22

3+
## [Unreleased](https://github.com/bazelruby/rules_ruby/tree/HEAD)
4+
5+
[Full Changelog](https://github.com/bazelruby/rules_ruby/compare/v0.4.1...HEAD)
6+
7+
**Closed issues:**
8+
9+
- ruby\_binary - how to package up runfiles dir [\#101](https://github.com/bazelruby/rules_ruby/issues/101)
10+
- `warning: string literal in condition` from generated wrapper [\#87](https://github.com/bazelruby/rules_ruby/issues/87)
11+
- ruby\_rspec specs argument not resolved [\#79](https://github.com/bazelruby/rules_ruby/issues/79)
12+
- ruby\_test and ruby\_rspec rules use system ruby [\#63](https://github.com/bazelruby/rules_ruby/issues/63)
13+
14+
**Merged pull requests:**
15+
16+
- Support ruby 3 [\#103](https://github.com/bazelruby/rules_ruby/pull/103) ([mmizutani](https://github.com/mmizutani))
17+
- Bump nokogiri from 1.11.2 to 1.11.5 in /examples/simple\_rails\_api [\#99](https://github.com/bazelruby/rules_ruby/pull/99) ([dependabot[bot]](https://github.com/apps/dependabot))
18+
- Bump nokogiri from 1.10.10 to 1.11.2 in /examples/simple\_rails\_api [\#94](https://github.com/bazelruby/rules_ruby/pull/94) ([dependabot[bot]](https://github.com/apps/dependabot))
19+
- Update README.md [\#93](https://github.com/bazelruby/rules_ruby/pull/93) ([JustusFT](https://github.com/JustusFT))
20+
- Fix warning due to string literal in condition [\#91](https://github.com/bazelruby/rules_ruby/pull/91) ([russell](https://github.com/russell))
21+
- Add description for how to configure ASDF [\#90](https://github.com/bazelruby/rules_ruby/pull/90) ([russell](https://github.com/russell))
22+
- Remove print statements from ruby\_runtime.bzl [\#84](https://github.com/bazelruby/rules_ruby/pull/84) ([adzenith](https://github.com/adzenith))
23+
- Document path argument to ruby\_test [\#80](https://github.com/bazelruby/rules_ruby/pull/80) ([sayrer](https://github.com/sayrer))
24+
325
## [v0.4.1](https://github.com/bazelruby/rules_ruby/tree/v0.4.1) (2020-08-10)
426

527
[Full Changelog](https://github.com/bazelruby/rules_ruby/compare/v0.4.0...v0.4.1)
628

7-
* Switched from `develop` to `master` as the base branch & updated README
8-
929
## [v0.4.0](https://github.com/bazelruby/rules_ruby/tree/v0.4.0) (2020-08-04)
1030

1131
[Full Changelog](https://github.com/bazelruby/rules_ruby/compare/v0.3.0...v0.4.0)
@@ -29,8 +49,8 @@
2949
**Closed issues:**
3050

3151
- 🐛 "Could not create symlink... \(File exists\)" [\#54](https://github.com/bazelruby/rules_ruby/issues/54)
32-
- When using a local ruby installation it includes the local `LOAD\_PATH` [\#44](https://github.com/bazelruby/rules_ruby/issues/44)
33-
- \[Cleanup\] Pretty sure `eval` is never used in `repository\_context` [\#43](https://github.com/bazelruby/rules_ruby/issues/43)
52+
- When using a local ruby installation it includes the local `LOAD_PATH` [\#44](https://github.com/bazelruby/rules_ruby/issues/44)
53+
- \[Cleanup\] Pretty sure `eval` is never used in `repository_context` [\#43](https://github.com/bazelruby/rules_ruby/issues/43)
3454
- Importing a bundle gem adds all gems onto the load path \(although they are not there\) [\#42](https://github.com/bazelruby/rules_ruby/issues/42)
3555
- Support Ruby Lambda with the Gemfile full of dependencies. [\#33](https://github.com/bazelruby/rules_ruby/issues/33)
3656
- Support AWS Ruby Lambda with Bazel Rules [\#27](https://github.com/bazelruby/rules_ruby/issues/27)
@@ -55,13 +75,14 @@
5575

5676
**Fixed bugs:**
5777

58-
- Make `rules\_ruby/examples` a deeper tree structure and ensure CircleCI integration pass [\#10](https://github.com/bazelruby/rules_ruby/issues/10)
78+
- Make `rules_ruby/examples` a deeper tree structure and ensure CircleCI integration pass [\#10](https://github.com/bazelruby/rules_ruby/issues/10)
5979

6080
**Closed issues:**
6181

6282
- Ability to package all files related to a bazel target in a zip file [\#29](https://github.com/bazelruby/rules_ruby/issues/29)
6383
- Build rules\_ruby on CircleCI using workflows \(in addition to Travis\) [\#26](https://github.com/bazelruby/rules_ruby/issues/26)
6484
- Restore functionality that supported symlinking an existing Ruby interpreter [\#21](https://github.com/bazelruby/rules_ruby/issues/21)
85+
- Move ruby files under ruby\_rules/examples into a mini-mono repo [\#8](https://github.com/bazelruby/rules_ruby/issues/8)
6586

6687
**Merged pull requests:**
6788

Gemfile.lock

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
ast (2.4.1)
5-
parallel (1.19.2)
6-
parser (2.7.1.4)
4+
ast (2.4.2)
5+
parallel (1.20.1)
6+
parser (3.0.1.1)
77
ast (~> 2.4.1)
88
rainbow (3.0.0)
9-
regexp_parser (1.7.1)
10-
rexml (3.2.4)
11-
rubocop (0.88.0)
9+
regexp_parser (2.1.1)
10+
rexml (3.2.5)
11+
rubocop (0.93.1)
1212
parallel (~> 1.10)
13-
parser (>= 2.7.1.1)
13+
parser (>= 2.7.1.5)
1414
rainbow (>= 2.2.2, < 4.0)
15-
regexp_parser (>= 1.7)
15+
regexp_parser (>= 1.8)
1616
rexml
17-
rubocop-ast (>= 0.1.0, < 1.0)
17+
rubocop-ast (>= 0.6.0)
1818
ruby-progressbar (~> 1.7)
1919
unicode-display_width (>= 1.4.0, < 2.0)
20-
rubocop-ast (0.2.0)
21-
parser (>= 2.7.0.1)
22-
ruby-progressbar (1.10.1)
20+
rubocop-ast (1.7.0)
21+
parser (>= 3.0.1.1)
22+
ruby-progressbar (1.11.0)
2323
unicode-display_width (1.7.0)
2424

2525
PLATFORMS

0 commit comments

Comments
 (0)