[rubygem-multi_json] Update to multi_json 1.3.6.
Bohuslav Kabrda
bkabrda at fedoraproject.org
Mon Jul 16 08:31:59 UTC 2012
commit 2fc76910235be8ab77ecebe61a974c192b679715
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date: Mon Jul 16 10:27:17 2012 +0200
Update to multi_json 1.3.6.
- Switch to rubygem(rspec) from rubygem(rspec-core).
.gitignore | 1 +
rubygem-multi_json.spec | 20 +++++++++++---------
sources | 1 +
3 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1f21ff4..dbb967f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/multi_json-1.0.3.gem
+/multi_json-1.3.6.gem
diff --git a/rubygem-multi_json.spec b/rubygem-multi_json.spec
index 3b42d4d..f01dc04 100644
--- a/rubygem-multi_json.spec
+++ b/rubygem-multi_json.spec
@@ -5,8 +5,8 @@
Summary: A gem to provide swappable JSON backends
Name: rubygem-%{gem_name}
-Version: 1.0.3
-Release: 5%{?dist}
+Version: 1.3.6
+Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: http://github.com/intridea/multi_json
@@ -17,8 +17,7 @@ Requires: ruby
BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires: rubygems-devel >= 1.3.6
BuildRequires: ruby
-# Use rspec-core until rspec are not migrated to RSpec 2.x
-BuildRequires: rubygem(rspec-core)
+BuildRequires: rubygem(rspec)
BuildRequires: rubygem(json)
BuildRequires: rubygem(json_pure)
BuildArch: noarch
@@ -60,13 +59,12 @@ sed -i -e '/^#!\/usr\/bin\/env/d' %{buildroot}%{gem_instdir}/Rakefile
%check
pushd ./%{gem_instdir}
-# simplecov gem is Ruby 1.9 only and not available in Fedora,
-# so remove its usage
-sed -i '8,+1d' spec/helper.rb
+# simplecov gem is not available in Fedora so remove its usage
+sed -i '10,+3d' spec/helper.rb
-# 1 test case fails and 8 are pending due to missing yajl-ruby gem on Fedora.
+# 1 test case fails and 22 are pending due to missing oj gem on Fedora.
rspec spec/ | \
- grep "36 examples, 1 failure, 8 pending"
+ grep "63 examples, 1 failure, 22 pending"
popd
%files
@@ -87,6 +85,10 @@ popd
%changelog
+* Mon Jul 16 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 1.3.6-1
+- Update to multi_json 1.3.6.
+- Switch to rubygem(rspec) from rubygem(rspec-core).
+
* Tue Jan 24 2012 Vít Ondruch <vondruch at redhat.com> - 1.0.3-5
- Rebuilt for Ruby 1.9.3.
diff --git a/sources b/sources
index 3146600..ce08b5e 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
59cbca421061ecaf85c99b667f2d0623 multi_json-1.0.3.gem
+344cc8470e047250595da068bda4966f multi_json-1.3.6.gem
More information about the scm-commits
mailing list