[DRE-commits] [ruby-multi-json] 01/02: [WIP] Pick Oj as the only implementation
zeha at debian.org
zeha at debian.org
Tue Sep 8 11:50:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to branch master
in repository ruby-multi-json.
commit 9be60c69850e78e41f6d4bbe6bcb02f801dfa7c6
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Tue Sep 8 11:46:48 2015 +0000
[WIP] Pick Oj as the only implementation
---
debian/control | 6 ++++--
debian/ruby-tests.rake | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index fc0c665..d7d0b1b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Laurent Bigonville <bigon at debian.org>, Antonio Terceiro <terceiro at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), rake, ruby-rspec (>= 2.14), ruby-json, ruby-yajl, ruby-oj
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), rake, ruby-rspec (>= 2.14), ruby-oj
Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-multi-json.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-multi-json.git
@@ -15,8 +15,10 @@ Package: ruby-multi-json
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-Recommends: ruby-yajl (>= 1.0), ruby-json (>= 1.4), ruby-oj
+Recommends: ruby-oj
Description: Ruby library to provide easy switching between different JSON backends
A Ruby library to provide easy switching between different JSON backends,
including Oj, Yajl, the JSON gem (with C-extensions), the pure-Ruby JSON gem,
and OkJson.
+ The Debian package dependencies only provide Oj by default. If you need
+ another backing library, you must install it yourself.
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 48f2398..5629d82 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -8,6 +8,7 @@ end
namespace :adapters do
Dir['spec/*_adapter_spec.rb'].each do |adapter_spec|
adapter_name = adapter_spec[/(\w+)_adapter_spec/, 1]
+ next if adapter_name != 'oj' # we only provide Oj
desc "Run #{adapter_name} adapter specs"
RSpec::Core::RakeTask.new(adapter_name) do |task|
task.pattern = adapter_spec
@@ -15,7 +16,7 @@ namespace :adapters do
end
end
-task :spec => %w[base_spec adapters:oj adapters:yajl adapters:json_gem adapters:json_pure adapters:ok_json adapters:gson adapters:jr_jackson adapters:nsjsonserialization]
+task :spec => %w[base_spec adapters:oj]
task :default => :spec
task :test => :spec
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-multi-json.git
More information about the Pkg-ruby-extras-commits
mailing list