soaring 0.1.2 → 0.1.3
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/soaring/cli.rb +4 -8
- data/lib/soaring/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: e08fbbb086a09dece4eae4c1ea5d30bbe50969b1
|
|
4
|
+
data.tar.gz: 74a55361b45814335d33e8bc3540e677abda49bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f9a156bc8fc7379babf0916dd5ca1c4d0b07028ed5a6a13fd105942e3755d95c3b2da1fd7319ac7643dae4f1172bcc914d77807a4d480cc6ff27db967037636b
|
|
7
|
+
data.tar.gz: 19e72be351c17b5a65957a00ddcb1b2f011469e65b93700d140d1ab1b355807c30160f5506b2dd1f8f2b54b3f0e41d77df344ec54f6c939d93c1cab5df655cab
|
data/lib/soaring/cli.rb
CHANGED
|
@@ -16,11 +16,6 @@ module Soaring
|
|
|
16
16
|
initializer.initialize_project(@project_folder)
|
|
17
17
|
end
|
|
18
18
|
|
|
19
|
-
def self.execute_update(options)
|
|
20
|
-
initializer = Initializer.new(options)
|
|
21
|
-
initializer.initialize_project(@project_folder)
|
|
22
|
-
end
|
|
23
|
-
|
|
24
19
|
def self.execute_run(options)
|
|
25
20
|
runner = Runner.new(options)
|
|
26
21
|
runner.run(@project_folder)
|
|
@@ -37,9 +32,10 @@ module Soaring
|
|
|
37
32
|
opt_parser = OptionParser.new do |opt|
|
|
38
33
|
opt.banner = "Usage: soaring COMMAND [OPTIONS]"
|
|
39
34
|
opt.separator ""
|
|
35
|
+
opt.separator "Release #{Soaring::VERSION}"
|
|
36
|
+
opt.separator ""
|
|
40
37
|
opt.separator "Commands"
|
|
41
|
-
opt.separator " init: create a new soar service component in the current folder"
|
|
42
|
-
opt.separator " update: update the soar service component in the current folder"
|
|
38
|
+
opt.separator " init: create/update a new soar service component in the current folder"
|
|
43
39
|
opt.separator " run: run soar service locally"
|
|
44
40
|
opt.separator " package: package the service component for deployment"
|
|
45
41
|
opt.separator ""
|
|
@@ -74,7 +70,7 @@ module Soaring
|
|
|
74
70
|
opt_parser.parse!
|
|
75
71
|
|
|
76
72
|
command = ARGV[0]
|
|
77
|
-
valid_commands = ['init', '
|
|
73
|
+
valid_commands = ['init', 'run', 'package']
|
|
78
74
|
if not valid_commands.include?(command)
|
|
79
75
|
puts 'Invalid command'
|
|
80
76
|
puts opt_parser
|
data/lib/soaring/version.rb
CHANGED