capistrano-scm-local 0.1.22 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/capistrano-scm-local.gemspec +3 -3
- data/lib/capistrano/local.rb +6 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjdjNjEzZmE2NTY5MzFjOTA4ZGExYjU0NjQwMWQ4NzRiMjMzYmZlOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YWIxMThmOGQ5MTZhOWM5YTcxMWFhNzMzYmFhNzQzMWY1ZGY0MDcwMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODcwNmQzNDJkYjA4OGVjMzVlMGIzNDgyNDdlYmZlZWNhYzIzYmQwNDQwY2M4
|
10
|
+
MzRmYWRhNDdkNTEwZjU1NGU2NDFkN2I3MjJhODZkOTczNjg1YmMwOTBkMmYw
|
11
|
+
YjVmNmE1ZTU3OTE0MzhhOTg4ZmMzZDlmMWYyMzFlNzQzZmI3MDQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWNmYmIwNjlmOWUxNTRmMzdiMzEwZTc3ZWYyMjA4MjY3MGI3Y2Y0NGE5ZDk2
|
14
|
+
NjYyYTExYTkwMThhZjg3NWJlZGJiMDEwOGVhNDkyODIzM2NhOWI1NzE5MzE1
|
15
|
+
Y2YyYzRkYTNiZGM4NTgwODc5ODg2ODFjYzI0ODYwOWUzMzdkODU=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.23
|
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: capistrano-scm-local 0.1.
|
5
|
+
# stub: capistrano-scm-local 0.1.23 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "capistrano-scm-local"
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.23"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Boris Gorbylev"]
|
14
|
-
s.date = "2015-04-
|
14
|
+
s.date = "2015-04-03"
|
15
15
|
s.description = "Capistrano extension for deploying form local directory"
|
16
16
|
s.email = "ekho@ekho.name"
|
17
17
|
s.extra_rdoc_files = [
|
data/lib/capistrano/local.rb
CHANGED
@@ -51,7 +51,7 @@ class Capistrano::Local < Capistrano::SCM
|
|
51
51
|
debug "Archiving #{repo_url} to #{archive}"
|
52
52
|
execute :mkdir, '-p', File.dirname(archive)
|
53
53
|
|
54
|
-
if File.exists?(archive) && (!File.exists?(archive_sha1) || !test(:shasum, '-s', '-c', archive_sha1))
|
54
|
+
if File.exists?(archive) && !fetch(:scm_local_skip_tar_check, false) && (!File.exists?(archive_sha1) || !test(:shasum, '-s', '-c', archive_sha1))
|
55
55
|
execute :rm, '-f', archive
|
56
56
|
end
|
57
57
|
|
@@ -60,8 +60,11 @@ class Capistrano::Local < Capistrano::SCM
|
|
60
60
|
within repo_url do
|
61
61
|
execute :tar, "c#{compression_flag}f", archive, '-C', repo_url, '.'
|
62
62
|
end
|
63
|
-
|
64
|
-
|
63
|
+
|
64
|
+
unless fetch(:scm_local_skip_tar_check, false)
|
65
|
+
execute :tar, "t#{compression_flag}f", archive
|
66
|
+
execute :shasum, archive, '>', archive_sha1
|
67
|
+
end
|
65
68
|
else
|
66
69
|
execute :cp, repo_url, archive
|
67
70
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-scm-local
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boris Gorbylev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: shoulda
|