capistrano-scm-git_with_submodule_and_resolv_symlinks 0.2.1 → 0.3.3

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: 38f0b961183adb34b811d0deb34b46990218ae21
4
- data.tar.gz: 59520d84b27c9206466c39b513c7338e623b65ad
2
+ SHA256:
3
+ metadata.gz: 7f2a978576af0d462e9e865e95d8979c76f050d2b03c296b14b894adec5ee90e
4
+ data.tar.gz: bf01d4228c0564f2b78fa04ba049efd3a9821c3c13a88460b232094494ec91c8
5
5
  SHA512:
6
- metadata.gz: 4e442e6b4519c5591e3c0fd923a98302e709b61791f131e6a27a87cb1ab82496837aabd30077a650a3a6864924bec6c890d7b684d910fcc86c228721513c2dbb
7
- data.tar.gz: 91e0868e4d66648607ddaf0ed80f9abdef990a166605f05a9e3404b6a43effe7119f3bd0539efd7e2422724b316619b441014c5fbaca20f03ea597970d0ba6a2
6
+ metadata.gz: ea265288da5ff91c992c2acefd57209b62e140fdf703dd57f34a732670b2d45c23d8c34b2c0d683932d657be63688252b59b3765d48c8074b003c9e9149a1d3a
7
+ data.tar.gz: 4bd7b8a9d0f9d94280e70b86391c3bb72c279b2aad2e4e1ee4e9105fc1f422e0c99bd3f260daec5e558e47ed29304bdc47a41a70de16a46c84dc9109ef0e9eb9
@@ -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,8 +19,8 @@ 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.10.0"
23
- spec.add_development_dependency "bundler", "~> 1.12"
22
+ spec.add_dependency "capistrano", ">= 3.7.0", "< 3.17.0"
23
+ spec.add_development_dependency "bundler"
24
24
  spec.add_development_dependency "rake"
25
25
  spec.add_development_dependency "rspec", "~> 3.0"
26
26
  spec.add_development_dependency "mocha", "~> 1.2"
@@ -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.1"
16
+ VERSION = "0.3.3"
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.1
4
+ version: 0.3.3
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-08-04 00:00:00.000000000 Z
11
+ date: 2021-03-03 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.10.0
22
+ version: 3.17.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: 3.7.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 3.10.0
32
+ version: 3.17.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
@@ -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.2.5
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: Capistrano Git SCM Plugin with submodule and resolving symlink
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.2.7
5
- - 2.3.4
6
- - 2.4.1
7
- before_install: gem install bundler -v 1.15.3