mergulhao-hostnet 0.1.0 → 0.1.1

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.
data/History.txt ADDED
@@ -0,0 +1,14 @@
1
+ == 0.1.1 2008-10-07
2
+
3
+ * Migração para o Rubyforge
4
+
5
+ == 0.1.0 2008-09-30
6
+
7
+ * Novos tutoriais adicionados
8
+ * Configurando sua aplicação para enviar e-mails
9
+ * Dicas para administração e debug de sua aplicação Rails
10
+ * Adicionadas novas tasks
11
+
12
+ == 0.0.1 2008-09-24
13
+
14
+ * Initial release
data/Manifest.txt CHANGED
@@ -1,7 +1,6 @@
1
- CHANGELOG
1
+ History.txt
2
2
  LICENSE
3
3
  Manifest.txt
4
- README.mkdn
5
4
  README.txt
6
5
  Rakefile
7
6
  TODO
data/README.txt CHANGED
@@ -1,3 +1,18 @@
1
- = hostnet
1
+ = hostnet - gem oficial para suporte a deploy de aplicações
2
+
3
+ = Descrição
4
+
5
+ Gem de suporte a deploy de aplicações para ambiente compartilhado da Hostnet.
6
+
7
+ = Instalando
8
+
9
+ gem install hostnet
10
+
11
+ = Instalando a última versão em desenvolvimento (living on the edge)
12
+
13
+ gem install mergulhao-hostnet --source=http://gems.github.com
14
+
15
+ = Licença
16
+
17
+ MIT License, ver arquivo LICENSE
2
18
 
3
- Look at README.mkdn
data/config/hoe.rb CHANGED
@@ -62,13 +62,13 @@ $hoe = Hoe.new(GEM_NAME, VERS) do |p|
62
62
  p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store'] #An array of file patterns to delete on clean.
63
63
 
64
64
  # == Optional
65
- p.changes = p.paragraphs_of("CHANGELOG", 0..1).join("\n\n")
65
+ p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
66
66
  p.extra_deps = EXTRA_DEPENDENCIES
67
67
 
68
68
  #p.spec_extras = {} # A hash of extra values to set in the gemspec.
69
69
  end
70
70
 
71
- CHANGES = $hoe.paragraphs_of('CHANGELOG', 0..1).join("\\n\\n")
71
+ CHANGES = $hoe.paragraphs_of('History.txt', 0..1).join("\\n\\n")
72
72
  PATH = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : "#{RUBYFORGE_PROJECT}/#{GEM_NAME}"
73
73
  $hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
74
74
  $hoe.rsync_args = '-av --delete --ignore-errors'
data/hostnet.gemspec CHANGED
@@ -1,15 +1,16 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{hostnet}
3
- s.version = "0.1.0"
3
+ s.version = "0.1.1"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Sylvestre Mergulhao"]
7
- s.date = %q{2008-09-30}
7
+ s.date = %q{2008-10-07}
8
+ s.default_executable = %q{hostnet}
8
9
  s.description = %q{gem oficial para suporte a deploy de aplicações}
9
10
  s.email = ["contato@mergulhao.info"]
10
11
  s.executables = ["hostnet"]
11
- s.extra_rdoc_files = ["Manifest.txt", "README.txt"]
12
- s.files = ["CHANGELOG", "LICENSE", "Manifest.txt", "README.mkdn", "README.txt", "Rakefile", "TODO", "bin/hostnet", "bin/hostnet-", "config/hoe.rb", "config/requirements.rb", "hostnet.gemspec", "lib/hostnet.rb", "lib/hostnet/version.rb", "rails_generators/hostnet_deploy/USAGE", "rails_generators/hostnet_deploy/hostnet_deploy_generator.rb", "rails_generators/hostnet_deploy/templates/Capfile", "rails_generators/hostnet_deploy/templates/deploy.rb", "rails_generators/hostnet_email/USAGE", "rails_generators/hostnet_email/hostnet_email_generator.rb", "rails_generators/hostnet_email/templates/mail.rb", "script/console", "script/destroy", "script/generate", "setup.rb", "tasks/deployment.rake", "tasks/environment.rake", "tasks/website.rake", "test/test_generator_helper.rb", "test/test_helper.rb", "test/test_hostnet.rb", "test/test_hostnet_deploy_generator.rb", "test/test_hostnet_email_generator.rb", "tutoriais/001-meu-primeiro-deploy-de-aplicacao-rails-para-a-hostnet/tutorial.mkdn"]
12
+ s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt"]
13
+ s.files = ["History.txt", "LICENSE", "Manifest.txt", "README.txt", "Rakefile", "TODO", "bin/hostnet", "config/hoe.rb", "config/requirements.rb", "hostnet.gemspec", "lib/hostnet.rb", "lib/hostnet/version.rb", "rails_generators/hostnet_deploy/USAGE", "rails_generators/hostnet_deploy/hostnet_deploy_generator.rb", "rails_generators/hostnet_deploy/templates/Capfile", "rails_generators/hostnet_deploy/templates/deploy.rb", "rails_generators/hostnet_email/USAGE", "rails_generators/hostnet_email/hostnet_email_generator.rb", "rails_generators/hostnet_email/templates/mail.rb", "script/console", "script/destroy", "script/generate", "setup.rb", "tasks/deployment.rake", "tasks/environment.rake", "tasks/website.rake", "test/test_generator_helper.rb", "test/test_helper.rb", "test/test_hostnet.rb", "test/test_hostnet_deploy_generator.rb", "test/test_hostnet_email_generator.rb", "tutoriais/001-meu-primeiro-deploy-de-aplicacao-rails-para-a-hostnet/tutorial.mkdn", "tutoriais/002-configurando-sua-aplicacao-para-enviar-e-mails/tutorial.mkdn", "tutoriais/003-dicas-para-administracao-e-debug-de-sua-aplicacao-rails/tutorial.mkdn"]
13
14
  s.has_rdoc = true
