capistrano-git-copy 1.5.1 → 1.5.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0193555dcc7eefb6ad1c129cc92d99314fd5631a386f8daf39e4ef53a5ab9d7d'
4
- data.tar.gz: 60b392776e795ee02a8cf2af8c4952c8d33eceb9277a2fd7c782e67b01189da3
3
+ metadata.gz: 1ff186491f9d22f79fab6c98f8e8f803240d94c3e364b74ecad60b0d358df60e
4
+ data.tar.gz: fef778eafe2a6b6f188577fa6e36d7fc1b0caec838b854274a8e933b485ef8c4
5
5
  SHA512:
6
- metadata.gz: e125d7493ca8d54242e211604105b5d138e5c1944a165efdd888fde77599204a40ca47dcd9b5ea4ba16d765b6c2af9fdcc2f8cc5bd93435fb3c8158f5f827282
7
- data.tar.gz: d5627c293b8a6cf4b614dae2b86779468eb0fd48baa43ea9ad43ff745bc5437a994785f02575221549c1e9b6627ccad340c7abf65c38b875ff5d084973b19c9d
6
+ metadata.gz: 80a5adb7628716d21644b2e7f5a14bde6737bc23443949f20656e10e0017d4751af50fe2cc8884f7f2172fb86d8c00db1fd30429f5901e6b0072edf7be144973
7
+ data.tar.gz: 7e6f01a93481ca06c2a95e958b070187a46ab126403706b6e953183ee7176067cbb731a3e0bd67147231a1055d69523b194a5ff9a6f875897dde629b1e199ba7
data/.gitignore CHANGED
@@ -1,17 +1,3 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
1
+ /.bundle
2
+ /Gemfile.lock
3
+ /pkg
@@ -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
@@ -1,3 +1,6 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.3
3
+
1
4
  Metrics/LineLength:
2
5
  Max: 120
3
6
 
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.5.2 (2018-10-07)
4
+ ### Changes
5
+ - updated _git-archive-all_ to 1.18.3
6
+
3
7
  ## 1.5.1 (2018-09-24)
4
8
  ### Changes
5
9
  - updated _git-archive-all_ to 1.18.2
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in capistrano-rails-console.gemspec
data/Rakefile CHANGED
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/gem_tasks'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  lib = File.expand_path('lib', __dir__)
2
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
5
  require 'capistrano/git_copy/version'
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'capistrano/git_copy/scm'
@@ -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, []).count > 0
87
+ exclude_files_from_archive if fetch(:git_excludes, []).length.positive?
86
88
  end
87
89
 
88
90
  # Upload and extract release
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'tmpdir'
2
4
 
3
5
  module Capistrano
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  set :git_copy_plugin, self
2
4
 
3
5
  namespace :git_copy do
@@ -1,8 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Capistrano
2
4
  module Capistrano
3
5
  # GitCopy
4
6
  module GitCopy
5
7
  # gem version
6
- VERSION = '1.5.1'.freeze
8
+ VERSION = '1.5.2'
7
9
  end
8
10
  end
@@ -32,7 +32,7 @@ from subprocess import CalledProcessError, Popen, PIPE
32
32
  import sys
33
33
  import re
34
34
 
35
- __version__ = "1.18.2"
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 = ('.zip',)
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.1
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-09-24 00:00:00.000000000 Z
11
+ date: 2018-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano