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 +4 -4
- data/CHANGELOG.md +8 -1
- data/ext/prism/extension.h +1 -1
- data/include/prism/version.h +2 -2
- data/lib/prism/serialize.rb +1 -1
- data/prism.gemspec +1 -1
- data/src/prism.c +0 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71ec272c4385e48796979636d3d37547841cf1b27de8d61dbfc69b9300fefc5e
|
4
|
+
data.tar.gz: 58d2105009b3edfe9246deffaec5989ba8a63da2f68d770b80393e4970bfa89a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
data/ext/prism/extension.h
CHANGED
data/include/prism/version.h
CHANGED
@@ -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
|
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.
|
27
|
+
#define PRISM_VERSION "1.5.1"
|
28
28
|
|
29
29
|
#endif
|
data/lib/prism/serialize.rb
CHANGED
data/prism.gemspec
CHANGED
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.
|
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-
|
10
|
+
date: 2025-09-13 00:00:00.000000000 Z
|
11
11
|
dependencies: []
|
12
12
|
email:
|
13
13
|
- ruby@shopify.com
|