ona 0.1.3 → 0.1.4

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
data/lib/ona_cli.rb CHANGED
@@ -65,12 +65,14 @@ module Ona
65
65
  def deploy string
66
66
  selected_servers(string).each do |server|
67
67
  system server.deploy
68
+ system server.say_deployed
68
69
  end
69
70
  end
70
71
 
71
72
  def setup string
72
73
  install_ssh_keys string
73
74
  bootstrap string
75
+ system server.say_finished_setup
74
76
  end
75
77
 
76
78
  protected
data/lib/ona_server.rb CHANGED
@@ -13,6 +13,14 @@ module Ona
13
13
  "rake upload_ssh_key server=root@#{ip} pass=#{pass} key=#{local_key}"
14
14
  end
15
15
 
16
+ def say_deployed
17
+ "say #{desc} deployed"
18
+ end
19
+
20
+ def say_finished_setup
21
+ "say #{desc} setup terminated"
22
+ end
23
+
16
24
  def bootstrap
17
25
  "rake bootstrap server=root@#{ip}"
18
26
  end
data/ona.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ona}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["kazuyoshi tlacaelel"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ona
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - kazuyoshi tlacaelel