marhan_cli 0.0.15 → 0.0.17
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.
- data/Changelog.md +19 -2
- data/Rakefile +5 -0
- data/lib/marhan_cli/commands/service_command.rb +2 -12
- data/lib/marhan_cli/config.rb +1 -2
- data/lib/marhan_cli/version.rb +1 -1
- metadata +3 -3
data/Changelog.md
CHANGED
@@ -48,9 +48,26 @@
|
|
48
48
|
|
49
49
|
## v0.0.12
|
50
50
|
|
51
|
-
* VirtualBox command connects
|
51
|
+
* VirtualBox command connects automatically to ssh server, if guest configuration has 'ssh' connection data. (command => vbox:start)
|
52
52
|
* 'VBoxManage controlvm ' uses 'acpipowerbutton' instead of 'poweroff', now. (command => vbox:stop)
|
53
53
|
|
54
54
|
## v0.0.13
|
55
55
|
|
56
|
-
* Configuration file will be used completely. 'SSH' configuration was ignored.
|
56
|
+
* Configuration file will be used completely. 'SSH' configuration was ignored.
|
57
|
+
|
58
|
+
## v0.0.14
|
59
|
+
|
60
|
+
* Internal refactorings and improvements.
|
61
|
+
|
62
|
+
## v0.0.15
|
63
|
+
|
64
|
+
* New command added for starting and stopping services. (command => serv:[start|stop])
|
65
|
+
* This command supports only the CI Server Jenkins, at the moment.
|
66
|
+
|
67
|
+
## v0.0.16
|
68
|
+
|
69
|
+
* Internal refactorings and improvements.
|
70
|
+
|
71
|
+
## v0.0.17
|
72
|
+
|
73
|
+
* nothing, yet
|
data/Rakefile
CHANGED
@@ -7,24 +7,14 @@ module MarhanCli
|
|
7
7
|
|
8
8
|
namespace :serv
|
9
9
|
|
10
|
-
desc "serv:start", "Starts
|
11
|
-
|
12
|
-
method_option :service,
|
13
|
-
:type => :string,
|
14
|
-
:aliases => "-s",
|
15
|
-
:desc => "Name of service in configuration file."
|
10
|
+
desc "serv:start", "Starts Jenkins as a service"
|
16
11
|
|
17
12
|
def start
|
18
13
|
execute start_service
|
19
14
|
end
|
20
15
|
|
21
16
|
|
22
|
-
desc "serv:stop", "Stops
|
23
|
-
|
24
|
-
method_option :service,
|
25
|
-
:type => :string,
|
26
|
-
:aliases => "-s",
|
27
|
-
:desc => "Name of service in configuration file."
|
17
|
+
desc "serv:stop", "Stops Jenkins as a service"
|
28
18
|
|
29
19
|
def stop
|
30
20
|
execute stop_service
|
data/lib/marhan_cli/config.rb
CHANGED
@@ -18,11 +18,10 @@ module MarhanCli
|
|
18
18
|
rescue Exception => e
|
19
19
|
raise "Configuration file could not pared: #{e}"
|
20
20
|
end
|
21
|
-
|
22
21
|
end
|
23
22
|
|
24
23
|
def self.default_config_file
|
25
|
-
File.
|
24
|
+
File.expand_path(File.join(Dir.home, ".marhan_cli.yml"))
|
26
25
|
end
|
27
26
|
|
28
27
|
end
|
data/lib/marhan_cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: marhan_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
187
|
rubyforge_project:
|
188
|
-
rubygems_version: 1.8.
|
188
|
+
rubygems_version: 1.8.23
|
189
189
|
signing_key:
|
190
190
|
specification_version: 3
|
191
191
|
summary: Helper routines for my computers
|