rebuy_deployment 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rebuy_deployment/deploy.rb +5 -1
  2. metadata +10 -10
@@ -35,7 +35,11 @@ def get_git_log
35
35
  ["previous", "deployed", previous, current]
36
36
 
37
37
  # Temporary path with repository
38
- tmp_repo = File.expand_path("#{application}", "#{copy_dir}")
38
+ if :copy_cache.is_a? String
39
+ tmp_repo = File.expand_path("#{application}", "#{copy_cache}")
40
+ else
41
+ tmp_repo = File.expand_path("#{application}", "#{copy_dir}")
42
+ end
39
43
 
40
44
  Dir.chdir tmp_repo do
41
45
  # Show difference between master and deployed revisions.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rebuy_deployment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
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-12-13 00:00:00.000000000 Z
12
+ date: 2012-12-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
- requirement: &7946940 !ruby/object:Gem::Requirement
16
+ requirement: &9861100 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -24,10 +24,10 @@ dependencies:
24
24
  version: 2.12.0
25
25
  type: :runtime
26
26
  prerelease: false
27
- version_requirements: *7946940
27
+ version_requirements: *9861100
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: railsless-deploy
30
- requirement: &7944680 !ruby/object:Gem::Requirement
30
+ requirement: &9850940 !ruby/object:Gem::Requirement
31
31
  none: false
32
32
  requirements:
33
33
  - - ! '>='
@@ -35,10 +35,10 @@ dependencies:
35
35
  version: 1.0.2
36
36
  type: :runtime
37
37
  prerelease: false
38
- version_requirements: *7944680
38
+ version_requirements: *9850940
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: rake
41
- requirement: &7942900 !ruby/object:Gem::Requirement
41
+ requirement: &9850340 !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
44
  - - ! '>='
@@ -46,10 +46,10 @@ dependencies:
46
46
  version: '0'
47
47
  type: :runtime
48
48
  prerelease: false
49
- version_requirements: *7942900
49
+ version_requirements: *9850340
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: mail
52
- requirement: &7941640 !ruby/object:Gem::Requirement
52
+ requirement: &9849840 !ruby/object:Gem::Requirement
53
53
  none: false
54
54
  requirements:
55
55
  - - ! '>='
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: 2.4.4
58
58
  type: :runtime
59
59
  prerelease: false
60
- version_requirements: *7941640
60
+ version_requirements: *9849840
61
61
  description: This gem offers deployment for all rebuy.de projects
62
62
  email:
63
63
  - m.roetgers@rebuy.de