newport 1.0.1 → 1.0.2
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/exe/newport +1 -19
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bb6ab1eeff24f4cd07bce215f8d14e19e4c92207eb2f97ea7f33dd5ba1c9dabb
|
|
4
|
+
data.tar.gz: e9a58fb2020254c107d074664262a2eb5d94dc46a94bc3c27b3753e960b87857
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c46b1a629c225301a29f8436d2b64be4de59e142af8dfd8a08fd3455459c2d9d3d3d4f5a1335861e8cba744398a1245f794ab4696b7b55fc263613bd9000083
|
|
7
|
+
data.tar.gz: 1653d06aee24da17a31612717877be50c3173378359849e1fd5fb76e822f16f4bf68f638d325b16a7afb897eeef5bbce5e31efc5e455603a5ebe1697ac229f1d
|
data/exe/newport
CHANGED
|
@@ -5,7 +5,7 @@ $stdout.sync = true
|
|
|
5
5
|
|
|
6
6
|
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
|
|
7
7
|
|
|
8
|
-
require 'newport'
|
|
8
|
+
require '../lib/newport'
|
|
9
9
|
|
|
10
10
|
Newport::Help.show && abort if ARGV.length.zero? || ARGV[0] == 'help'
|
|
11
11
|
|
|
@@ -17,21 +17,3 @@ when 'build'
|
|
|
17
17
|
else
|
|
18
18
|
Newport.logger.abort_with "fatal: 'newport #{ARGV.first}' could not be found.".red
|
|
19
19
|
end
|
|
20
|
-
|
|
21
|
-
# Mercenary.program(:newport) do |p|
|
|
22
|
-
# p.version Newport::VERSION
|
|
23
|
-
# p.description 'Newport is a static site blog generator written in Ruby'
|
|
24
|
-
# p.syntax 'newport <command>'
|
|
25
|
-
|
|
26
|
-
# Newport::Command.subclasses.each { |c| c.init_with_program(p) }
|
|
27
|
-
|
|
28
|
-
# p.action do |args, _|
|
|
29
|
-
# if args.empty?
|
|
30
|
-
# Newport.logger.error 'A subcommand is required.'
|
|
31
|
-
# abort
|
|
32
|
-
# else
|
|
33
|
-
# subcommand = args.first
|
|
34
|
-
# Newport.logger.abort_with "fatal: 'newport #{args.first}' could not be found." unless p.has_command? subcommand
|
|
35
|
-
# end
|
|
36
|
-
# end
|
|
37
|
-
# end
|