shoko 0.1.0 → 0.1.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 +4 -4
- data/bin/shoko +15 -0
- data/lib/shoko/application/cli.rb +1 -1
- data/lib/shoko/shared/version.rb +1 -1
- data/shoko-0.1.0.gem +0 -0
- metadata +4 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e7637c59f48a8e0b58e7e5497a188c54dc523dd364ec25fffadacbd909b01542
|
|
4
|
+
data.tar.gz: 96e4d52bd193d140919ac2fba904b279803b32e15ce12f477c7c22523f562815
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b288a0f6d5ae08ccd1d4c15a6b8d052468e2565008e3bfd6a548982c8144a95ff836118649b5337a3e8741ac88d9d5d6a483948b93e2be2f271a84331d3d7c83
|
|
7
|
+
data.tar.gz: dce4bdcf953cb80acd4a01b53dc5d7e6267f2fe896db869d4f7fe162f578d198268b31261e9ee843985cec8aa21d29618938074603f9690de1b874a882a82e69
|
data/bin/shoko
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
5
|
+
|
|
6
|
+
begin
|
|
7
|
+
require "bundler/setup"
|
|
8
|
+
rescue LoadError
|
|
9
|
+
# Bundler isn't required when running from a packaged gem.
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
$LOAD_PATH.unshift(File.expand_path("../lib", __dir__))
|
|
13
|
+
require "shoko"
|
|
14
|
+
|
|
15
|
+
Shoko::CLI.run(ARGV)
|
|
@@ -29,7 +29,7 @@ module Shoko
|
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
def configure_parser(parser, options)
|
|
32
|
-
parser.banner = 'Usage:
|
|
32
|
+
parser.banner = 'Usage: shoko [options] [file]'
|
|
33
33
|
parser.on('-d', '--debug', 'Enable debug logging') { options[:debug] = true }
|
|
34
34
|
parser.on('--log PATH', 'Write JSON logs to PATH instead of discarding output') do |path|
|
|
35
35
|
options[:log_path] = path
|
data/lib/shoko/shared/version.rb
CHANGED
data/shoko-0.1.0.gem
ADDED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shoko
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shoko
|
|
@@ -47,6 +47,7 @@ description: Terminal EBook Reader
|
|
|
47
47
|
email:
|
|
48
48
|
- ruby.computer770@passinbox.com
|
|
49
49
|
executables:
|
|
50
|
+
- shoko
|
|
50
51
|
- start
|
|
51
52
|
extensions: []
|
|
52
53
|
extra_rdoc_files: []
|
|
@@ -59,6 +60,7 @@ files:
|
|
|
59
60
|
- LICENSE
|
|
60
61
|
- README.md
|
|
61
62
|
- Rakefile
|
|
63
|
+
- bin/shoko
|
|
62
64
|
- bin/start
|
|
63
65
|
- lib/shoko.rb
|
|
64
66
|
- lib/shoko/adapters/book_sources/document_service.rb
|
|
@@ -342,6 +344,7 @@ files:
|
|
|
342
344
|
- lib/shoko/test_support/terminal_double.rb
|
|
343
345
|
- lib/shoko/test_support/test_mode.rb
|
|
344
346
|
- lib/zip.rb
|
|
347
|
+
- shoko-0.1.0.gem
|
|
345
348
|
- zip.rb
|
|
346
349
|
homepage: https://sr.ht/~shayan/Shoko/
|
|
347
350
|
licenses:
|