1 |
commit: 1134fa2e85aef4372967250330e5b8583ec890ae |
2 |
Author: Hans de Graaff <hans <AT> degraaff <DOT> org> |
3 |
AuthorDate: Thu Sep 1 19:03:05 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 19:03:05 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=1134fa2e |
7 |
|
8 |
dev-ruby/authlogic: add 3.5.0 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-ruby/authlogic/Manifest | 1 + |
13 |
dev-ruby/authlogic/authlogic-3.5.0.ebuild | 44 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/authlogic/Manifest b/dev-ruby/authlogic/Manifest |
17 |
index a7caffd..b59fe0b 100644 |
18 |
--- a/dev-ruby/authlogic/Manifest |
19 |
+++ b/dev-ruby/authlogic/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST authlogic-3.4.3.gem 67584 SHA256 bc18670f15bc772f7c583073a19c4b1e32e439a84d819152d1f6511f2044d523 SHA512 5e9d30a84e7b316795c0f1c549d2c94ee883d87b3cc5a622882fb0e3da22f023fd8dc8f7643268ced7ac31873df800355cf01eb4c8e480235c5162aeda5f2e7c WHIRLPOOL ae8f640197cba327637790141b47d65a4b0c46eb48d7482351e52bf5753e75852bb029c62bd74ffb5f1fcf0cade548290f3e882be03c6a4e7cc5ffcc55218648 |
22 |
DIST authlogic-3.4.4.gem 69120 SHA256 a7e17751b8f9cea6d85ddd8118f291ce6b46f825b6b375a5f8748dd765067525 SHA512 a1b0325bfc4b2a03cb1e543ae67e9fc0b3915d3a01423010ba308e4534b9fbbe6d8f6c841af6e174f905b981fd301863f4465a120d85402d4e649c2f66f76bf5 WHIRLPOOL 500648a879bdf73cd450b55b0ccf5582d452ba9de54a5fa599ad667dc7b113a4d2cc1a9d0fd7b683d286c7822661ae0d45a2bddaf16db6a7e9bd41bb0cc7de00 |
23 |
DIST authlogic-3.4.6.gem 71168 SHA256 59fd0a991a09c22576f3015265c564337ab341038899f35036cc83ebd85c2e2a SHA512 5f9413bef52dbfc03edeea56fa90a707d5db9be41ea70706814e989f2a0ded1761a02794d6b2808246d80db2dc84b29ec21b78a1b83e11f0d307ac5e788077b6 WHIRLPOOL 50bbb87fdaf7e8726c4345d8b1fd35e22ccd4ae81c32ce8408531cc6d01d554cc383ad63fddd6cf4f4ec658f3d19bfd79730e35941a30e8d33f5dc083e3106e1 |
24 |
+DIST authlogic-3.5.0.gem 75776 SHA256 d19c6484832d24a1e0efe0c0c65f254d84ab32707e855e3e15a2e5d25b68a262 SHA512 922043bb3209ccf82ad50071ead33f54b98e1f061bba3c904d96acf1832da19666e452331ff9c57c2007c9c07849d8859c0bd7e94d925bdd2b4d177e2a5f787c WHIRLPOOL 7f6044f0e5f33540c7e152830e8e779131e89cf2187c4f23e3c757f5431717fcd95dbe417620c4dba48beff948cc71001aa57b69c981497ce15f582903dabfe7 |
25 |
|
26 |
diff --git a/dev-ruby/authlogic/authlogic-3.5.0.ebuild b/dev-ruby/authlogic/authlogic-3.5.0.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..9f2debe |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/authlogic/authlogic-3.5.0.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+USE_RUBY="ruby20 ruby21 ruby22 ruby23" |
39 |
+ |
40 |
+RUBY_FAKEGEM_TASK_DOC="" |
41 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
42 |
+ |
43 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
44 |
+ |
45 |
+inherit ruby-fakegem |
46 |
+ |
47 |
+DESCRIPTION="A clean, simple, and unobtrusive ruby authentication solution." |
48 |
+HOMEPAGE="https://github.com/binarylogic/authlogic" |
49 |
+LICENSE="Ruby" |
50 |
+ |
51 |
+KEYWORDS="~amd64" |
52 |
+SLOT="3" |
53 |
+IUSE="" |
54 |
+ |
55 |
+ruby_add_rdepend " |
56 |
+ >=dev-ruby/activerecord-3.2:* <dev-ruby/activerecord-5.1:* |
57 |
+ >=dev-ruby/activesupport-3.2:* <dev-ruby/activesupport-5.1:* |
58 |
+ >=dev-ruby/request_store-1.0.5:* |
59 |
+ >=dev-ruby/bcrypt-ruby-3.1.5" |
60 |
+ruby_add_bdepend "test? ( >=dev-ruby/bcrypt-ruby-3.1.5 dev-ruby/sqlite3 )" |
61 |
+ |
62 |
+all_ruby_prepare() { |
63 |
+ sed -i -e '/\(bundler\|rubocop\)/I s:^:#:' Rakefile || die |
64 |
+ |
65 |
+ sed -i -e '/:crypto_provider/ s/SCrypt/BCrypt/' lib/authlogic/acts_as_authentic/password.rb || die |
66 |
+ sed -i -e 's/SCrypt/BCrypt/' test/fixtures/users.yml || die |
67 |
+ |
68 |
+ sed -i -e '/scrypt/d' \ |
69 |
+ -e '/bcrypt/ s/development_//' ${RUBY_FAKEGEM_GEMSPEC} || die |
70 |
+ |
71 |
+ # Avoid tests for now that fail due to our BCrypt hack |
72 |
+ rm -f test/session_test/{http_auth,persistence,password,magic_columns}_test.rb || die |
73 |
+ rm -f test/acts_as_authentic_test/{password,persistence_token}_test.rb || die |
74 |
+ rm -f test/crypto_provider_test/scrypt_test.rb || die |
75 |
+} |