webbynode 1.0.4.3 → 1.0.5.beta2
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/Gemfile +2 -0
- data/Gemfile.lock +4 -0
- data/Guardfile +1 -1
- data/Manifest +5 -1
- data/Rakefile +6 -1
- data/lib/webbynode.rb +21 -2
- data/lib/webbynode/command.rb +26 -0
- data/lib/webbynode/commands/accounts.rb +77 -0
- data/lib/webbynode/commands/guides.rb +11 -0
- data/lib/webbynode/commands/help.rb +3 -3
- data/lib/webbynode/commands/init.rb +21 -21
- data/lib/webbynode/commands/push.rb +7 -7
- data/lib/webbynode/commands/remote.rb +6 -2
- data/lib/webbynode/commands/settings.rb +1 -1
- data/lib/webbynode/commands/tasks.rb +3 -3
- data/lib/webbynode/commands/version.rb +1 -1
- data/lib/webbynode/commands/webbies.rb +20 -12
- data/lib/webbynode/engines/rails.rb +8 -5
- data/lib/webbynode/engines/rails3.rb +13 -6
- data/lib/webbynode/io.rb +4 -0
- data/lib/webbynode/notify.rb +1 -0
- data/spec/spec_helper.rb +1 -0
- data/spec/webbynode/commands/accounts_spec.rb +119 -0
- data/spec/webbynode/commands/guides_spec.rb +9 -0
- data/spec/webbynode/commands/init_spec.rb +11 -8
- data/spec/webbynode/commands/remote_spec.rb +3 -3
- data/spec/webbynode/commands/tasks_spec.rb +7 -7
- data/spec/webbynode/commands/version_spec.rb +1 -1
- data/spec/webbynode/engines/html_spec.rb +1 -1
- data/spec/webbynode/engines/rails3_spec.rb +12 -1
- data/spec/webbynode/engines/rails_spec.rb +11 -0
- data/spec/webbynode/io_spec.rb +7 -0
- data/webbynode.gemspec +13 -5
- metadata +33 -8
- data/spec/fixtures/settings.py +0 -94
@@ -11,7 +11,7 @@ describe Webbynode::Commands::Version do
|
|
11
11
|
end
|
12
12
|
|
13
13
|
it "should return the version of the gem" do
|
14
|
-
io.should_receive(:log).with("Rapid Deployment Gem v#{Webbynode::VERSION}"
|
14
|
+
io.should_receive(:log).with("Rapid Deployment Gem v#{Webbynode::VERSION}")
|
15
15
|
version.execute
|
16
16
|
end
|
17
17
|
|
@@ -30,6 +30,7 @@ describe Webbynode::Engines::Rails3 do
|
|
30
30
|
end
|
31
31
|
|
32
32
|
it "adds a rails3_adapter setting when mysql2 is used on the database.yml" do
|
33
|
+
io.should_receive(:file_exists?).with("config/database.yml").and_return(true)
|
33
34
|
io.should_receive(:read_file).with("config/database.yml").and_return("mysql2")
|
34
35
|
io.should_receive(:add_setting).with('rails3_adapter', 'mysql2')
|
35
36
|
|
@@ -37,12 +38,22 @@ describe Webbynode::Engines::Rails3 do
|
|
37
38
|
end
|
38
39
|
|
39
40
|
it "doesn't add a rails3_adapter otherwise" do
|
41
|
+
io.should_receive(:file_exists?).with("config/database.yml").and_return(true)
|
40
42
|
io.should_receive(:read_file).with("config/database.yml").and_return("mysql")
|
41
|
-
io.should_receive(:add_setting).with('
|
43
|
+
io.should_receive(:add_setting).with('rails_adapter', 'mysql2').never
|
42
44
|
io.should_receive(:remove_setting).with('rails3_adapter')
|
43
45
|
|
44
46
|
subject.prepare
|
45
47
|
end
|
48
|
+
|
49
|
+
it "doesn't add a rails3_adapter if missing config/database.yml" do
|
50
|
+
io.should_receive(:file_exists?).with("config/database.yml").and_return(false)
|
51
|
+
io.should_receive(:read_file).with("config/database.yml").never
|
52
|
+
io.should_receive(:add_setting).with('rails_adapter', 'mysql2').never
|
53
|
+
io.should_receive(:remove_setting).with('rails3_adapter')
|
54
|
+
|
55
|
+
subject.prepare
|
56
|
+
end
|
46
57
|
end
|
47
58
|
|
48
59
|
describe '#detect' do
|
@@ -38,6 +38,7 @@ describe Webbynode::Engines::Rails do
|
|
38
38
|
|
39
39
|
describe '#prepare' do
|
40
40
|
it "adds a rails_adapter setting when mysql2 is used on the database.yml" do
|
41
|
+
io.should_receive(:file_exists?).with("config/database.yml").and_return(true)
|
41
42
|
io.should_receive(:read_file).with("config/database.yml").and_return("mysql2")
|
42
43
|
io.should_receive(:add_setting).with('rails_adapter', 'mysql2')
|
43
44
|
|
@@ -45,11 +46,21 @@ describe Webbynode::Engines::Rails do
|
|
45
46
|
end
|
46
47
|
|
47
48
|
it "doesn't add a rails_adapter otherwise" do
|
49
|
+
io.should_receive(:file_exists?).with("config/database.yml").and_return(true)
|
48
50
|
io.should_receive(:read_file).with("config/database.yml").and_return("mysql")
|
49
51
|
io.should_receive(:add_setting).with('rails_adapter', 'mysql2').never
|
50
52
|
io.should_receive(:remove_setting).with('rails_adapter')
|
51
53
|
|
52
54
|
subject.prepare
|
53
55
|
end
|
56
|
+
|
57
|
+
it "doesn't add a rails_adapter if missing config/database.yml" do
|
58
|
+
io.should_receive(:file_exists?).with("config/database.yml").and_return(false)
|
59
|
+
io.should_receive(:read_file).with("config/database.yml").never
|
60
|
+
io.should_receive(:add_setting).with('rails_adapter', 'mysql2').never
|
61
|
+
io.should_receive(:remove_setting).with('rails_adapter')
|
62
|
+
|
63
|
+
subject.prepare
|
64
|
+
end
|
54
65
|
end
|
55
66
|
end
|
data/spec/webbynode/io_spec.rb
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
require File.join(File.expand_path(File.dirname(__FILE__)), '..', 'spec_helper')
|
3
3
|
|
4
4
|
describe Webbynode::Io do
|
5
|
+
describe '#list_files' do
|
6
|
+
it 'list files that match' do
|
7
|
+
Dir.should_receive(:glob).with("/tmp/*.abcdef").and_return(["abcdef"])
|
8
|
+
subject.list_files("/tmp/*.abcdef").should == ["abcdef"]
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
5
12
|
describe '#sed' do
|
6
13
|
it 'replaces a regexp' do
|
7
14
|
text = read_fixture('settings.py')
|
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.
|
5
|
+
s.version = "1.0.5.beta2"
|
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{2011-03-
|
9
|
+
s.date = %q{2011-03-10}
|
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/authorize_root.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/html.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 = ["Gemfile", "Gemfile.lock", "Guardfile", "Manifest", "PostInstall.txt", "README.rdoc", "Rakefile", "assets/webbynode.png", "autotest/discover.rb", "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/authorize_root.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/html.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/
|
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/accounts.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/authorize_root.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/guides.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/html.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 = ["Gemfile", "Gemfile.lock", "Guardfile", "Manifest", "PostInstall.txt", "README.rdoc", "Rakefile", "assets/webbynode.png", "autotest/discover.rb", "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/accounts.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/authorize_root.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/guides.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/html.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/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/accounts_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/authorize_root_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/guides_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/html_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
|
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
@@ -25,14 +25,19 @@ the comfort of your command line.
|
|
25
25
|
Please read our guide for a quickstart:
|
26
26
|
http://guides.webbynode.com/articles/rapidapps/
|
27
27
|
|
28
|
+
For more information use the commands:
|
29
|
+
wn help
|
30
|
+
wn guides
|
31
|
+
|
28
32
|
}
|
29
33
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Webbynode", "--main", "README.rdoc"]
|
30
34
|
s.require_paths = ["lib"]
|
31
35
|
s.rubyforge_project = %q{webbynode}
|
32
|
-
s.rubygems_version = %q{1.
|
36
|
+
s.rubygems_version = %q{1.3.7}
|
33
37
|
s.summary = %q{Webbynode Deployment Gem}
|
34
38
|
|
35
39
|
if s.respond_to? :specification_version then
|
40
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
36
41
|
s.specification_version = 3
|
37
42
|
|
38
43
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
@@ -42,6 +47,7 @@ http://guides.webbynode.com/articles/rapidapps/
|
|
42
47
|
s.add_runtime_dependency(%q<httparty>, [">= 0.4.5"])
|
43
48
|
s.add_runtime_dependency(%q<launchy>, [">= 0.3.7"])
|
44
49
|
s.add_runtime_dependency(%q<domainatrix>, [">= 0.0.7"])
|
50
|
+
s.add_runtime_dependency(%q<rainbow>, ["= 1.1.1"])
|
45
51
|
else
|
46
52
|
s.add_dependency(%q<bundler>, [">= 0.9.26"])
|
47
53
|
s.add_dependency(%q<net-ssh>, ["= 2.1.0"])
|
@@ -49,6 +55,7 @@ http://guides.webbynode.com/articles/rapidapps/
|
|
49
55
|
s.add_dependency(%q<httparty>, [">= 0.4.5"])
|
50
56
|
s.add_dependency(%q<launchy>, [">= 0.3.7"])
|
51
57
|
s.add_dependency(%q<domainatrix>, [">= 0.0.7"])
|
58
|
+
s.add_dependency(%q<rainbow>, ["= 1.1.1"])
|
52
59
|
end
|
53
60
|
else
|
54
61
|
s.add_dependency(%q<bundler>, [">= 0.9.26"])
|
@@ -57,5 +64,6 @@ http://guides.webbynode.com/articles/rapidapps/
|
|
57
64
|
s.add_dependency(%q<httparty>, [">= 0.4.5"])
|
58
65
|
s.add_dependency(%q<launchy>, [">= 0.3.7"])
|
59
66
|
s.add_dependency(%q<domainatrix>, [">= 0.0.7"])
|
67
|
+
s.add_dependency(%q<rainbow>, ["= 1.1.1"])
|
60
68
|
end
|
61
69
|
end
|
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:
|
5
|
-
prerelease:
|
4
|
+
hash: -1848230066
|
5
|
+
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
-
|
11
|
-
version: 1.0.
|
9
|
+
- 5
|
10
|
+
- beta2
|
11
|
+
version: 1.0.5.beta2
|
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: 2011-03-
|
19
|
+
date: 2011-03-10 00:00:00 -03:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -115,6 +115,22 @@ dependencies:
|
|
115
115
|
version: 0.0.7
|
116
116
|
type: :runtime
|
117
117
|
version_requirements: *id006
|
118
|
+
- !ruby/object:Gem::Dependency
|
119
|
+
name: rainbow
|
120
|
+
prerelease: false
|
121
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - "="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
hash: 17
|
127
|
+
segments:
|
128
|
+
- 1
|
129
|
+
- 1
|
130
|
+
- 1
|
131
|
+
version: 1.1.1
|
132
|
+
type: :runtime
|
133
|
+
version_requirements: *id007
|
118
134
|
description: Webbynode Deployment Gem
|
119
135
|
email: felipe@webbynode.com
|
120
136
|
executables:
|
@@ -135,6 +151,7 @@ extra_rdoc_files:
|
|
135
151
|
- lib/webbynode/application.rb
|
136
152
|
- lib/webbynode/attribute_accessors.rb
|
137
153
|
- lib/webbynode/command.rb
|
154
|
+
- lib/webbynode/commands/accounts.rb
|
138
155
|
- lib/webbynode/commands/add_backup.rb
|
139
156
|
- lib/webbynode/commands/add_key.rb
|
140
157
|
- lib/webbynode/commands/addons.rb
|
@@ -145,6 +162,7 @@ extra_rdoc_files:
|
|
145
162
|
- lib/webbynode/commands/config.rb
|
146
163
|
- lib/webbynode/commands/console.rb
|
147
164
|
- lib/webbynode/commands/delete.rb
|
165
|
+
- lib/webbynode/commands/guides.rb
|
148
166
|
- lib/webbynode/commands/help.rb
|
149
167
|
- lib/webbynode/commands/init.rb
|
150
168
|
- lib/webbynode/commands/logs.rb
|
@@ -212,6 +230,7 @@ files:
|
|
212
230
|
- lib/webbynode/application.rb
|
213
231
|
- lib/webbynode/attribute_accessors.rb
|
214
232
|
- lib/webbynode/command.rb
|
233
|
+
- lib/webbynode/commands/accounts.rb
|
215
234
|
- lib/webbynode/commands/add_backup.rb
|
216
235
|
- lib/webbynode/commands/add_key.rb
|
217
236
|
- lib/webbynode/commands/addons.rb
|
@@ -222,6 +241,7 @@ files:
|
|
222
241
|
- lib/webbynode/commands/config.rb
|
223
242
|
- lib/webbynode/commands/console.rb
|
224
243
|
- lib/webbynode/commands/delete.rb
|
244
|
+
- lib/webbynode/commands/guides.rb
|
225
245
|
- lib/webbynode/commands/help.rb
|
226
246
|
- lib/webbynode/commands/init.rb
|
227
247
|
- lib/webbynode/commands/logs.rb
|
@@ -285,12 +305,12 @@ files:
|
|
285
305
|
- spec/fixtures/git/status/dirty
|
286
306
|
- spec/fixtures/nodejs/server.js
|
287
307
|
- spec/fixtures/pushand
|
288
|
-
- spec/fixtures/settings.py
|
289
308
|
- spec/fixtures/trial/user_add
|
290
309
|
- spec/spec_helper.rb
|
291
310
|
- spec/webbynode/api_client_spec.rb
|
292
311
|
- spec/webbynode/application_spec.rb
|
293
312
|
- spec/webbynode/command_spec.rb
|
313
|
+
- spec/webbynode/commands/accounts_spec.rb
|
294
314
|
- spec/webbynode/commands/add_backup_spec.rb
|
295
315
|
- spec/webbynode/commands/add_key_spec.rb
|
296
316
|
- spec/webbynode/commands/addons_spec.rb
|
@@ -301,6 +321,7 @@ files:
|
|
301
321
|
- spec/webbynode/commands/config_spec.rb
|
302
322
|
- spec/webbynode/commands/console_spec.rb
|
303
323
|
- spec/webbynode/commands/delete_spec.rb
|
324
|
+
- spec/webbynode/commands/guides_spec.rb
|
304
325
|
- spec/webbynode/commands/help_spec.rb
|
305
326
|
- spec/webbynode/commands/init_spec.rb
|
306
327
|
- spec/webbynode/commands/logs_spec.rb
|
@@ -350,6 +371,10 @@ post_install_message: |+
|
|
350
371
|
Please read our guide for a quickstart:
|
351
372
|
http://guides.webbynode.com/articles/rapidapps/
|
352
373
|
|
374
|
+
For more information use the commands:
|
375
|
+
wn help
|
376
|
+
wn guides
|
377
|
+
|
353
378
|
rdoc_options:
|
354
379
|
- --line-numbers
|
355
380
|
- --inline-source
|
@@ -381,7 +406,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
381
406
|
requirements: []
|
382
407
|
|
383
408
|
rubyforge_project: webbynode
|
384
|
-
rubygems_version: 1.
|
409
|
+
rubygems_version: 1.3.7
|
385
410
|
signing_key:
|
386
411
|
specification_version: 3
|
387
412
|
summary: Webbynode Deployment Gem
|
data/spec/fixtures/settings.py
DELETED
@@ -1,94 +0,0 @@
|
|
1
|
-
# Django settings for dude project.
|
2
|
-
|
3
|
-
DEBUG = True
|
4
|
-
TEMPLATE_DEBUG = DEBUG
|
5
|
-
|
6
|
-
ADMINS = (
|
7
|
-
# ('Your Name', 'your_email@domain.com'),
|
8
|
-
)
|
9
|
-
|
10
|
-
MANAGERS = ADMINS
|
11
|
-
|
12
|
-
DATABASES = {
|
13
|
-
'default': {
|
14
|
-
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
15
|
-
'NAME': 'dude', # Or path to database file if using sqlite3.
|
16
|
-
'USER': 'root', # Not used with sqlite3.
|
17
|
-
'PASSWORD': '', # Not used with sqlite3.
|
18
|
-
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
|
19
|
-
'PORT': '', # Set to empty string for default. Not used with sqlite3.
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
# Local time zone for this installation. Choices can be found here:
|
24
|
-
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
25
|
-
# although not all choices may be available on all operating systems.
|
26
|
-
# On Unix systems, a value of None will cause Django to use the same
|
27
|
-
# timezone as the operating system.
|
28
|
-
# If running in a Windows environment this must be set to the same as your
|
29
|
-
# system time zone.
|
30
|
-
TIME_ZONE = 'America/Chicago'
|
31
|
-
|
32
|
-
# Language code for this installation. All choices can be found here:
|
33
|
-
# http://www.i18nguy.com/unicode/language-identifiers.html
|
34
|
-
LANGUAGE_CODE = 'en-us'
|
35
|
-
|
36
|
-
SITE_ID = 1
|
37
|
-
|
38
|
-
# If you set this to False, Django will make some optimizations so as not
|
39
|
-
# to load the internationalization machinery.
|
40
|
-
USE_I18N = True
|
41
|
-
|
42
|
-
# If you set this to False, Django will not format dates, numbers and
|
43
|
-
# calendars according to the current locale
|
44
|
-
USE_L10N = True
|
45
|
-
|
46
|
-
# Absolute path to the directory that holds media.
|
47
|
-
# Example: "/home/media/media.lawrence.com/"
|
48
|
-
MEDIA_ROOT = ''
|
49
|
-
|
50
|
-
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
|
51
|
-
# trailing slash if there is a path component (optional in other cases).
|
52
|
-
# Examples: "http://media.lawrence.com", "http://example.com/media/"
|
53
|
-
MEDIA_URL = ''
|
54
|
-
|
55
|
-
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
|
56
|
-
# trailing slash.
|
57
|
-
# Examples: "http://foo.com/media/", "/media/".
|
58
|
-
ADMIN_MEDIA_PREFIX = '/media/'
|
59
|
-
|
60
|
-
# Make this unique, and don't share it with anybody.
|
61
|
-
SECRET_KEY = '4tg&yi98l603gs--iuombqt(^+c&q&zsqe$y%%hqd3u6#uu0@o'
|
62
|
-
|
63
|
-
# List of callables that know how to import templates from various sources.
|
64
|
-
TEMPLATE_LOADERS = (
|
65
|
-
'django.template.loaders.filesystem.Loader',
|
66
|
-
'django.template.loaders.app_directories.Loader',
|
67
|
-
# 'django.template.loaders.eggs.Loader',
|
68
|
-
)
|
69
|
-
|
70
|
-
MIDDLEWARE_CLASSES = (
|
71
|
-
'django.middleware.common.CommonMiddleware',
|
72
|
-
'django.contrib.sessions.middleware.SessionMiddleware',
|
73
|
-
'django.middleware.csrf.CsrfViewMiddleware',
|
74
|
-
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
75
|
-
'django.contrib.messages.middleware.MessageMiddleware',
|
76
|
-
)
|
77
|
-
|
78
|
-
ROOT_URLCONF = 'dude.urls'
|
79
|
-
|
80
|
-
TEMPLATE_DIRS = (
|
81
|
-
'/tmp/dude/templates'
|
82
|
-
)
|
83
|
-
|
84
|
-
INSTALLED_APPS = (
|
85
|
-
'django.contrib.auth',
|
86
|
-
'django.contrib.contenttypes',
|
87
|
-
'django.contrib.sessions',
|
88
|
-
'django.contrib.sites',
|
89
|
-
'django.contrib.messages',
|
90
|
-
'django.contrib.admin',
|
91
|
-
'dude.polls',
|
92
|
-
# Uncomment the next line to enable the admin:
|
93
|
-
# 'django.contrib.admin',
|
94
|
-
)
|