prism 1.5.0 → 1.5.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: 6d76af31baae33e36fc11994b9b755ce67a0795cdcd5e6dca245b9476991b161
4
- data.tar.gz: 1505e09c2ed0e902ea7cb769531c1c4ce0b398fca78b8714fe1113204e9d348c
3
+ metadata.gz: 71ec272c4385e48796979636d3d37547841cf1b27de8d61dbfc69b9300fefc5e
4
+ data.tar.gz: 58d2105009b3edfe9246deffaec5989ba8a63da2f68d770b80393e4970bfa89a
5
5
  SHA512:
6
- metadata.gz: 0df2dc7057692897f48ad99cdfe5f9d72a0ba6625dc0da1dc141ebadf36cf62405b1704997ffaa93318472b50a4919f4b3253708faf4f3bfcc093814f4f1a198
7
- data.tar.gz: 2b3a959b7cf5b6103c15de81aeb99226045b27e090acc29a15247fe14b7492c97b6dc1b52c3ba584bfc4eb9fc18ba1744b78e6cf3b836c1e23b3025f5bdb960c
6
+ metadata.gz: ad2f9f3ca25f79b5414f8144b23a529ae4cbe23e7f5fc619da54cea7676ecfc93f03bd7548824d523352765d66fe157f67fb989350c4f4b4a6f29782c796539e
7
+ data.tar.gz: 9e447578eb512232efe4c9263adc786701cbecbd94f2f4f6d87f2ec5f0961a5ec568acbe20aef23e810fe8f7998a8fd4f9c522cb9a9b986074f7a6e8baa4f6eb
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.5.1] - 2025-09-13
10
+
11
+ ### Changed
12
+
13
+ - Revert of a bug introduced with static literal flags on interpolated strings.
14
+
9
15
  ## [1.5.0] - 2025-09-12
10
16
 
11
17
  ### Added
@@ -670,7 +676,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
670
676
 
671
677
  - 🎉 Initial release! 🎉
672
678
 
673
- [unreleased]: https://github.com/ruby/prism/compare/v1.5.0...HEAD
679
+ [unreleased]: https://github.com/ruby/prism/compare/v1.5.1...HEAD
680
+ [1.5.1]: https://github.com/ruby/prism/compare/v1.5.0...v1.5.1
674
681
  [1.5.0]: https://github.com/ruby/prism/compare/v1.4.0...v1.5.0
675
682
  [1.4.0]: https://github.com/ruby/prism/compare/v1.3.0...v1.4.0
676
683
  [1.3.0]: https://github.com/ruby/prism/compare/v1.2.0...v1.3.0
@@ -1,7 +1,7 @@
1
1
  #ifndef PRISM_EXT_NODE_H
2
2
  #define PRISM_EXT_NODE_H
3
3
 
4
- #define EXPECTED_PRISM_VERSION "1.5.0"
4
+ #define EXPECTED_PRISM_VERSION "1.5.1"
5
5
 
6
6
  #include <ruby.h>
7
7
  #include <ruby/encoding.h>
@@ -19,11 +19,11 @@
19
19
  /**
20
20
  * The patch version of the Prism library as an int.
21
21
  */
22
- #define PRISM_VERSION_PATCH 0
22
+ #define PRISM_VERSION_PATCH 1
23
23
 
24
24
  /**
25
25
  * The version of the Prism library as a constant string.
26
26
  */
27
- #define PRISM_VERSION "1.5.0"
27
+ #define PRISM_VERSION "1.5.1"
28
28
 
29
29
  #endif
@@ -25,7 +25,7 @@ module Prism
25
25
 
26
26
  # The patch version of prism that we are expecting to find in the serialized
27
27
  # strings.
28
- PATCH_VERSION = 0
28
+ PATCH_VERSION = 1
29
29
 
30
30
  # Deserialize the dumped output from a request to parse or parse_file.
31
31
  #
data/prism.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "prism"
5
- spec.version = "1.5.0"
5
+ spec.version = "1.5.1"
6
6
  spec.authors = ["Shopify"]
7
7
  spec.email = ["ruby@shopify.com"]
8
8
 
data/src/prism.c CHANGED
@@ -5279,10 +5279,6 @@ pm_interpolated_string_node_append(pm_interpolated_string_node_t *node, pm_node_
5279
5279
 
5280
5280
  switch (PM_NODE_TYPE(part)) {
5281
5281
  case PM_STRING_NODE:
5282
- // If inner string is not frozen, clear flags for this string
5283
- if (!PM_NODE_FLAG_P(part, PM_STRING_FLAGS_FROZEN)) {
5284
- CLEAR_FLAGS(node);
5285
- }
5286
5282
  part->flags = (pm_node_flags_t) ((part->flags | PM_NODE_FLAG_STATIC_LITERAL | PM_STRING_FLAGS_FROZEN) & ~PM_STRING_FLAGS_MUTABLE);
5287
5283
  break;
5288
5284
  case PM_INTERPOLATED_STRING_NODE:
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prism
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-09-12 00:00:00.000000000 Z
10
+ date: 2025-09-13 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  email:
13
13
  - ruby@shopify.com