summaryrefslogtreecommitdiff
path: root/dev-ruby/journey
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/journey
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/journey')
-rw-r--r--dev-ruby/journey/Manifest6
-rw-r--r--dev-ruby/journey/files/journey-1.0.4-fix-tests.patch66
-rw-r--r--dev-ruby/journey/journey-1.0.4-r1.ebuild25
-rw-r--r--dev-ruby/journey/metadata.xml11
4 files changed, 108 insertions, 0 deletions
diff --git a/dev-ruby/journey/Manifest b/dev-ruby/journey/Manifest
new file mode 100644
index 000000000000..4e13163de25e
--- /dev/null
+++ b/dev-ruby/journey/Manifest
@@ -0,0 +1,6 @@
+AUX journey-1.0.4-fix-tests.patch 2149 SHA256 3d6a107d54bb0a17640e81769c163f928cf17fb181460c8df4e96e20215ea4a5 SHA512 d4b34ed92f131e6e17f4af6d9be5ec743b6950f86ee724d32be67fe88b378cd8998c6551e78d6dc7b72b2911afbb14ec8ddad3be414694b86c696a39513a2857 WHIRLPOOL 3688902264d25b3e49ee0ce0e356497e2569c6f795956e91ca272b9761c7732cb0d11c221b45277830835b663b906ec9ea5a70560bb444882897b54dbf13ca9e
+DIST journey-1.0.4.gem 28672 SHA256 7454b8612530784000fbb17ea2df749a71b70702a0ac8ebef4a1e7f05aecc10f SHA512 9e6a06da8b77f6efb9941c58f53254e8cf3a1ebb6f8261a66ef3fed9c21ff4e4a90567fee88507b8e2c1fecc0fbdf204a9d3c8473b671bbb4b8c6b9faa6f2a07 WHIRLPOOL 1fb1ff42d1cd401ad10dc22e8d705933d8ff5fc84f952e3fbf0e2ea77b0ecc4ac08280ee5e2bd23b3cbeb4729e23b2c5ca41f3ce49deb898033073dc7be418b1
+EBUILD journey-1.0.4-r1.ebuild 643 SHA256 00e00d0896a98c830dfb425a0c4d5f2ec40dd3e25488f5e853096772242ed1dc SHA512 910cdbf152443057a20db736e80e9866f85f859d6eefe43e4fae2ee04fc85d4cf1cc3a14e8f963a93869151a4973f5e6b5492679411b5b5fcfbc12447ff782bc WHIRLPOOL 65071d5626f25e28e03cae2fe5759854ada0f0b1efe17be95d7971e45640cb6b6fc5d10c1eba89dc041f5579c032a75aee597298e127b241bb70be1c5999fd50
+MISC ChangeLog 2732 SHA256 99e84a6af3bca9428eb1e0990a04be389b3d680a93db70256c023c372ce8b580 SHA512 f073f1c4c52e5e7ec28f1a367b5f3271d950d607436573766d372f5ad557fe6a4deb36ac50f20474006e83a3a074e359b61c02d7de9b4c33508b5cb51d3e042c WHIRLPOOL 2c057c4322299ef0c1645d3d98a61209464f731ebff24d4edd35534251281941cc0aceada8e76107a4133a17e74abb3667c067c23c3d202cd561f271b5951547
+MISC ChangeLog-2015 1908 SHA256 ddd373c7097d35a3994ef6dab582dc95b41b26a3f933634d1fc0ced8e83e2a34 SHA512 601855e7ab1247e16e5f26d95a929d938309701a776dd77f641c48f84b426780f225c2a382c1ff98f46877d871c04eb145cc73bbc28c5dfa7e2a8c1d5b973ff5 WHIRLPOOL a2aa918fddb2734b3f160661b7764d1d315aff85155c1c9690f23ef6efd3fa65ba2ccd3c958d69e4382ea4d424e014ff019dfe2c5e297377771ea1a84edb201c
+MISC metadata.xml 339 SHA256 525278aeb48d51402d5bc7d59e339bd48a3c0c9573acf62e8105d76685331e3b SHA512 482ceff436735ee12e21e9519a174803b5c035dfc31df0e25eacecd6186682ec9209f5bea95d3ec8263dace8cd64145daee26986dc10820bf99db2793f942f7a WHIRLPOOL 644a05127f336792586f350e056de9ad77933ecfd8796095c20cfc69b030123142fda916234409d42980de1a58bbaa1b23ab63f7e8030ca8d597095733a1acb9
diff --git a/dev-ruby/journey/files/journey-1.0.4-fix-tests.patch b/dev-ruby/journey/files/journey-1.0.4-fix-tests.patch
new file mode 100644
index 000000000000..f977172e6464
--- /dev/null
+++ b/dev-ruby/journey/files/journey-1.0.4-fix-tests.patch
@@ -0,0 +1,66 @@
+From d836e960d9a20c4c5bc986630d2ba34a340959ea Mon Sep 17 00:00:00 2001
+From: Aaron Patterson <aaron.patterson@gmail.com>
+Date: Fri, 27 Jul 2012 11:20:58 -0700
+Subject: [PATCH] fix assertion calls
+
+---
+ test/path/test_pattern.rb | 22 +++++++++++-----------
+ 1 file changed, 11 insertions(+), 11 deletions(-)
+
+diff --git a/test/path/test_pattern.rb b/test/path/test_pattern.rb
+index c684a0a..ec93471 100644
+--- a/test/path/test_pattern.rb
++++ b/test/path/test_pattern.rb
+@@ -85,9 +85,9 @@ def test_to_regexp_with_extended_group
+ ["/", ".", "?"]
+ )
+ path = Pattern.new strexp
+- assert_match('/page/tender', path)
+- assert_match('/page/love', path)
+- refute_match('/page/loving', path)
++ assert_match(path, '/page/tender')
++ assert_match(path, '/page/love')
++ refute_match(path, '/page/loving')
+ end
+
+ def test_optional_names
+@@ -108,8 +108,8 @@ def test_to_regexp_match_non_optional
+ ["/", ".", "?"]
+ )
+ path = Pattern.new strexp
+- assert_match('/123', path)
+- refute_match('/', path)
++ assert_match(path, '/123')
++ refute_match(path, '/')
+ end
+
+ def test_to_regexp_with_group
+@@ -119,9 +119,9 @@ def test_to_regexp_with_group
+ ["/", ".", "?"]
+ )
+ path = Pattern.new strexp
+- assert_match('/page/tender', path)
+- assert_match('/page/love', path)
+- refute_match('/page/loving', path)
++ assert_match(path, '/page/tender')
++ assert_match(path, '/page/love')
++ refute_match(path, '/page/loving')
+ end
+
+ def test_ast_sets_regular_expressions
+@@ -186,9 +186,9 @@ def test_insensitive_regexp_with_group
+ ["/", ".", "?"]
+ )
+ path = Pattern.new strexp
+- assert_match('/page/TENDER/aaron', path)
+- assert_match('/page/loVE/aaron', path)
+- refute_match('/page/loVE/AAron', path)
++ assert_match(path, '/page/TENDER/aaron')
++ assert_match(path, '/page/loVE/aaron')
++ refute_match(path, '/page/loVE/AAron')
+ end
+
+ def test_to_regexp_with_strexp
+--
+1.9.1
+
diff --git a/dev-ruby/journey/journey-1.0.4-r1.ebuild b/dev-ruby/journey/journey-1.0.4-r1.ebuild
new file mode 100644
index 000000000000..b83661d7fbcb
--- /dev/null
+++ b/dev-ruby/journey/journey-1.0.4-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Journey is a router. It routes requests"
+HOMEPAGE="https://github.com/rails/journey"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/hoe
+ dev-ruby/json
+ dev-ruby/minitest )"
+
+RUBY_PATCHES=( "${FILESDIR}"/${P}-fix-tests.patch )
diff --git a/dev-ruby/journey/metadata.xml b/dev-ruby/journey/metadata.xml
new file mode 100644
index 000000000000..16111db641b1
--- /dev/null
+++ b/dev-ruby/journey/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">rails/journey</remote-id>
+ </upstream>
+</pkgmetadata>