1 |
mrueg 15/07/04 08:30:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: multi_json-1.11.2.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key ) |
9 |
|
10 |
Revision Changes Path |
11 |
1.62 dev-ruby/multi_json/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/ChangeLog?rev=1.62&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/ChangeLog?rev=1.62&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/ChangeLog?r1=1.61&r2=1.62 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/ChangeLog,v |
20 |
retrieving revision 1.61 |
21 |
retrieving revision 1.62 |
22 |
diff -u -r1.61 -r1.62 |
23 |
--- ChangeLog 12 Jun 2015 04:20:05 -0000 1.61 |
24 |
+++ ChangeLog 4 Jul 2015 08:30:48 -0000 1.62 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-ruby/multi_json |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/ChangeLog,v 1.61 2015/06/12 04:20:05 graaff Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/ChangeLog,v 1.62 2015/07/04 08:30:48 mrueg Exp $ |
30 |
+ |
31 |
+*multi_json-1.11.2 (04 Jul 2015) |
32 |
+ |
33 |
+ 04 Jul 2015; Manuel RĂ¼ger <mrueg@g.o> +multi_json-1.11.2.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*multi_json-1.11.1 (12 Jun 2015) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/multi_json/multi_json-1.11.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/multi_json-1.11.2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/multi_json/multi_json-1.11.2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: multi_json-1.11.2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/multi_json-1.11.2.ebuild,v 1.1 2015/07/04 08:30:48 mrueg Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
USE_RUBY="ruby19 ruby20 ruby21 ruby22" |
55 |
|
56 |
RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
57 |
RUBY_FAKEGEM_TASK_DOC="yard" |
58 |
|
59 |
RUBY_FAKEGEM_DOCDIR="rdoc" |
60 |
RUBY_FAKEGEM_EXTRADOC="README.md" |
61 |
|
62 |
RUBY_FAKEGEM_GEMSPEC="multi_json.gemspec" |
63 |
|
64 |
inherit ruby-fakegem |
65 |
|
66 |
SRC_URI="https://github.com/intridea/multi_json/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
67 |
DESCRIPTION="A gem to provide swappable JSON backends" |
68 |
HOMEPAGE="https://github.com/intridea/multi_json" |
69 |
LICENSE="MIT" |
70 |
|
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
72 |
SLOT="0" |
73 |
IUSE="" |
74 |
|
75 |
ruby_add_rdepend "|| ( >=dev-ruby/json-1.4 >=dev-ruby/yajl-ruby-1.0 =dev-ruby/activesupport-3* )" |
76 |
|
77 |
ruby_add_bdepend "doc? ( dev-ruby/rspec:3 dev-ruby/yard )" |
78 |
|
79 |
ruby_add_bdepend "test? ( dev-ruby/json |
80 |
dev-ruby/yajl-ruby )" |
81 |
|
82 |
all_ruby_prepare() { |
83 |
sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die "Unable to remove bundler." |
84 |
|
85 |
# Remove unimportant rspec options not supported by rspec 2.6. |
86 |
rm .rspec || die |
87 |
|
88 |
# Remove specs specific to oj since we don't package oj yet. |
89 |
sed -i -e '/defaults to the best available gem/,/^ end/ s:^:#:' \ |
90 |
-e '/Oj does not create symbols on parse/,/^ end/ s:^:#:' \ |
91 |
-e '/with Oj.default_settings/,/^ end/ s:^:#:' \ |
92 |
-e '/using one-shot parser/,/^ end/ s:^:#:' \ |
93 |
spec/multi_json_spec.rb |
94 |
|
95 |
# Avoid simplecov which only works with ruby 1.9 |
96 |
sed -i -e '/simplecov/d' -e '/SimpleCov.formatter/,/SimpleCov.start/ d' spec/spec_helper.rb || die |
97 |
|
98 |
# Remove unpackaged and for our purposes unneeded coveralls |
99 |
sed -i -e '/coveralls/d' spec/spec_helper.rb || die |
100 |
|
101 |
# Avoid testing unpackaged adapters |
102 |
rm spec/{gson,jr_jackson,oj}_adapter_spec.rb || die |
103 |
} |
104 |
|
105 |
each_ruby_test() { |
106 |
for t in spec/*_spec.rb; do |
107 |
${RUBY} -S rspec-3 ${t} || die |
108 |
done |
109 |
} |