debian/0000755000000000000000000000000012265527112007171 5ustar debian/changelog0000644000000000000000000000027512265527112011047 0ustar chef-zero (2.0.1-1) unstable; urgency=medium * Initial release (Closes: #735469) * Patch out rubygems usage. -- Stefano Rivera Wed, 15 Jan 2014 17:50:34 +0200 debian/rules0000755000000000000000000000070112263533357010255 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.9.1 ruby2.0 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby debian/chef-zero.docs0000644000000000000000000000001212263534220011712 0ustar README.md debian/ruby-tests.rb0000644000000000000000000000024012263541010011622 0ustar require 'rbconfig' ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) ENV['SKIP_PEDANT'] = '1' exec("#{ruby} -I. spec/run.rb") debian/watch0000644000000000000000000000014712263533357010232 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/chef-zero .*/chef-zero-(.*).tar.gz debian/compat0000644000000000000000000000000212263533357010375 0ustar 7 debian/source/0000755000000000000000000000000012263533357010477 5ustar debian/source/format0000644000000000000000000000001412263533357011705 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000171412263540730011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: chef-zero Source: https://github.com/opscode/chef-zero Files: * Copyright: 2012-2014, Opscode, Inc. License: Apache-2.0 Files: debian/* Copyright: 2014, Stefano Rivera License: Apache-2.0 License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems, the full text of the Apache licence can be found in /usr/share/common-licenses/Apache-2.0 debian/control0000644000000000000000000000203712263542155010600 0ustar Source: chef-zero Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Stefano Rivera Build-Depends: debhelper (>= 8.1~), gem2deb (>= 0.6.1~), ruby-hashie (>= 2), ruby-mixlib-log (>= 1.3), ruby-rack, ruby-rspec Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/chef-zero.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/chef-zero.git;a=summary Homepage: http://www.opscode.com XS-Ruby-Versions: all Package: chef-zero Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ruby | ruby-interpreter, ruby-hashie (>= 2), ruby-json, ruby-mixlib-log (>= 1.3), ruby-rack, ${misc:Depends}, ${shlibs:Depends} Description: in-memory Chef server (for testing and solo purposes) Chef is a systems integration framework and configuration management library written in Ruby. Chef-zero is a self-contained, easy-setup, fast-start in-memory Chef server for testing and solo setup purposes. debian/patches/0000755000000000000000000000000012265527045010625 5ustar debian/patches/series0000644000000000000000000000001412263537502012032 0ustar no-rubygems debian/patches/no-rubygems0000644000000000000000000000153712263541143013016 0ustar Description: Remove requires of rubygems and bundler In Debian, gems are available system-wide Author: Stefano Rivera Forwarded: not-needed Last-Updated: 2014-01-09 --- a/bin/chef-zero +++ b/bin/chef-zero @@ -3,7 +3,6 @@ # Trap interrupts to quit cleanly. Signal.trap('INT') { exit 1 } -require 'rubygems' $:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib"))) require 'chef_zero/version' --- a/lib/chef_zero/server.rb +++ b/lib/chef_zero/server.rb @@ -18,7 +18,6 @@ require 'openssl' require 'open-uri' -require 'rubygems' require 'timeout' require 'stringio' diff --git a/spec/run.rb b/spec/run.rb index 01dffe9..dea9d3c 100644 --- a/spec/run.rb +++ b/spec/run.rb @@ -1,7 +1,4 @@ #!/usr/bin/env ruby -require 'bundler' -require 'bundler/setup' - require 'chef_zero/server' require 'rspec/core'