epub-rb 0.0.0 → 0.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 849b081d7cddbdb2eb58d244c3e63a592e77eb17a954260aa963afb387580869
4
- data.tar.gz: cbe1f6e8f759c167b06dfe9198ed0284af344ede80f720a9b7f56a90be3f78cf
3
+ metadata.gz: 8ccda14a70e4f430c42002fff5cb37ca178f5b3b13f75b358887a61e5d63abbd
4
+ data.tar.gz: b4260a96dac06bf73f4ec4cebb83f15254b6f55a5d3ed2508018ab386c230565
5
5
  SHA512:
6
- metadata.gz: 96cb09f533b6ed5a07c309ee8c0a354d226478cd087303cbc83b912df4d70e06d96bd938f2db59d6f0894d5528af64dc06c90f18ce697f22fcaef28b65923981
7
- data.tar.gz: 61f5f252c171559dd0183236c80d50064c7f03b2ab48977131f99634eb201c2735add1c22ce96ec665a4c33c2ff1c56efdeac69236f9511ef24e38ce92930924
6
+ metadata.gz: ae836a7ec19859ad2fd7025c2e9c669db336779cb6133dab8ec6a63717d3a60525ca7bd729daeb5dec5887812e523d46d38e558f93a7889f807e239163ff2e6d
7
+ data.tar.gz: 142b0f17db9e29429ffe8db8378a8acfb8556785a533b95fb6ecabfbd475489473161a8731c80f4aa3290b63444a8198e2349c4728dd2abc9ad2868b35638c9d
data/CHANGELOG.md CHANGED
@@ -11,6 +11,11 @@ Prefix your message with one of the following:
11
11
  - [Security] in case of vulnerabilities.
12
12
  -->
13
13
 
14
- ## Unreleased
14
+ ## v0.0.1 - Jan 25, 2024
15
+
16
+ - Remove unused dependencies.
17
+ - Fix bug with SecureRandom.
18
+
19
+ ## v0.0.0 - Jan 25, 2024
15
20
 
16
21
  - Initial release.
data/README.md CHANGED
@@ -90,6 +90,15 @@ File.open("toc.html", "w") do |file|
90
90
  end
91
91
  ```
92
92
 
93
+ > [!NOTE]
94
+ >
95
+ > Notice that the order of `.html`/`.xhtml` files is important. You need to sort
96
+ > files how you'd like them to show up. If you add `toc.html` lastly, then it'll
97
+ > show up at the end of the ebook.
98
+ >
99
+ > Consider adding files in this order: `cover.html`, `toc.html`, all other html
100
+ > files your epub will have, then other assets (images, css, javascript, etc).
101
+
93
102
  ## Maintainer
94
103
 
95
104
  - [Nando Vieira](https://github.com/fnando)
data/epub-rb.gemspec CHANGED
@@ -38,7 +38,6 @@ Gem::Specification.new do |spec|
38
38
  spec.add_dependency "builder"
39
39
  spec.add_dependency "nokogiri"
40
40
  spec.add_dependency "rubyzip"
41
- spec.add_dependency "thor"
42
41
  spec.add_development_dependency "minitest"
43
42
  spec.add_development_dependency "minitest-utils"
44
43
  spec.add_development_dependency "pry-meta"
data/lib/epub/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Epub
4
- VERSION = "0.0.0"
4
+ VERSION = "0.0.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epub-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: thor
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: minitest
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -167,8 +153,7 @@ dependencies:
167
153
  description: Create epub files using Ruby.
168
154
  email:
169
155
  - me@fnando.com
170
- executables:
171
- - epub
156
+ executables: []
172
157
  extensions: []
173
158
  extra_rdoc_files: []
174
159
  files:
@@ -192,15 +177,12 @@ files:
192
177
  - bin/console
193
178
  - bin/setup
194
179
  - epub-rb.gemspec
195
- - exe/epub
196
180
  - lib/epub-rb.rb
197
181
  - lib/epub.rb
198
182
  - lib/epub/cli.rb
199
183
  - lib/epub/epub.rb
200
- - lib/epub/generator.rb
201
184
  - lib/epub/mime_type.rb
202
185
  - lib/epub/navigation.rb
203
- - lib/epub/templates/.keep
204
186
  - lib/epub/v3.rb
205
187
  - lib/epub/version.rb
206
188
  - playground.rb
@@ -211,10 +193,10 @@ metadata:
211
193
  rubygems_mfa_required: 'true'
212
194
  homepage_uri: https://github.com/fnando/epub
213
195
  bug_tracker_uri: https://github.com/fnando/epub/issues
214
- source_code_uri: https://github.com/fnando/epub/tree/v0.0.0
215
- changelog_uri: https://github.com/fnando/epub/tree/v0.0.0/CHANGELOG.md
216
- documentation_uri: https://github.com/fnando/epub/tree/v0.0.0/README.md
217
- license_uri: https://github.com/fnando/epub/tree/v0.0.0/LICENSE.md
196
+ source_code_uri: https://github.com/fnando/epub/tree/v0.0.1
197
+ changelog_uri: https://github.com/fnando/epub/tree/v0.0.1/CHANGELOG.md
198
+ documentation_uri: https://github.com/fnando/epub/tree/v0.0.1/README.md
199
+ license_uri: https://github.com/fnando/epub/tree/v0.0.1/LICENSE.md
218
200
  post_install_message:
219
201
  rdoc_options: []
220
202
  require_paths:
data/exe/epub DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require_relative "../lib/epub-rb"
5
- Epub::CLI.start
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Epub
4
- class Generator < Thor::Group
5
- include Thor::Actions
6
-
7
- attr_accessor :options
8
-
9
- def self.source_root
10
- File.join(__dir__, "templates")
11
- end
12
-
13
- no_commands do
14
- # Add helper methods here
15
- end
16
- end
17
- end
File without changes