Skip to content

Commit da2efcb

Browse files
kddnewtonmatzbot
authored andcommitted
[ruby/prism] Bump to v2.0.0.rc1
ruby/prism@e06e08af29
1 parent c498dc6 commit da2efcb

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎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 "1.9.0"
4+
#define EXPECTED_PRISM_VERSION "2.0.0.rc1"
55

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

‎prism/templates/lib/prism/serialize.rb.erb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ module Ruby::Prism
99
module Serialize # :nodoc:
1010
# The major version of prism that we are expecting to find in the serialized
1111
# strings.
12-
MAJOR_VERSION = 1
12+
MAJOR_VERSION = 2
1313

1414
# The minor version of prism that we are expecting to find in the serialized
1515
# strings.
16-
MINOR_VERSION = 9
16+
MINOR_VERSION = 0
1717

1818
# The patch version of prism that we are expecting to find in the serialized
1919
# strings.

‎prism/version.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
/**
1212
* The major version of the Prism library as an int.
1313
*/
14-
#define PRISM_VERSION_MAJOR 1
14+
#define PRISM_VERSION_MAJOR 2
1515

1616
/**
1717
* The minor version of the Prism library as an int.
1818
*/
19-
#define PRISM_VERSION_MINOR 9
19+
#define PRISM_VERSION_MINOR 0
2020

2121
/**
2222
* The patch version of the Prism library as an int.
@@ -26,7 +26,7 @@
2626
/**
2727
* The version of the Prism library as a constant string.
2828
*/
29-
#define PRISM_VERSION "1.9.0"
29+
#define PRISM_VERSION "2.0.0.rc1"
3030

3131
/**
3232
* The prism version and the serialization format.

‎test/prism/ractor_test.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
module Ruby::Prism
88
class RactorTest < TestCase
99
def test_version
10-
assert_match(/\A\d+\.\d+\.\d+\z/, with_ractor { Ruby::Prism::VERSION })
10+
assert_match(/\A\d+\.\d+\.\d+(\.rc\d+)?\z/, with_ractor { Ruby::Prism::VERSION })
1111
end
1212

1313
def test_parse_file

0 commit comments

Comments
 (0)