summaryrefslogtreecommitdiff
path: root/dev-ruby/gherkin
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/gherkin')
-rw-r--r--dev-ruby/gherkin/Manifest1
-rw-r--r--dev-ruby/gherkin/files/gherkin-2.12.0-ruby21.patch42
2 files changed, 0 insertions, 43 deletions
diff --git a/dev-ruby/gherkin/Manifest b/dev-ruby/gherkin/Manifest
index ccafc72f20c0..c0a40e287a36 100644
--- a/dev-ruby/gherkin/Manifest
+++ b/dev-ruby/gherkin/Manifest
@@ -1,4 +1,3 @@
-AUX gherkin-2.12.0-ruby21.patch 1451 BLAKE2B 4abe74fc78783ca56a6fc47a24b39fc96056964ea1956f693ab0856a0586ecccb6a189b503c45a31a4ceb805e5c27be0e88ba5f84d50409e255a6961c48835e3 SHA512 57d333b3be301c4e6ad3d14f24ec80bbeea373c5d7199adfa1554c6c221335ae1783e28af325f5757f31884140c278443e045befa15f65a91774e967ca8c3a23
AUX gherkin-2.12.2-ruby21.patch 1485 BLAKE2B 99bd60c95f0cb38f5ece36329d10254b5961bed856131d0f615b4dc044f973346dcab68d53fb9df6f1cf5f0b12bcca8b43eaf45bdbc4acc1b6aae7c2dcfd9712 SHA512 5d5efcd50727072918c481a972546fc11b04685eb0ce4194ece9316bf100a004d24960d03531da7ee3ccbd7d7e56ea74e93a02400b1302c855bdcfc47b541d0c
DIST gherkin-2.12.2-git.tgz 1764938 BLAKE2B b5cc7f063c8567df2dfe92fe805d5310feeba967865221ce69c8c24986ab786851885f4724b17a028daea298eea340b3bcd0c7296f05b02816c837ffdf8a41b5 SHA512 1030bcaf31791c7031f22b8e4c5d94ddbddf012b8686d06a7598fde99a28f8a1fda45dc66dbdefdb825a045730b077a10ca1134835630710551e20364886ce51
DIST gherkin-4.1.3.gem 350208 BLAKE2B 3b0f54124c9f29c9216aaa9810526f1e11f6243b02143443d0ac18209320c14fda67f1c36d3056dbe5adbc18c36f72270054c17a011921eb87f8d21bc3e8c3c9 SHA512 7c113172ddf38ccf7e49eaac19355f3cb991f69d7499dba9189f375b75d3614f349fc6374e584a92c1223b0708cc8944859b4b38e28d79779a5091fa0c775e6e
diff --git a/dev-ruby/gherkin/files/gherkin-2.12.0-ruby21.patch b/dev-ruby/gherkin/files/gherkin-2.12.0-ruby21.patch
deleted file mode 100644
index 8931c5dce8e5..000000000000
--- a/dev-ruby/gherkin/files/gherkin-2.12.0-ruby21.patch
+++ /dev/null
@@ -1,42 +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,4 +6,4 @@ def silence_warnings(&block)
--if RUBY_VERSION =~ /1\.9|2\.0/
-+if RUBY_VERSION =~ /^(1\.9|2\.)/
- Encoding.default_external = Encoding::UTF_8
- Encoding.default_internal = Encoding::UTF_8
- end