capobvious 0.3.pre17 → 0.3.pre18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODBiZTQ1YWI3MDFlMWVkNDViN2NjN2EwNTI1NWFkOTg2NmIwYjhlOA==
4
+ MzNjNDA3YWM1NDI1YTYyNzdmNGZjOWJlYTZlYTI2YzVkMjkyNDQzMA==
5
5
  data.tar.gz: !binary |-
6
- MGQzYjlhZjRmZjQzZTllN2E5NzdkMTE2ZjllMjdmOWIyYzEzMjY2YQ==
6
+ MDBkMGExMjg2ODgyMmE3YjA2Y2QwMmJlMDhjMTViYTU5MjdjZGRlNA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZjQ2MTc3YTEwYjAwODJiMDhjODYzYzk4NmRiOGE3ZjUzOWQ2YjNhMGYwMGRk
10
- NjRiMmZiYzM4NjQzZTM0NGIzY2U4MzI5NjMzNzU4NmJmMTM4NmMwOGM1MmFh
11
- MjhmZTI5YmMwOWExZmUxYWIwZmI0MWQ3ODEwYzQ5Mjg0NDhjM2Q=
9
+ ZmE3Zjk0NzgyMGZhNmZhN2VhNGUyMGI1ZjQzYzRjMDlmMmE2MTk0OTExYjM2
10
+ MjI5Mzk3YmZkZjMxOGJmMjYyMDU2YWY1MzE0NDUzZWQyMzZiNzllOWVhOTM2
11
+ OTViODBhOTViMjA1OTY3NWE1YmJlOWZhMTkxZTQ3NDlhODY4NDE=
12
12
  data.tar.gz: !binary |-
13
- YjU5ZmViOTkyZjZhMGVmNGEwYWQ5YWY5NmJlMzljODRmOTgxZmM5NGRiNTZj
14
- Mzc1N2E5MzhmMzAxMTcyNzhjMDk0NTY2MTg2MzBlZjdhYTQ3NzY5NmYxNzQw
15
- NTY2NjZjODkyYzEwNDg5M2VkOGNjNmY1MzhiY2I1YThhMjIzY2E=
13
+ ZmNhYTA0MWUyODMxYmRlNjM5OGFlYjE1NzY1ZDRjY2M2NDAwMjFhNmE1OWQx
14
+ YzA5ZTgzYTExNWYxYmE3ZTE1NDY2ZTIwZWNiN2M5Y2M3MzdmOThhYjMwZGQ1
15
+ MTVhYTM0YTE2Yjk0MThhOGE2MjdlODI5MzdhNzg3YjUwY2YwZTI=
data/bin/capobvious CHANGED
@@ -51,14 +51,14 @@ FILE
51
51
  "config/deploy.rb" => <<FILE,
52
52
  # -*- encoding : utf-8 -*-
53
53
  set :ruby_version, '#{RUBY_VERSION}'
54
- set :application, "#{File.basename(Dir.getwd)}"
54
+ set :application, '#{File.basename(Dir.getwd)}'
55
55
  set :user, "USER_NAME_HERE"
56
56
  set :serv, "IP_ADDRESS_HERE"
57
57
 
58
- set :repository, "#{repository||'REPOSITORY_HERE'}"
59
- set :branch, "master"
60
- set :server_name, "EXAMPLE.com"
61
- set :server_redirect, "WWW.EXAMPLE.COM"
58
+ set :repository, '#{repository||'REPOSITORY_HERE'}'
59
+ set :branch, 'master'
60
+ set :server_name, 'EXAMPLE.com'
61
+ set :server_redirect, 'WWW.EXAMPLE.COM'
62
62
 
63
63
  set :backup_db, false
64
64
  set :backup_sys, false
data/capobvious.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.add_dependency "capistrano"
21
+ s.add_dependency "capistrano", '~> 2.15.4'
22
22
  s.add_dependency "rvm-capistrano"
23
23
 
24
24
  # specify any dependencies here; for example:
@@ -60,7 +60,7 @@ Capistrano::Configuration.instance(:must_exist).load do
60
60
  run "mkdir -p #{shared_path}/backup"
61
61
  if yml[:adapter] == "postgresql"
62
62
  logger.important("Backup database #{yml[:database]}", "Backup:db")
63
- run "export PGPASSWORD=\"#{yml[:password]}\" && pg_dump -U #{yml[:username]} #{yml[:database]} > #{dump_file_path}"
63
+ run "export PGPASSWORD=\"#{yml[:password]}\" && pg_dump -U #{yml[:username]} --no-owner #{yml[:database]} > #{dump_file_path}"
64
64
  run "cd #{shared_path}/backup && #{arch_create} #{output_file} #{file_name} && rm #{dump_file_path}"
65
65
  else
66
66
  puts "Cannot backup, adapter #{yml[:adapter]} is not implemented for backup yet"
@@ -56,11 +56,11 @@ Capistrano::Configuration.instance(:must_exist).load do
56
56
  end
57
57
  end
58
58
 
59
- [:seed, :migrate].each do |t|
60
- task t do
61
- run "cd #{latest_release} && bundle exec rake RAILS_ENV=#{rails_env} db:#{t}"
62
- end
63
- end
59
+ #[:seed, :migrate].each do |t|
60
+ # task t do
61
+ # run "cd #{latest_release} && bundle exec rake RAILS_ENV=#{rails_env} db:#{t}"
62
+ # end
63
+ #end
64
64
 
65
65
  task :reset do
66
66
  run "cd #{latest_release} && bundle exec rake RAILS_ENV=#{rails_env} db:reset"
@@ -1,6 +1,5 @@
1
1
  Capistrano::Configuration.instance(:must_exist).load do
2
- after 'deploy:setup', 'logrotate:init'
3
-
2
+ #after 'deploy:setup', 'logrotate:init'
4
3
  _cset :logrotate_path, '/etc/logrotate.d'
5
4
  _cset(:logrotate_file_name){ "cap_#{application}_#{rails_env}"}
6
5
  _cset(:logrotate_file){ "#{logrotate_path}/#{logrotate_file_name}"}
@@ -1,3 +1,3 @@
1
1
  module Capobvious
2
- VERSION = '0.3.pre17'
2
+ VERSION = '0.3.pre18'
3
3
  end
metadata CHANGED
@@ -1,31 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capobvious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.pre17
4
+ version: 0.3.pre18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Gruzd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-05 00:00:00.000000000 Z
11
+ date: 2013-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: capistrano
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - ! '>='
16
+ - - ~>
18
17
  - !ruby/object:Gem::Version
19
- version: '0'
18
+ version: 2.15.4
20
19
  type: :runtime
21
20
  prerelease: false
21
+ name: capistrano
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 2.15.4
27
27
  - !ruby/object:Gem::Dependency
28
- name: rvm-capistrano
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - ! '>='
@@ -33,6 +32,7 @@ dependencies:
33
32
  version: '0'
34
33
  type: :runtime
35
34
  prerelease: false
35
+ name: rvm-capistrano
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ! '>='
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  version: 1.3.1
88
88
  requirements: []
89
89
  rubyforge_project: capobvious
90
- rubygems_version: 2.0.6
90
+ rubygems_version: 2.0.7
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: Cap recipes