capistrano-git-local 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "capistrano-git-local"
7
- gem.version = '0.1.0'
7
+ gem.version = '0.1.1'
8
8
  gem.authors = ["Boris Gorbylev"]
9
9
  gem.email = ["ekho@ekho.name"]
10
10
  gem.description = %q{Git scm which works on local host}
@@ -8,17 +8,19 @@ namespace :git_local do
8
8
 
9
9
  desc 'Check that the repository is reachable'
10
10
  task :check do |task|
11
- run_locally do debug "Task #{task}" end
11
+ run_locally do debug "Task #{task} start" end
12
12
 
13
13
  fetch(:branch)
14
14
  run_locally do
15
15
  exit 1 unless strategy.check
16
16
  end
17
+
18
+ run_locally do debug "Task #{task} finish" end
17
19
  end
18
20
 
19
21
  desc 'Clone the repo to the cache'
20
22
  task :clone do |task|
21
- run_locally do debug "Task #{task}" end
23
+ run_locally do debug "Task #{task} start" end
22
24
 
23
25
  run_locally do
24
26
  if strategy.test
@@ -29,21 +31,25 @@ namespace :git_local do
29
31
  end
30
32
  end
31
33
  end
34
+
35
+ run_locally do debug "Task #{task} finish" end
32
36
  end
33
37
 
34
38
  desc 'Update the repo mirror to reflect the origin state'
35
39
  task :update => :clone do |task|
36
- run_locally do debug "Task #{task}" end
40
+ run_locally do debug "Task #{task} start" end
37
41
  run_locally do
38
42
  within repo_path do
39
43
  strategy.update
40
44
  end
41
45
  end
46
+
47
+ run_locally do debug "Task #{task} finish" end
42
48
  end
43
49
 
44
50
  desc 'Copy repo to releases'
45
51
  task :create_release => :update do |task|
46
- run_locally do debug "Task #{task}" end
52
+ run_locally do debug "Task #{task} start" end
47
53
 
48
54
  run_locally do
49
55
  within repo_path do
@@ -51,17 +57,21 @@ namespace :git_local do
51
57
  strategy.release
52
58
  end
53
59
  end
60
+
61
+ run_locally do debug "Task #{task} finish" end
54
62
  end
55
63
 
56
64
  desc 'Determine the revision that will be deployed'
57
65
  task :set_current_revision do |task|
58
- run_locally do debug "Task #{task}" end
66
+ run_locally do debug "Task #{task} start" end
59
67
 
60
68
  run_locally do
61
69
  within repo_path do
62
70
  set :current_revision, strategy.fetch_revision
63
71
  end
64
72
  end
73
+
74
+ run_locally do debug "Task #{task} finish" end
65
75
  end
66
76
 
67
77
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-git-local
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -39,7 +39,7 @@ files:
39
39
  - README.md
40
40
  - capistrano-git-local.gemspec
41
41
  - lib/capistrano-git-local.rb
42
- - lib/capistrano/git-local.cap
42
+ - lib/capistrano/git-local.rb
43
43
  homepage: http://github.com/i-ekho/capistrano-git-local
44
44
  licenses:
45
45
  - MIT