Skip to content

Commit

Permalink
Massive upgrade of everything at once ;-) (#105)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
kigster authored Jul 8, 2021
1 parent 239d5f0 commit 6b93011
Show file tree
Hide file tree
Showing 25 changed files with 328 additions and 335 deletions.
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.4.1
4.1.0
2 changes: 1 addition & 1 deletion .circleci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# rules_ruby circleci Docker file.
#
FROM ruby:2.7.1
FROM ruby:3.0.1

# make Apt non-interactive
RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/90circleci \
Expand Down
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
working_directory: /home/circleci/repo
resource_class: medium
docker:
- image: bazelruby/ruby-2.7.1
- image: bazelruby/ruby-3.0.1
environment:
PATH: "/usr/local/bin:/usr/bin:/sbin:/opt/bin:/home/circleci/repo/bin:/bin:/sbin:/usr/sbin"
BUNDLE_PATH: /home/circleci/.bundle_cache
Expand Down
3 changes: 3 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ PATH_add bin
}
}

eval "$(rbenv init -)"
rbenv local $(cat .ruby-version)
echo "Ruby Version is $(ruby --version)"
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.1
3.0.1
31 changes: 26 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
# Changelog

## [Unreleased](https://github.com/bazelruby/rules_ruby/tree/HEAD)

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

**Closed issues:**

- ruby\_binary - how to package up runfiles dir [\#101](https://github.com/bazelruby/rules_ruby/issues/101)
- `warning: string literal in condition` from generated wrapper [\#87](https://github.com/bazelruby/rules_ruby/issues/87)
- ruby\_rspec specs argument not resolved [\#79](https://github.com/bazelruby/rules_ruby/issues/79)
- ruby\_test and ruby\_rspec rules use system ruby [\#63](https://github.com/bazelruby/rules_ruby/issues/63)

**Merged pull requests:**

- Support ruby 3 [\#103](https://github.com/bazelruby/rules_ruby/pull/103) ([mmizutani](https://github.com/mmizutani))
- 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))
- 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))
- Update README.md [\#93](https://github.com/bazelruby/rules_ruby/pull/93) ([JustusFT](https://github.com/JustusFT))
- Fix warning due to string literal in condition [\#91](https://github.com/bazelruby/rules_ruby/pull/91) ([russell](https://github.com/russell))
- Add description for how to configure ASDF [\#90](https://github.com/bazelruby/rules_ruby/pull/90) ([russell](https://github.com/russell))
- Remove print statements from ruby\_runtime.bzl [\#84](https://github.com/bazelruby/rules_ruby/pull/84) ([adzenith](https://github.com/adzenith))
- Document path argument to ruby\_test [\#80](https://github.com/bazelruby/rules_ruby/pull/80) ([sayrer](https://github.com/sayrer))

## [v0.4.1](https://github.com/bazelruby/rules_ruby/tree/v0.4.1) (2020-08-10)

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

* Switched from `develop` to `master` as the base branch & updated README

## [v0.4.0](https://github.com/bazelruby/rules_ruby/tree/v0.4.0) (2020-08-04)

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

- 🐛 "Could not create symlink... \(File exists\)" [\#54](https://github.com/bazelruby/rules_ruby/issues/54)
- When using a local ruby installation it includes the local `LOAD\_PATH` [\#44](https://github.com/bazelruby/rules_ruby/issues/44)
- \[Cleanup\] Pretty sure `eval` is never used in `repository\_context` [\#43](https://github.com/bazelruby/rules_ruby/issues/43)
- When using a local ruby installation it includes the local `LOAD_PATH` [\#44](https://github.com/bazelruby/rules_ruby/issues/44)
- \[Cleanup\] Pretty sure `eval` is never used in `repository_context` [\#43](https://github.com/bazelruby/rules_ruby/issues/43)
- 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)
- Support Ruby Lambda with the Gemfile full of dependencies. [\#33](https://github.com/bazelruby/rules_ruby/issues/33)
- Support AWS Ruby Lambda with Bazel Rules [\#27](https://github.com/bazelruby/rules_ruby/issues/27)
Expand All @@ -55,13 +75,14 @@

**Fixed bugs:**

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

**Closed issues:**

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

**Merged pull requests:**

Expand Down
24 changes: 12 additions & 12 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
GEM
remote: https://rubygems.org/
specs:
ast (2.4.1)
parallel (1.19.2)
parser (2.7.1.4)
ast (2.4.2)
parallel (1.20.1)
parser (3.0.1.1)
ast (~> 2.4.1)
rainbow (3.0.0)
regexp_parser (1.7.1)
rexml (3.2.4)
rubocop (0.88.0)
regexp_parser (2.1.1)
rexml (3.2.5)
rubocop (0.93.1)
parallel (~> 1.10)
parser (>= 2.7.1.1)
parser (>= 2.7.1.5)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.7)
regexp_parser (>= 1.8)
rexml
rubocop-ast (>= 0.1.0, < 1.0)
rubocop-ast (>= 0.6.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 2.0)
rubocop-ast (0.2.0)
parser (>= 2.7.0.1)
ruby-progressbar (1.10.1)
rubocop-ast (1.7.0)
parser (>= 3.0.1.1)
ruby-progressbar (1.11.0)
unicode-display_width (1.7.0)

PLATFORMS
Expand Down
Loading

0 comments on commit 6b93011

Please sign in to comment.