prism 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69cdca044f91ad2a198666562fdffd6035323906da465743ebff2cbd34ccac5d
4
- data.tar.gz: 3da1460885f7cabda4b1ae6438274ab64a6e966536587d98eab2b3c764d0b6c0
3
+ metadata.gz: 1a4a6459265bca653fd8db970fcf2d3863bca8bf0b839629beff1a2a8bed68df
4
+ data.tar.gz: 3b309ffb711f9f6a5b57e3b130a66ed8c3ffc172c903642e74b00d4729d41016
5
5
  SHA512:
6
- metadata.gz: c01d8b62728fe1cbce99394d683c28b943b7962e6a1fc82d435b3190286612fc4d7e4aaab93a6bef7a75f8acdfa3b5a597acac3295e489a7dd89aada94b29b23
7
- data.tar.gz: ce88826e2a46cb18fe5e89b1a7c18c8fba2387b9c9e5625ec9aac5e5bd1449b21f23624bd0a6b526c4a9fa156c679186f8b89c09d0a003d386663f4a6a33269e
6
+ metadata.gz: 631a5028085ce1c853ab38b2e82462c869ba70860d8b8fc0532e1fdc5a53329f4aa582b0f2be58363d4c642f8d576751b14fa76e685aa90b68e854c6c51a38c3
7
+ data.tar.gz: e2f7601d879b9f4d81e8e80d8ddf4776fca36395e38e460798635810ab229054753ad172dce8577174253b3353cc99d3176a7c1bdc31e1205a2f4e000a7ae3b3
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
+ ## [0.17.1] - 2023-11-03
10
+
11
+ ### Changed
12
+
13
+ - Do not use constant nesting in RBI files.
14
+
9
15
  ## [0.17.0] - 2023-11-03
10
16
 
11
17
  ### Added
@@ -233,7 +239,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
233
239
 
234
240
  - 🎉 Initial release! 🎉
235
241
 
236
- [unreleased]: https://github.com/ruby/prism/compare/v0.17.0...HEAD
242
+ [unreleased]: https://github.com/ruby/prism/compare/v0.17.1...HEAD
243
+ [0.17.1]: https://github.com/ruby/prism/compare/v0.17.0...v0.17.1
237
244
  [0.17.0]: https://github.com/ruby/prism/compare/v0.16.0...v0.17.0
238
245
  [0.16.0]: https://github.com/ruby/prism/compare/v0.15.1...v0.16.0
239
246
  [0.15.1]: https://github.com/ruby/prism/compare/v0.15.0...v0.15.1
data/docs/releasing.md CHANGED
@@ -4,7 +4,7 @@ To release a new version of Prism, perform the following steps:
4
4
 
5
5
  ## Preparation
6
6
 
7
- * Update the CHANGELOG.md file.
7
+ * Update the `CHANGELOG.md` file.
8
8
  * Add a new section for the new version at the top of the file.
9
9
  * Fill in the relevant changes — it may be easiest to click the link for the `Unreleased` heading to find the commits.
10
10
  * Update the links at the bottom of the file.
@@ -24,4 +24,7 @@ To release a new version of Prism, perform the following steps:
24
24
 
25
25
  ## Publishing
26
26
 
27
+ * Update the GitHub release page with a copy of the latest entry in the `CHANGELOG.md` file.
27
28
  * Run `bundle exec rake release` to publish the gem to [rubygems.org](rubygems.org). Note that you must have access to the `prism` gem to do this.
29
+ * Either download the `wasm` artifact from GitHub actions or generate it yourself with `make wasm`.
30
+ * Run `npm publish` to publish the JavaScript package to [npmjs.com](npmjs.com). Note that you must have access to the `ruby-prism` package to do this.
@@ -331,6 +331,9 @@ parser_comments(pm_parser_t *parser, VALUE source) {
331
331
  case PM_COMMENT___END__:
332
332
  type = rb_cPrismDATAComment;
333
333
  break;
334
+ default:
335
+ type = rb_cPrismInlineComment;
336
+ break;
334
337
  }
335
338
 
336
339
  VALUE comment_argv[] = { rb_class_new_instance(3, location_argv, rb_cPrismLocation) };
@@ -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 "0.17.0"
4
+ #define EXPECTED_PRISM_VERSION "0.17.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 "0.17.0"
27
+ #define PRISM_VERSION "0.17.1"
28
28
 
29
29
  #endif
@@ -31,7 +31,7 @@ module Prism
31
31
 
32
32
  # The patch version of prism that we are expecting to find in the serialized
33
33
  # strings.
34
- PATCH_VERSION = 0
34
+ PATCH_VERSION = 1
35
35
 
36
36
  # Deserialize the AST represented by the given string into a parse result.
37
37
  def self.load(input, serialized)
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 = "0.17.0"
5
+ spec.version = "0.17.1"
6
6
  spec.authors = ["Shopify"]
7
7
  spec.email = ["ruby@shopify.com"]
8
8