pauldowman-ec2onrails 0.9.10.2 → 0.9.10.3

Sign up to get free protection for your applications and to get access to all the features.
data/ec2onrails.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ec2onrails}
8
- s.version = "0.9.10.2"
8
+ s.version = "0.9.10.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Paul Dowman, Adam Greene"]
12
- s.date = %q{2009-08-06}
12
+ s.date = %q{2009-08-16}
13
13
  s.description = %q{Client-side libraries (Capistrano tasks) for managing and deploying to EC2 on Rails servers.}
14
14
  s.email = %q{paul@pauldowman.com}
15
15
  s.extra_rdoc_files = ["CHANGELOG", "lib/ec2onrails/capistrano_utils.rb", "lib/ec2onrails/recipes/db.rb", "lib/ec2onrails/recipes/deploy.rb", "lib/ec2onrails/recipes/server.rb", "lib/ec2onrails/recipes.rb", "lib/ec2onrails/version.rb", "lib/ec2onrails.rb", "README.textile"]
@@ -18,7 +18,7 @@
18
18
 
19
19
  module Ec2onrails #:nodoc:
20
20
  module VERSION #:nodoc:
21
- STRING = "0.9.10.2"
21
+ STRING = "0.9.10.3"
22
22
 
23
23
  AMI_ID_32_BIT_US = 'ami-xx'
24
24
  AMI_ID_64_BIT_US = 'ami-xx'
@@ -5,7 +5,7 @@ RAILS_ENV=`/usr/local/ec2onrails/bin/rails_env`
5
5
  if [ -x /mnt/app/current ] ; then
6
6
  logfile=/mnt/app/current/log/$RAILS_ENV.log-`date +%Y%m%d`
7
7
  if [ -e $logfile ] ; then
8
- gzip $logfile
8
+ gzip -c $logfile > $logfile.gz
9
9
  /usr/local/ec2onrails/bin/archive_file --file $logfile.gz --dir logs/rails && rm $logfile.gz
10
10
  fi
11
11
  fi
@@ -13,13 +13,13 @@ fi
13
13
  for f in `ls /mnt/log/nginx/*.log` ; do
14
14
  logfile=$f-`date +%Y%m%d`
15
15
  if [ -e $logfile ] ; then
16
- gzip $logfile
16
+ gzip -c $logfile > $logfile.gz
17
17
  /usr/local/ec2onrails/bin/archive_file --file $logfile.gz --dir logs/nginx && rm $logfile.gz
18
18
  fi
19
19
  done
20
20
 
21
21
  logfile=/mnt/log/varnish/varnishncsa.log-`date +%Y%m%d`
22
22
  if [ -e $logfile ] ; then
23
- gzip $logfile
23
+ gzip -c $logfile > $logfile.gz
24
24
  /usr/local/ec2onrails/bin/archive_file --file $logfile.gz --dir logs/varnish && rm $logfile.gz
25
25
  fi
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pauldowman-ec2onrails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10.2
4
+ version: 0.9.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dowman, Adam Greene
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-06 00:00:00 -07:00
12
+ date: 2009-08-16 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency