Skip to content

Commit d906a8c

Browse files
committed
Bump to version 0.15.1
1 parent d2e7c20 commit d906a8c

File tree

9 files changed

+17
-10
lines changed

9 files changed

+17
-10
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
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+
## [0.15.1] - 2023-10-18
10+
11+
### Changed
12+
13+
- Fix compilation warning on assigning to bitfield.
14+
915
## [0.15.0] - 2023-10-18
1016

1117
### Added
@@ -195,7 +201,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
195201

196202
- 🎉 Initial release! 🎉
197203

198-
[unreleased]: https://github.com/ruby/prism/compare/v0.15.0...HEAD
204+
[unreleased]: https://github.com/ruby/prism/compare/v0.15.1...HEAD
205+
[0.15.1]: https://github.com/ruby/prism/compare/v0.15.0...v0.15.1
199206
[0.15.0]: https://github.com/ruby/prism/compare/v0.14.0...v0.15.0
200207
[0.14.0]: https://github.com/ruby/prism/compare/v0.13.0...v0.14.0
201208
[0.13.0]: https://github.com/ruby/prism/compare/v0.12.0...v0.13.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-
prism (0.15.0)
4+
prism (0.15.1)
55

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

ext/prism/extension.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef PRISM_EXT_NODE_H
22
#define PRISM_EXT_NODE_H
33

4-
#define EXPECTED_PRISM_VERSION "0.15.0"
4+
#define EXPECTED_PRISM_VERSION "0.15.1"
55

66
#include <ruby.h>
77
#include <ruby/encoding.h>

include/prism/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#define PRISM_VERSION_MAJOR 0
22
#define PRISM_VERSION_MINOR 15
3-
#define PRISM_VERSION_PATCH 0
4-
#define PRISM_VERSION "0.15.0"
3+
#define PRISM_VERSION_PATCH 1
4+
#define PRISM_VERSION "0.15.1"

prism.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |spec|
44
spec.name = "prism"
5-
spec.version = "0.15.0"
5+
spec.version = "0.15.1"
66
spec.authors = ["Shopify"]
77
spec.email = ["ruby@shopify.com"]
88

rust/prism-sys/tests/utils_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fn version_test() {
1212
CStr::from_ptr(version)
1313
};
1414

15-
assert_eq!(&cstring.to_string_lossy(), "0.15.0");
15+
assert_eq!(&cstring.to_string_lossy(), "0.15.1");
1616
}
1717

1818
#[test]

src/util/pm_constant_pool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ pm_constant_pool_insert(pm_constant_pool_t *pool, const uint8_t *start, size_t l
197197
// constant and replace it with the shared constant.
198198
free((void *) constant->start);
199199
constant->start = start;
200-
bucket->type = PM_CONSTANT_POOL_BUCKET_DEFAULT;
200+
bucket->type = (unsigned int) (PM_CONSTANT_POOL_BUCKET_DEFAULT & 0x3);
201201
}
202202

203203
return bucket->id;

templates/java/org/prism/Loader.java.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public class Loader {
9797

9898
expect((byte) 0, "prism version does not match");
9999
expect((byte) 15, "prism version does not match");
100-
expect((byte) 0, "prism version does not match");
100+
expect((byte) 1, "prism version does not match");
101101

102102
expect((byte) 1, "Loader.java requires no location fields in the serialized output");
103103

templates/lib/prism/serialize.rb.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module Prism
1515
module Serialize
1616
MAJOR_VERSION = 0
1717
MINOR_VERSION = 15
18-
PATCH_VERSION = 0
18+
PATCH_VERSION = 1
1919

2020
def self.load(input, serialized)
2121
input = input.dup

0 commit comments

Comments
 (0)