[前][次][番号順一覧][スレッド一覧]

ruby-changes:66081

From: Hiroshi <ko1@a...>
Date: Thu, 6 May 2021 16:20:14 +0900 (JST)
Subject: [ruby-changes:66081] 822eb94563 (master): Import from https://github.com/ruby/strscan/pull/19

https://git.ruby-lang.org/ruby.git/commit/?id=822eb94563

From 822eb945635974ba904393cd130071d34e4bdc12 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Wed, 14 Apr 2021 12:15:25 +0900
Subject: Import from https://github.com/ruby/strscan/pull/19

* Use Gemfile instead of Gem::Specification#add_development_dependency.

* Use pend instead of skip for test-unit.
---
 ext/strscan/strscan.gemspec | 4 ----
 test/strscan/test_ractor.rb | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/ext/strscan/strscan.gemspec b/ext/strscan/strscan.gemspec
index fa9b895..5d8119e 100644
--- a/ext/strscan/strscan.gemspec
+++ b/ext/strscan/strscan.gemspec
@@ -25,8 +25,4 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/ext/strscan/strscan.gemspec#L25
   s.email = [nil, "kou@c..."]
   s.homepage = "https://github.com/ruby/strscan"
   s.licenses = ["Ruby", "BSD-2-Clause"]
-
-  s.add_development_dependency "rake-compiler"
-  s.add_development_dependency "benchmark-driver"
-  s.add_development_dependency "test-unit"
 end
diff --git a/test/strscan/test_ractor.rb b/test/strscan/test_ractor.rb
index 0d44242..480c1ae 100644
--- a/test/strscan/test_ractor.rb
+++ b/test/strscan/test_ractor.rb
@@ -3,7 +3,7 @@ require 'test/unit' https://github.com/ruby/ruby/blob/trunk/test/strscan/test_ractor.rb#L3
 
 class TestStringScannerRactor < Test::Unit::TestCase
   def setup
-    skip unless defined? Ractor
+    pend unless defined? Ractor
   end
 
   def test_ractor
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]