prettier_print 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9996ce5492af60b6cea9099175af9c31752da258be9de73b9f8e66d55ec5cecb
4
- data.tar.gz: 472a728da7f9c4c8fba5fe93664e50a984cb80ecec14efedfcd94decc72c7593
3
+ metadata.gz: 5392f4dae350d56612ec1850aa3ca28bb51e5776690e213d31cf1671db789fac
4
+ data.tar.gz: 72494c92f76eafe77b4afd04e2c8da7d45a209dd4d1c9b2d5aaf5820b3153050
5
5
  SHA512:
6
- metadata.gz: 57bb92ec550e11a69502c3f9e7668e0f4c6528025a3a0e45986c4f32f755e43d47342128d1c75fde952853ffe5eb4dddd4ff9f235ab1d30bef66a212f41f9f86
7
- data.tar.gz: eb6ad1645c41cc33ada93ea8570c626968cc09f1f374d11f5bc5c526d375febb43629b09cdbf15e941e8f2d6ec27294e7c8755da4c6e2e94594094b15de23572
6
+ metadata.gz: 9db5ca110447b075995e72c89cdaa0d881d9e7cef6786820ff1bec18b1cc1fc05c035717b7a8641a67a0586c8612a5a3a11933d9f95f5248f5fb95bb378b547d
7
+ data.tar.gz: de1c9038d6c84db2d9e2f8bf047b446abe3b4561cbf6700c8c925244adb46dffdcb2c2b19dfa23e800ba44cc09f77aa64d00f6848449e22a31b6617a375d8e8e
data/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0.1] - 2022-10-18
10
+
11
+ ### Changed
12
+
13
+ * `breakable_return` - should also break parent
14
+
9
15
  ## [1.0.0] - 2022-10-17
10
16
 
11
17
  ### Added
@@ -31,5 +37,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
31
37
 
32
38
  - 🎉 Initial release! 🎉
33
39
 
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
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- prettier_print (1.0.0)
4
+ prettier_print (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class PrettierPrint
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
@@ -809,6 +809,7 @@ class PrettierPrint
809
809
  # formatting like a multi-line string.
810
810
  def breakable_return
811
811
  target << BREAKABLE_RETURN
812
+ break_parent
812
813
  end
813
814
 
814
815
  # A convenience method which is same as follows:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prettier_print
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Newton
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-17 00:00:00.000000000 Z
11
+ date: 2022-10-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: