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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4da504e314b4ccf14caada8bcdb128ea1e128c3eb391e51ee85ef41529003fb5
4
- data.tar.gz: 356baf7e71baf08181a92eb4d582c3e21e248ce121414c6ea1313c881f54ca9c
3
+ metadata.gz: e7637c59f48a8e0b58e7e5497a188c54dc523dd364ec25fffadacbd909b01542
4
+ data.tar.gz: 96e4d52bd193d140919ac2fba904b279803b32e15ce12f477c7c22523f562815
5
5
  SHA512:
6
- metadata.gz: c31d6dac31624b683b5bb672174f5d47c1943d63bd8f2677806e42cd48943f9bd2ac83c73d72f9d4b4ace1416423d4361b00d688b23649b9a80edd7c4c839a27
7
- data.tar.gz: 52f71139fc47843e8d078ad5fc23a874d8b0807002275781f6bbb99ac01f58b73ca216f2af3218f8905a3070ee5d6726108355d902cc276b760e141e7d4644a7
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: start [options] [file]'
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Shoko
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
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.0
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: