capistrano-git-copy 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -17
- data/.gitlab-ci.yml +37 -0
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +2 -0
- data/Rakefile +2 -0
- data/capistrano-git-copy.gemspec +2 -0
- data/lib/capistrano/git_copy.rb +2 -0
- data/lib/capistrano/git_copy/scm.rb +3 -1
- data/lib/capistrano/git_copy/scm_helpers.rb +2 -0
- data/lib/capistrano/git_copy/tasks/git_copy.rake +2 -0
- data/lib/capistrano/git_copy/version.rb +3 -1
- data/vendor/git-archive-all/git_archive_all.py +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ff186491f9d22f79fab6c98f8e8f803240d94c3e364b74ecad60b0d358df60e
|
4
|
+
data.tar.gz: fef778eafe2a6b6f188577fa6e36d7fc1b0caec838b854274a8e933b485ef8c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80a5adb7628716d21644b2e7f5a14bde6737bc23443949f20656e10e0017d4751af50fe2cc8884f7f2172fb86d8c00db1fd30429f5901e6b0072edf7be144973
|
7
|
+
data.tar.gz: 7e6f01a93481ca06c2a95e958b070187a46ab126403706b6e953183ee7176067cbb731a3e0bd67147231a1055d69523b194a5ff9a6f875897dde629b1e199ba7
|
data/.gitignore
CHANGED
data/.gitlab-ci.yml
CHANGED
@@ -1,5 +1,42 @@
|
|
1
|
+
stages:
|
2
|
+
- build
|
3
|
+
- codequality
|
4
|
+
- security
|
5
|
+
|
6
|
+
build:
|
7
|
+
stage: build
|
8
|
+
image: ruby:2.5
|
9
|
+
script:
|
10
|
+
- gem install bundler --no-ri --no-rdoc
|
11
|
+
- bundle update
|
12
|
+
artifacts:
|
13
|
+
paths:
|
14
|
+
- Gemfile.lock
|
15
|
+
|
1
16
|
rubocop:
|
17
|
+
stage: codequality
|
2
18
|
image: ruby:2.5
|
3
19
|
script:
|
4
20
|
- gem install rubocop --no-ri --no-rdoc
|
5
21
|
- rubocop
|
22
|
+
|
23
|
+
dependency_scanning:
|
24
|
+
stage: security
|
25
|
+
dependencies:
|
26
|
+
- build
|
27
|
+
image: docker:stable
|
28
|
+
variables:
|
29
|
+
DOCKER_DRIVER: overlay2
|
30
|
+
allow_failure: true
|
31
|
+
services:
|
32
|
+
- docker:stable-dind
|
33
|
+
script:
|
34
|
+
- export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
|
35
|
+
- docker run
|
36
|
+
--env DEP_SCAN_DISABLE_REMOTE_CHECKS="${DEP_SCAN_DISABLE_REMOTE_CHECKS:-false}"
|
37
|
+
--volume "$PWD:/code"
|
38
|
+
--volume /var/run/docker.sock:/var/run/docker.sock
|
39
|
+
"registry.gitlab.com/gitlab-org/security-products/dependency-scanning:$SP_VERSION" /code
|
40
|
+
artifacts:
|
41
|
+
paths:
|
42
|
+
- gl-dependency-scanning-report.json
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
data/capistrano-git-copy.gemspec
CHANGED
data/lib/capistrano/git_copy.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'tmpdir'
|
2
4
|
require 'capistrano/scm/plugin'
|
3
5
|
require 'capistrano/git_copy/scm_helpers'
|
@@ -82,7 +84,7 @@ module Capistrano
|
|
82
84
|
def prepare_release
|
83
85
|
package_release_archive
|
84
86
|
|
85
|
-
exclude_files_from_archive if fetch(:git_excludes, []).
|
87
|
+
exclude_files_from_archive if fetch(:git_excludes, []).length.positive?
|
86
88
|
end
|
87
89
|
|
88
90
|
# Upload and extract release
|
@@ -32,7 +32,7 @@ from subprocess import CalledProcessError, Popen, PIPE
|
|
32
32
|
import sys
|
33
33
|
import re
|
34
34
|
|
35
|
-
__version__ = "1.18.
|
35
|
+
__version__ = "1.18.3"
|
36
36
|
|
37
37
|
|
38
38
|
try:
|
@@ -72,7 +72,7 @@ class GitArchiver(object):
|
|
72
72
|
'gz': 'w:gz',
|
73
73
|
'xz': 'w:xz'
|
74
74
|
}
|
75
|
-
ZIPFILE_FORMATS = ('
|
75
|
+
ZIPFILE_FORMATS = ('zip',)
|
76
76
|
|
77
77
|
LOG = logging.getLogger('GitArchiver')
|
78
78
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-git-copy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Schwab
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|