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 CHANGED
@@ -48,9 +48,26 @@
48
48
 
49
49
  ## v0.0.12
50
50
 
51
- * VirtualBox command connects automaticaly to ssh server, if guest configuration has 'ssh' connection data. (command => vbox:start)
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
@@ -1 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -7,24 +7,14 @@ module MarhanCli
7
7
 
8
8
  namespace :serv
9
9
 
10
- desc "serv:start", "Starts daemon service"
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 daemon service"
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
@@ -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.join(File.expand_path("~/"), ".marhan_cli.yml")
24
+ File.expand_path(File.join(Dir.home, ".marhan_cli.yml"))
26
25
  end
27
26
 
28
27
  end
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module MarhanCli
3
- VERSION = "0.0.15"
3
+ VERSION = "0.0.17"
4
4
  end
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.15
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: 2012-12-24 00:00:00.000000000 Z
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.24
188
+ rubygems_version: 1.8.23
189
189
  signing_key:
190
190
  specification_version: 3
191
191
  summary: Helper routines for my computers