ona 0.1.11 → 0.1.12

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 -1
  3. data/lib/ona_cli.rb +2 -1
  4. data/ona.gemspec +1 -1
  5. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.11
1
+ 0.1.12
data/bin/ona CHANGED
@@ -24,7 +24,7 @@ loop do
24
24
  cli.setup line if line =~ /setup/
25
25
  cli.deploy line if line =~ /deploy/
26
26
  cli.ssh_root line if line =~ /ssh#/
27
- cli.ssh_deploy line if line =~ /ssh/
27
+ cli.ssh_deploy line if line =~ /ssh /
28
28
  cli.http line if line =~ /http/
29
29
  cli.key line if line =~ /key/
30
30
  end
data/lib/ona_cli.rb CHANGED
@@ -77,7 +77,8 @@ module Ona
77
77
  system server.say_sure_to_deploy
78
78
  puts 'Type [yes] to continue. or anything else to skip.'
79
79
  print 'What to do? :'
80
- next unless gets == 'yes'
80
+ line = gets
81
+ next unless line == 'yes'
81
82
  system server.deploy
82
83
  system server.say_deployed
83
84
  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.11"
8
+ s.version = "0.1.12"
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: 13
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 11
10
- version: 0.1.11
9
+ - 12
10
+ version: 0.1.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - kazuyoshi tlacaelel