webbynode 1.0.4.beta3 → 1.0.4.beta4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of webbynode might be problematic. Click here for more details.
- data/Manifest +2 -0
- data/Rakefile +1 -1
- data/lib/webbynode/commands/console.rb +5 -1
- data/lib/webbynode/commands/logs.rb +25 -0
- data/lib/webbynode/commands/push.rb +1 -1
- data/lib/webbynode/engines/rails.rb +1 -1
- data/lib/webbynode/engines/rails3.rb +1 -1
- data/lib/webbynode/git.rb +7 -0
- data/lib/webbynode/io.rb +6 -2
- data/lib/webbynode/ssh.rb +36 -1
- data/lib/webbynode.rb +2 -1
- data/spec/webbynode/commands/console_spec.rb +33 -18
- data/spec/webbynode/commands/logs_spec.rb +64 -0
- data/spec/webbynode/commands/push_spec.rb +1 -1
- data/spec/webbynode/engines/rails3_spec.rb +1 -1
- data/spec/webbynode/engines/rails_spec.rb +1 -1
- data/spec/webbynode/git_spec.rb +20 -0
- data/spec/webbynode/io_spec.rb +15 -0
- data/webbynode.gemspec +4 -4
- metadata +7 -4
data/Manifest
CHANGED
@@ -33,6 +33,7 @@ lib/webbynode/commands/console.rb
|
|
33
33
|
lib/webbynode/commands/delete.rb
|
34
34
|
lib/webbynode/commands/help.rb
|
35
35
|
lib/webbynode/commands/init.rb
|
36
|
+
lib/webbynode/commands/logs.rb
|
36
37
|
lib/webbynode/commands/open.rb
|
37
38
|
lib/webbynode/commands/push.rb
|
38
39
|
lib/webbynode/commands/remote.rb
|
@@ -109,6 +110,7 @@ spec/webbynode/commands/console_spec.rb
|
|
109
110
|
spec/webbynode/commands/delete_spec.rb
|
110
111
|
spec/webbynode/commands/help_spec.rb
|
111
112
|
spec/webbynode/commands/init_spec.rb
|
113
|
+
spec/webbynode/commands/logs_spec.rb
|
112
114
|
spec/webbynode/commands/open_spec.rb
|
113
115
|
spec/webbynode/commands/push_spec.rb
|
114
116
|
spec/webbynode/commands/remote_spec.rb
|
data/Rakefile
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
module Webbynode::Commands
|
2
2
|
class Console < Webbynode::Command
|
3
|
+
summary "Opens a Rails 3 console session"
|
4
|
+
|
3
5
|
def execute
|
4
6
|
unless server.application_pushed?
|
5
|
-
io.log "Before being able to run remote commands from your webby, you must first push your application
|
7
|
+
io.log "Before being able to run remote commands from your webby, you must first push your application."
|
6
8
|
exit
|
7
9
|
end
|
8
10
|
|
@@ -15,6 +17,8 @@ module Webbynode::Commands
|
|
15
17
|
else
|
16
18
|
io.log "Console only works for Rails 3 apps."
|
17
19
|
end
|
20
|
+
rescue Webbynode::GitRemoteDoesNotExistError
|
21
|
+
io.log "Remote 'webbynode' doesn't exist. Did you run 'wn init' for this app?"
|
18
22
|
end
|
19
23
|
end
|
20
24
|
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module Webbynode::Commands
|
2
|
+
class Logs < Webbynode::Command
|
3
|
+
summary "Tails a your Rails application logs"
|
4
|
+
add_alias "log"
|
5
|
+
|
6
|
+
def execute
|
7
|
+
unless server.application_pushed?
|
8
|
+
io.log "Before being able to run remote commands from your webby, you must first push your application."
|
9
|
+
exit
|
10
|
+
end
|
11
|
+
|
12
|
+
if io.load_setting('engine') =~ /^rails/
|
13
|
+
io.log "Connecting to display your Rails application logs..."
|
14
|
+
io.log ""
|
15
|
+
|
16
|
+
ssh = remote_executor.ssh
|
17
|
+
ssh.logs(pushand.parse_remote_app_name)
|
18
|
+
else
|
19
|
+
io.log "Logs only works for Rails apps."
|
20
|
+
end
|
21
|
+
rescue Webbynode::GitRemoteDoesNotExistError
|
22
|
+
io.log "Remote 'webbynode' doesn't exist. Did you run 'wn init' for this app?"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -43,7 +43,7 @@ module Webbynode::Commands
|
|
43
43
|
end
|
44
44
|
|
45
45
|
# Pushes the application to Webbynode
|
46
|
-
io.exec("git push webbynode master", false)
|
46
|
+
io.exec("git push webbynode +HEAD:master", false)
|
47
47
|
|
48
48
|
# Reads out the "after push" tasks file to see if there are any tasks that must be performed
|
49
49
|
# It will perform the "after push" tasks if there are any available
|
data/lib/webbynode/git.rb
CHANGED
@@ -68,6 +68,13 @@ module Webbynode
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
def current_branch
|
72
|
+
contents = io.exec("git symbolic-ref HEAD")
|
73
|
+
return nil if contents.empty?
|
74
|
+
|
75
|
+
contents.gsub(/^refs\/heads\//, "")
|
76
|
+
end
|
77
|
+
|
71
78
|
def tracks?(file)
|
72
79
|
io.exec2("git ls-files #{file} --error-unmatch") != 1
|
73
80
|
end
|
data/lib/webbynode/io.rb
CHANGED
@@ -195,8 +195,12 @@ module Webbynode
|
|
195
195
|
|
196
196
|
def add_line(file, line)
|
197
197
|
create_if_missing(file)
|
198
|
-
|
199
|
-
|
198
|
+
contents = File.read(file)
|
199
|
+
return if contents.include?("#{line}")
|
200
|
+
File.open(file, 'a') do |f|
|
201
|
+
f.puts "" if !contents.empty? and !(contents =~ /\n$/)
|
202
|
+
f.puts line
|
203
|
+
end
|
200
204
|
end
|
201
205
|
|
202
206
|
def properties(s)
|
data/lib/webbynode/ssh.rb
CHANGED
@@ -33,6 +33,32 @@ module Webbynode
|
|
33
33
|
|
34
34
|
end
|
35
35
|
|
36
|
+
def logs(app_name)
|
37
|
+
connect
|
38
|
+
ch = @conn.open_channel do |ssh|
|
39
|
+
ch.request_pty
|
40
|
+
ch.exec "cd #{app_name}; tail -f log/production.log" do |ch, success|
|
41
|
+
abort "Could not connect to rails app" unless success
|
42
|
+
|
43
|
+
ch.on_data { |ch, data| puts data}
|
44
|
+
ch.on_extended_data { |ch, type, data| puts data }
|
45
|
+
end
|
46
|
+
|
47
|
+
@conn.loop
|
48
|
+
end
|
49
|
+
|
50
|
+
begin
|
51
|
+
ch.wait
|
52
|
+
rescue SystemExit, Interrupt
|
53
|
+
ch.send_data(Net::SSH::Connection::Term::VINTR)
|
54
|
+
|
55
|
+
puts ""
|
56
|
+
puts ""
|
57
|
+
puts "Logging done."
|
58
|
+
rescue Exception => e
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
36
62
|
def console(app_name)
|
37
63
|
connect
|
38
64
|
input = 'something'
|
@@ -73,7 +99,16 @@ module Webbynode
|
|
73
99
|
@conn.loop
|
74
100
|
end
|
75
101
|
|
76
|
-
|
102
|
+
begin
|
103
|
+
ch.wait
|
104
|
+
rescue SystemExit, Interrupt
|
105
|
+
ch.send_data(Net::SSH::Connection::Term::VINTR)
|
106
|
+
ch.send_data("quit\n")
|
107
|
+
|
108
|
+
puts ""
|
109
|
+
puts "Console done."
|
110
|
+
rescue Exception => e
|
111
|
+
end
|
77
112
|
end
|
78
113
|
|
79
114
|
def execute(script, echo=false, ret_exit_code=false)
|
data/lib/webbynode.rb
CHANGED
@@ -56,10 +56,11 @@ require File.join(File.dirname(__FILE__), 'webbynode', 'commands', 'version')
|
|
56
56
|
require File.join(File.dirname(__FILE__), 'webbynode', 'commands', 'user')
|
57
57
|
require File.join(File.dirname(__FILE__), 'webbynode', 'commands', 'settings')
|
58
58
|
require File.join(File.dirname(__FILE__), 'webbynode', 'commands', 'console')
|
59
|
+
require File.join(File.dirname(__FILE__), 'webbynode', 'commands', 'logs')
|
59
60
|
require File.join(File.dirname(__FILE__), 'webbynode', 'application')
|
60
61
|
|
61
62
|
module Webbynode
|
62
|
-
VERSION = '1.0.4.
|
63
|
+
VERSION = '1.0.4.beta4'
|
63
64
|
end
|
64
65
|
|
65
66
|
class Array
|
@@ -4,36 +4,51 @@ require File.join(File.expand_path(File.dirname(__FILE__)), '../..', 'spec_helpe
|
|
4
4
|
describe Webbynode::Commands::Console do
|
5
5
|
let(:io) { double("Io").as_null_object }
|
6
6
|
let(:re) { double("RemoteExecutor").as_null_object }
|
7
|
+
let(:git) { double("Git").as_null_object }
|
7
8
|
let(:server) { double("Server").as_null_object }
|
8
9
|
|
9
10
|
subject do
|
10
|
-
server.stub!(:application_pushed?).and_return(true)
|
11
|
-
|
12
11
|
Webbynode::Commands::Console.new.tap do |cmd|
|
13
12
|
cmd.stub!(:io).and_return(io)
|
14
13
|
cmd.stub!(:remote_executor).and_return(re)
|
15
14
|
cmd.stub!(:server).and_return(server)
|
15
|
+
cmd.stub!(:git).and_return(git)
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
subject.execute
|
19
|
+
context "when remote is missing" do
|
20
|
+
it "raises an error" do
|
21
|
+
subject.should_receive(:server).and_raise(Webbynode::GitRemoteDoesNotExistError)
|
22
|
+
io.should_receive(:log).with("Remote 'webbynode' doesn't exist. Did you run 'wn init' for this app?")
|
23
|
+
|
24
|
+
subject.execute
|
25
|
+
end
|
27
26
|
end
|
28
27
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
28
|
+
context "with prerequisites working" do
|
29
|
+
before do
|
30
|
+
server.stub!(:application_pushed?).and_return(true)
|
31
|
+
end
|
32
|
+
|
33
|
+
it "works with Rails 3" do
|
34
|
+
ssh = double("Ssh")
|
35
|
+
io.should_receive(:log).with("Connecting to Rails console...")
|
36
|
+
io.should_receive(:load_setting).with('engine').and_return('rails3')
|
37
|
+
re.should_receive(:ssh).and_return(ssh)
|
38
|
+
ssh.should_receive(:console)
|
39
|
+
|
40
|
+
subject.execute
|
41
|
+
end
|
42
|
+
|
43
|
+
it "fails with other engines" do
|
44
|
+
ssh = double("Ssh")
|
45
|
+
io.should_receive(:load_setting).with('engine').and_return('rails')
|
46
|
+
io.should_receive(:log).with("Console only works for Rails 3 apps.")
|
47
|
+
|
48
|
+
re.should_receive(:ssh).never
|
49
|
+
ssh.should_receive(:console).never
|
33
50
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
subject.execute
|
51
|
+
subject.execute
|
52
|
+
end
|
38
53
|
end
|
39
54
|
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
# Load Spec Helper
|
2
|
+
require File.join(File.expand_path(File.dirname(__FILE__)), '../..', 'spec_helper')
|
3
|
+
|
4
|
+
describe Webbynode::Commands::Logs do
|
5
|
+
let(:io) { double("Io").as_null_object }
|
6
|
+
let(:re) { double("RemoteExecutor").as_null_object }
|
7
|
+
let(:git) { double("Git").as_null_object }
|
8
|
+
let(:server) { double("Server").as_null_object }
|
9
|
+
|
10
|
+
subject do
|
11
|
+
Webbynode::Commands::Logs.new.tap do |cmd|
|
12
|
+
cmd.stub!(:io).and_return(io)
|
13
|
+
cmd.stub!(:remote_executor).and_return(re)
|
14
|
+
cmd.stub!(:server).and_return(server)
|
15
|
+
cmd.stub!(:git).and_return(git)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
context "when remote is missing" do
|
20
|
+
it "raises an error" do
|
21
|
+
subject.should_receive(:server).and_raise(Webbynode::GitRemoteDoesNotExistError)
|
22
|
+
io.should_receive(:log).with("Remote 'webbynode' doesn't exist. Did you run 'wn init' for this app?")
|
23
|
+
|
24
|
+
subject.execute
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
context "with prerequisites working" do
|
29
|
+
before do
|
30
|
+
server.stub!(:application_pushed?).and_return(true)
|
31
|
+
end
|
32
|
+
|
33
|
+
it "works with Rails 3" do
|
34
|
+
ssh = double("Ssh")
|
35
|
+
io.should_receive(:log).with("Connecting to display your Rails application logs...")
|
36
|
+
io.should_receive(:load_setting).with('engine').and_return('rails3')
|
37
|
+
re.should_receive(:ssh).and_return(ssh)
|
38
|
+
ssh.should_receive(:logs)
|
39
|
+
|
40
|
+
subject.execute
|
41
|
+
end
|
42
|
+
|
43
|
+
it "works with Rails 2" do
|
44
|
+
ssh = double("Ssh")
|
45
|
+
io.should_receive(:log).with("Connecting to display your Rails application logs...")
|
46
|
+
io.should_receive(:load_setting).with('engine').and_return('rails')
|
47
|
+
re.should_receive(:ssh).and_return(ssh)
|
48
|
+
ssh.should_receive(:logs)
|
49
|
+
|
50
|
+
subject.execute
|
51
|
+
end
|
52
|
+
|
53
|
+
it "fails with other engines" do
|
54
|
+
ssh = double("Ssh")
|
55
|
+
io.should_receive(:load_setting).with('engine').and_return('rack')
|
56
|
+
io.should_receive(:log).with("Logs only works for Rails apps.")
|
57
|
+
|
58
|
+
re.should_receive(:ssh).never
|
59
|
+
ssh.should_receive(:logs).never
|
60
|
+
|
61
|
+
subject.execute
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -55,7 +55,7 @@ describe Webbynode::Commands::Push do
|
|
55
55
|
end
|
56
56
|
|
57
57
|
it "should push the application to the webby" do
|
58
|
-
io.should_receive(:exec).with("git push webbynode master", false)
|
58
|
+
io.should_receive(:exec).with("git push webbynode +HEAD:master", false)
|
59
59
|
push.execute
|
60
60
|
end
|
61
61
|
|
@@ -15,7 +15,7 @@ describe Webbynode::Engines::Rails3 do
|
|
15
15
|
|
16
16
|
its(:engine_id) { should == 'rails3' }
|
17
17
|
its(:engine_name) { should == 'Rails 3' }
|
18
|
-
its(:git_excluded) { should == ["config/database.yml"
|
18
|
+
its(:git_excluded) { should == ["config/database.yml"] } #, "db/schema.rb"] }
|
19
19
|
end
|
20
20
|
|
21
21
|
describe '#prepare' do
|
@@ -15,7 +15,7 @@ describe Webbynode::Engines::Rails do
|
|
15
15
|
|
16
16
|
its(:engine_id) { should == 'rails' }
|
17
17
|
its(:engine_name) { should == 'Rails 2' }
|
18
|
-
its(:git_excluded) { should == ["config/database.yml"
|
18
|
+
its(:git_excluded) { should == ["config/database.yml"] } #, "db/schema.rb"] }
|
19
19
|
end
|
20
20
|
|
21
21
|
describe '#detect' do
|
data/spec/webbynode/git_spec.rb
CHANGED
@@ -125,6 +125,26 @@ describe Webbynode::Git do
|
|
125
125
|
end
|
126
126
|
end
|
127
127
|
|
128
|
+
describe '#current_branch' do
|
129
|
+
it "returns the current branch, if there is one" do
|
130
|
+
io = double(:io)
|
131
|
+
io.should_receive(:exec).with("git symbolic-ref HEAD").and_return("refs/heads/some_other")
|
132
|
+
|
133
|
+
git = Webbynode::Git.new
|
134
|
+
git.stub(:io).and_return(io)
|
135
|
+
git.current_branch.should == 'some_other'
|
136
|
+
end
|
137
|
+
|
138
|
+
it "returns nil otherwise" do
|
139
|
+
io = double(:io)
|
140
|
+
io.should_receive(:exec).with("git symbolic-ref HEAD").and_return("")
|
141
|
+
|
142
|
+
git = Webbynode::Git.new
|
143
|
+
git.stub(:io).and_return(io)
|
144
|
+
git.current_branch.should be_nil
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
128
148
|
describe '#check_git_ignore' do
|
129
149
|
context "when config/database.yml is absent" do
|
130
150
|
it "adds the line to .gitignore" do
|
data/spec/webbynode/io_spec.rb
CHANGED
@@ -196,6 +196,7 @@ describe Webbynode::Io do
|
|
196
196
|
File.should_receive(:read).with('.gitignore').and_return('')
|
197
197
|
|
198
198
|
File.should_receive(:open).with('.gitignore', 'a').and_yield(file)
|
199
|
+
File.should_receive(:puts).with("").never
|
199
200
|
file.should_receive(:puts).with('new_line')
|
200
201
|
|
201
202
|
subject.add_line '.gitignore', 'new_line'
|
@@ -210,6 +211,20 @@ describe Webbynode::Io do
|
|
210
211
|
subject.add_line '.gitignore', 'new_line'
|
211
212
|
end
|
212
213
|
end
|
214
|
+
|
215
|
+
context "when line doesn't exist but file doesn't have a new line at the end" do
|
216
|
+
it "adds the line after a new line" do
|
217
|
+
file = stub('file')
|
218
|
+
|
219
|
+
File.should_receive(:read).with('.gitignore').and_return("first_line\nsecond_line")
|
220
|
+
|
221
|
+
File.should_receive(:open).with('.gitignore', 'a').and_yield(file)
|
222
|
+
file.should_receive(:puts).with('new_line')
|
223
|
+
file.should_receive(:puts).with("")
|
224
|
+
|
225
|
+
subject.add_line '.gitignore', 'new_line'
|
226
|
+
end
|
227
|
+
end
|
213
228
|
end
|
214
229
|
|
215
230
|
describe '#create_file' do
|
data/webbynode.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{webbynode}
|
5
|
-
s.version = "1.0.4.
|
5
|
+
s.version = "1.0.4.beta4"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Felipe Coury"]
|
9
|
-
s.date = %q{2010-
|
9
|
+
s.date = %q{2010-11-01}
|
10
10
|
s.description = %q{Webbynode Deployment Gem}
|
11
11
|
s.email = %q{felipe@webbynode.com}
|
12
12
|
s.executables = ["webbynode", "wn"]
|
13
|
-
s.extra_rdoc_files = ["README.rdoc", "bin/webbynode", "bin/wn", "lib/templates/api_token", "lib/templates/backup", "lib/templates/gitignore", "lib/templates/help", "lib/webbynode.rb", "lib/webbynode/api_client.rb", "lib/webbynode/application.rb", "lib/webbynode/attribute_accessors.rb", "lib/webbynode/command.rb", "lib/webbynode/commands/add_backup.rb", "lib/webbynode/commands/add_key.rb", "lib/webbynode/commands/addons.rb", "lib/webbynode/commands/alias.rb", "lib/webbynode/commands/apps.rb", "lib/webbynode/commands/change_dns.rb", "lib/webbynode/commands/config.rb", "lib/webbynode/commands/console.rb", "lib/webbynode/commands/delete.rb", "lib/webbynode/commands/help.rb", "lib/webbynode/commands/init.rb", "lib/webbynode/commands/open.rb", "lib/webbynode/commands/push.rb", "lib/webbynode/commands/remote.rb", "lib/webbynode/commands/restart.rb", "lib/webbynode/commands/settings.rb", "lib/webbynode/commands/start.rb", "lib/webbynode/commands/stop.rb", "lib/webbynode/commands/tasks.rb", "lib/webbynode/commands/user.rb", "lib/webbynode/commands/version.rb", "lib/webbynode/commands/webbies.rb", "lib/webbynode/engines/all.rb", "lib/webbynode/engines/django.rb", "lib/webbynode/engines/engine.rb", "lib/webbynode/engines/nodejs.rb", "lib/webbynode/engines/php.rb", "lib/webbynode/engines/rack.rb", "lib/webbynode/engines/rails.rb", "lib/webbynode/engines/rails3.rb", "lib/webbynode/engines/wsgi.rb", "lib/webbynode/gemfile.rb", "lib/webbynode/git.rb", "lib/webbynode/io.rb", "lib/webbynode/notify.rb", "lib/webbynode/option.rb", "lib/webbynode/parameter.rb", "lib/webbynode/properties.rb", "lib/webbynode/push_and.rb", "lib/webbynode/remote_executor.rb", "lib/webbynode/server.rb", "lib/webbynode/ssh.rb", "lib/webbynode/ssh_keys.rb", "lib/webbynode/trial.rb", "lib/webbynode/updater.rb"]
|
14
|
-
s.files = ["Manifest", "PostInstall.txt", "README.rdoc", "Rakefile", "assets/webbynode.png", "bin/webbynode", "bin/wn", "changelog.rdoc", "cucumber.yml.old", "inactive_features/bootstrap.feature", "inactive_features/step_definitions/command_steps.rb", "inactive_features/support/env.rb", "inactive_features/support/hooks.rb", "inactive_features/support/io_features.rb", "inactive_features/support/mocha.rb", "lib/templates/api_token", "lib/templates/backup", "lib/templates/gitignore", "lib/templates/help", "lib/webbynode.rb", "lib/webbynode/api_client.rb", "lib/webbynode/application.rb", "lib/webbynode/attribute_accessors.rb", "lib/webbynode/command.rb", "lib/webbynode/commands/add_backup.rb", "lib/webbynode/commands/add_key.rb", "lib/webbynode/commands/addons.rb", "lib/webbynode/commands/alias.rb", "lib/webbynode/commands/apps.rb", "lib/webbynode/commands/change_dns.rb", "lib/webbynode/commands/config.rb", "lib/webbynode/commands/console.rb", "lib/webbynode/commands/delete.rb", "lib/webbynode/commands/help.rb", "lib/webbynode/commands/init.rb", "lib/webbynode/commands/open.rb", "lib/webbynode/commands/push.rb", "lib/webbynode/commands/remote.rb", "lib/webbynode/commands/restart.rb", "lib/webbynode/commands/settings.rb", "lib/webbynode/commands/start.rb", "lib/webbynode/commands/stop.rb", "lib/webbynode/commands/tasks.rb", "lib/webbynode/commands/user.rb", "lib/webbynode/commands/version.rb", "lib/webbynode/commands/webbies.rb", "lib/webbynode/engines/all.rb", "lib/webbynode/engines/django.rb", "lib/webbynode/engines/engine.rb", "lib/webbynode/engines/nodejs.rb", "lib/webbynode/engines/php.rb", "lib/webbynode/engines/rack.rb", "lib/webbynode/engines/rails.rb", "lib/webbynode/engines/rails3.rb", "lib/webbynode/engines/wsgi.rb", "lib/webbynode/gemfile.rb", "lib/webbynode/git.rb", "lib/webbynode/io.rb", "lib/webbynode/notify.rb", "lib/webbynode/option.rb", "lib/webbynode/parameter.rb", "lib/webbynode/properties.rb", "lib/webbynode/push_and.rb", "lib/webbynode/remote_executor.rb", "lib/webbynode/server.rb", "lib/webbynode/ssh.rb", "lib/webbynode/ssh_keys.rb", "lib/webbynode/trial.rb", "lib/webbynode/updater.rb", "spec/fixtures/aliases", "spec/fixtures/api/credentials", "spec/fixtures/api/dns", "spec/fixtures/api/dns_a_record", "spec/fixtures/api/dns_a_record_already_exists", "spec/fixtures/api/dns_a_record_error", "spec/fixtures/api/dns_new_zone", "spec/fixtures/api/webbies", "spec/fixtures/api/webbies_unauthorized", "spec/fixtures/api/webby", "spec/fixtures/commands/tasks/after_push", "spec/fixtures/fixture_helpers", "spec/fixtures/git/config/210.11.13.12", "spec/fixtures/git/config/67.23.79.31", "spec/fixtures/git/config/67.23.79.32", "spec/fixtures/git/config/config", "spec/fixtures/git/config/config_5", "spec/fixtures/git/config/new_210.11.13.12", "spec/fixtures/git/config/new_67.23.79.31", "spec/fixtures/git/config/new_67.23.79.32", "spec/fixtures/git/config/new_config", "spec/fixtures/git/status/clean", "spec/fixtures/git/status/dirty", "spec/fixtures/nodejs/server.js", "spec/fixtures/pushand", "spec/fixtures/settings.py", "spec/fixtures/trial/user_add", "spec/spec_helper.rb", "spec/webbynode/api_client_spec.rb", "spec/webbynode/application_spec.rb", "spec/webbynode/command_spec.rb", "spec/webbynode/commands/add_backup_spec.rb", "spec/webbynode/commands/add_key_spec.rb", "spec/webbynode/commands/addons_spec.rb", "spec/webbynode/commands/alias_spec.rb", "spec/webbynode/commands/apps_spec.rb", "spec/webbynode/commands/change_dns_spec.rb", "spec/webbynode/commands/config_spec.rb", "spec/webbynode/commands/console_spec.rb", "spec/webbynode/commands/delete_spec.rb", "spec/webbynode/commands/help_spec.rb", "spec/webbynode/commands/init_spec.rb", "spec/webbynode/commands/open_spec.rb", "spec/webbynode/commands/push_spec.rb", "spec/webbynode/commands/remote_spec.rb", "spec/webbynode/commands/settings_spec.rb", "spec/webbynode/commands/tasks_spec.rb", "spec/webbynode/commands/user_spec.rb", "spec/webbynode/commands/version_spec.rb", "spec/webbynode/commands/webbies_spec.rb", "spec/webbynode/engines/django_spec.rb", "spec/webbynode/engines/engine_spec.rb", "spec/webbynode/engines/nodejs_spec.rb", "spec/webbynode/engines/php_spec.rb", "spec/webbynode/engines/rack_spec.rb", "spec/webbynode/engines/rails3_spec.rb", "spec/webbynode/engines/rails_spec.rb", "spec/webbynode/engines/wsgi_spec.rb", "spec/webbynode/gemfile_spec.rb", "spec/webbynode/git_spec.rb", "spec/webbynode/io_spec.rb", "spec/webbynode/option_spec.rb", "spec/webbynode/parameter_spec.rb", "spec/webbynode/properties_spec.rb", "spec/webbynode/push_and_spec.rb", "spec/webbynode/remote_executor_spec.rb", "spec/webbynode/server_spec.rb", "spec/webbynode/ssh_spec.rb", "spec/webbynode/trial_spec.rb", "webbynode.gemspec"]
|
13
|
+
s.extra_rdoc_files = ["README.rdoc", "bin/webbynode", "bin/wn", "lib/templates/api_token", "lib/templates/backup", "lib/templates/gitignore", "lib/templates/help", "lib/webbynode.rb", "lib/webbynode/api_client.rb", "lib/webbynode/application.rb", "lib/webbynode/attribute_accessors.rb", "lib/webbynode/command.rb", "lib/webbynode/commands/add_backup.rb", "lib/webbynode/commands/add_key.rb", "lib/webbynode/commands/addons.rb", "lib/webbynode/commands/alias.rb", "lib/webbynode/commands/apps.rb", "lib/webbynode/commands/change_dns.rb", "lib/webbynode/commands/config.rb", "lib/webbynode/commands/console.rb", "lib/webbynode/commands/delete.rb", "lib/webbynode/commands/help.rb", "lib/webbynode/commands/init.rb", "lib/webbynode/commands/logs.rb", "lib/webbynode/commands/open.rb", "lib/webbynode/commands/push.rb", "lib/webbynode/commands/remote.rb", "lib/webbynode/commands/restart.rb", "lib/webbynode/commands/settings.rb", "lib/webbynode/commands/start.rb", "lib/webbynode/commands/stop.rb", "lib/webbynode/commands/tasks.rb", "lib/webbynode/commands/user.rb", "lib/webbynode/commands/version.rb", "lib/webbynode/commands/webbies.rb", "lib/webbynode/engines/all.rb", "lib/webbynode/engines/django.rb", "lib/webbynode/engines/engine.rb", "lib/webbynode/engines/nodejs.rb", "lib/webbynode/engines/php.rb", "lib/webbynode/engines/rack.rb", "lib/webbynode/engines/rails.rb", "lib/webbynode/engines/rails3.rb", "lib/webbynode/engines/wsgi.rb", "lib/webbynode/gemfile.rb", "lib/webbynode/git.rb", "lib/webbynode/io.rb", "lib/webbynode/notify.rb", "lib/webbynode/option.rb", "lib/webbynode/parameter.rb", "lib/webbynode/properties.rb", "lib/webbynode/push_and.rb", "lib/webbynode/remote_executor.rb", "lib/webbynode/server.rb", "lib/webbynode/ssh.rb", "lib/webbynode/ssh_keys.rb", "lib/webbynode/trial.rb", "lib/webbynode/updater.rb"]
|
14
|
+
s.files = ["Manifest", "PostInstall.txt", "README.rdoc", "Rakefile", "assets/webbynode.png", "bin/webbynode", "bin/wn", "changelog.rdoc", "cucumber.yml.old", "inactive_features/bootstrap.feature", "inactive_features/step_definitions/command_steps.rb", "inactive_features/support/env.rb", "inactive_features/support/hooks.rb", "inactive_features/support/io_features.rb", "inactive_features/support/mocha.rb", "lib/templates/api_token", "lib/templates/backup", "lib/templates/gitignore", "lib/templates/help", "lib/webbynode.rb", "lib/webbynode/api_client.rb", "lib/webbynode/application.rb", "lib/webbynode/attribute_accessors.rb", "lib/webbynode/command.rb", "lib/webbynode/commands/add_backup.rb", "lib/webbynode/commands/add_key.rb", "lib/webbynode/commands/addons.rb", "lib/webbynode/commands/alias.rb", "lib/webbynode/commands/apps.rb", "lib/webbynode/commands/change_dns.rb", "lib/webbynode/commands/config.rb", "lib/webbynode/commands/console.rb", "lib/webbynode/commands/delete.rb", "lib/webbynode/commands/help.rb", "lib/webbynode/commands/init.rb", "lib/webbynode/commands/logs.rb", "lib/webbynode/commands/open.rb", "lib/webbynode/commands/push.rb", "lib/webbynode/commands/remote.rb", "lib/webbynode/commands/restart.rb", "lib/webbynode/commands/settings.rb", "lib/webbynode/commands/start.rb", "lib/webbynode/commands/stop.rb", "lib/webbynode/commands/tasks.rb", "lib/webbynode/commands/user.rb", "lib/webbynode/commands/version.rb", "lib/webbynode/commands/webbies.rb", "lib/webbynode/engines/all.rb", "lib/webbynode/engines/django.rb", "lib/webbynode/engines/engine.rb", "lib/webbynode/engines/nodejs.rb", "lib/webbynode/engines/php.rb", "lib/webbynode/engines/rack.rb", "lib/webbynode/engines/rails.rb", "lib/webbynode/engines/rails3.rb", "lib/webbynode/engines/wsgi.rb", "lib/webbynode/gemfile.rb", "lib/webbynode/git.rb", "lib/webbynode/io.rb", "lib/webbynode/notify.rb", "lib/webbynode/option.rb", "lib/webbynode/parameter.rb", "lib/webbynode/properties.rb", "lib/webbynode/push_and.rb", "lib/webbynode/remote_executor.rb", "lib/webbynode/server.rb", "lib/webbynode/ssh.rb", "lib/webbynode/ssh_keys.rb", "lib/webbynode/trial.rb", "lib/webbynode/updater.rb", "spec/fixtures/aliases", "spec/fixtures/api/credentials", "spec/fixtures/api/dns", "spec/fixtures/api/dns_a_record", "spec/fixtures/api/dns_a_record_already_exists", "spec/fixtures/api/dns_a_record_error", "spec/fixtures/api/dns_new_zone", "spec/fixtures/api/webbies", "spec/fixtures/api/webbies_unauthorized", "spec/fixtures/api/webby", "spec/fixtures/commands/tasks/after_push", "spec/fixtures/fixture_helpers", "spec/fixtures/git/config/210.11.13.12", "spec/fixtures/git/config/67.23.79.31", "spec/fixtures/git/config/67.23.79.32", "spec/fixtures/git/config/config", "spec/fixtures/git/config/config_5", "spec/fixtures/git/config/new_210.11.13.12", "spec/fixtures/git/config/new_67.23.79.31", "spec/fixtures/git/config/new_67.23.79.32", "spec/fixtures/git/config/new_config", "spec/fixtures/git/status/clean", "spec/fixtures/git/status/dirty", "spec/fixtures/nodejs/server.js", "spec/fixtures/pushand", "spec/fixtures/settings.py", "spec/fixtures/trial/user_add", "spec/spec_helper.rb", "spec/webbynode/api_client_spec.rb", "spec/webbynode/application_spec.rb", "spec/webbynode/command_spec.rb", "spec/webbynode/commands/add_backup_spec.rb", "spec/webbynode/commands/add_key_spec.rb", "spec/webbynode/commands/addons_spec.rb", "spec/webbynode/commands/alias_spec.rb", "spec/webbynode/commands/apps_spec.rb", "spec/webbynode/commands/change_dns_spec.rb", "spec/webbynode/commands/config_spec.rb", "spec/webbynode/commands/console_spec.rb", "spec/webbynode/commands/delete_spec.rb", "spec/webbynode/commands/help_spec.rb", "spec/webbynode/commands/init_spec.rb", "spec/webbynode/commands/logs_spec.rb", "spec/webbynode/commands/open_spec.rb", "spec/webbynode/commands/push_spec.rb", "spec/webbynode/commands/remote_spec.rb", "spec/webbynode/commands/settings_spec.rb", "spec/webbynode/commands/tasks_spec.rb", "spec/webbynode/commands/user_spec.rb", "spec/webbynode/commands/version_spec.rb", "spec/webbynode/commands/webbies_spec.rb", "spec/webbynode/engines/django_spec.rb", "spec/webbynode/engines/engine_spec.rb", "spec/webbynode/engines/nodejs_spec.rb", "spec/webbynode/engines/php_spec.rb", "spec/webbynode/engines/rack_spec.rb", "spec/webbynode/engines/rails3_spec.rb", "spec/webbynode/engines/rails_spec.rb", "spec/webbynode/engines/wsgi_spec.rb", "spec/webbynode/gemfile_spec.rb", "spec/webbynode/git_spec.rb", "spec/webbynode/io_spec.rb", "spec/webbynode/option_spec.rb", "spec/webbynode/parameter_spec.rb", "spec/webbynode/properties_spec.rb", "spec/webbynode/push_and_spec.rb", "spec/webbynode/remote_executor_spec.rb", "spec/webbynode/server_spec.rb", "spec/webbynode/ssh_spec.rb", "spec/webbynode/trial_spec.rb", "webbynode.gemspec"]
|
15
15
|
s.homepage = %q{http://webbynode.com}
|
16
16
|
s.post_install_message = %q{
|
17
17
|
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webbynode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: -
|
4
|
+
hash: -1848230072
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 4
|
10
|
-
-
|
11
|
-
version: 1.0.4.
|
10
|
+
- beta4
|
11
|
+
version: 1.0.4.beta4
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Felipe Coury
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-11-01 00:00:00 -02:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -146,6 +146,7 @@ extra_rdoc_files:
|
|
146
146
|
- lib/webbynode/commands/delete.rb
|
147
147
|
- lib/webbynode/commands/help.rb
|
148
148
|
- lib/webbynode/commands/init.rb
|
149
|
+
- lib/webbynode/commands/logs.rb
|
149
150
|
- lib/webbynode/commands/open.rb
|
150
151
|
- lib/webbynode/commands/push.rb
|
151
152
|
- lib/webbynode/commands/remote.rb
|
@@ -216,6 +217,7 @@ files:
|
|
216
217
|
- lib/webbynode/commands/delete.rb
|
217
218
|
- lib/webbynode/commands/help.rb
|
218
219
|
- lib/webbynode/commands/init.rb
|
220
|
+
- lib/webbynode/commands/logs.rb
|
219
221
|
- lib/webbynode/commands/open.rb
|
220
222
|
- lib/webbynode/commands/push.rb
|
221
223
|
- lib/webbynode/commands/remote.rb
|
@@ -292,6 +294,7 @@ files:
|
|
292
294
|
- spec/webbynode/commands/delete_spec.rb
|
293
295
|
- spec/webbynode/commands/help_spec.rb
|
294
296
|
- spec/webbynode/commands/init_spec.rb
|
297
|
+
- spec/webbynode/commands/logs_spec.rb
|
295
298
|
- spec/webbynode/commands/open_spec.rb
|
296
299
|
- spec/webbynode/commands/push_spec.rb
|
297
300
|
- spec/webbynode/commands/remote_spec.rb
|