softcover 1.4.9 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/softcover/cli.rb +2 -1
- data/lib/softcover/utils.rb +1 -1
- data/lib/softcover/version.rb +1 -1
- data/softcover.gemspec +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 781319a7d84a5071945aa7421326796d5a0b48bb3dc1cdb905c0f11da12b4bc8
|
4
|
+
data.tar.gz: 47e580a7819ce8c60c2773482448bd9048425251d85425c38e0dfcbfab7e7e7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a2f770ad2f0f5f49e165ca0ffd244267e064a412b8e98cdc169215035852ceaf8e71324487424a9e54e707dbd022c266f6a99067b38fb93cfe5c3dee6a240c2
|
7
|
+
data.tar.gz: 9d723d3b1a6cd8cc2a3744b63ebb54ba7a4db95d744d1dd23d67092c298f3fd3a57f10660153ac617afecd8e0a0a59335467155798a5e153dd3a16773549f675
|
data/lib/softcover/cli.rb
CHANGED
@@ -82,8 +82,9 @@ module Softcover
|
|
82
82
|
rm(Dir.glob('*.toc'))
|
83
83
|
rm(Dir.glob('*.out'))
|
84
84
|
rm(Dir.glob('*.tmp.*'))
|
85
|
-
rm(Dir.glob(path('tmp
|
85
|
+
rm(Dir.glob(path('tmp/*.*')))
|
86
86
|
rm('.highlight_cache')
|
87
|
+
rm('tmp/.highlight_cache')
|
87
88
|
end
|
88
89
|
|
89
90
|
# ===============================================
|
data/lib/softcover/utils.rb
CHANGED
@@ -157,7 +157,7 @@ module Softcover::Utils
|
|
157
157
|
# but we want to be able to output a LaTeX style file as well.
|
158
158
|
# The inclusion of the ':css' symbol is necessary but doesn't actually
|
159
159
|
# result in CSS being output unless the format is 'html'.
|
160
|
-
pygments = Pygments.send(:mentos, :css, [format.to_s, ''])
|
160
|
+
pygments = Pygments::Popen.new.send(:mentos, :css, [format.to_s, ''])
|
161
161
|
add_highlight_class!(pygments) if format == :html
|
162
162
|
File.open(File.join(path, "pygments.#{extension}"), 'w') do |f|
|
163
163
|
f.write(pygments)
|
data/lib/softcover/version.rb
CHANGED
data/softcover.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_dependency 'polytexnic', '~> 1.
|
21
|
+
gem.add_dependency 'polytexnic', '~> 1.4.0'
|
22
22
|
gem.add_dependency 'msgpack', '~> 1.2.0'
|
23
23
|
gem.add_dependency 'nokogiri', '~> 1.8.1'
|
24
24
|
gem.add_dependency 'thor', '~> 0.18.1'
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |gem|
|
|
28
28
|
gem.add_dependency 'curb', '~> 0.8.5'
|
29
29
|
gem.add_dependency 'ruby-progressbar', '~> 1.4.2'
|
30
30
|
gem.add_dependency 'maruku', '~> 0.7.1'
|
31
|
-
gem.add_dependency 'pygments.rb', '~>
|
31
|
+
gem.add_dependency 'pygments.rb', '~> 1.2.1'
|
32
32
|
gem.add_dependency 'kramdown', '~> 1.14.0'
|
33
33
|
|
34
34
|
gem.add_dependency 'sinatra', '~> 1.4.4'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: softcover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Hartl
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-12-
|
12
|
+
date: 2017-12-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: polytexnic
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.
|
20
|
+
version: 1.4.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 1.
|
27
|
+
version: 1.4.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: msgpack
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,14 +157,14 @@ dependencies:
|
|
157
157
|
requirements:
|
158
158
|
- - "~>"
|
159
159
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
160
|
+
version: 1.2.1
|
161
161
|
type: :runtime
|
162
162
|
prerelease: false
|
163
163
|
version_requirements: !ruby/object:Gem::Requirement
|
164
164
|
requirements:
|
165
165
|
- - "~>"
|
166
166
|
- !ruby/object:Gem::Version
|
167
|
-
version:
|
167
|
+
version: 1.2.1
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: kramdown
|
170
170
|
requirement: !ruby/object:Gem::Requirement
|
@@ -613,7 +613,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
613
613
|
version: '0'
|
614
614
|
requirements: []
|
615
615
|
rubyforge_project:
|
616
|
-
rubygems_version: 2.
|
616
|
+
rubygems_version: 2.7.3
|
617
617
|
signing_key:
|
618
618
|
specification_version: 4
|
619
619
|
summary: An ebook production system & sales and marketing platform for technical authors
|