capistrano-hivequeen 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,7 @@ Capistrano::Configuration.instance(:must_exist).load do
15
15
  set :repository, HiveQueen.repository
16
16
  set :scm, :git
17
17
  ssh_options[:forward_agent] = true
18
+ set :deploy_via, :remote_cache
18
19
 
19
20
  # By default, don't override deployments if there's another deployment in progress.
20
21
  # From the command line, use -s override=true to force a deployment
@@ -31,6 +32,12 @@ Capistrano::Configuration.instance(:must_exist).load do
31
32
  `git log #{current_commit}...#{real_revision} --pretty="%n%h %an: %s (%ar)" --stat --no-color`
32
33
  end
33
34
 
35
+ # Don't mess with timestamps
36
+ set :normalize_asset_timestamps, false
37
+ # Don't mess with permissions
38
+ set :group_writable, false
39
+ set :use_sudo, false
40
+
34
41
  # Define environment tasks
35
42
  HiveQueen.environments.each do |env|
36
43
  name = env['name']
@@ -39,6 +39,10 @@ Capistrano::Configuration.instance.load do
39
39
  end
40
40
  end
41
41
 
42
+ # Keep all but the 5 most recent releases
43
+ set :keep_releases, 5
44
+ after "deploy", "deploy:cleanup"
45
+
42
46
  desc "Deploy without migrations"
43
47
  task(:hotfix) { deploy.default }
44
48
 
@@ -1,6 +1,6 @@
1
1
  class HiveQueen
2
2
  class Version
3
- @@version = '2.0.0'
3
+ @@version = '2.1.0'
4
4
 
5
5
  def self.to_s
6
6
  @@version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-hivequeen
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-07 00:00:00.000000000 Z
12
+ date: 2012-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
- requirement: &70343268557220 !ruby/object:Gem::Requirement
16
+ requirement: &70101869888520 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.11.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70343268557220
24
+ version_requirements: *70101869888520
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: json
27
- requirement: &70343268555960 !ruby/object:Gem::Requirement
27
+ requirement: &70101869887640 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70343268555960
35
+ version_requirements: *70101869887640
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: excon
38
- requirement: &70343268554420 !ruby/object:Gem::Requirement
38
+ requirement: &70101869886180 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 0.6.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70343268554420
46
+ version_requirements: *70101869886180
47
47
  description: Capistrano extensions for interacting with HiveQueen
48
48
  email: aaron@kickstarter.com
49
49
  executables: []