[DRE-commits] [ruby-ridley] 01/04: A bit of work on packaging
Hleb Valoshka
tsfgnu-guest at moszumanska.debian.org
Mon Aug 3 12:06:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
tsfgnu-guest pushed a commit to branch patch-queue/master
in repository ruby-ridley.
commit 6cc606cafe66f796d746c215bb11ec69ff8a40b2
Author: Hleb Valoshka <375gnu at gmail.com>
Date: Mon Aug 3 13:19:35 2015 +0300
A bit of work on packaging
* Fix dependencies
* Fix standards version
* Fix VCS URLs
* Install docs
* Use Rake to run tests
---
debian/control | 50 ++++++++++++++++++++++++++++++-----
debian/ruby-ridley.docs | 3 +--
debian/ruby-test-files.yaml | 64 ---------------------------------------------
debian/ruby-tests.rake | 8 ++++++
4 files changed, 52 insertions(+), 73 deletions(-)
diff --git a/debian/control b/debian/control
index f2b69db..1c93d28 100644
--- a/debian/control
+++ b/debian/control
@@ -3,17 +3,53 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: <nomadium at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~)
-Standards-Version: 3.9.5
-#Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-ridley.git
-#Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-ridley.git;a=summary
+Build-Depends: debhelper (>= 7.0.50~),
+ gem2deb (>= 0.7.5~),
+ ruby-rspec,
+ rake,
+ ruby-addressable,
+ ruby-varia-model (>= 0.4),
+ ruby-buff-config (>= 1.0),
+ ruby-buff-extensions (>= 1.0),
+ ruby-buff-ignore (>= 1.1),
+ ruby-buff-shell-out (>= 0.1),
+ ruby-celluloid (>= 0.16.0~pre),
+ ruby-celluloid-io (>= 0.16.0~pre),
+ ruby-erubis,
+ ruby-faraday (>= 0.9.0),
+ ruby-hashie (>= 2.0.2),
+ ruby-json (>= 1.7.7),
+ ruby-mixlib-authentication (>= 1.3.0),
+ ruby-net-http-persistent (>= 2.8),
+ ruby-retryable,
+ ruby-semverse (>= 1.1),
+ ruby-buff-ruby-engine (>= 0.1)
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-ridley.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-ridley.git/
Homepage: https://github.com/RiotGames/ridley
XS-Ruby-Versions: all
Package: ruby-ridley
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-# addressable (>= 0), varia_model (~> 0.4), buff-config (~> 1.0), buff-extensions (~> 1.0), buff-ignore (~> 1.1), buff-shell_out (~> 0.1), celluloid (~> 0.16.0.pre), celluloid-io (~> 0.16.0.pre), erubis (>= 0), faraday (~> 0.9.0), hashie (< 3.0.0, >= 2.0.2), json (>= 1.7.7), mixlib-authentication (>= 1.3.0), net-http-persistent (>= 2.8), retryable (>= 0), semverse (~> 1.1), buff-ruby_engine (~> 0.1, development)
-Description: A reliable Chef API client with a clean syntax
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ ruby | ruby-interpreter
+ ruby-addressable,
+ ruby-varia-model (>= 0.4),
+ ruby-buff-config (>= 1.0),
+ ruby-buff-extensions (>= 1.0),
+ ruby-buff-ignore (>= 1.1),
+ ruby-buff-shell-out (>= 0.1),
+ ruby-celluloid (>= 0.16.0~pre),
+ ruby-celluloid-io (>= 0.16.0~pre),
+ ruby-erubis,
+ ruby-faraday (>= 0.9.0),
+ ruby-hashie (>= 2.0.2),
+ ruby-json (>= 1.7.7),
+ ruby-mixlib-authentication (>= 1.3.0),
+ ruby-net-http-persistent (>= 2.8),
+ ruby-retryable,
+ ruby-semverse (>= 1.1)
+Description: reliable Chef API client with a clean syntax
A reliable Chef API client with a clean syntax
diff --git a/debian/ruby-ridley.docs b/debian/ruby-ridley.docs
index 07b3c9e..b43bf86 100644
--- a/debian/ruby-ridley.docs
+++ b/debian/ruby-ridley.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.md
+README.md
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 23f085c..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,64 +0,0 @@
----
-- spec/acceptance/client_resource_spec.rb
-- spec/acceptance/cookbook_resource_spec.rb
-- spec/acceptance/data_bag_item_resource_spec.rb
-- spec/acceptance/data_bag_resource_spec.rb
-- spec/acceptance/environment_resource_spec.rb
-- spec/acceptance/node_resource_spec.rb
-- spec/acceptance/role_resource_spec.rb
-- spec/acceptance/sandbox_resource_spec.rb
-- spec/acceptance/search_resource_spec.rb
-- spec/acceptance/user_resource_spec.rb
-- spec/fixtures/example_cookbook/attributes/default.rb
-- spec/fixtures/example_cookbook/definitions/bad_def.rb
-- spec/fixtures/example_cookbook/ignores/magic.rb
-- spec/fixtures/example_cookbook/libraries/my_lib.rb
-- spec/fixtures/example_cookbook/metadata.rb
-- spec/fixtures/example_cookbook/providers/defprovider.rb
-- spec/fixtures/example_cookbook/recipes/default.rb
-- spec/fixtures/example_cookbook/resources/defresource.rb
-- spec/fixtures/recipe_one.rb
-- spec/fixtures/recipe_two.rb
-- spec/spec_helper.rb
-- spec/support/actor_mocking.rb
-- spec/support/chef_server.rb
-- spec/support/each_matcher.rb
-- spec/support/filepath_matchers.rb
-- spec/support/shared_examples/ridley_resource.rb
-- spec/support/spec_helpers.rb
-- spec/unit/ridley/chef/chefignore_spec.rb
-- spec/unit/ridley/chef/cookbook/metadata_spec.rb
-- spec/unit/ridley/chef/cookbook/syntax_check_spec.rb
-- spec/unit/ridley/chef/cookbook_spec.rb
-- spec/unit/ridley/chef/digester_spec.rb
-- spec/unit/ridley/chef_object_spec.rb
-- spec/unit/ridley/chef_objects/client_object_spec.rb
-- spec/unit/ridley/chef_objects/cookbook_object_spec.rb
-- spec/unit/ridley/chef_objects/data_bag_item_object_spec.rb
-- spec/unit/ridley/chef_objects/data_bag_object_spec.rb
-- spec/unit/ridley/chef_objects/environment_object_spec.rb
-- spec/unit/ridley/chef_objects/node_object_spec.rb
-- spec/unit/ridley/chef_objects/role_object_spec.rb
-- spec/unit/ridley/chef_objects/sandbox_object_spec.rb
-- spec/unit/ridley/client_spec.rb
-- spec/unit/ridley/connection_spec.rb
-- spec/unit/ridley/errors_spec.rb
-- spec/unit/ridley/logger_spec.rb
-- spec/unit/ridley/middleware/chef_auth_spec.rb
-- spec/unit/ridley/middleware/chef_response_spec.rb
-- spec/unit/ridley/middleware/gzip_spec.rb
-- spec/unit/ridley/middleware/parse_json_spec.rb
-- spec/unit/ridley/mixins/from_file_spec.rb
-- spec/unit/ridley/resource_spec.rb
-- spec/unit/ridley/resources/client_resource_spec.rb
-- spec/unit/ridley/resources/cookbook_resource_spec.rb
-- spec/unit/ridley/resources/data_bag_item_resource_spec.rb
-- spec/unit/ridley/resources/data_bag_resource_spec.rb
-- spec/unit/ridley/resources/environment_resource_spec.rb
-- spec/unit/ridley/resources/node_resource_spec.rb
-- spec/unit/ridley/resources/role_resource_spec.rb
-- spec/unit/ridley/resources/sandbox_resource_spec.rb
-- spec/unit/ridley/resources/search_resource_spec.rb
-- spec/unit/ridley/resources/user_resource_spec.rb
-- spec/unit/ridley/sandbox_uploader_spec.rb
-- spec/unit/ridley_spec.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..b48f805
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,8 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = './spec/**/*_spec.rb'
+end
+
+task :default => :spec
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-ridley.git
More information about the Pkg-ruby-extras-commits
mailing list