Skip to content

Commit f72f65b

Browse files
authored
Merge pull request #1364 from prettier/401
Bump to version 4.0.1
2 parents 7ffa73f + 08d74a2 commit f72f65b

File tree

3 files changed

+12
-47
lines changed

3 files changed

+12
-47
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
- ubuntu-latest
1515
- windows-latest
1616
ruby:
17-
- "2.7"
1817
- "3.0"
1918
- "3.1"
19+
- "3.2"
2020
runs-on: ${{ matrix.platform }}
2121
steps:
2222
- uses: actions/checkout@main
@@ -49,48 +49,6 @@ jobs:
4949
- run: yarn checkFormat
5050
- run: yarn lint
5151

52-
# smoketest:
53-
# name: Yarn PnP smoke test
54-
# strategy:
55-
# fail-fast: false
56-
# matrix:
57-
# platform:
58-
# - macos-latest
59-
# - ubuntu-latest
60-
# - windows-latest
61-
# yarn:
62-
# - 2.x
63-
# - 3.x
64-
# runs-on: ${{ matrix.platform }}
65-
# steps:
66-
# - uses: actions/checkout@main
67-
# - uses: ruby/setup-ruby@v1
68-
# with:
69-
# bundler-cache: true
70-
# ruby-version: "3.1"
71-
# - run: gem install syntax_tree syntax_tree-haml syntax_tree-rbs
72-
# - uses: actions/setup-node@v3
73-
# with:
74-
# node-version: 18.x
75-
# cache: yarn
76-
# - run: yarn install --frozen-lockfile
77-
# - run: yarn pack
78-
# # Windows runners don't have /tmp, let's make sure it exists
79-
# - run: mkdir -p /tmp
80-
# - run: mv prettier-plugin-ruby-*.tgz /tmp/prettier-plugin-ruby.tgz
81-
# - run: mkdir /tmp/smoketest
82-
# - name: Smoke test
83-
# run: |
84-
# cd /tmp/smoketest
85-
# echo '{ "name": "smoketest", "type": "module", "license": "MIT" }' > package.json
86-
# yarn set version berry # workaround for https://github.com/yarnpkg/berry/issues/3180
87-
# yarn set version ${{ matrix.yarn }}
88-
# yarn add prettier@next @prettier/plugin-ruby@file:/tmp/prettier-plugin-ruby.tgz
89-
# npx rimraf .yarn/unplugged # Make sure Yarn didn't unplug anything; this will deliberately break if it did
90-
# echo '{ "plugins": ["@prettier/plugin-ruby"] }' > .prettierrc.json
91-
# echo 'def add(a, b) ; a + b ; end' > smoketest.rb
92-
# yarn run prettier -w smoketest.rb && ruby -c smoketest.rb
93-
9452
gem:
9553
name: Gem
9654
runs-on: ubuntu-latest
@@ -99,10 +57,10 @@ jobs:
9957
- uses: ruby/setup-ruby@v1
10058
with:
10159
bundler-cache: true
102-
ruby-version: "3.1"
60+
ruby-version: "3.2"
10361
- uses: actions/setup-node@v3
10462
with:
105-
node-version: 16.x
63+
node-version: 18.x
10664
cache: yarn
10765
- run: yarn install --frozen-lockfile
10866
- run: gem build -o prettier.gem

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

9+
## [4.0.1] - 2023-07-08
10+
11+
### Changed
12+
13+
- [#1363](https://github.com/prettier/plugin-ruby/pull/1363) - mscrivo, kddnewton - Ensure all data is read from socket before attempting to parse to JSON.
14+
915
## [4.0.0] - 2023-07-06
1016

1117
### Added
@@ -1279,7 +1285,8 @@ would previously result in `array[]`, but now prints properly.
12791285

12801286
- Initial release 🎉
12811287

1282-
[unreleased]: https://github.com/prettier/plugin-ruby/compare/v4.0.0...HEAD
1288+
[unreleased]: https://github.com/prettier/plugin-ruby/compare/v4.0.1...HEAD
1289+
[4.0.1]: https://github.com/prettier/plugin-ruby/compare/v4.0.0...v4.0.1
12831290
[4.0.0]: https://github.com/prettier/plugin-ruby/compare/v3.2.2...v4.0.0
12841291
[3.2.2]: https://github.com/prettier/plugin-ruby/compare/v3.2.1...v3.2.2
12851292
[3.2.1]: https://github.com/prettier/plugin-ruby/compare/v3.2.0...v3.2.1

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prettier/plugin-ruby",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "prettier plugin for the Ruby programming language",
55
"type": "module",
66
"main": "src/plugin.js",

0 commit comments

Comments
 (0)