capistrano-scm-git_with_submodule_and_resolv_symlinks 0.2.0 → 0.3.2

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
- SHA1:
3
- metadata.gz: f7da55a4861e2193727eee4253092326821620a8
4
- data.tar.gz: 685b30a1f1efb8685d35e9d069764ca6a354927c
2
+ SHA256:
3
+ metadata.gz: c0c22a199556964f4292293b7a14c31b3c77f380be277883088c26d7bb8e3e8e
4
+ data.tar.gz: 98ceefe4b3374ee720af98c19eef397cad6522fd99fb1068d71b65ec54139dcf
5
5
  SHA512:
6
- metadata.gz: 0c6fc77bc0e8f3a0478ea083d4e0d29e0fb0d13247833907ab31c16eccaa274405f5a339a419e374031a96b0714b82573542f46c72804333d0e2aa1caf1cb61d
7
- data.tar.gz: 815016db88fb94fe72eee9b97948b47f733e50b3d6ac57895e21cf09cd36d0a4de829cffb114a908fbbb912a30e8f42d3afb64b0e329f1e129e5f37abb822d61
6
+ metadata.gz: 91c5497526f18eb97d2b16715fb3f33aed9c510272085d865b55a99279b8532b8609f5a8366645f62d2cba7b06b832a4cbdc0a727587230536835ce332778a59
7
+ data.tar.gz: 366bb910b06a10f75b8060986ce5c39a26887c35f916ba4858dece64ea1f5a80c364fc532f08eeddeaa5d1994afe18abdb0aa36c985c30b45bd65d3a6207e286
@@ -0,0 +1,13 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: '10:00'
8
+ timezone: Asia/Tokyo
9
+ open-pull-requests-limit: 10
10
+ reviewers:
11
+ - minimum2scp
12
+ - nagachika
13
+ - akm
@@ -0,0 +1,31 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - '**'
7
+
8
+ jobs:
9
+ test:
10
+ name: Test
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ ruby-version: [2.5, 2.6, 2.7]
15
+ fail-fast: false
16
+ if: "!contains(github.event.head_commit.message, '[ci skip]')"
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ - uses: ruby/setup-ruby@v1
20
+ with:
21
+ ruby-version: ${{ matrix.ruby-version }}
22
+
23
+ - run: ruby --version
24
+ - run: gem --version
25
+ - run: gem env
26
+ - run: bundle --version
27
+
28
+ - run: bundle config path vendor/bundle
29
+ - run: bundle install --jobs=4 --retry=3
30
+ - run: bundle exec rake spec
31
+
data/README.md CHANGED
@@ -57,11 +57,6 @@ but Capistrano::SCM::GitWithSubmoduleAndResolvSymlinks creates `repo_path` as no
57
57
 
58
58
  If you want to switch SCM, delete `repo_path` before deploy.
59
59
 
60
- ### `current_revision` is abbreviated
61
-
62
- With Capistrano::SCM::Git, `current_version` is non-abbreviated commit hash (like `81cec13b777ff46348693d327fc8e7832f79bf43`),
63
- but with Capistrano::SCM::GitWithSubmoduleAndResolvSymlinks, `current_version` is abbreviated (like `81cec13`).
64
-
65
60
  ### Shallow clone is not supported
66
61
 
67
62
  Capistrano::SCM::Git supports shallow clone by configuration variable `:git_shallow_clone`,
@@ -19,9 +19,9 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "capistrano", ">= 3.7.0", "< 3.9.0"
23
- spec.add_development_dependency "bundler", "~> 1.12"
24
- spec.add_development_dependency "rake", "~> 10.0"
22
+ spec.add_dependency "capistrano", ">= 3.7.0", "< 3.15.0"
23
+ spec.add_development_dependency "bundler"
24
+ spec.add_development_dependency "rake"
25
25
  spec.add_development_dependency "rspec", "~> 3.0"
26
26
  spec.add_development_dependency "mocha", "~> 1.2"
27
27
  end
@@ -65,7 +65,7 @@ module Capistrano
65
65
  end
66
66
 
67
67
  def fetch_revision
68
- backend.capture(:git, "rev-list", "--max-count=1", "--abbrev-commit", real_branch)
68
+ backend.capture(:git, "rev-list", "--max-count=1", real_branch)
69
69
  end
70
70
 
71
71
  def real_branch
@@ -13,7 +13,7 @@ end
13
13
  module Capistrano
14
14
  class SCM
15
15
  class GitWithSubmoduleAndResolvSymlinks < ::Capistrano::SCM::Plugin
16
- VERSION = "0.2.0"
16
+ VERSION = "0.3.2"
17
17
  end
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-scm-git_with_submodule_and_resolv_symlinks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - YAMADA Tsuyoshi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-13 00:00:00.000000000 Z
11
+ date: 2020-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 3.7.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 3.9.0
22
+ version: 3.15.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,35 +29,35 @@ dependencies:
29
29
  version: 3.7.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 3.9.0
32
+ version: 3.15.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '1.12'
39
+ version: '0'
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - "~>"
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: '1.12'
46
+ version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '10.0'
53
+ version: '0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - "~>"
58
+ - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: '10.0'
60
+ version: '0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rspec
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -93,9 +93,10 @@ executables: []
93
93
  extensions: []
94
94
  extra_rdoc_files: []
95
95
  files:
96
+ - ".github/dependabot.yml"
97
+ - ".github/workflows/ci.yml"
96
98
  - ".gitignore"
97
99
  - ".rspec"
98
- - ".travis.yml"
99
100
  - Gemfile
100
101
  - LICENSE
101
102
  - README.md
@@ -125,8 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
126
  - !ruby/object:Gem::Version
126
127
  version: '0'
127
128
  requirements: []
128
- rubyforge_project:
129
- rubygems_version: 2.5.2
129
+ rubygems_version: 3.1.2
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: Capistrano Git SCM Plugin with submodule and resolving symlink
@@ -1,6 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.2.6
5
- - 2.3.3
6
- before_install: gem install bundler -v 1.12.5