summaryrefslogtreecommitdiff
path: root/dev-ruby/gherkin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:18:26 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:18:26 +0100
commit6c30cc2d5bd48ddbdbe8d75544899cd5dbfcaba4 (patch)
tree6ef7f6e1d48141a5da904d788b906da5bba4b697 /dev-ruby/gherkin
parent62f82c107c3904ac6917ece47301d2999c7dd90e (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/gherkin')
-rw-r--r--dev-ruby/gherkin/Manifest1
-rw-r--r--dev-ruby/gherkin/files/gherkin-2.12.2-ruby21.patch44
2 files changed, 0 insertions, 45 deletions
diff --git a/dev-ruby/gherkin/Manifest b/dev-ruby/gherkin/Manifest
index 4550d87c7d52..46ce9ecda970 100644
--- a/dev-ruby/gherkin/Manifest
+++ b/dev-ruby/gherkin/Manifest
@@ -1,4 +1,3 @@
-AUX gherkin-2.12.2-ruby21.patch 1485 BLAKE2B 99bd60c95f0cb38f5ece36329d10254b5961bed856131d0f615b4dc044f973346dcab68d53fb9df6f1cf5f0b12bcca8b43eaf45bdbc4acc1b6aae7c2dcfd9712 SHA512 5d5efcd50727072918c481a972546fc11b04685eb0ce4194ece9316bf100a004d24960d03531da7ee3ccbd7d7e56ea74e93a02400b1302c855bdcfc47b541d0c
DIST gherkin-4.1.3.gem 350208 BLAKE2B 3b0f54124c9f29c9216aaa9810526f1e11f6243b02143443d0ac18209320c14fda67f1c36d3056dbe5adbc18c36f72270054c17a011921eb87f8d21bc3e8c3c9 SHA512 7c113172ddf38ccf7e49eaac19355f3cb991f69d7499dba9189f375b75d3614f349fc6374e584a92c1223b0708cc8944859b4b38e28d79779a5091fa0c775e6e
DIST gherkin-5.0.0.gem 340992 BLAKE2B a8292fde04c98c409423733791e78b9d6e40a7a60b59a1acd0a0e9c6df0be9185e90f1c5af6ce0ac39f352457c18094c495557fb05323eb7ea5ae8ce27008950 SHA512 cc782e37f5aea4ad0776f5336e6218b77e7fd8d193786acffaa44685de3a2592e4e6f37a3787add807654901afd12bc2d094a782b154bb2be9e2cd16e283df2a
DIST gherkin-5.1.0.gem 29696 BLAKE2B 2439b82a147a546e8df71e11996f9560a8720580e07795542fc81781449b483a42e54251f3d0dd3482331773b1cada1d61b468bfcec2a9464ee2542eef2ed13e SHA512 d935ccceaec493736f337a4c3db69909858d15f4c41e93ecfc6ca31a30fc48eec1cecbe71d455265e1062006f49f05461c9860c9b3cc4806bb25f42dec6f504e
diff --git a/dev-ruby/gherkin/files/gherkin-2.12.2-ruby21.patch b/dev-ruby/gherkin/files/gherkin-2.12.2-ruby21.patch
deleted file mode 100644
index f767b1f1a2e4..000000000000
--- a/dev-ruby/gherkin/files/gherkin-2.12.2-ruby21.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-commit 021309d273960bb5625f8072b8366eab7d077d25
-Author: Cédric Boutillier <boutil@debian.org>
-Date: Fri Apr 25 13:34:41 2014 +0200
-
- change regexp matchin Ruby versions to support Ruby2.1
-
-diff --git a/lib/gherkin/formatter/pretty_formatter.rb b/lib/gherkin/formatter/pretty_formatter.rb
-index 28c8b54..ff13c70 100644
---- a/lib/gherkin/formatter/pretty_formatter.rb
-+++ b/lib/gherkin/formatter/pretty_formatter.rb
-@@ -199,7 +199,7 @@ module Gherkin
- end
- end
-
-- if(RUBY_VERSION =~ /^1\.9|2\.0/)
-+ if(RUBY_VERSION =~ /^(1\.9|2\.)/)
- START = /#{'^'.encode('UTF-8')}/
- TRIPLE_QUOTES = /#{'"""'.encode('UTF-8')}/
- else
-diff --git a/ragel/lexer.rb.rl.erb b/ragel/lexer.rb.rl.erb
-index 7fd85b4..4be053e 100644
---- a/ragel/lexer.rb.rl.erb
-+++ b/ragel/lexer.rb.rl.erb
-@@ -165,7 +165,7 @@ module Gherkin
- utf8_pack(rest[0..rest.index(10)||-1]).strip # 10 is \n
- end
-
-- if (RUBY_VERSION =~ /^1\.9|2\.0/)
-+ if (RUBY_VERSION =~ /^(1\.9|2\.)/)
- def utf8_pack(array)
- array.pack("c*").force_encoding("UTF-8")
- end
-diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
-index 72333a7..0f6e3ae 100644
---- a/spec/spec_helper.rb
-+++ b/spec/spec_helper.rb
-@@ -6,6 +6,6 @@ def silence_warnings(&block)
--if RUBY_VERSION =~ /1\.9|2\.0/
-+if RUBY_VERSION =~ /^(1\.9|2\.)/
- silence_warnings do
- Encoding.default_external = Encoding::UTF_8
- Encoding.default_internal = Encoding::UTF_8
- end
- end