summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/multi_json')
-rw-r--r--dev-ruby/multi_json/ChangeLog7
-rw-r--r--dev-ruby/multi_json/Manifest10
-rw-r--r--dev-ruby/multi_json/multi_json-1.3.5.ebuild53
3 files changed, 65 insertions, 5 deletions
diff --git a/dev-ruby/multi_json/ChangeLog b/dev-ruby/multi_json/ChangeLog
index 1fce43aa1f9d..98882855371a 100644
--- a/dev-ruby/multi_json/ChangeLog
+++ b/dev-ruby/multi_json/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/multi_json
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/ChangeLog,v 1.19 2012/05/07 11:41:29 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/ChangeLog,v 1.20 2012/05/17 11:45:37 graaff Exp $
+
+*multi_json-1.3.5 (17 May 2012)
+
+ 17 May 2012; Hans de Graaff <graaff@gentoo.org> +multi_json-1.3.5.ebuild:
+ Version bump.
*multi_json-1.3.4 (07 May 2012)
diff --git a/dev-ruby/multi_json/Manifest b/dev-ruby/multi_json/Manifest
index 53e9809b2e87..dd31b6ee55a4 100644
--- a/dev-ruby/multi_json/Manifest
+++ b/dev-ruby/multi_json/Manifest
@@ -6,15 +6,17 @@ AUX multi_json-1.0.3-gentoo.patch 1939 RMD160 8e1e9d1f5bea4aaaec4c2c8e1830803614
DIST multi_json-1.0.4.gem 14336 RMD160 9611a527943d7a6dfe1ab6aec16c0afbf34485e1 SHA1 fae5855f338ce033e57c89263f2f30b7eb5c7a9b SHA256 996d3a3349b7d944e259da33df67e44650de621337044cea9cbac1c63acd5e38
DIST multi_json-1.2.0.gem 15872 RMD160 c3aa1e99956b6946d5c7b3b505299baabfde86e5 SHA1 70bff163bd89d7cf70b854931ddbcde77a4f1761 SHA256 e2dd37e55a867c5f27f9e5765e9b99473e320b53440588a9c83eda2ee45f65df
DIST multi_json-1.3.4.gem 15872 RMD160 a5c53f30e141f0f7844316b8dad2c772e8ade28b SHA1 d3a188ad60868e683fba596af31dc4dc5a58dfef SHA256 40bdaa86595382ecea26679600f95f5ed18a86817fa34db4dc606cd3b856dff0
+DIST multi_json-1.3.5.gem 15872 RMD160 08592db04d37e63b05f046617059f4d0ea194019 SHA1 df0277f17ba66a38224895fbc76ba8b847f66774 SHA256 1f83ab80bcd04549cda4f4b21820f2b9f5a81f5fb97ffb61fd656eb35b25736a
EBUILD multi_json-1.0.4.ebuild 1603 RMD160 254fc8bb553af8d82e28b1370423ae113a24fb62 SHA1 4a503619f9d7415f5687929c64d8c22fa6023556 SHA256 f64ba0cdd7840e534c51742859e62a27d710b310027c44bfe53bbeece2a06569
EBUILD multi_json-1.2.0.ebuild 1845 RMD160 c9e5cf86fb25b58053764237da43798557c9ade2 SHA1 297a355544924bbcd9299dc28f220d628827431b SHA256 5dd7844df8198ee766787777f2232ead02e2e29205563529b753491cae22cd0f
EBUILD multi_json-1.3.4.ebuild 1741 RMD160 60613f497fe2447b711421c800580d159df7bfa6 SHA1 8326e6f98fa89866df03ed3e3dc8626cea31ebf5 SHA256 d6562bd782655a02c5e1a6dd251ea4fd62cd5ef58d91dee3a3ceca65b2f09dfb
-MISC ChangeLog 3208 RMD160 56721e74359a658c87fd9979f60208926cede61e SHA1 0db420d08f626969c0dbd8a8e0c62d25e2ddd571 SHA256 fe64ac770c3eb832f8bb6324571ca5fb380d563320ea1c68972eb15e17140714
+EBUILD multi_json-1.3.5.ebuild 1741 RMD160 80a28a3bd4faf2d85d5a228b250f19149c58f6cc SHA1 53b7bfcd7fd795fe1cac48762b3a3d90a39dca54 SHA256 a33aa799e5cc555f5f9f99f5198661c81f56c10503f4fa457cdb938e472330b4
+MISC ChangeLog 3334 RMD160 5a85262492c9a67b5c52e9099ef064966ace61b8 SHA1 71d45ea921c739a0cd990dfb1d4c38e10fab456e SHA256 fed1f7742468ed095d10fc3455f75107b9d9e45a29b0e81df337e1a1e9462416
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk+ntPMACgkQiIP6VqMIqNdJCQD/TzTJVJsUfiTjXHCmHNxrdw8T
-nVeVsJimGPLyD370U/wA/3eS6Dv3ebzTxbzJsmq2LxDyGq2YQq3LpGGlRRBNQzVE
-=t04P
+iF4EAREIAAYFAk+05OcACgkQiIP6VqMIqNf1bQD+Pk0DEWKElZhIgunBcCuBHixS
+bKElC30GSYJNEpcj3G0A/jV0OAvdSgd4td42hq057HTNV9M1+WFxiRg9TDMKPb6W
+=ypXW
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/multi_json/multi_json-1.3.5.ebuild b/dev-ruby/multi_json/multi_json-1.3.5.ebuild
new file mode 100644
index 000000000000..96a73a852c70
--- /dev/null
+++ b/dev-ruby/multi_json/multi_json-1.3.5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/multi_json-1.3.5.ebuild,v 1.1 2012/05/17 11:45:37 graaff Exp $
+
+EAPI=4
+
+USE_RUBY="ruby18 ruby19 ree18 jruby"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="multi_json.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A gem to provide swappable JSON backends"
+HOMEPAGE="http://github.com/intridea/multi_json"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="0"
+IUSE=""
+
+ruby_add_rdepend "|| ( >=dev-ruby/json-1.4 >=dev-ruby/yajl-ruby-0.7 =dev-ruby/activesupport-3* )"
+
+ruby_add_bdepend "doc? ( dev-ruby/rspec:2 )"
+
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/json )"
+
+USE_RUBY=ruby18 ruby_add_bdepend "test? ( dev-ruby/yajl-ruby )"
+USE_RUBY=ruby19 ruby_add_bdepend "test? ( dev-ruby/yajl-ruby )"
+USE_RUBY=ree18 ruby_add_bdepend "test? ( dev-ruby/yajl-ruby )"
+
+all_ruby_prepare() {
+ sed -i -e '/[Bb]undler/d' Rakefile spec/helper.rb || die "Unable to remove bundler."
+ rm Gemfile || die "Unable to remove bundler Gemfile."
+
+ # Provide version otherwise provided by bundler.
+ sed -i -e "s/#{MultiJson::VERSION}/${PV}/" Rakefile || die
+
+ # Remove unimportant rspec options not supported by rspec 2.6.
+ rm .rspec || die
+
+ # Remove best default spec since we don't package oj yet.
+ sed -i -e '/defaults to the best available gem/,/^ end/ s:^:#:' spec/multi_json_spec.rb || die
+}
+
+each_ruby_test() {
+ CI=true ${RUBY} -S rspec spec || die
+}