ona 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.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/bin/ona +4 -0
  3. data/lib/ona_cli.rb +1 -1
  4. data/ona.gemspec +2 -2
  5. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
data/bin/ona CHANGED
@@ -4,6 +4,10 @@ require 'rubygems'
4
4
  require 'readline'
5
5
  require 'ona'
6
6
 
7
+ unless File.exists? 'Onafile'
8
+ abort 'Please create a file named:[Onafile] to start the shell.'
9
+ end
10
+
7
11
  stack = Ona::Stack.new
8
12
  eval File.read 'Onafile'
9
13
  cli = Ona::Cli.new(stack)
data/lib/ona_cli.rb CHANGED
@@ -39,7 +39,7 @@ module Ona
39
39
 
40
40
  ssh 1 2 3 # Open three ssh sessions to 1 2 and 3
41
41
 
42
- quit # Setup servers with ids: 1 2 and 3
42
+ quit # termintes the ona shell.
43
43
 
44
44
  "
45
45
  end
data/ona.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ona}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
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"]
12
- s.date = %q{2010-07-27}
12
+ s.date = %q{2010-07-28}
13
13
  s.default_executable = %q{ona}
14
14
  s.description = %q{Simple shell for deployment.}
15
15
  s.email = %q{kazu.dev@gmail.com}
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: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - kazuyoshi tlacaelel
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-27 00:00:00 -05:00
18
+ date: 2010-07-28 00:00:00 -05:00
19
19
  default_executable: ona
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency