epuber 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/README.md +3 -3
- data/lib/epuber/compiler/file_finders/abstract.rb +0 -3
- data/lib/epuber/compiler/file_finders/imaginary.rb +0 -3
- data/lib/epuber/compiler/file_finders/normal.rb +0 -3
- data/lib/epuber/compiler/file_resolver.rb +1 -3
- data/lib/epuber/ruby_extensions/string.rb +16 -0
- data/lib/epuber/version.rb +1 -1
- data/lib/epuber.rb +0 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b784ae6daa5781f38a8107035260143cc3c5e9ea
|
4
|
+
data.tar.gz: 1e3b8c7310d459f6ca6d85267000f0b89df97087
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00027176edd50911a1a80774800602b8f4d31a2bea41bb4af7b8a276bc39d15a40d9ac62bbee3831f5cddfc9996f5817d1653599d4a3f31d058071b6bc75f7c0
|
7
|
+
data.tar.gz: cbb1aa92491bd09e034c91738191747098409bdf2fa3d748d8ab147c659ffb04e17cb59d9c69e50ced590f0a08efb46f7373de149387924e4096111eec8b5b6a
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Epuber
|
2
2
|
|
3
|
-
[](https://travis-ci.org/epuber-io/epuber)
|
3
|
+
[](http://badge.fury.io/rb/epuber) [](https://travis-ci.org/epuber-io/epuber) [](https://coveralls.io/github/epuber-io/epuber?branch=master)
|
4
4
|
|
5
5
|
Epuber is simple tool to compile and pack source files into EPUB format. Offers to define multiple "targets" which allows to create multiple versions of the book by running only one command. Eliminates copying code and information, eliminates needs to use _git_ branches to differ ebook content.
|
6
6
|
|
@@ -9,7 +9,7 @@ Epuber is simple tool to compile and pack source files into EPUB format. Offers
|
|
9
9
|
|
10
10
|
- creating multiple versions of book with requirement to maintain only one source (e.g. for iBooks, Google Play, ...)
|
11
11
|
- defined constants are usable in almost all source files
|
12
|
-
- using template engines (
|
12
|
+
- using template engines (currently only [Bade](https://github.com/epuber-io/bade)), css preprocessors (currently only Stylus) and standard EPUB formats at the same time
|
13
13
|
- have local development server which
|
14
14
|
- automatically refresh web browser when some source file changes
|
15
15
|
- quick jumping to next page with arrow keys on keyboard
|
@@ -32,7 +32,7 @@ To install this gem onto your local machine, run `bundle exec rake install`.
|
|
32
32
|
|
33
33
|
## Contributing
|
34
34
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/epuber-io/epuber. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
36
36
|
|
37
37
|
|
38
38
|
## TODO
|
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
begin
|
3
|
+
require 'unicode_normalize'
|
4
|
+
rescue LoadError
|
5
|
+
# silently fail
|
6
|
+
|
7
|
+
require 'active_support/multibyte/unicode'
|
8
|
+
|
9
|
+
class String
|
10
|
+
unless respond_to?(:unicode_normalize)
|
11
|
+
def unicode_normalize
|
12
|
+
ActiveSupport::Multibyte::Unicode.normalize(self)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/epuber/version.rb
CHANGED
data/lib/epuber.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epuber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roman Kříž
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -375,6 +375,7 @@ files:
|
|
375
375
|
- lib/epuber/lockfile.rb
|
376
376
|
- lib/epuber/plugin.rb
|
377
377
|
- lib/epuber/ruby_extensions/match_data.rb
|
378
|
+
- lib/epuber/ruby_extensions/string.rb
|
378
379
|
- lib/epuber/ruby_extensions/thread.rb
|
379
380
|
- lib/epuber/server.rb
|
380
381
|
- lib/epuber/server/auto_refresh/auto_refresh.coffee
|