capistrano-scm-gitcopy 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e94b015b2dee31deae48e65ad6e9bc786766b8a
4
- data.tar.gz: 730b078fbd172c6c644e9ace6b66496749ff80e8
3
+ metadata.gz: 46c3f380ff775b3fb7e0f68034754158b456efa1
4
+ data.tar.gz: c7165a5dee4b317f68e533638bdb81d5269861a5
5
5
  SHA512:
6
- metadata.gz: 08f27643eb8b0235ca94e0ae76db50647c15d77d5dd24b27b5319d355c2ac1a0f630e8f455418337b70c3e8a5794e75c5c1ed9e027e729de0ef7564c3c3c46cc
7
- data.tar.gz: 850fc3ba098b503873896fd68ba53c76435e1c7412ae233555a2a05493c119303e4f98623b63e268d32a4c58066fb4b2cb1cc1832023d8822c3af8a9daa5259a
6
+ metadata.gz: 02c18c7bb8c51d0f311b62a7899aafb1543fac9ae6e25fb34f0ae8b64fa1f190ebf8fd16a35257a7139b2eec279d09e1bac5155b0ecee8523929a6fac83b7a88
7
+ data.tar.gz: a837bea065b94977368360075a194cfb7157e4102f9051ed4af1f7f421343601c20843ff96f855dcec2566f393b880b414aed65d881d43abc580a2b46e828ee3
data/README.md CHANGED
@@ -9,6 +9,13 @@ Thank wercker so much.
9
9
 
10
10
  This will make Capistrano tar the a specific git branch, upload it to the server(s) and then extract it in the release directory.
11
11
 
12
+ Release notes
13
+ ============
14
+ 0.1.4
15
+ - Tidy up
16
+ - New local tmp folder (/tmp/application-name/timestamp) so you can deploy without worry about clearup
17
+ - Remove incorrect README content
18
+
12
19
  Requirements
13
20
  ============
14
21
 
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'capistrano-scm-gitcopy'
6
- s.version = '0.1.4'
6
+ s.version = '0.1.5'
7
7
  s.licenses = ['MIT']
8
8
  s.authors = ['Jack Wu', 'Carl Douglas']
9
9
  s.email = ['xuwupeng2000@gmail.com']
@@ -47,7 +47,7 @@ class Capistrano::GitCopy < Capistrano::SCM
47
47
  end
48
48
 
49
49
  def remote_tarfile
50
- "#{fetch(:tmp_dir)}/#{fetch(:application)}-#{fetch(:current_revision).strip}.tar.gz"
50
+ "#{fetch(:tmp_dir_remote, fetch(:tmp_dir))}/#{fetch(:application)}-#{fetch(:current_revision).strip}.tar.gz"
51
51
  end
52
52
 
53
53
  def release
@@ -95,9 +95,13 @@ namespace :gitcopy do
95
95
 
96
96
  desc 'Determine the revision that will be deployed'
97
97
  task :set_current_revision do
98
+ local_path = fetch(:local_path)
99
+
98
100
  run_locally do
99
- with fetch(:git_environmental_variables) do
100
- set :current_revision, strategy.fetch_revision
101
+ within local_path do
102
+ with fetch(:git_environmental_variables) do
103
+ set :current_revision, strategy.fetch_revision
104
+ end
101
105
  end
102
106
  end
103
107
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-scm-gitcopy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Wu
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-31 00:00:00.000000000 Z
12
+ date: 2016-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.4.5.1
94
+ rubygems_version: 2.5.1
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Gitcopy strategy for capistrano 3.x