debian/0000755000000000000000000000000012202664736007176 5ustar debian/ruby-simple-navigation.docs0000644000000000000000000000000712202021532014427 0ustar README debian/ruby-tests.rake0000644000000000000000000000052112202026544012146 0ustar require 'rspec/core/rake_task' desc 'Default: run specs.' task :default => :spec RSpec::Core::RakeTask.new(:spec) do |t| t.rspec_opts = ['--colour --format progress'] file_list = FileList['spec/**/*_spec.rb'] file_list = file_list.exclude("spec/lib/simple_navigation/rendering/renderer/json_spec.rb") t.pattern = file_list end debian/source/0000755000000000000000000000000012202013473010460 5ustar debian/source/format0000644000000000000000000000001412202013473011666 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000026112202664736011047 0ustar ruby-simple-navigation (3.11.0-1) unstable; urgency=low * Initial release (Closes: #719310) -- Ben Armstrong Sun, 11 Aug 2013 08:38:45 -0300 debian/control0000644000000000000000000000252212202204446010566 0ustar Source: ruby-simple-navigation Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Ben Armstrong Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.4.1~), ruby-activesupport (>= 2:2.3.2), ruby-actionpack, rake, ruby-rspec (>= 2.0.1) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-simple-navigation.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-simple-navigation.git;a=summary Homepage: http://github.com/andi/simple-navigation XS-Ruby-Versions: all Package: ruby-simple-navigation Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-activesupport (>= 2:2.3.2), ruby-rails-3.2 | ruby-sinatra Suggests: ruby-sinatra-simple-navigation Description: Library to create navigations for Ruby web applications Easily create multilevel navigations for your Rails, Sinatra or Padrino applications. The navigation is defined in a single configuration file. It supports automatic as well as explicit highlighting of the currently active navigation through regular expressions. . If you are implementing a Sinatra or Padrino web application, you should consider also installing ruby-sinatra-simple-navigation. debian/README.Debian0000644000000000000000000000110112202430227011212 0ustar If you would like to run simple-navigation-demo with rails3, modified to work with Debian packages, do the following: $ apt-get install git rubygems-integration ruby-haml $ git clone https://github.com/synrg/simple-navigation-demo.git $ cd simple-navigation-demo/rails3 $ rackup Use your web browser to access the demo at http://localhost:9292/ The sinatra demo doesn't work yet because it has dependencies not yet in Debian. Patches welcome (submit them through github, not the Debian BTS). -- Ben Armstrong Tue, 13 Aug 2013 08:54:47 -0300 debian/watch0000644000000000000000000000016712202013473010215 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/simple-navigation .*/simple-navigation-(.*).tar.gz debian/compat0000644000000000000000000000000212202013473010356 0ustar 7 debian/patches/0000755000000000000000000000000012202146400010604 5ustar debian/patches/series0000644000000000000000000000002712202146400012020 0ustar remove_json_spec.patch debian/patches/remove_json_spec.patch0000644000000000000000000000136412202030064015167 0ustar Description: remove json_spec We cannot use json_spec yet, as it is not yet in the archive. Besides, only a single test needs it, not all of them, so remove it. The test requiring it will need to be skipped. Author: Ben Armstrong Last-Update: 2013-08-11 Forwarded: no --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,7 +1,7 @@ ENV["RAILS_ENV"] = "test" require 'rubygems' require 'rspec' -require 'json_spec' +#require 'json_spec' require 'action_controller' module Rails @@ -29,7 +29,7 @@ RSpec.configure do |config| # config.mock_with :flexmock # config.mock_with :rr config.mock_with :rspec - config.include JsonSpec::Helpers +# config.include JsonSpec::Helpers end # spec helper methods debian/copyright0000644000000000000000000000270612202146533011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: simple-navigation Source: https://github.com/andi/simple-navigation Files: * Copyright: 2012 Andi Schacke License: Expat Files: debian/* Copyright: 2013 Ben Armstrong License: Expat Comment: the Debian packaging is licensed under the same terms as the original package. License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/rules0000755000000000000000000000070112202013473010236 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.8 ruby1.9.1 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