Skip to content

Commit 695918e

Browse files
committedSep 19, 2022
Bump to v3.6.0
1 parent 1750d8c commit 695918e

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed
 

‎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+
## [3.6.0] - 2022-09-19
10+
11+
### Added
12+
13+
- [#158](https://github.com/ruby-syntax-tree/syntax_tree/pull/158) - Support the ability to pass `--ignore-files` to the CLI and the Rake tasks to ignore a certain pattern of files.
14+
915
## [3.5.0] - 2022-08-26
1016

1117
### Added
@@ -344,7 +350,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
344350

345351
- 🎉 Initial release! 🎉
346352

347-
[unreleased]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v3.5.0...HEAD
353+
[unreleased]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v3.6.0...HEAD
354+
[3.6.0]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v3.5.0...v3.6.0
348355
[3.5.0]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v3.4.0...v3.5.0
349356
[3.4.0]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v3.3.0...v3.4.0
350357
[3.3.0]: https://github.com/ruby-syntax-tree/syntax_tree/compare/v3.2.1...v3.3.0

‎Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
syntax_tree (3.5.0)
4+
syntax_tree (3.6.0)
55
prettier_print
66

77
GEM

‎lib/syntax_tree/basic_visitor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def corrections
3535

3636
# In some setups with Ruby you can turn off DidYouMean, so we're going to
3737
# respect that setting here.
38-
if defined?(DidYouMean) && DidYouMean.method_defined?(:correct_error)
38+
if defined?(DidYouMean.correct_error)
3939
DidYouMean.correct_error(VisitMethodError, self)
4040
end
4141
end

‎lib/syntax_tree/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module SyntaxTree
4-
VERSION = "3.5.0"
4+
VERSION = "3.6.0"
55
end

‎test/visitor_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def initialize
4040
end
4141
end
4242

43-
if defined?(DidYouMean) && DidYouMean.method_defined?(:correct_error)
43+
if defined?(DidYouMean.correct_error)
4444
def test_visit_method_correction
4545
error = assert_raises { Visitor.visit_method(:visit_binar) }
4646
message =

0 commit comments

Comments
 (0)
Please sign in to comment.