summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-04-14 18:04:26 +0200
committerDavid Seifert <soap@gentoo.org>2018-04-15 14:42:51 +0200
commitdcb7d08dc83d86babbf3a60c2962cc7c80b5c3f9 (patch)
tree104a4bac0bea5f58a289eacfac8193a98ee15b89 /dev-ruby/gherkin
parentlxde-base/lxdm: remove unused file (diff)
downloadgentoo-dcb7d08dc83d86babbf3a60c2962cc7c80b5c3f9.tar.gz
gentoo-dcb7d08dc83d86babbf3a60c2962cc7c80b5c3f9.tar.bz2
gentoo-dcb7d08dc83d86babbf3a60c2962cc7c80b5c3f9.zip
dev-ruby/gherkin: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/7994
Diffstat (limited to 'dev-ruby/gherkin')
-rw-r--r--dev-ruby/gherkin/files/gherkin-2.12.0-ruby21.patch42
1 files changed, 0 insertions, 42 deletions
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