softcover 1.7.2 → 1.7.5
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.lock +34 -36
- data/lib/softcover/article_template/README.md +3 -3
- data/lib/softcover/book_template/README.md +3 -3
- data/lib/softcover/book_template/markdown_gitignore +1 -0
- data/lib/softcover/cli.rb +3 -3
- data/lib/softcover/version.rb +1 -1
- data/softcover.gemspec +2 -2
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 35f8216b104c6b6341a7ff95524712cc97fdafd2153fff6d6c69bcab3f113a06
|
|
4
|
+
data.tar.gz: 691d43d5226885e4796440ec770bd0c19df2466fd180b3194a0de0f971a94c36
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a891f8b339375b86a3a4259b7fc9dc07d7f57aa1e2da8d8df3448ad2866a12af4c0ded3720675cbf33dd79121cf33cd4c6e590f096e91015684472a2cb5600c
|
|
7
|
+
data.tar.gz: 101c6147113f550d1b56109ec33da95559198f7cd03e14838fd1b0bf44a5a127203d0f4a5e8c95d1960d34454fdcf05a6f1f5bc70298e11097078c1f7be0f23e
|
data/Gemfile.lock
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
softcover (1.7.
|
|
4
|
+
softcover (1.7.5)
|
|
5
5
|
activesupport (~> 4.2.3)
|
|
6
6
|
async_sinatra (~> 1.1.0)
|
|
7
7
|
coffee-script (>= 2.2.0)
|
|
8
8
|
curb (>= 0.9.7)
|
|
9
9
|
i18n (>= 0.7.0)
|
|
10
10
|
kramdown (>= 1.6.0)
|
|
11
|
-
listen (~> 3.
|
|
11
|
+
listen (~> 3.7.1)
|
|
12
12
|
maruku (~> 0.7.1)
|
|
13
13
|
msgpack (~> 1.2.0)
|
|
14
14
|
nokogiri (>= 1.6.0, < 2.0)
|
|
15
|
-
polytexnic (~> 1.
|
|
15
|
+
polytexnic (~> 1.7.2)
|
|
16
16
|
pygments.rb (~> 2.1)
|
|
17
17
|
rest-client (>= 1.8.0)
|
|
18
18
|
ruby-progressbar (~> 1.10)
|
|
@@ -30,7 +30,7 @@ GEM
|
|
|
30
30
|
minitest (~> 5.1)
|
|
31
31
|
thread_safe (~> 0.3, >= 0.3.4)
|
|
32
32
|
tzinfo (~> 1.1)
|
|
33
|
-
addressable (2.
|
|
33
|
+
addressable (2.8.0)
|
|
34
34
|
public_suffix (>= 2.0.2, < 5.0)
|
|
35
35
|
async_sinatra (1.1.0)
|
|
36
36
|
rack (>= 1.4.1)
|
|
@@ -40,7 +40,7 @@ GEM
|
|
|
40
40
|
coffee-script-source
|
|
41
41
|
execjs
|
|
42
42
|
coffee-script-source (1.12.2)
|
|
43
|
-
concurrent-ruby (1.1.
|
|
43
|
+
concurrent-ruby (1.1.10)
|
|
44
44
|
coveralls (0.8.23)
|
|
45
45
|
json (>= 1.8, < 3)
|
|
46
46
|
simplecov (~> 0.16.1)
|
|
@@ -50,60 +50,58 @@ GEM
|
|
|
50
50
|
crack (0.4.5)
|
|
51
51
|
rexml
|
|
52
52
|
crass (1.0.6)
|
|
53
|
-
curb (0.
|
|
54
|
-
daemons (1.
|
|
55
|
-
diff-lcs (1.
|
|
56
|
-
docile (1.
|
|
53
|
+
curb (1.0.0)
|
|
54
|
+
daemons (1.4.1)
|
|
55
|
+
diff-lcs (1.5.0)
|
|
56
|
+
docile (1.4.0)
|
|
57
57
|
domain_name (0.5.20190701)
|
|
58
58
|
unf (>= 0.0.5, < 1.0.0)
|
|
59
59
|
eventmachine (1.2.7)
|
|
60
|
-
execjs (2.
|
|
61
|
-
ffi (1.
|
|
60
|
+
execjs (2.8.1)
|
|
61
|
+
ffi (1.15.5)
|
|
62
62
|
hashdiff (1.0.1)
|
|
63
63
|
http-accept (1.7.0)
|
|
64
|
-
http-cookie (1.0.
|
|
64
|
+
http-cookie (1.0.4)
|
|
65
65
|
domain_name (~> 0.5)
|
|
66
66
|
i18n (0.9.5)
|
|
67
67
|
concurrent-ruby (~> 1.0)
|
|
68
68
|
json (2.3.1)
|
|
69
|
-
kramdown (2.3.
|
|
69
|
+
kramdown (2.3.2)
|
|
70
70
|
rexml
|
|
71
|
-
listen (3.
|
|
71
|
+
listen (3.7.1)
|
|
72
72
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
73
73
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
74
74
|
maruku (0.7.3)
|
|
75
75
|
method_source (1.0.0)
|
|
76
|
-
mime-types (3.
|
|
76
|
+
mime-types (3.4.1)
|
|
77
77
|
mime-types-data (~> 3.2015)
|
|
78
|
-
mime-types-data (3.
|
|
79
|
-
|
|
80
|
-
minitest (5.14.4)
|
|
78
|
+
mime-types-data (3.2022.0105)
|
|
79
|
+
minitest (5.15.0)
|
|
81
80
|
msgpack (1.2.10)
|
|
82
81
|
netrc (0.11.0)
|
|
83
|
-
nokogiri (1.
|
|
84
|
-
mini_portile2 (~> 2.5.0)
|
|
82
|
+
nokogiri (1.13.3-x86_64-darwin)
|
|
85
83
|
racc (~> 1.4)
|
|
86
|
-
nokogumbo (2.0.
|
|
84
|
+
nokogumbo (2.0.5)
|
|
87
85
|
nokogiri (~> 1.8, >= 1.8.4)
|
|
88
|
-
polytexnic (1.
|
|
86
|
+
polytexnic (1.7.2)
|
|
89
87
|
json (~> 2.3.0)
|
|
90
|
-
kramdown (>=
|
|
88
|
+
kramdown (>= 2.0, < 3.0)
|
|
91
89
|
msgpack (~> 1.2.0)
|
|
92
90
|
nokogiri (>= 1.6.0, < 2.0)
|
|
93
91
|
pygments.rb (~> 2.1)
|
|
94
|
-
pry (0.14.
|
|
92
|
+
pry (0.14.1)
|
|
95
93
|
coderay (~> 1.1)
|
|
96
94
|
method_source (~> 1.0)
|
|
97
95
|
public_suffix (4.0.6)
|
|
98
|
-
pygments.rb (2.
|
|
99
|
-
racc (1.
|
|
96
|
+
pygments.rb (2.3.0)
|
|
97
|
+
racc (1.6.0)
|
|
100
98
|
rack (1.6.13)
|
|
101
99
|
rack-protection (1.5.5)
|
|
102
100
|
rack
|
|
103
101
|
rack-test (1.1.0)
|
|
104
102
|
rack (>= 1.0, < 3)
|
|
105
|
-
rake (13.0.
|
|
106
|
-
rb-fsevent (0.
|
|
103
|
+
rake (13.0.6)
|
|
104
|
+
rb-fsevent (0.11.1)
|
|
107
105
|
rb-inotify (0.10.1)
|
|
108
106
|
ffi (~> 1.0)
|
|
109
107
|
rest-client (2.1.0)
|
|
@@ -111,7 +109,7 @@ GEM
|
|
|
111
109
|
http-cookie (>= 1.0.2, < 2.0)
|
|
112
110
|
mime-types (>= 1.16, < 4.0)
|
|
113
111
|
netrc (~> 0.8)
|
|
114
|
-
rexml (3.2.
|
|
112
|
+
rexml (3.2.5)
|
|
115
113
|
rspec (2.14.1)
|
|
116
114
|
rspec-core (~> 2.14.0)
|
|
117
115
|
rspec-expectations (~> 2.14.0)
|
|
@@ -145,23 +143,23 @@ GEM
|
|
|
145
143
|
daemons (~> 1.0, >= 1.0.9)
|
|
146
144
|
eventmachine (~> 1.0, >= 1.0.4)
|
|
147
145
|
rack (~> 1.0)
|
|
148
|
-
thor (1.1
|
|
146
|
+
thor (1.2.1)
|
|
149
147
|
thread_safe (0.3.6)
|
|
150
148
|
tilt (2.0.10)
|
|
151
|
-
tins (1.
|
|
149
|
+
tins (1.31.0)
|
|
152
150
|
sync
|
|
153
151
|
tzinfo (1.2.9)
|
|
154
152
|
thread_safe (~> 0.1)
|
|
155
153
|
unf (0.1.4)
|
|
156
154
|
unf_ext
|
|
157
|
-
unf_ext (0.0.
|
|
158
|
-
webmock (3.
|
|
159
|
-
addressable (>= 2.
|
|
155
|
+
unf_ext (0.0.8.1)
|
|
156
|
+
webmock (3.14.0)
|
|
157
|
+
addressable (>= 2.8.0)
|
|
160
158
|
crack (>= 0.3.2)
|
|
161
159
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
162
160
|
|
|
163
161
|
PLATFORMS
|
|
164
|
-
|
|
162
|
+
x86_64-darwin-19
|
|
165
163
|
|
|
166
164
|
DEPENDENCIES
|
|
167
165
|
coveralls
|
|
@@ -175,4 +173,4 @@ DEPENDENCIES
|
|
|
175
173
|
webmock (~> 3)
|
|
176
174
|
|
|
177
175
|
BUNDLED WITH
|
|
178
|
-
2.
|
|
176
|
+
2.3.10
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Document README (please edit)
|
|
2
2
|
|
|
3
|
-
This is the README generated by `softcover new <document>`. It's not used by the [Softcover](
|
|
3
|
+
This is the README generated by `softcover new <document>`. It's not used by the [Softcover](https://www.softcover.io/) website, but it's a good practice to have a README when storing your document's source at, e.g., [GitHub](https://github.com/).
|
|
4
4
|
|
|
5
|
-
Softcover documents come with a `.gitignore` file for use with [Git](
|
|
5
|
+
Softcover documents come with a `.gitignore` file for use with [Git](https://git-scm.com/). To get started, add your files as follows:
|
|
6
6
|
|
|
7
7
|
$ git add -A
|
|
8
8
|
$ git commit -m "Initialize repository"
|
|
9
9
|
|
|
10
|
-
Then follow the instructions at [GitHub](
|
|
10
|
+
Then follow the instructions at [GitHub](https://github.com/), [GitLab](https://gitlab.com/), or [Bitbucket](https://bitbucket.org/) to create and push a remote repository.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Document README (please edit)
|
|
2
2
|
|
|
3
|
-
This is the README generated by `softcover new <document>`. It's not used by the [Softcover](
|
|
3
|
+
This is the README generated by `softcover new <document>`. It's not used by the [Softcover](https://www.softcover.io/) website, but it's a good practice to have a README when storing your document's source at, e.g., [GitHub](https://github.com/).
|
|
4
4
|
|
|
5
|
-
Softcover documents come with a `.gitignore` file for use with [Git](
|
|
5
|
+
Softcover documents come with a `.gitignore` file for use with [Git](https://git-scm.com/). To get started, add your files as follows:
|
|
6
6
|
|
|
7
7
|
$ git add -A
|
|
8
8
|
$ git commit -m "Initialize repository"
|
|
9
9
|
|
|
10
|
-
Then follow the instructions at [GitHub](
|
|
10
|
+
Then follow the instructions at [GitHub](https://github.com/), [GitLab](https://gitlab.com/), or [Bitbucket](https://bitbucket.org/) to create and push a remote repository.
|
data/lib/softcover/cli.rb
CHANGED
|
@@ -33,16 +33,16 @@ module Softcover
|
|
|
33
33
|
desc "build:#{format}", "Build #{format.upcase}"
|
|
34
34
|
if format == 'pdf'
|
|
35
35
|
method_option :debug, aliases: '-d',
|
|
36
|
-
desc: "Run raw xelatex for debugging
|
|
36
|
+
desc: "Run raw xelatex for debugging",
|
|
37
37
|
type: :boolean
|
|
38
38
|
method_option :once, aliases: '-o',
|
|
39
|
-
desc: "Run
|
|
39
|
+
desc: "Run generator once",
|
|
40
40
|
type: :boolean
|
|
41
41
|
method_option :'find-overfull', aliases: '-f',
|
|
42
42
|
desc: "Find overfull hboxes",
|
|
43
43
|
type: :boolean
|
|
44
44
|
method_option :nonstop, aliases: '-n',
|
|
45
|
-
desc: "Run
|
|
45
|
+
desc: "Run generator in nonstopmode",
|
|
46
46
|
type: :boolean
|
|
47
47
|
elsif format == 'mobi'
|
|
48
48
|
method_option :amazon, aliases: '-a',
|
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.7.2'
|
|
22
22
|
gem.add_dependency 'msgpack', '~> 1.2.0'
|
|
23
23
|
gem.add_dependency 'nokogiri', '>= 1.6.0', '< 2.0'
|
|
24
24
|
gem.add_dependency 'thor', '>= 0.18.1', '< 2.0'
|
|
@@ -36,6 +36,6 @@ Gem::Specification.new do |gem|
|
|
|
36
36
|
gem.add_dependency 'async_sinatra', '~> 1.1.0'
|
|
37
37
|
gem.add_dependency 'sinatra-respond_to', '~> 0.9.0'
|
|
38
38
|
gem.add_dependency 'coffee-script', '>= 2.2.0'
|
|
39
|
-
gem.add_dependency 'listen', '~> 3.
|
|
39
|
+
gem.add_dependency 'listen', '~> 3.7.1'
|
|
40
40
|
gem.add_dependency 'sanitize', '>= 4.6.3', '< 5.3.0'
|
|
41
41
|
end
|
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: softcover
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Hartl
|
|
8
8
|
- Nick Merwin
|
|
9
|
-
autorequire:
|
|
9
|
+
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2022-03-25 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:
|
|
20
|
+
version: 1.7.2
|
|
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:
|
|
27
|
+
version: 1.7.2
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
29
|
name: msgpack
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -267,14 +267,14 @@ dependencies:
|
|
|
267
267
|
requirements:
|
|
268
268
|
- - "~>"
|
|
269
269
|
- !ruby/object:Gem::Version
|
|
270
|
-
version: 3.
|
|
270
|
+
version: 3.7.1
|
|
271
271
|
type: :runtime
|
|
272
272
|
prerelease: false
|
|
273
273
|
version_requirements: !ruby/object:Gem::Requirement
|
|
274
274
|
requirements:
|
|
275
275
|
- - "~>"
|
|
276
276
|
- !ruby/object:Gem::Version
|
|
277
|
-
version: 3.
|
|
277
|
+
version: 3.7.1
|
|
278
278
|
- !ruby/object:Gem::Dependency
|
|
279
279
|
name: sanitize
|
|
280
280
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -604,7 +604,7 @@ homepage: https://github.com/softcover/softcover
|
|
|
604
604
|
licenses:
|
|
605
605
|
- MIT
|
|
606
606
|
metadata: {}
|
|
607
|
-
post_install_message:
|
|
607
|
+
post_install_message:
|
|
608
608
|
rdoc_options: []
|
|
609
609
|
require_paths:
|
|
610
610
|
- lib
|
|
@@ -619,8 +619,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
619
619
|
- !ruby/object:Gem::Version
|
|
620
620
|
version: '0'
|
|
621
621
|
requirements: []
|
|
622
|
-
rubygems_version: 3.
|
|
623
|
-
signing_key:
|
|
622
|
+
rubygems_version: 3.3.7
|
|
623
|
+
signing_key:
|
|
624
624
|
specification_version: 4
|
|
625
625
|
summary: An ebook production system & sales and marketing platform for technical authors
|
|
626
626
|
test_files:
|