slnky 0.9.1 → 0.9.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/lib/slnky/cli/service.rb +3 -1
- data/lib/slnky/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1544fcb0bfbd09e8259bb437d33e2cf7723f6f81
|
|
4
|
+
data.tar.gz: 082a4241b4e6e224bd18b7d4fb1436c420a07f2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 042a4656d0b5bc2e983397d1350f7c7db43e456e65e9b1b6edc346fe45b3b612d39482c71af4552350d177449b758012028a623f10d60f939978e3085dc826d3
|
|
7
|
+
data.tar.gz: c9e4a8b6365aca1af1af2e921dfff06a858dd8c26d890ff074c7c17ee6c2452b3e4442c37f4cd416283f46aeea8af70992c623eb1f63ff9a8ad0c7c3cc22a1c0
|
data/lib/slnky/cli/service.rb
CHANGED
|
@@ -2,7 +2,9 @@ module Slnky
|
|
|
2
2
|
module CLI
|
|
3
3
|
class Service < Base
|
|
4
4
|
subcommand 'run', 'run service named NAME' do
|
|
5
|
-
parameter 'NAME', 'the name of the service'
|
|
5
|
+
parameter 'NAME', 'the name of the service' do |n|
|
|
6
|
+
n.gsub(/^slnky-/, '')
|
|
7
|
+
end
|
|
6
8
|
# option %w{-f --force}, :flag, "force overwrite of files"
|
|
7
9
|
option %w{-e --environment}, '[ENV]', 'the environment to run under', default: 'development', environment_variable: 'SLNKY_ENV'
|
|
8
10
|
def execute
|
data/lib/slnky/version.rb
CHANGED