ona 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/ona_cli.rb +0 -8
- data/lib/ona_stack.rb +0 -5
- data/ona.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/lib/ona_cli.rb
CHANGED
@@ -2,9 +2,6 @@ module Ona
|
|
2
2
|
|
3
3
|
class Cli
|
4
4
|
|
5
|
-
FRINED_ACTIONS = %q{deploy setup}
|
6
|
-
LONE_ACTIONS = %q{list ls}
|
7
|
-
|
8
5
|
def initialize(stack)
|
9
6
|
@stack = stack
|
10
7
|
end
|
@@ -13,11 +10,6 @@ module Ona
|
|
13
10
|
@stack.find_all(*string.scan(/\d+/).map { |id| id.to_i })
|
14
11
|
end
|
15
12
|
|
16
|
-
def unknown_command
|
17
|
-
puts 'Unknown command.'
|
18
|
-
help
|
19
|
-
end
|
20
|
-
|
21
13
|
def help
|
22
14
|
puts "
|
23
15
|
Ona -- Deployment simplified.
|
data/lib/ona_stack.rb
CHANGED
@@ -5,7 +5,6 @@ module Ona
|
|
5
5
|
def initialize
|
6
6
|
@list = []
|
7
7
|
@id = 0
|
8
|
-
@rack_machine = './'
|
9
8
|
end
|
10
9
|
|
11
10
|
def append &block
|
@@ -15,10 +14,6 @@ module Ona
|
|
15
14
|
@list << server
|
16
15
|
end
|
17
16
|
|
18
|
-
def rack_machine path
|
19
|
-
@rack_machine = path
|
20
|
-
end
|
21
|
-
|
22
17
|
def find num
|
23
18
|
@list.each do |server|
|
24
19
|
return server if server.id == num
|
data/ona.gemspec
CHANGED
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:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- kazuyoshi tlacaelel
|