14
15
  s.homepage = %q{http://github.com/mergulhao/hostnet}
15
16
  s.post_install_message = %q{}
@@ -2,7 +2,7 @@ module Hostnet
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -0,0 +1,14 @@
1
+ Configurando sua aplicação para enviar e-mails
2
+ ==============================================
3
+
4
+ 1. Você deve possuir a gem da Hostnet instalada. Se você não possui, execute:
5
+
6
+ gem install mergulhao-hostnet --source=http://gems.github.com
7
+
8
+ 2. Crie no seu painel da Hostnet uma conta que será usada pelo ActionMailer do Rails para o envio de e-mails
9
+
10
+ 3. Na raiz do seu projeto execute:
11
+
12
+ hostnet --email mailer_username mailer_password seu_dominio.com
13
+
14
+ Sua aplicação já está configurada para enviar e-mails utilizando smtp da Hostnet!
@@ -0,0 +1,29 @@
1
+ Dicas para administracao e debug de sua aplicacao rails
2
+ =======================================================
3
+
4
+ Todas as dicas supõe que você fez upload de sua aplicação utilizando o Capistrano configurado a partir da gem oficial da Hostnet.
5
+
6
+ * Logs
7
+
8
+ 1. **Meu arquivo de log está ocupando muito espaço da minha hospedagem. O que fazer?**
9
+
10
+ Você deve zerar o seu arquivo de log regularmente para evitar que ele consuma todo o espaço da sua hospedagem. Basta executar o comando:
11
+
12
+ cap log:clean
13
+
14
+ 2. **Como ver o log de produção da minha aplicação?**
15
+
16
+ Para facilitar essa tarefa de debug temos uma task do Capistrano. Basta executar:
17
+
18
+ cap log:tail
19
+
20
+ * Deploy
21
+
22
+ 1. **Preciso fazer o restart da minha aplicação, o que fazer?**
23
+
24
+ cap deploy:restart
25
+
26
+ 2. **Ao subir a minha aplicação, preciso rodar _cap deploy:migrations_ para executar as migrations?**
27
+
28
+ Não. A receita de deploy da Hostnet efetua essa tarefa automaticamente.
29
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mergulhao-hostnet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvestre Mergulhao
@@ -9,8 +9,8 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-30 00:00:00 -07:00
13
- default_executable:
12
+ date: 2008-10-07 00:00:00 -07:00
13
+ default_executable: hostnet
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubigen
@@ -56,18 +56,17 @@ executables:
56
56
  extensions: []
57
57
 
58
58
  extra_rdoc_files:
59
+ - History.txt
59
60
  - Manifest.txt
60
61
  - README.txt
61
62
  files:
62
- - CHANGELOG
63
+ - History.txt
63
64
  - LICENSE
64
65
  - Manifest.txt
65
- - README.mkdn
66
66
  - README.txt
67
67
  - Rakefile
68
68
  - TODO
69
69
  - bin/hostnet
70
- - bin/hostnet-
71
70
  - config/hoe.rb
72
71
  - config/requirements.rb
73
72
  - hostnet.gemspec
@@ -93,6 +92,8 @@ files:
93
92
  - test/test_hostnet_deploy_generator.rb
94
93
  - test/test_hostnet_email_generator.rb
95
94
  - tutoriais/001-meu-primeiro-deploy-de-aplicacao-rails-para-a-hostnet/tutorial.mkdn
95
+ - tutoriais/002-configurando-sua-aplicacao-para-enviar-e-mails/tutorial.mkdn
96
+ - tutoriais/003-dicas-para-administracao-e-debug-de-sua-aplicacao-rails/tutorial.mkdn
96
97
  has_rdoc: true
97
98
  homepage: http://github.com/mergulhao/hostnet
98
99
  post_install_message: ""
data/CHANGELOG DELETED
@@ -1,3 +0,0 @@
1
- == 0.0.1 2008-09-24
2
-
3
- * Initial release
data/README.mkdn DELETED
@@ -1,17 +0,0 @@
1
- hostnet - gem oficial para suporte a deploy de aplicações
2
- =========================================================
3
-
4
- Descrição
5
- =========
6
-
7
- Gem de suporte a deploy de aplicações para ambiente compartilhado da Hostnet.
8
-
9
- Install
10
- =======
11
-
12
- gem install mergulhao-hostnet --source=http://gems.github.com
13
-
14
- Licença
15
- =======
16
-
17
- MIT License, ver arquivo LICENSE