Skip to content

Commit 53ea8c0

Browse files
committed
Adding CHANGELOG + updating TOC
1 parent c449402 commit 53ea8c0

File tree

2 files changed

+172
-54
lines changed

2 files changed

+172
-54
lines changed

CHANGELOG.md

Lines changed: 97 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,109 @@
1-
# 0.4.0 / 2020-07-29
1+
# Changelog
22

3-
[Total Changes since v0.3.0](https://github.com/bazelruby/rules_ruby/compare/v0.3.0...v0.4.0)
3+
## [v0.4.0](https://github.com/bazelruby/rules_ruby/tree/v0.4.0) (2020-08-04)
44

5-
# 0.3.0 / 2020-03-02
5+
[Full Changelog](https://github.com/bazelruby/rules_ruby/compare/v0.3.0...v0.4.0)
66

7-
[Total Changes since v0.2.0](https://github.com/bazelruby/rules_ruby/compare/v0.2.0...v0.3.0)
7+
**Closed issues:**
88

9-
**2,221 additions and 631 deletions in 71 changed files.**
9+
- private method `define_method` called for `Dir:Class \(NoMethodError\)` [\#74](https://github.com/bazelruby/rules_ruby/issues/74)
1010

11-
## Backwards Incompatible Changes
11+
**Merged pull requests:**
1212

13-
* Main workspace has been renamed from `bazelruby_ruby_rules` to `bazelruby_rules_ruby`
14-
* Global function `ruby_register_toolchains` has been renamed to `rules_ruby_select_sdk`
15-
* Global function `ruby_rules_dependencies` has been renamed to `rules_ruby_dependencies`
16-
* `bundle_install` has been removed in favor of `ruby_bundle`.
13+
- Version vandidate 0.4.0 — upgrade Rubies + Setup [\#77](https://github.com/bazelruby/rules_ruby/pull/77) ([kigster](https://github.com/kigster))
14+
* Updating .bazelrc
15+
* Moving rbenv install to bin/setup + .travis.yml
16+
* Fixing buildifier complaints
17+
* Fixed TravisCI errors
18+
* Comment out failing test with Docker
19+
* Upgrade various top-level dependencies to the latest
20+
* Upgrade Bazel to 3.4.1
21+
* Switch to Ruby 2.7.1 as the default
22+
- Upgrading Gemfiles [\#76](https://github.com/bazelruby/rules_ruby/pull/76) ([kigster](https://github.com/kigster))
23+
- Ruby 2.3 compatibility for binary_wrapper [\#75](https://github.com/bazelruby/rules_ruby/pull/75) ([lalten](https://github.com/lalten))
24+
- Bump puma from 4.3.3 to 4.3.5 in /examples/simple_rails_api [\#71](https://github.com/bazelruby/rules_ruby/pull/71) ([dependabot[bot]](https://github.com/apps/dependabot))
25+
- Bump puma from 4.3.1 to 4.3.3 in /examples/simple_rails_api [\#70](https://github.com/bazelruby/rules_ruby/pull/70) ([dependabot[bot]](https://github.com/apps/dependabot))
1726

18-
## Other Changes
27+
## [v0.3.0](https://github.com/bazelruby/rules_ruby/tree/v0.3.0) (2020-03-03)
1928

20-
* Introduced `ruby_gem` rule for packaging Ruby sources into a RubyGemInfo-compatible zip file. Note, the resulting file has `.zip` extension.
21-
* Introduced `ruby_rubocop` rule for running rubocop in analysis mode or auto-correcting mode.
22-
* Added an example gem workspace under `examples/example-gem`
23-
* Default ruby used is now 2.7.1. We also now allow 2.7.1 to be built by Bazel.
24-
* Bazelisk has been updated to 1.3.0
25-
* Updated Bazel version from 2.0.0 to 2.1.0
26-
* Updated gem versions in the Gemfile
27-
* Changed how the `ruby_bundle` pulls gem's folders into the bundle to include additional files.
28-
* Many other small changes, for full list [please see the diff](https://github.com/bazelruby/rules_ruby/compare/v0.2.0...v0.3.0).
29+
[Full Changelog](https://github.com/bazelruby/rules_ruby/compare/v0.2.0...v0.3.0)
2930

30-
# 0.2.0 / 2020-12-30
31+
**Closed issues:**
3132

32-
[Total Changes since v0.1.0](https://github.com/bazelruby/rules_ruby/compare/v0.1.0...v0.2.0)
33+
- 🐛 "Could not create symlink... File exists" [\#54](https://github.com/bazelruby/rules_ruby/issues/54)
34+
- When using a local ruby installation it includes the local `LOAD_PATH` [\#44](https://github.com/bazelruby/rules_ruby/issues/44)
35+
- \[Cleanup\] Pretty sure `eval` is never used in `repository_context` [\#43](https://github.com/bazelruby/rules_ruby/issues/43)
36+
- 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)
37+
- Support Ruby Lambda with the Gemfile full of dependencies. [\#33](https://github.com/bazelruby/rules_ruby/issues/33)
38+
- Support AWS Ruby Lambda with Bazel Rules [\#27](https://github.com/bazelruby/rules_ruby/issues/27)
39+
- Want to understand better why native extensions are failing on CircleCI [\#24](https://github.com/bazelruby/rules_ruby/issues/24)
40+
- First class support for Ruby RSpec gem with Bazel [\#19](https://github.com/bazelruby/rules_ruby/issues/19)
41+
- Use sorbets Ruby 2.6 build instead of host [\#9](https://github.com/bazelruby/rules_ruby/issues/9)
3342

34-
# 0.1.0 / 2019-11-20
43+
**Merged pull requests:**
3544

36-
* Initial migration from [Yugui](https://github.com/yugui) rules ruby.
45+
- Renaming the repo to @bazelruby_rules_ruby [\#69](https://github.com/bazelruby/rules_ruby/pull/69) ([kigster](https://github.com/kigster))
46+
- Fixing outdated rule names in the README [\#68](https://github.com/bazelruby/rules_ruby/pull/68) ([kigster](https://github.com/kigster))
47+
- Adding method Dir.children when it's not found. [\#67](https://github.com/bazelruby/rules_ruby/pull/67) ([kigster](https://github.com/kigster))
48+
- Merging select features from Coinbase upstream branch [\#66](https://github.com/bazelruby/rules_ruby/pull/66) ([kigster](https://github.com/kigster))
49+
- Upgrade Bazel and Bazelist; add ruby 2.7.0 [\#65](https://github.com/bazelruby/rules_ruby/pull/65) ([kigster](https://github.com/kigster))
50+
- Bump nokogiri from 1.10.7 to 1.10.8 in /examples/simple_rails_api [\#64](https://github.com/bazelruby/rules_ruby/pull/64) ([dependabot[bot]](https://github.com/apps/dependabot))
51+
- This PR refactors bundle steps and :bin generation [\#61](https://github.com/bazelruby/rules_ruby/pull/61) ([kigster](https://github.com/kigster))
52+
- Adds ruby_rspec and refactors the ruby_bundle rule, plus some more [\#60](https://github.com/bazelruby/rules_ruby/pull/60) ([kigster](https://github.com/kigster))
53+
54+
## [v0.2.0](https://github.com/bazelruby/rules_ruby/tree/v0.2.0) (2019-12-31)
55+
56+
[Full Changelog](https://github.com/bazelruby/rules_ruby/compare/v0.1.0...v0.2.0)
57+
58+
**Fixed bugs:**
59+
60+
- Make `rules_ruby/examples` a deeper tree structure and ensure CircleCI integration pass [\#10](https://github.com/bazelruby/rules_ruby/issues/10)
61+
62+
**Closed issues:**
63+
64+
- Ability to package all files related to a bazel target in a zip file [\#29](https://github.com/bazelruby/rules_ruby/issues/29)
65+
- Build rules_ruby on CircleCI using workflows \(in addition to Travis\) [\#26](https://github.com/bazelruby/rules_ruby/issues/26)
66+
- Restore functionality that supported symlinking an existing Ruby interpreter [\#21](https://github.com/bazelruby/rules_ruby/issues/21)
67+
68+
**Merged pull requests:**
69+
70+
- Fixing brittle Host Ruby version detection. [\#56](https://github.com/bazelruby/rules_ruby/pull/56) ([kigster](https://github.com/kigster))
71+
- Upgrading Bazel version to 2.0.0 [\#53](https://github.com/bazelruby/rules_ruby/pull/53) ([kigster](https://github.com/kigster))
72+
- Renaming and making consistent all scripts [\#52](https://github.com/bazelruby/rules_ruby/pull/52) ([kigster](https://github.com/kigster))
73+
- Adding auto-fix buildifier and auto-fix rubocop [\#50](https://github.com/bazelruby/rules_ruby/pull/50) ([kigster](https://github.com/kigster))
74+
- Bump rack from 2.0.7 to 2.0.8 in /examples/simple_rails_api [\#49](https://github.com/bazelruby/rules_ruby/pull/49) ([dependabot[bot]](https://github.com/apps/dependabot))
75+
- Deprecate ruby/def.bzl + spelling + v0.1.2 [\#48](https://github.com/bazelruby/rules_ruby/pull/48) ([kigster](https://github.com/kigster))
76+
- Speed up CircleCI/Travis ensure \*correctness\* with builds [\#46](https://github.com/bazelruby/rules_ruby/pull/46) ([kigster](https://github.com/kigster))
77+
- \[Feature\] example rails server running [\#41](https://github.com/bazelruby/rules_ruby/pull/41) ([grahamjenson](https://github.com/grahamjenson))
78+
- \[Fix\] rubocop builds [\#40](https://github.com/bazelruby/rules_ruby/pull/40) ([grahamjenson](https://github.com/grahamjenson))
79+
- Adding CircleCI + upgrade Rubocop [\#39](https://github.com/bazelruby/rules_ruby/pull/39) ([kigster](https://github.com/kigster))
80+
- \[Fix\] no spaces in files bug, remove deprecated code, remove host [\#38](https://github.com/bazelruby/rules_ruby/pull/38) ([grahamjenson](https://github.com/grahamjenson))
81+
- Sight facelift to shell files: [\#35](https://github.com/bazelruby/rules_ruby/pull/35) ([kigster](https://github.com/kigster))
82+
- \[Feature\] install ruby if none exists [\#34](https://github.com/bazelruby/rules_ruby/pull/34) ([grahamjenson](https://github.com/grahamjenson))
83+
- Add `files` to DefaultInfo of the ruby_library [\#32](https://github.com/bazelruby/rules_ruby/pull/32) ([kigster](https://github.com/kigster))
84+
- Upgrade Bazel version to 1.2.1 + use bin/setup\(s\) [\#31](https://github.com/bazelruby/rules_ruby/pull/31) ([kigster](https://github.com/kigster))
85+
- Fixing Gemfile bundle dependency and bin/setup [\#30](https://github.com/bazelruby/rules_ruby/pull/30) ([kigster](https://github.com/kigster))
86+
- Expose rake, erb and other commands as sh_binary [\#28](https://github.com/bazelruby/rules_ruby/pull/28) ([yugui](https://github.com/yugui))
87+
- Reorganize sections in README [\#23](https://github.com/bazelruby/rules_ruby/pull/23) ([yugui](https://github.com/yugui))
88+
- Run ruby_binary with the interpreter in a SDK again [\#22](https://github.com/bazelruby/rules_ruby/pull/22) ([yugui](https://github.com/yugui))
89+
- Upgrade bundler [\#18](https://github.com/bazelruby/rules_ruby/pull/18) ([yugui](https://github.com/yugui))
90+
- Make ruby_binary compatible with container [\#17](https://github.com/bazelruby/rules_ruby/pull/17) ([yugui](https://github.com/yugui))
91+
- Fix errors in the simple_script example [\#16](https://github.com/bazelruby/rules_ruby/pull/16) ([yugui](https://github.com/yugui))
92+
- Adding relaxed-rubocop and fixing styling issues [\#15](https://github.com/bazelruby/rules_ruby/pull/15) ([grahamjenson](https://github.com/grahamjenson))
93+
94+
## [v0.1.0](https://github.com/bazelruby/rules_ruby/tree/v0.1.0) (2019-11-20)
95+
96+
[Full Changelog](https://github.com/bazelruby/rules_ruby/compare/59deebc086f9c64a4626e2c98d7aa9c746d0d382...v0.1.0)
97+
98+
**Fixed bugs:**
99+
100+
- Unable to run `bazel build //...:all` [\#3](https://github.com/bazelruby/rules_ruby/issues/3)
101+
102+
**Merged pull requests:**
103+
104+
- Ignore examples/ because it is an independent workspace to test rules_ruby [\#5](https://github.com/bazelruby/rules_ruby/pull/5) ([yugui](https://github.com/yugui))
105+
- Updating the remote reference to match the Org [\#4](https://github.com/bazelruby/rules_ruby/pull/4) ([kigster](https://github.com/kigster))
106+
107+
108+
109+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

README.md

Lines changed: 75 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
![activity](https://img.shields.io/github/commit-activity/m/bazelruby/rules_ruby?style=for-the-badge)
22

3-
<!-- TOC depthFrom:1 depthTo:6 withLinks:1 updateOnSave:1 orderedList:0 -->
4-
5-
* [Rules Development Status](#rules-development-status)
6-
* [Usage](#usage)
7-
* [`WORKSPACE` File](#workspace-file)
8-
* [`BUILD.bazel` files](#buildbazel-files)
9-
* [Rules](#rules)
10-
* [`ruby_library`](#ruby_library)
11-
* [`ruby_binary`](#ruby_binary)
12-
* [`ruby_test`](#ruby_test)
13-
* [`ruby_bundle`](#ruby_bundle)
14-
* [Limitations](#limitations)
15-
* [Conventions](#conventions)
16-
* [Example: `WORKSPACE`:](#example-workspace)
17-
* [Example: `lib/BUILD.bazel`:](#example-libbuildbazel)
18-
* [`ruby_rspec`](#ruby_rspec)
19-
* [`ruby_gem`](#ruby_gem)
20-
* [What's coming next](#whats-coming-next)
21-
* [Contributing](#contributing)
22-
* [Setup](#setup)
23-
* [Using the Script](#using-the-script)
24-
* [OS-Specific Setup](#os-specific-setup)
25-
* [Issues During Setup](#issues-during-setup)
26-
* [Developing Rules](#developing-rules)
27-
* [Running Tests](#running-tests)
28-
* [Test Script](#test-script)
29-
* [Linter](#linter)
30-
* [Copyright](#copyright)
31-
32-
<!-- /TOC -->
3+
- [Rules Development Status](#rules-development-status)
4+
- [Usage](#usage)
5+
- [`WORKSPACE` File](#workspace-file)
6+
- [Load dependencies, select Ruby SDK and define one or more Bundles](#load-dependencies-select-ruby-sdk-and-define-one-or-more-bundles)
7+
- [`BUILD.bazel` file(s)](#buildbazel-files)
8+
- [Define Ruby Executable, Library and an RSpec](#define-ruby-executable-library-and-an-rspec)
9+
- [Package Ruby files as a Gem](#package-ruby-files-as-a-gem)
10+
- [Rule Dependency Diagram](#rule-dependency-diagram)
11+
- [Rules](#rules)
12+
- [`ruby_library`](#ruby_library)
13+
- [`ruby_binary`](#ruby_binary)
14+
- [`ruby_test`](#ruby_test)
15+
- [`ruby_bundle`](#ruby_bundle)
16+
- [Limitations](#limitations)
17+
- [Conventions](#conventions)
18+
- [`WORKSPACE`:](#workspace)
19+
- [`BUILD.bazel`:](#buildbazel)
20+
- [`ruby_rspec`](#ruby_rspec)
21+
- [`ruby_gem`](#ruby_gem)
22+
- [What's coming next](#whats-coming-next)
23+
- [Contributing](#contributing)
24+
- [Setup](#setup)
25+
- [Using the Script](#using-the-script)
26+
- [OS-Specific Setup](#os-specific-setup)
27+
- [Issues During Setup](#issues-during-setup)
28+
- [Developing Rules](#developing-rules)
29+
- [Running Tests](#running-tests)
30+
- [Test Script](#test-script)
31+
- [Linter](#linter)
32+
- [Copyright](#copyright)
3333

3434
### Build Status
3535

@@ -38,6 +38,14 @@
3838
| CircleCI | [![CircleCI](https://circleci.com/gh/bazelruby/rules_ruby/tree/develop.svg?style=svg)](https://circleci.com/gh/bazelruby/rules_ruby/tree/develop) |
3939
| TravisCI | [![Build Status](https://travis-ci.org/bazelruby/rules_ruby.svg?branch=develop)](https://travis-ci.org/bazelruby/rules_ruby) |
4040

41+
### [Change Log](CHANGELOG.md)
42+
43+
To regenerate:
44+
45+
```bash
46+
gem install github_changelog_generator
47+
github_changelog_generator -u bazelruby -p rules_ruby
48+
```
4149

4250
# Rules Ruby
4351

@@ -1032,3 +1040,40 @@ Unless required by applicable law or agreed to in writing, software distributed
10321040
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
10331041

10341042
<!-- @import "[TOC]" {cmd="toc" depthFrom=1 depthTo=6 orderedList=false} -->
1043+
1044+
<!-- code_chunk_output -->
1045+
1046+
- [Build Status](#build-status)
1047+
- [Change Log](#change-logchangelogmd)
1048+
- [Rules Development Status](#rules-development-status)
1049+
- [Usage](#usage)
1050+
- [`WORKSPACE` File](#workspace-file)
1051+
- [Load dependencies, select Ruby SDK and define one or more Bundles](#load-dependencies-select-ruby-sdk-and-define-one-or-more-bundles)
1052+
- [`BUILD.bazel` file(s)](#buildbazel-files)
1053+
- [Define Ruby Executable, Library and an RSpec](#define-ruby-executable-library-and-an-rspec)
1054+
- [Package Ruby files as a Gem](#package-ruby-files-as-a-gem)
1055+
- [Rule Dependency Diagram](#rule-dependency-diagram)
1056+
- [Rules](#rules)
1057+
- [`ruby_library`](#ruby_library)
1058+
- [`ruby_binary`](#ruby_binary)
1059+
- [`ruby_test`](#ruby_test)
1060+
- [`ruby_bundle`](#ruby_bundle)
1061+
- [Limitations](#limitations)
1062+
- [Conventions](#conventions)
1063+
- [`WORKSPACE`:](#workspace)
1064+
- [`BUILD.bazel`:](#buildbazel)
1065+
- [`ruby_rspec`](#ruby_rspec)
1066+
- [`ruby_gem`](#ruby_gem)
1067+
- [What's coming next](#whats-coming-next)
1068+
- [Contributing](#contributing)
1069+
- [Setup](#setup)
1070+
- [Using the Script](#using-the-script)
1071+
- [OS-Specific Setup](#os-specific-setup)
1072+
- [Issues During Setup](#issues-during-setup)
1073+
- [Developing Rules](#developing-rules)
1074+
- [Running Tests](#running-tests)
1075+
- [Test Script](#test-script)
1076+
- [Linter](#linter)
1077+
- [Copyright](#copyright)
1078+
1079+
<!-- /code_chunk_output -->

0 commit comments

Comments
 (0)