bookshop 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/bookshop.gemspec +3 -0
- data/lib/bookshop/post_install.rb +18 -0
- data/lib/bookshop/version.rb +1 -1
- metadata +3 -3
- data/POST_INSTALL +0 -19
data/bookshop.gemspec
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
require File.expand_path("../lib/bookshop/version", __FILE__)
|
3
|
+
require File.expand_path("../lib/bookshop/post_install", __FILE__)
|
3
4
|
|
4
5
|
Gem::Specification.new do |s|
|
5
6
|
s.name = "bookshop"
|
@@ -27,4 +28,6 @@ Gem::Specification.new do |s|
|
|
27
28
|
s.files = `git ls-files`.split("\n")
|
28
29
|
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
29
30
|
s.require_path = 'lib'
|
31
|
+
|
32
|
+
s.post_install_message = Bookshop::POST_INSTALL
|
30
33
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Bookshop
|
2
|
+
POST_INSTALL = "
|
3
|
+
******************************************************************
|
4
|
+
|
5
|
+
Install wkhtmltopdf:
|
6
|
+
|
7
|
+
1. Install by hand (recomended):
|
8
|
+
|
9
|
+
https://github.com/jdpace/PDFKit/wiki/Installing-WKHTMLTOPDF
|
10
|
+
|
11
|
+
2. Try using the wkhtmltopdf-binary gem (mac + linux i386)
|
12
|
+
|
13
|
+
gem install wkhtmltopdf-binary
|
14
|
+
|
15
|
+
|
16
|
+
******************************************************************
|
17
|
+
"
|
18
|
+
end
|
data/lib/bookshop/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: bookshop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.12
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- D.a. Thompson
|
@@ -63,7 +63,6 @@ files:
|
|
63
63
|
- CHANGELOG
|
64
64
|
- Gemfile
|
65
65
|
- MIT-LICENSE
|
66
|
-
- POST_INSTALL
|
67
66
|
- README.rdoc
|
68
67
|
- Rakefile
|
69
68
|
- bin/bookshop
|
@@ -100,13 +99,14 @@ files:
|
|
100
99
|
- lib/bookshop/generators/bookshop/generator/templates/%file_name%_generator.rb.tt
|
101
100
|
- lib/bookshop/generators/bookshop/generator/templates/USAGE.tt
|
102
101
|
- lib/bookshop/generators/bookshop/generator/templates/templates/.empty_directory
|
102
|
+
- lib/bookshop/post_install.rb
|
103
103
|
- lib/bookshop/ruby_version_check.rb
|
104
104
|
- lib/bookshop/script_bookshop_loader.rb
|
105
105
|
- lib/bookshop/version.rb
|
106
106
|
homepage: http://rubygems.org/gems/bookshop
|
107
107
|
licenses:
|
108
108
|
- MIT
|
109
|
-
post_install_message:
|
109
|
+
post_install_message: "\n ******************************************************************\n\n Install wkhtmltopdf:\n\n 1. Install by hand (recomended):\n\n https://github.com/jdpace/PDFKit/wiki/Installing-WKHTMLTOPDF\n\n 2. Try using the wkhtmltopdf-binary gem (mac + linux i386)\n\n gem install wkhtmltopdf-binary\n\n\n ******************************************************************\n "
|
110
110
|
rdoc_options: []
|
111
111
|
|
112
112
|
require_paths:
|
data/POST_INSTALL
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
******************************************************************
|
2
|
-
|
3
|
-
Install wkhtmltopdf:
|
4
|
-
|
5
|
-
1. Install by hand (recomended):
|
6
|
-
|
7
|
-
https://github.com/jdpace/PDFKit/wiki/Installing-WKHTMLTOPDF
|
8
|
-
|
9
|
-
2. Try using the wkhtmltopdf-binary gem (mac + linux i386)
|
10
|
-
|
11
|
-
gem install wkhtmltopdf-binary
|
12
|
-
|
13
|
-
3. The wkhtmltopdf site has more info
|
14
|
-
|
15
|
-
http://code.google.com/p/wkhtmltopdf/
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
******************************************************************
|