mirror of
https://github.com/captn3m0/hoshruba.git
synced 2024-09-16 16:40:20 +00:00
Switch to bundle
This commit is contained in:
parent
6948564224
commit
5b6d0e8db1
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ Hoshruba.*
|
||||
Hoshruba_*
|
||||
html/
|
||||
cover.pdf
|
||||
vendor/
|
2
COPYING
2
COPYING
@ -1,7 +1,7 @@
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2015 Abhay Rana <me@captnemo.in>
|
||||
Copyright (C) 2021 Abhay Rana <me@captnemo.in>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
|
9
Gemfile
Normal file
9
Gemfile
Normal file
@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
||||
|
||||
# gem "rails"
|
||||
|
||||
gem "nokogiri", "~> 1.11"
|
17
Gemfile.lock
Normal file
17
Gemfile.lock
Normal file
@ -0,0 +1,17 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
mini_portile2 (2.5.1)
|
||||
nokogiri (1.11.3)
|
||||
mini_portile2 (~> 2.5.0)
|
||||
racc (~> 1.4)
|
||||
racc (1.5.2)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
nokogiri (~> 1.11)
|
||||
|
||||
BUNDLED WITH
|
||||
2.2.17
|
@ -1,9 +1,7 @@
|
||||
# hoshruba
|
||||
|
||||
|
||||
![](cover.jpg)
|
||||
|
||||
|
||||
Tor.com recently published the entire first book in the Hoshruba series as a [series
|
||||
of blog posts](http://www.tor.com/features/series/hoshruba-series/). This script
|
||||
downloads all of these posts and converts them into a publishable format, including
|
||||
@ -31,7 +29,8 @@ You can also skip calibre if you only want the EPUB file.
|
||||
|
||||
After downloading the repo and installing the requirements, just run
|
||||
|
||||
ruby setup.rb
|
||||
bundle install
|
||||
bundle exec ruby setup.rb
|
||||
|
||||
All the generated files will be saved with the filename `Hoshruba.{epub|pdf|mobi|html}`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user