debian/0000755000000000000000000000000011771271557007203 5ustar debian/patches/0000755000000000000000000000000011753260137010622 5ustar debian/patches/0001-Remove-RubyGems-Depends.patch0000644000000000000000000001131011753260137016565 0ustar From: Youhei SASAKI Date: Fri, 11 May 2012 17:59:02 +0900 Subject: Remove RubyGems Depends Signed-off-by: Youhei SASAKI --- lib/jekyll.rb | 3 --- lib/jekyll/migrators/drupal.rb | 1 - lib/jekyll/migrators/enki.rb | 1 - lib/jekyll/migrators/mephisto.rb | 1 - lib/jekyll/migrators/mt.rb | 1 - lib/jekyll/migrators/posterous.rb | 1 - lib/jekyll/migrators/textpattern.rb | 1 - lib/jekyll/migrators/tumblr.rb | 1 - lib/jekyll/migrators/typo.rb | 1 - lib/jekyll/migrators/wordpress.rb | 1 - lib/jekyll/migrators/wordpressdotcom.rb | 3 +-- test/helper.rb | 6 +----- 12 files changed, 2 insertions(+), 19 deletions(-) diff --git a/lib/jekyll.rb b/lib/jekyll.rb index 859060c..c86577c 100644 --- a/lib/jekyll.rb +++ b/lib/jekyll.rb @@ -12,9 +12,6 @@ def require_all(path) end end -# rubygems -require 'rubygems' - # stdlib require 'fileutils' require 'time' diff --git a/lib/jekyll/migrators/drupal.rb b/lib/jekyll/migrators/drupal.rb index 32e335c..35579ef 100644 --- a/lib/jekyll/migrators/drupal.rb +++ b/lib/jekyll/migrators/drupal.rb @@ -1,4 +1,3 @@ -require 'rubygems' require 'sequel' require 'fileutils' require 'yaml' diff --git a/lib/jekyll/migrators/enki.rb b/lib/jekyll/migrators/enki.rb index 61cb256..f65a307 100644 --- a/lib/jekyll/migrators/enki.rb +++ b/lib/jekyll/migrators/enki.rb @@ -2,7 +2,6 @@ # Based on typo.rb by Toby DiPasquale require 'fileutils' -require 'rubygems' require 'sequel' module Jekyll diff --git a/lib/jekyll/migrators/mephisto.rb b/lib/jekyll/migrators/mephisto.rb index 7622c72..7ecd35d 100644 --- a/lib/jekyll/migrators/mephisto.rb +++ b/lib/jekyll/migrators/mephisto.rb @@ -2,7 +2,6 @@ # Based on mt.rb by Nick Gerakines, open source and publically # available under the MIT license. Use this module at your own risk. -require 'rubygems' require 'sequel' require 'fastercsv' require 'fileutils' diff --git a/lib/jekyll/migrators/mt.rb b/lib/jekyll/migrators/mt.rb index 048c84d..beec1ce 100644 --- a/lib/jekyll/migrators/mt.rb +++ b/lib/jekyll/migrators/mt.rb @@ -2,7 +2,6 @@ # MIT license. Use this module at your own risk. # I'm an Erlang/Perl/C++ guy so please forgive my dirty ruby. -require 'rubygems' require 'sequel' require 'fileutils' require 'yaml' diff --git a/lib/jekyll/migrators/posterous.rb b/lib/jekyll/migrators/posterous.rb index 6cfc243..ee0d01c 100644 --- a/lib/jekyll/migrators/posterous.rb +++ b/lib/jekyll/migrators/posterous.rb @@ -1,4 +1,3 @@ -require 'rubygems' require 'jekyll' require 'fileutils' require 'net/http' diff --git a/lib/jekyll/migrators/textpattern.rb b/lib/jekyll/migrators/textpattern.rb index 58634c4..cdc1abe 100644 --- a/lib/jekyll/migrators/textpattern.rb +++ b/lib/jekyll/migrators/textpattern.rb @@ -1,4 +1,3 @@ -require 'rubygems' require 'sequel' require 'fileutils' diff --git a/lib/jekyll/migrators/tumblr.rb b/lib/jekyll/migrators/tumblr.rb index d7cb396..8a10b20 100644 --- a/lib/jekyll/migrators/tumblr.rb +++ b/lib/jekyll/migrators/tumblr.rb @@ -1,4 +1,3 @@ -require 'rubygems' require 'nokogiri' require 'open-uri' require 'fileutils' diff --git a/lib/jekyll/migrators/typo.rb b/lib/jekyll/migrators/typo.rb index adb8be9..45adf69 100644 --- a/lib/jekyll/migrators/typo.rb +++ b/lib/jekyll/migrators/typo.rb @@ -1,6 +1,5 @@ # Author: Toby DiPasquale require 'fileutils' -require 'rubygems' require 'sequel' require 'yaml' diff --git a/lib/jekyll/migrators/wordpress.rb b/lib/jekyll/migrators/wordpress.rb index 535859c..b33dcae 100644 --- a/lib/jekyll/migrators/wordpress.rb +++ b/lib/jekyll/migrators/wordpress.rb @@ -1,4 +1,3 @@ -require 'rubygems' require 'sequel' require 'fileutils' require 'yaml' diff --git a/lib/jekyll/migrators/wordpressdotcom.rb b/lib/jekyll/migrators/wordpressdotcom.rb index 701c2af..54ef498 100644 --- a/lib/jekyll/migrators/wordpressdotcom.rb +++ b/lib/jekyll/migrators/wordpressdotcom.rb @@ -1,6 +1,5 @@ # coding: utf-8 -require 'rubygems' require 'hpricot' require 'fileutils' require 'yaml' @@ -25,7 +24,7 @@ module Jekyll date = Time.parse(item.at('wp:post_date').inner_text) status = item.at('wp:status').inner_text - if status == "publish" + if status == "publish" published = true else published = false diff --git a/test/helper.rb b/test/helper.rb index c6a8a76..f0ee4a6 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,9 +1,5 @@ -require 'rubygems' -gem 'RedCloth', '>= 4.2.1' - require 'jekyll' - -require 'RedCloth' +require 'redcloth' require 'rdiscount' require 'kramdown' require 'redcarpet' debian/patches/0002-Fix-Redcarpet-and-Test-Upstream-Issues-539.patch0000644000000000000000000000240611753260137021723 0ustar From: Youhei SASAKI Date: Fri, 11 May 2012 18:07:58 +0900 Subject: Fix Redcarpet and Test(Upstream Issues #539) --- lib/jekyll/converters/markdown.rb | 2 +- test/test_redcarpet.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jekyll/converters/markdown.rb b/lib/jekyll/converters/markdown.rb index b565547..c0e4836 100644 --- a/lib/jekyll/converters/markdown.rb +++ b/lib/jekyll/converters/markdown.rb @@ -88,7 +88,7 @@ module Jekyll setup case @config['markdown'] when 'redcarpet' - Redcarpet.new(content, *@redcarpet_extensions).to_html + RedcarpetCompat.new(content, *@redcarpet_extensions).to_html when 'kramdown' # Check for use of coderay if @config['kramdown']['use_coderay'] diff --git a/test/test_redcarpet.rb b/test/test_redcarpet.rb index 1359c44..f6255c6 100644 --- a/test/test_redcarpet.rb +++ b/test/test_redcarpet.rb @@ -15,7 +15,7 @@ class TestRedcarpet < Test::Unit::TestCase end should "pass redcarpet extensions" do - assert_equal "

