rails_pwnerer 0.6.99 → 0.6.100

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.6.100. Nginx configuration for Rails 3.1 asset pipeline.
2
+
1
3
  v0.6.99. Reinstall gems when restoring an app from backup.
2
4
 
3
5
  v0.6.98. Fixed various crashes when restoring a backup.
@@ -39,6 +39,14 @@ class RailsPwnerer::App::NginxConfig
39
39
  #{(dns_names.empty? ? '' : "server_name " + dns_names.join(' ') + ";")}
40
40
  root #{app_config[:app_path]}/public;
41
41
  client_max_body_size #{app_config[:max_request_mb]}M;
42
+ location ~* ^/assets/ {
43
+ gzip_static on;
44
+ expires max;
45
+ add_header Cache-Control public;
46
+ break;
47
+ }
48
+ error_page 404 /404.html;
49
+ error_page 500 502 503 504 /500.html;
42
50
  location / {
43
51
  if (-f $request_filename) {
44
52
  expires max;
@@ -33,6 +33,9 @@ class RailsPwnerer::Scaffolds::Packages
33
33
 
34
34
  # Packages needed by popular gems.
35
35
  def install_tools
36
+ # For eventmachine.
37
+ package 'libssl-dev'
38
+
36
39
  # For rmagick (image processing).
37
40
  package 'libmagickwand-dev', /^libmagick\d*-dev$/
38
41
 
@@ -1,25 +1,25 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  Gem::Specification.new do |s|
4
- s.name = %q{rails_pwnerer}
5
- s.version = "0.6.99"
4
+ s.name = "rails_pwnerer"
5
+ s.version = "0.6.100"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
- s.authors = [%q{Victor Costan}]
9
- s.date = %q{2011-08-07}
10
- s.description = %q{Rails deployment hack.}
11
- s.email = %q{victor@costan.us}
12
- s.executables = [%q{rpwn}, %q{rpwnctl}, %q{rpwndev}]
13
- s.extensions = [%q{ext/rpwn_setup_notice/extconf.rb}]
14
- s.extra_rdoc_files = [%q{CHANGELOG}, %q{LICENSE}, %q{README}, %q{bin/rpwn}, %q{bin/rpwnctl}, %q{bin/rpwndev}, %q{ext/rpwn_setup_notice/extconf.rb}, %q{lib/rails_pwnerer.rb}, %q{lib/rails_pwnerer/app/assets.rb}, %q{lib/rails_pwnerer/app/cluster_config.rb}, %q{lib/rails_pwnerer/app/config.rb}, %q{lib/rails_pwnerer/app/db/mysql.rb}, %q{lib/rails_pwnerer/app/files.rb}, %q{lib/rails_pwnerer/app/gems.rb}, %q{lib/rails_pwnerer/app/main.rb}, %q{lib/rails_pwnerer/app/nginx_config.rb}, %q{lib/rails_pwnerer/app/scripts.rb}, %q{lib/rails_pwnerer/app/vcs/git.rb}, %q{lib/rails_pwnerer/app/vcs/perforce.rb}, %q{lib/rails_pwnerer/app/vcs/svn.rb}, %q{lib/rails_pwnerer/base.rb}, %q{lib/rails_pwnerer/base/atomics.rb}, %q{lib/rails_pwnerer/base/cpus.rb}, %q{lib/rails_pwnerer/base/dirs.rb}, %q{lib/rails_pwnerer/base/gems.rb}, %q{lib/rails_pwnerer/base/hostname.rb}, %q{lib/rails_pwnerer/base/input.rb}, %q{lib/rails_pwnerer/base/packages.rb}, %q{lib/rails_pwnerer/base/process.rb}, %q{lib/rails_pwnerer/base/rails.rb}, %q{lib/rails_pwnerer/base/startup.rb}, %q{lib/rails_pwnerer/config/app.rb}, %q{lib/rails_pwnerer/config/frontends.rb}, %q{lib/rails_pwnerer/config/main.rb}, %q{lib/rails_pwnerer/config/paths.rb}, %q{lib/rails_pwnerer/config/ports.rb}, %q{lib/rails_pwnerer/config/repository.rb}, %q{lib/rails_pwnerer/ctl_executor.rb}, %q{lib/rails_pwnerer/dev_executor.rb}, %q{lib/rails_pwnerer/executor.rb}, %q{lib/rails_pwnerer/scaffolds/config.rb}, %q{lib/rails_pwnerer/scaffolds/dir_permissions.rb}, %q{lib/rails_pwnerer/scaffolds/dirs.rb}, %q{lib/rails_pwnerer/scaffolds/gems.rb}, %q{lib/rails_pwnerer/scaffolds/hook_daemon.rb}, %q{lib/rails_pwnerer/scaffolds/hook_dyndns.rb}, %q{lib/rails_pwnerer/scaffolds/mysql_config.rb}, %q{lib/rails_pwnerer/scaffolds/packages.rb}, %q{lib/rails_pwnerer/scaffolds/rubygems.rb}, %q{lib/rails_pwnerer/scaffolds/sshd.rb}, %q{lib/rails_pwnerer/util/kill_process_set.rb}, %q{lib/rails_pwnerer/util/main.rb}]
15
- s.files = [%q{CHANGELOG}, %q{LICENSE}, %q{Manifest}, %q{README}, %q{RUBYFORGE}, %q{Rakefile}, %q{bin/rpwn}, %q{bin/rpwnctl}, %q{bin/rpwndev}, %q{ext/rpwn_setup_notice/extconf.rb}, %q{lib/rails_pwnerer.rb}, %q{lib/rails_pwnerer/app/assets.rb}, %q{lib/rails_pwnerer/app/cluster_config.rb}, %q{lib/rails_pwnerer/app/config.rb}, %q{lib/rails_pwnerer/app/db/mysql.rb}, %q{lib/rails_pwnerer/app/files.rb}, %q{lib/rails_pwnerer/app/gems.rb}, %q{lib/rails_pwnerer/app/main.rb}, %q{lib/rails_pwnerer/app/nginx_config.rb}, %q{lib/rails_pwnerer/app/scripts.rb}, %q{lib/rails_pwnerer/app/vcs/git.rb}, %q{lib/rails_pwnerer/app/vcs/perforce.rb}, %q{lib/rails_pwnerer/app/vcs/svn.rb}, %q{lib/rails_pwnerer/base.rb}, %q{lib/rails_pwnerer/base/atomics.rb}, %q{lib/rails_pwnerer/base/cpus.rb}, %q{lib/rails_pwnerer/base/dirs.rb}, %q{lib/rails_pwnerer/base/gems.rb}, %q{lib/rails_pwnerer/base/hostname.rb}, %q{lib/rails_pwnerer/base/input.rb}, %q{lib/rails_pwnerer/base/packages.rb}, %q{lib/rails_pwnerer/base/process.rb}, %q{lib/rails_pwnerer/base/rails.rb}, %q{lib/rails_pwnerer/base/startup.rb}, %q{lib/rails_pwnerer/config/app.rb}, %q{lib/rails_pwnerer/config/frontends.rb}, %q{lib/rails_pwnerer/config/main.rb}, %q{lib/rails_pwnerer/config/paths.rb}, %q{lib/rails_pwnerer/config/ports.rb}, %q{lib/rails_pwnerer/config/repository.rb}, %q{lib/rails_pwnerer/ctl_executor.rb}, %q{lib/rails_pwnerer/dev_executor.rb}, %q{lib/rails_pwnerer/executor.rb}, %q{lib/rails_pwnerer/scaffolds/config.rb}, %q{lib/rails_pwnerer/scaffolds/dir_permissions.rb}, %q{lib/rails_pwnerer/scaffolds/dirs.rb}, %q{lib/rails_pwnerer/scaffolds/gems.rb}, %q{lib/rails_pwnerer/scaffolds/hook_daemon.rb}, %q{lib/rails_pwnerer/scaffolds/hook_dyndns.rb}, %q{lib/rails_pwnerer/scaffolds/mysql_config.rb}, %q{lib/rails_pwnerer/scaffolds/packages.rb}, %q{lib/rails_pwnerer/scaffolds/rubygems.rb}, %q{lib/rails_pwnerer/scaffolds/sshd.rb}, %q{lib/rails_pwnerer/util/kill_process_set.rb}, %q{lib/rails_pwnerer/util/main.rb}, %q{test/base_package_test.rb}, %q{test/helper.rb}, %q{rails_pwnerer.gemspec}]
16
- s.homepage = %q{http://www.costan.us/rails_pwnage}
17
- s.rdoc_options = [%q{--line-numbers}, %q{--inline-source}, %q{--title}, %q{Rails_pwnerer}, %q{--main}, %q{README}]
18
- s.require_paths = [%q{lib}, %q{ext}]
19
- s.rubyforge_project = %q{rails-pwnage}
20
- s.rubygems_version = %q{1.8.7}
21
- s.summary = %q{Rails deployment hack.}
22
- s.test_files = [%q{test/base_package_test.rb}]
8
+ s.authors = ["Victor Costan"]
9
+ s.date = "2011-09-08"
10
+ s.description = "Rails deployment hack."
11
+ s.email = "victor@costan.us"
12
+ s.executables = ["rpwn", "rpwnctl", "rpwndev"]
13
+ s.extensions = ["ext/rpwn_setup_notice/extconf.rb"]
14
+ s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README", "bin/rpwn", "bin/rpwnctl", "bin/rpwndev", "ext/rpwn_setup_notice/extconf.rb", "lib/rails_pwnerer.rb", "lib/rails_pwnerer/app/assets.rb", "lib/rails_pwnerer/app/cluster_config.rb", "lib/rails_pwnerer/app/config.rb", "lib/rails_pwnerer/app/db/mysql.rb", "lib/rails_pwnerer/app/files.rb", "lib/rails_pwnerer/app/gems.rb", "lib/rails_pwnerer/app/main.rb", "lib/rails_pwnerer/app/nginx_config.rb", "lib/rails_pwnerer/app/scripts.rb", "lib/rails_pwnerer/app/vcs/git.rb", "lib/rails_pwnerer/app/vcs/perforce.rb", "lib/rails_pwnerer/app/vcs/svn.rb", "lib/rails_pwnerer/base.rb", "lib/rails_pwnerer/base/atomics.rb", "lib/rails_pwnerer/base/cpus.rb", "lib/rails_pwnerer/base/dirs.rb", "lib/rails_pwnerer/base/gems.rb", "lib/rails_pwnerer/base/hostname.rb", "lib/rails_pwnerer/base/input.rb", "lib/rails_pwnerer/base/packages.rb", "lib/rails_pwnerer/base/process.rb", "lib/rails_pwnerer/base/rails.rb", "lib/rails_pwnerer/base/startup.rb", "lib/rails_pwnerer/config/app.rb", "lib/rails_pwnerer/config/frontends.rb", "lib/rails_pwnerer/config/main.rb", "lib/rails_pwnerer/config/paths.rb", "lib/rails_pwnerer/config/ports.rb", "lib/rails_pwnerer/config/repository.rb", "lib/rails_pwnerer/ctl_executor.rb", "lib/rails_pwnerer/dev_executor.rb", "lib/rails_pwnerer/executor.rb", "lib/rails_pwnerer/scaffolds/config.rb", "lib/rails_pwnerer/scaffolds/dir_permissions.rb", "lib/rails_pwnerer/scaffolds/dirs.rb", "lib/rails_pwnerer/scaffolds/gems.rb", "lib/rails_pwnerer/scaffolds/hook_daemon.rb", "lib/rails_pwnerer/scaffolds/hook_dyndns.rb", "lib/rails_pwnerer/scaffolds/mysql_config.rb", "lib/rails_pwnerer/scaffolds/packages.rb", "lib/rails_pwnerer/scaffolds/rubygems.rb", "lib/rails_pwnerer/scaffolds/sshd.rb", "lib/rails_pwnerer/util/kill_process_set.rb", "lib/rails_pwnerer/util/main.rb"]
15
+ s.files = ["CHANGELOG", "LICENSE", "Manifest", "README", "RUBYFORGE", "Rakefile", "bin/rpwn", "bin/rpwnctl", "bin/rpwndev", "ext/rpwn_setup_notice/extconf.rb", "lib/rails_pwnerer.rb", "lib/rails_pwnerer/app/assets.rb", "lib/rails_pwnerer/app/cluster_config.rb", "lib/rails_pwnerer/app/config.rb", "lib/rails_pwnerer/app/db/mysql.rb", "lib/rails_pwnerer/app/files.rb", "lib/rails_pwnerer/app/gems.rb", "lib/rails_pwnerer/app/main.rb", "lib/rails_pwnerer/app/nginx_config.rb", "lib/rails_pwnerer/app/scripts.rb", "lib/rails_pwnerer/app/vcs/git.rb", "lib/rails_pwnerer/app/vcs/perforce.rb", "lib/rails_pwnerer/app/vcs/svn.rb", "lib/rails_pwnerer/base.rb", "lib/rails_pwnerer/base/atomics.rb", "lib/rails_pwnerer/base/cpus.rb", "lib/rails_pwnerer/base/dirs.rb", "lib/rails_pwnerer/base/gems.rb", "lib/rails_pwnerer/base/hostname.rb", "lib/rails_pwnerer/base/input.rb", "lib/rails_pwnerer/base/packages.rb", "lib/rails_pwnerer/base/process.rb", "lib/rails_pwnerer/base/rails.rb", "lib/rails_pwnerer/base/startup.rb", "lib/rails_pwnerer/config/app.rb", "lib/rails_pwnerer/config/frontends.rb", "lib/rails_pwnerer/config/main.rb", "lib/rails_pwnerer/config/paths.rb", "lib/rails_pwnerer/config/ports.rb", "lib/rails_pwnerer/config/repository.rb", "lib/rails_pwnerer/ctl_executor.rb", "lib/rails_pwnerer/dev_executor.rb", "lib/rails_pwnerer/executor.rb", "lib/rails_pwnerer/scaffolds/config.rb", "lib/rails_pwnerer/scaffolds/dir_permissions.rb", "lib/rails_pwnerer/scaffolds/dirs.rb", "lib/rails_pwnerer/scaffolds/gems.rb", "lib/rails_pwnerer/scaffolds/hook_daemon.rb", "lib/rails_pwnerer/scaffolds/hook_dyndns.rb", "lib/rails_pwnerer/scaffolds/mysql_config.rb", "lib/rails_pwnerer/scaffolds/packages.rb", "lib/rails_pwnerer/scaffolds/rubygems.rb", "lib/rails_pwnerer/scaffolds/sshd.rb", "lib/rails_pwnerer/util/kill_process_set.rb", "lib/rails_pwnerer/util/main.rb", "test/base_package_test.rb", "test/helper.rb", "rails_pwnerer.gemspec"]
16
+ s.homepage = "http://www.costan.us/rails_pwnage"
17
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Rails_pwnerer", "--main", "README"]
18
+ s.require_paths = ["lib", "ext"]
19
+ s.rubyforge_project = "rails-pwnage"
20
+ s.rubygems_version = "1.8.10"
21
+ s.summary = "Rails deployment hack."
22
+ s.test_files = ["test/base_package_test.rb"]
23
23
 
24
24
  if s.respond_to? :specification_version then
25
25
  s.specification_version = 3
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_pwnerer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 193
4
+ hash: 207
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 99
10
- version: 0.6.99
9
+ - 100
10
+ version: 0.6.100
11
11
  platform: ruby
12
12
  authors:
13
13
  - Victor Costan
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-07 00:00:00 Z
18
+ date: 2011-09-08 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: zerg_support
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  requirements: []
230
230
 
231
231
  rubyforge_project: rails-pwnage
232
- rubygems_version: 1.8.7
232
+ rubygems_version: 1.8.10
233
233
  signing_key:
234
234
  specification_version: 3
235
235
  summary: Rails deployment hack.