ona 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/bin/ona +1 -0
  3. data/lib/ona_cli.rb +5 -0
  4. data/ona.gemspec +1 -1
  5. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/bin/ona CHANGED
@@ -19,4 +19,5 @@ loop do
19
19
  cli.show line if line =~ /show/
20
20
  cli.setup line if line =~ /setup/
21
21
  cli.deploy line if line =~ /deploy/
22
+ cli.ssh line if line =~ /ssh/
22
23
  end
data/lib/ona_cli.rb CHANGED
@@ -34,6 +34,11 @@ module Ona
34
34
  setup 1 # Upload ssh-keys and bootstrap server
35
35
  setup 1 2 3 # Setup servers with ids: 1 2 and 3
36
36
 
37
+ ssh 1 # Open a ssh session to a remote server
38
+ # (new window)
39
+
40
+ ssh 1 2 3 # Open three ssh sessions to 1 2 and 3
41
+
37
42
  quit # Setup servers with ids: 1 2 and 3
38
43
 
39
44
  "
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.1"
8
+ s.version = "0.1.2"
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: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - kazuyoshi tlacaelel