Update to MultiJSON 1.13.1.

epel9
Vít Ondruch 7 years ago
parent 85fe7ce256
commit 4f562b4070

2
.gitignore vendored

@ -6,3 +6,5 @@
/multi_json-1.10.1.gem /multi_json-1.10.1.gem
/multi_json-1.12.1-tests.tgz /multi_json-1.12.1-tests.tgz
/multi_json-1.12.1.gem /multi_json-1.12.1.gem
/multi_json-1.13.1-tests.tgz
/multi_json-1.13.1.gem

@ -2,15 +2,14 @@
%global gem_name multi_json %global gem_name multi_json
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 1.12.1 Version: 1.13.1
Release: 4%{?dist} Release: 1%{?dist}
Summary: A common interface to multiple JSON libraries Summary: A common interface to multiple JSON libraries
Group: Development/Languages
License: MIT License: MIT
URL: http://github.com/intridea/multi_json URL: http://github.com/intridea/multi_json
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# git clone https://github.com/intridea/multi_json.git && cd multi_json # 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 Source1: %{gem_name}-%{version}-tests.tgz
BuildRequires: ruby(release) BuildRequires: ruby(release)
BuildRequires: rubygems-devel >= 1.3.5 BuildRequires: rubygems-devel >= 1.3.5
@ -30,7 +29,6 @@ JrJackson, and OkJson.
%package doc %package doc
Summary: Documentation for %{name} Summary: Documentation for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
@ -54,7 +52,7 @@ pushd .%{gem_instdir}
tar xf %{SOURCE1} tar xf %{SOURCE1}
# oj is not available on Fedora. # 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 sed -i "/expect(MultiJson.adapter.to_s).to eq('MultiJson::Adapters::Oj')/ s/Oj/JsonGem/" spec/multi_json_spec.rb
# Execute main test suite. # Execute main test suite.
@ -83,9 +81,11 @@ popd
%doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CHANGELOG.md
%doc %{gem_instdir}/CONTRIBUTING.md %doc %{gem_instdir}/CONTRIBUTING.md
%doc %{gem_instdir}/README.md %doc %{gem_instdir}/README.md
%{gem_instdir}/multi_json.gemspec
%changelog %changelog
* Fri Mar 23 2018 Vít Ondruch <vondruch@redhat.com> - 1.13.1-1
- Update to MultiJSON 1.13.1.
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-4 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

@ -1,2 +1,2 @@
c1725e9955a21fc8d813a71481300cf6 multi_json-1.12.1-tests.tgz SHA512 (multi_json-1.13.1-tests.tgz) = 1dfb322eff32fbac9c5d9ec063cd02c76626a9b4259223c5323618273dd64905ae930bcc5751fbca7f5e123482347eddae6dca95fa9e96518fdfbb3b02cb03ff
7748bcf54c2b1a7034b69f36729a506b multi_json-1.12.1.gem SHA512 (multi_json-1.13.1.gem) = 9fbb4cbbd462528eb1d8f361615a4106c29fa7125a15edae9ce5873da2b34396522e3ad4272ec8bef87cb0ea946d2d4a1f2c863dae3806388880ac7c83b1fb63

Loading…
Cancel
Save