summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-06-26 06:09:00 +0000
committerHans de Graaff <graaff@gentoo.org>2014-06-26 06:09:00 +0000
commit087e778c2afd4f3b63803a40ac8854206a4e40ca (patch)
tree8bf623ad52b569af3fe1fc3e286f0c7fe49cf3d1 /dev-ruby/coffee-rails
parentVersion bump. (diff)
downloadhistorical-087e778c2afd4f3b63803a40ac8854206a4e40ca.tar.gz
historical-087e778c2afd4f3b63803a40ac8854206a4e40ca.tar.bz2
historical-087e778c2afd4f3b63803a40ac8854206a4e40ca.zip
Add ruby20. Fix tests when newer rails versions are installed.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/coffee-rails')
-rw-r--r--dev-ruby/coffee-rails/ChangeLog5
-rw-r--r--dev-ruby/coffee-rails/Manifest10
-rw-r--r--dev-ruby/coffee-rails/coffee-rails-3.2.2.ebuild11
3 files changed, 18 insertions, 8 deletions
diff --git a/dev-ruby/coffee-rails/ChangeLog b/dev-ruby/coffee-rails/ChangeLog
index 8aedc0a607fb..4781a7396401 100644
--- a/dev-ruby/coffee-rails/ChangeLog
+++ b/dev-ruby/coffee-rails/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/coffee-rails
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coffee-rails/ChangeLog,v 1.12 2014/04/21 06:21:06 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coffee-rails/ChangeLog,v 1.13 2014/06/26 06:08:59 graaff Exp $
+
+ 26 Jun 2014; Hans de Graaff <graaff@gentoo.org> coffee-rails-3.2.2.ebuild:
+ Add ruby20. Fix tests when newer rails versions are installed.
21 Apr 2014; Hans de Graaff <graaff@gentoo.org> coffee-rails-4.0.1.ebuild:
Add ruby20, ruby21.
diff --git a/dev-ruby/coffee-rails/Manifest b/dev-ruby/coffee-rails/Manifest
index 90e33fa19307..129e28619761 100644
--- a/dev-ruby/coffee-rails/Manifest
+++ b/dev-ruby/coffee-rails/Manifest
@@ -4,15 +4,15 @@ Hash: SHA256
DIST coffee-rails-3.2.2.gem 7168 SHA256 75f06d71060999044fbc6ac199b91f1fc0bd075d8dd8acde04e02431396b463a SHA512 b4c6a6d0658f50fcd7632260bbddb25e619a9dfb45c0bab8fd60cbfaf32480875fc4b90bd0e77eef5cf25b84b1de08b1bf335454b2c828340ea20a0986373244 WHIRLPOOL 629fde6c30f1288146284dff0b53e2cc6f5469a8c51a625628435b88bf7e9087352da1a7bf5711b4496c92084272aebfa254ddd41b009157646f062738cc3d95
DIST coffee-rails-4.0.0.gem 8704 SHA256 0bdc9af067458446ccb64c4840d85dbf3e058b0775560f477c34d09528cbbd4f SHA512 8e6b0d69f31936860be2343fc326e7a4c03cbb32b09e3817185ebd1f34e7b67478b86d2f8febac57e9480709c5cc551112afd9b26c87bd81a051fd3b1a011ec1 WHIRLPOOL ac0e1e136118bd4c76bdac76e0fd9d20df0a2e076a6af61a024031f7e41c6bfc9fc7a5f734000e4ea3381fa9a97f942d0b12ab6cf96d3637f59e02f9cff500fb
DIST coffee-rails-4.0.1.gem 9216 SHA256 2f6e36f2c7a2b5ea4ba2aae5d8f70b443e47f010e1f645aec28368d783e1d88a SHA512 33a4efc0350977ede05e869ceed0cc5c9902d2f75ade6c84fada2d1265323af4798ffe0f0994d0d7b4a7bbb7e48c7360e04c729bc117c7d4448c986f238fdbae WHIRLPOOL c1a5b1890648df1229d474cc9e33dbfcc339971ea6ca3b3cf584fd055b4ce1bb2a6cf33119499aab1715f6b5b2ddd7855467da2b31e718edab480644f045f7bb
-EBUILD coffee-rails-3.2.2.ebuild 752 SHA256 324d1555a386d59c0a15b0d4ebb93ceffb453465f440e0df626249d299b358dc SHA512 036680584acbc31f275728e799316c0e6963560e68a721ca6dce8788b7a9446d9d6d2481252474ae3863acb8f10dd0d72daf033f98f00f59838197a03a2f07e7 WHIRLPOOL b51d260a20950193da98d19575c6e06661b6b24a7e5dbd8560f4f8410632d9c033a3975114f0b8208e3fb866cb3383184eb8d14648142a74d59cbb038c3509d5
+EBUILD coffee-rails-3.2.2.ebuild 966 SHA256 8d661f2c71b1eaf44cdc61a6f1693342a5e913b44dbed30d1768fd3ae34356cc SHA512 57ed778b6465acae35d57c62ecaf985aa052bfd15c54b3af28fd272ca498810bfa1b3c343d15f67891ad0c7cb819d4b9c817b3b92391f630ff0e970b3338b857 WHIRLPOOL a13834ef66daff7a47235b46e53357a9c730a2df8c78dbe58144bef1e28824578e2ae74117d2ccca4080e7affd214733ceaf0d4fcfdcfd47b79ab3e9ecb6c662
EBUILD coffee-rails-4.0.0.ebuild 845 SHA256 1811432536bcc279d638000c191865bfee82287b193d8229da588b23fc4a0d0b SHA512 16d0b5f02b73b6093d168c370d83516ffc251aa6123991ebb3966ba5db58db282d6fd45a007aae9bfe7b4f152cc88ec2b73d72d991d4968fcb990b100f28cb1f WHIRLPOOL 6ac492ab6fb96dec2bd246d76e0bebf1191c1c882fa88a1b4b7cb0ae2750ade2763ee10e5d18ddf1529ee45b4af71e52e9c79bf9d99d9ab734dd40d0700679c5
EBUILD coffee-rails-4.0.1.ebuild 890 SHA256 e07a6e112dd2275f3a305293316a49116e6253a132469c254b18f9e355325011 SHA512 4e77c044e727f9a08f2b8798040f060eed7349199a57a3949603fd210ce3103036b29625a07a8c56e112330dfb6c5d71a308d5667d90bb6055878358c515d6f4 WHIRLPOOL c87628ea00400dae53a5eb77b83273bcda43ef16fb20e5b0fc903fb196a36f73659ad65d81ee163e6279ff86af7e2c21780db566d81d16458cfd65f9189d79b2
-MISC ChangeLog 1792 SHA256 f2572f41d57130ea5a8835490752b6249a43141d173cbde8cd37e73fadd07faf SHA512 862568b7f3e2be476592ca05ae777f1a8267d3aea11c386c882e7f8e3c88a27efd2e193944fb4431fe30d068af5491886f0aa4c5f5bfaa2ef34c998b4cda0580 WHIRLPOOL 92f451765a0312a1a0709a5e4cf025407048c15081d325d72ee133acacd38ee0eeda46ad832a48b262748ba0d5af160e42800fc7541552b39b757a83f0eaac2f
+MISC ChangeLog 1935 SHA256 15729079e0871368cf6a99bcd2c84044882d410a5197d5d1b815a5134819f399 SHA512 5712f8de54b54274d2ea9a4b513c3508ebb7f7c4885e84c5a7e56be2be0f54ce53e910454daf29dc88562adaa5b7a120206fe8dcb7fee2004fe76e4e4495dc5f WHIRLPOOL 3714dab6f6b4c5d7e99d8ad11360bb028c0e3a259944204c31d02c884a86aa36d8fd484c74d91595e7b614b1c693af7a7f49dd2a0b06e0537703d1112c59bf45
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iF4EAREIAAYFAlNUuNMACgkQiIP6VqMIqNeASQD/fkbgqrHCnkWcJq2P+Lsiiq+n
-1P2RPfRXyURtY66JeKgA/AmfitllxmJFDOSan9EF/9csJ+F24/drmLERcL10vxaI
-=Uih5
+iF4EAREIAAYFAlOruPwACgkQiIP6VqMIqNfMdAD+JpPGPsyxYKeBUaXTFyOQMYbS
+lY3dn8nnhCg2IFhyRNcA/2DZunq0WZyi6EASilSbDRA/bVdol+93mKmRuNlm2xpP
+=Xzox
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/coffee-rails/coffee-rails-3.2.2.ebuild b/dev-ruby/coffee-rails/coffee-rails-3.2.2.ebuild
index b925b62a40ce..9b5b4f8e6485 100644
--- a/dev-ruby/coffee-rails/coffee-rails-3.2.2.ebuild
+++ b/dev-ruby/coffee-rails/coffee-rails-3.2.2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coffee-rails/coffee-rails-3.2.2.ebuild,v 1.4 2014/04/05 13:59:06 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coffee-rails/coffee-rails-3.2.2.ebuild,v 1.5 2014/06/26 06:08:59 graaff Exp $
EAPI=4
-USE_RUBY="ruby19"
+USE_RUBY="ruby19 ruby20"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.markdown"
@@ -22,7 +22,14 @@ IUSE=""
ruby_add_rdepend ">=dev-ruby/coffee-script-2.2.0
dev-ruby/railties:3.2"
+ruby_add_bdepend "test? ( dev-ruby/rails:3.2 )"
+
all_ruby_prepare() {
+ sed -e '/git ls-files/d' -i coffee-rails.gemspec || die
+
+ # Make sure Rails 3.2 is used.
+ sed -e '4igem "rails", "~> 3.2.0"' -i test/test_helper.rb || die
+
# Apply upstream fix for failing test
sed -i -e 's/this.CoffeeScript/CoffeeScript Compiler/' test/assets_test.rb || die
}