Skip to content

Commit 7db7327

Browse files
committed
Merge pull request #414 in G/truffleruby from update-joni to master
* commit '608d890c9df9cf72c2c0cd6f7d7fa1cad041558e': Update Joni from 2.1.24 to 2.1.25 Add a failing spec for the failure in Joni 2.1.24 Update Joni from 2.1.16 to 2.1.24
2 parents 32d9ff9 + 608d890 commit 7db7327

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Changes:
1414
* The supported version of Fedora is now 28, upgraded from 25.
1515
* The FFI gem has been updated from 1.9.18 to 1.9.25.
1616
* JCodings has been updated from 1.0.30 to 1.0.40.
17+
* Joni has been updated from 2.1.16 to 2.1.25.
1718

1819
Performance
1920

mx.truffleruby/suite.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@
6363
"maven": {
6464
"groupId": "org.jruby.joni",
6565
"artifactId": "joni",
66-
"version": "2.1.16"
66+
"version": "2.1.25"
6767
},
68-
"sha1": "b5c07f6aa52f93fe592dd9545b6b528e1a52c54d",
69-
"sourceSha1": "ab3c291fa9aa4caee512b6624b4d2302d91a7230",
68+
"sha1": "5dbb09787a9b8780737b71fbf942235ef59051b9",
69+
"sourceSha1": "505a09064f6e2209616f38724f6d97d8d889aa92",
7070
"license": [
7171
"MIT", # Joni
7272
],

spec/ruby/language/regexp/back-references_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,8 @@
4646
it "resets nested \<n> backreference before match of outer subexpression" do
4747
/(a\1?){2}/.match("aaaa").to_a.should == ["aa", "a"]
4848
end
49+
50+
it "can match an optional quote, followed by content, followed by a matching quote, as the whole string" do
51+
/^("|)(.*)\1$/.match('x').to_a.should == ["x", "", "x"]
52+
end
4953
end

0 commit comments

Comments
 (0)