“smart”

", @markdown.convert('"smart"').strip + assert_equal "

"smart"

", @markdown.convert('"smart"').strip end end end debian/patches/0003-Remove-RedGreen-Dependencies.patch0000644000000000000000000000102611753260137017534 0ustar From: Youhei SASAKI Date: Fri, 11 May 2012 18:14:20 +0900 Subject: Remove RedGreen Dependencies Signed-off-by: Youhei SASAKI --- test/helper.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/helper.rb b/test/helper.rb index f0ee4a6..464d127 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -3,8 +3,6 @@ require 'redcloth' require 'rdiscount' require 'kramdown' require 'redcarpet' - -require 'redgreen' if RUBY_VERSION < '1.9' require 'shoulda' require 'rr' debian/patches/series0000644000000000000000000000020111753260137012030 0ustar 0001-Remove-RubyGems-Depends.patch 0002-Fix-Redcarpet-and-Test-Upstream-Issues-539.patch 0003-Remove-RedGreen-Dependencies.patch debian/compat0000644000000000000000000000000211753260137010371 0ustar 7 debian/ruby-tests.rake0000644000000000000000000000030511753260137012156 0ustar #-*- mode: ruby; coding: utf-8 -*- require 'rake/testtask' task :default => :test Rake::TestTask.new do |t| t.libs << 'test' t.test_files = FileList['test/**/test_*.rb'] t.verbose = true end debian/watch0000644000000000000000000000014111753260137010220 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/jekyll .*/jekyll-(.*).tar.gz debian/jekyll.10000644000000000000000000000360611753260137010554 0ustar .TH JEKYLL "1" "May 2012" "Jekyll 0.11.2" "User Commands" .SH NAME Jekyll \- is a blogaware, static site generator. .SH USAGE .TP jekyll # . \-> ./_site .TP jekyll # . \-> .TP jekyll # \-> .TP jekyll import # imports posts using named import script .IP Configuration is read from '/_config.yml' but can be overridden using the following options: .SH OPTIONS .TP \fB\-\-file\fR [PATH] File to import from .TP \fB\-\-dbname\fR [TEXT] DB to import from .TP \fB\-\-user\fR [TEXT] Username to use when importing .TP \fB\-\-pass\fR [TEXT] Password to use when importing .TP \fB\-\-host\fR [HOST ADDRESS] Host to import from .TP \fB\-\-site\fR [SITE NAME] Site to import from .TP \fB\-\-[no\-]safe\fR Safe mode (default unsafe) .TP \fB\-\-[no\-]auto\fR Auto\-regenerate .TP \fB\-\-server\fR [PORT] Start web server (default port 4000) .TP \fB\-\-no\-server\fR Do not start a web server .TP \fB\-\-base\-url\fR [BASE_URL] Serve website from a given base URL (default '/' .TP \fB\-\-[no\-]lsi\fR Use LSI for better related posts .TP \fB\-\-[no\-]pygments\fR Use pygments to highlight code .TP \fB\-\-rdiscount\fR Use rdiscount gem for Markdown .TP \fB\-\-redcarpet\fR Use redcarpet gem for Markdown .TP \fB\-\-kramdown\fR Use kramdown gem for Markdown .TP \fB\-\-time\fR [TIME] Time to generate the site for .TP \fB\-\-[no\-]future\fR Render future dated posts .TP \fB\-\-permalink\fR [TYPE] Use 'date' (default) for YYYY/MM/DD .TP \fB\-\-paginate\fR [POSTS_PER_PAGE] Paginate a blog's posts .TP \fB\-\-limit_posts\fR [MAX_POSTS] Limit the number of posts to publish .TP \fB\-\-url\fR [URL] Set custom site.url .TP \fB\-\-version\fR Display current version .SH AUTHOR This manual page was written by Youhei SASAKI , for the Debian GNU/Linux system(but may be used by others). debian/jekyll.manpages0000644000000000000000000000002011753260137012172 0ustar debian/jekyll.1 debian/changelog0000644000000000000000000000023411753260137011044 0ustar jekyll (0.11.2-1) unstable; urgency=low * Initial release (Closes: #672509) -- Youhei SASAKI Tue, 08 May 2012 18:44:34 +0900 debian/jekyll.docs0000644000000000000000000000001711753260137011335 0ustar README.textile debian/source/0000755000000000000000000000000011753260137010473 5ustar debian/source/format0000644000000000000000000000001411753260137011701 0ustar 3.0 (quilt) debian/jekyll.changelogs0000644000000000000000000000001411753260137012514 0ustar History.txt debian/copyright0000644000000000000000000000241511753260137011130 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: jekyll Source: http://github.com/mojombo/jekyll Files: * Copyright: 2008 Tom Preston-Werner License: Expat Files: debian/* Copyright: 2012 Youhei SASAKI License: Expat 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 X CONSORTIUM 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/rules0000755000000000000000000000100511753260137010247 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 override_dh_auto_clean: dh_auto_clean rm -fr $(CURDIR)/test/dest debian/control0000644000000000000000000000266711753260137010611 0ustar Source: jekyll Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Youhei SASAKI DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), rake, ruby-liquid, ruby-rdiscount, ruby-maruku, ruby-kramdown, ruby-shoulda, cucumber, ruby-rr, ruby-redcloth, ruby-classifier, ruby-albino, ruby-redcarpet Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/pkg-ruby-extras/jekyll.git Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/jekyll.git;a=summary Homepage: http://github.com/mojombo/jekyll XS-Ruby-Versions: all Package: jekyll Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-liquid, ruby-maruku, ruby-albino, ruby-kramdown, ruby-classifier, ruby-directory-watcher Recommends: ruby-sequel, ruby-sequel-pg, ruby-mysql Description: Simple, blog aware, static site generator Jekyll is a simple, blog aware, static site generator. It takes a template directory (representing the raw form of a website), runs it through Textile or Markdown and Liquid converters, and spits out a complete, static website suitable for serving with Apache or your favorite web server. . This is also the engine behind GitHub Pages(http://pages.github.com), which you can use to host your project's page or blog right here from GitHub.