Skip to content

Commit 656135c

Browse files
committed
Bump to v2.2.0
1 parent 297d07b commit 656135c

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

CHANGELOG.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

9+
## [2.2.0] - 2022-04-19
10+
11+
### Added
12+
13+
- [#51](https://github.com/ruby-syntax-tree/syntax_tree/pull/51) - `SyntaxTree::Location` nodes now have pattern matching.
14+
- [#51](https://github.com/ruby-syntax-tree/syntax_tree/pull/51) - `SyntaxTree::Heredoc` now have a `dedent` field that indicates the number of spaces to strip from the beginning of the string content.
15+
16+
### Changed
17+
18+
- [#51](https://github.com/ruby-syntax-tree/syntax_tree/pull/51) - `SyntaxTree::HshPtn` will now add a `then` if you use a bare `**` and `SyntaxTree::AryPtn` will do the same for a bare `*` on the end.
19+
- [#51](https://github.com/ruby-syntax-tree/syntax_tree/pull/51) - `SyntaxTree::MLHSParen` now has a comma field in case a trailing comma has been added to a parenthesis destructuring, as in `((foo,))`.
20+
- [#51](https://github.com/ruby-syntax-tree/syntax_tree/pull/51) - `SyntaxTree::FndPtn` has much improved parsing now.
21+
922
## [2.1.1] - 2022-04-16
1023

1124
### Changed
@@ -153,7 +166,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
153166

154167
- 🎉 Initial release! 🎉
155168

156-
[unreleased]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v2.1.1...HEAD
169+
[unreleased]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v2.2.0...HEAD
170+
[2.2.0]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v2.1.1...v2.2.0
157171
[2.1.1]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v2.1.0...v2.1.1
158172
[2.1.0]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v2.0.1...v2.1.0
159173
[2.0.1]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v2.0.0...v2.0.1

Gemfile.lock

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
syntax_tree (2.1.1)
4+
syntax_tree (2.2.0)
55

66
GEM
77
remote: https://rubygems.org/
@@ -14,14 +14,10 @@ GEM
1414
simplecov-html (~> 0.11)
1515
simplecov_json_formatter (~> 0.1)
1616
simplecov-html (0.12.3)
17-
simplecov_json_formatter (0.1.3)
17+
simplecov_json_formatter (0.1.4)
1818

1919
PLATFORMS
20-
arm64-darwin-21
21-
ruby
22-
x86_64-darwin-19
2320
x86_64-darwin-21
24-
x86_64-linux
2521

2622
DEPENDENCIES
2723
bundler
@@ -31,4 +27,4 @@ DEPENDENCIES
3127
syntax_tree!
3228

3329
BUNDLED WITH
34-
2.2.31
30+
2.3.6

lib/syntax_tree/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module SyntaxTree
4-
VERSION = "2.1.1"
4+
VERSION = "2.2.0"
55
end

0 commit comments

Comments
 (0)