Skip to content

Commit ba4ab24

Browse files
committed
breakable_return should also break_parent
1 parent 655114f commit ba4ab24

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
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+
## [1.0.1] - 2022-10-18
10+
11+
### Changed
12+
13+
* `breakable_return` - should also break parent
14+
915
## [1.0.0] - 2022-10-17
1016

1117
### Added
@@ -31,5 +37,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
3137

3238
- 🎉 Initial release! 🎉
3339

34-
[unreleased]: https://github.com/ruby-syntax-tree/prettier_print/compare/v0.1.0...HEAD
35-
[0.1.0]: https://github.com/ruby-syntax-tree/prettier_print/compare/...v0.1.0
40+
[unreleased]: https://github.com/ruby-syntax-tree/prettier_print/compare/v1.0.1...HEAD
41+
[1.0.1]: https://github.com/ruby-syntax-tree/prettier_print/compare/v1.0.0...v1.0.1
42+
[1.0.0]: https://github.com/ruby-syntax-tree/prettier_print/compare/v0.1.0...v1.0.0
43+
[0.1.0]: https://github.com/ruby-syntax-tree/prettier_print/compare/df51ce...v0.1.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-
prettier_print (1.0.0)
4+
prettier_print (1.0.1)
55

66
GEM
77
remote: https://rubygems.org/

lib/prettier_print.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,7 @@ def breakable_force
809809
# formatting like a multi-line string.
810810
def breakable_return
811811
target << BREAKABLE_RETURN
812+
break_parent
812813
end
813814

814815
# A convenience method which is same as follows:

lib/prettier_print/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
class PrettierPrint
4-
VERSION = "1.0.0"
4+
VERSION = "1.0.1"
55
end

0 commit comments

Comments
 (0)