Package: jekyll / 2.2.0+dfsg-2

0004-Remove-Launchy-Dependencies.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From: Debian Ruby Extras Maintainers
 <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Date: Fri, 2 May 2014 15:38:29 +0900
Subject: Remove Launchy Dependencies

---
 Rakefile       | 4 +---
 jekyll.gemspec | 1 -
 2 files changed, 1 insertion(+), 4 deletions(-)

--- jekyll.orig/Rakefile
+++ jekyll/Rakefile
@@ -133,14 +133,12 @@
 namespace :site do
   desc "Generate and view the site locally"
   task :preview do
-    require "launchy"
-
     # Yep, it's a hack! Wait a few seconds for the Jekyll site to generate and
     # then open it in a browser. Someday we can do better than this, I hope.
     Thread.new do
       sleep 4
       puts "Opening in browser..."
-      Launchy.open("http://localhost:4000")
+      sh "xdg-open http://localhost:4000"
     end
 
     # Generate the site in server mode.
--- jekyll.orig/jekyll.gemspec
+++ jekyll/jekyll.gemspec
@@ -55,7 +55,6 @@
   s.add_development_dependency('RedCloth', "~> 4.2")
   s.add_development_dependency('maruku', "~> 0.7.0")
   s.add_development_dependency('rdiscount', "~> 1.6")
-  s.add_development_dependency('launchy', "~> 2.3")
   s.add_development_dependency('mime-types', "~> 1.5")
   s.add_development_dependency('activesupport', '~> 3.2.13')
   s.add_development_dependency('jekyll_test_plugin')