summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/ruby/json_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* global: convert license to SPDX variantsBruce Ashfield2022-03-251-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: convert github SRC_URIs to use https protocolBruce Ashfield2021-11-021-1/+1
| | | | | | | | | | | github is removing git:// access, and fetches will start experiencing interruptions in service, and eventually will fail completely. bitbake will also begin to warn on github src_uri's that don't use https. So we convert the meta-virt instances to use protocol=https (done using the oe-core contrib conversion script) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* json: fix Bignumn/Fixnum issue when using Ruby 2.5Robert P. J. Day2021-01-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a recognized problem with json_1.8.3 when used with Ruby 2.5; in summary: compiling generator.c generator.c: In function ‘generate_json’: generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function); did you mean ‘mFixnum’? } else if (klass == rb_cFixnum) { ^~~~~~~~~~ mFixnum generator.c:861:25: note: each undeclared identifier is reported only once for each function it appears in generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function); did you mean ‘rb_cFixnum’? } else if (klass == rb_cBignum) { ^~~~~~~~~~ rb_cFixnum This is explained in detail at: https://makandracards.com/makandra/74544-how-to-fix-json-1-8-3-with-ruby-2-5 The simplest solution is to upgrade json just a wee bit to 1.8.5 to resolve this. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* json: upgrade 1.8.1 -> 1.8.3Li xin2015-08-101-3/+2
| | | | | | | Dropped 0001-Dont-compile-extensions.patch, it is not needed anymore. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ruby/json: fix incorrect patch specificationsBruce Ashfield2015-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The merges of the following two commits: commit 7ee6d9c99ab2a27ee700a53e47854e3c8eee7671 Author: Qian Lei <qianl.fnst@cn.fujitsu.com> Date: Wed Jan 28 10:03:36 2015 +0800 yajl-ruby: Don't compile extensions Module mkmf is used to generate Makefile, but it uses native libraries instead of target libraries. To avoid arch problem, we don't compile the extension. Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> commit 08f5108740cf64a696d2552e9922c6de72a9cee6 Author: Qian Lei <qianl.fnst@cn.fujitsu.com> Date: Wed Jan 28 10:03:35 2015 +0800 json: Don't compile extensions Module mkmf is used to generate Makefile, but it uses native libraries instead of target libraries. To avoid arch problem, we don't compile the extension. Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Were incorrected merged and contained invalid patch specifications. So we move the patches up to the SRC_URI where they belong. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* json: Don't compile extensionsQian Lei2015-01-301-0/+1
| | | | | | | | | Module mkmf is used to generate Makefile, but it uses native libraries instead of target libraries. To avoid arch problem, we don't compile the extension. Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/json_git.bbAmy Fong2014-05-241-0/+24
An implementation of the JSON specification according to RFC 4627 Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>