From 4f562b407004f22112b744001aa690e3c94e518d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Fri, 23 Mar 2018 15:52:51 +0100 Subject: [PATCH] Update to MultiJSON 1.13.1. --- .gitignore | 2 ++ rubygem-multi_json.spec | 14 +++++++------- sources | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index bcfe8fd..34e7c2f 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ /multi_json-1.10.1.gem /multi_json-1.12.1-tests.tgz /multi_json-1.12.1.gem +/multi_json-1.13.1-tests.tgz +/multi_json-1.13.1.gem diff --git a/rubygem-multi_json.spec b/rubygem-multi_json.spec index afd5abc..edccd8f 100644 --- a/rubygem-multi_json.spec +++ b/rubygem-multi_json.spec @@ -2,15 +2,14 @@ %global gem_name multi_json Name: rubygem-%{gem_name} -Version: 1.12.1 -Release: 4%{?dist} +Version: 1.13.1 +Release: 1%{?dist} Summary: A common interface to multiple JSON libraries -Group: Development/Languages License: MIT URL: http://github.com/intridea/multi_json Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/intridea/multi_json.git && cd multi_json -# git checkout v1.12.1 && tar czvf multi_json-1.12.1-tests.tgz ./spec/ +# git checkout v1.13.1 && tar czvf multi_json-1.13.1-tests.tgz ./spec/ Source1: %{gem_name}-%{version}-tests.tgz BuildRequires: ruby(release) BuildRequires: rubygems-devel >= 1.3.5 @@ -30,7 +29,6 @@ JrJackson, and OkJson. %package doc Summary: Documentation for %{name} -Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch @@ -54,7 +52,7 @@ pushd .%{gem_instdir} tar xf %{SOURCE1} # oj is not available on Fedora. -sed -i '139,164 s/^/#/' spec/multi_json_spec.rb +sed -i '138,165 s/^/#/' spec/multi_json_spec.rb sed -i "/expect(MultiJson.adapter.to_s).to eq('MultiJson::Adapters::Oj')/ s/Oj/JsonGem/" spec/multi_json_spec.rb # Execute main test suite. @@ -83,9 +81,11 @@ popd %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CONTRIBUTING.md %doc %{gem_instdir}/README.md -%{gem_instdir}/multi_json.gemspec %changelog +* Fri Mar 23 2018 Vít Ondruch - 1.13.1-1 +- Update to MultiJSON 1.13.1. + * Fri Feb 09 2018 Fedora Release Engineering - 1.12.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index aea8331..091c2cb 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -c1725e9955a21fc8d813a71481300cf6 multi_json-1.12.1-tests.tgz -7748bcf54c2b1a7034b69f36729a506b multi_json-1.12.1.gem +SHA512 (multi_json-1.13.1-tests.tgz) = 1dfb322eff32fbac9c5d9ec063cd02c76626a9b4259223c5323618273dd64905ae930bcc5751fbca7f5e123482347eddae6dca95fa9e96518fdfbb3b02cb03ff +SHA512 (multi_json-1.13.1.gem) = 9fbb4cbbd462528eb1d8f361615a4106c29fa7125a15edae9ce5873da2b34396522e3ad4272ec8bef87cb0ea946d2d4a1f2c863dae3806388880ac7c83b1fb63