capistrano-scm-tar 0.0.1 → 0.0.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
- SHA1:
3
- metadata.gz: e4e76ed8bf48cd04e82ebdd3e060193f1a2b9524
4
- data.tar.gz: 611c481c29144bc1ec9d77338a85f2d8d794804d
2
+ SHA256:
3
+ metadata.gz: '09f38b02ea288c47818753d61d5ded431e08ba784e8031525b6c26cba996fbc7'
4
+ data.tar.gz: 252c69a28d9fc451b16a95266695907d0c307231b012301afb3b68ef8cfab889
5
5
  SHA512:
6
- metadata.gz: 9207f7d86db8d50318a65b3767c47f73f60ce5cb696e9705cc48997d0b08378c06256c4c53345b974b0d703b8acad23cb36671faf9cd80edd292953785bd325c
7
- data.tar.gz: af73a920460e5d58ee05f92ed9afbc5db3b873a5b5f626ff7a075bb6f4f771bec2f09db25c4d24150f8f65ff955ccd570aac9397adb11ca5991978c80b4bb890
6
+ metadata.gz: f713bf1f4a83078f3c1e4048150647c44848168db989c4fa871b8dcd8baaf33444d1f3f0e9ae117c21792bc5ffc4ff8676f9d562beb0883215ff7da9dce07c33
7
+ data.tar.gz: 138d2e4b0d12b9578e6c72a0530c44d5ba6257e401efe709bf4c1a03f0b758b39159b0e604beca084c790552485d0b2f1383b54452b0026f878a1bdc939eabd4
@@ -0,0 +1,13 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [0.0.2] - 2020-02-29
8
+
9
+ - Adding more general way to to do revision detection [#2](https://github.com/ziguzagu/capistrano-scm-tar/pull/2)
10
+
11
+ ## [0.0.1] - 2015-12-06
12
+
13
+ - Initial release.
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # capistrano-scm-tar
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/capistrano-scm-tar.svg)](https://badge.fury.io/rb/capistrano-scm-tar)
4
+
5
+
3
6
  A tar strategy for Capistrano 3 to deploy tarball.
4
7
 
5
8
  ## Installation
@@ -33,6 +36,11 @@ cap deploy package=/tmp/v1.0.0.tar.gz
33
36
 
34
37
  The basename of tarball is used for the revision number of capistrano setting by `set_current_revision`.
35
38
 
39
+
40
+ ## Contributing
41
+
42
+ Bug reports and pull requests are welcome on GitHub at [https://github.com/toreta/time_second](https://github.com/toreta/time_second).
43
+
36
44
  ## License
37
45
 
38
- The MIT License (MIT)
46
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["ziguzagu@gmail.com"]
11
11
  spec.summary = %q{A tar strategy for Capistrano 3 to deploy tarball.}
12
12
  spec.description = %q{A tar strategy for Capistrano 3 to deploy tarball.}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/ziguzagu/capistrano-scm-tar"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
@@ -20,6 +20,5 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_dependency "capistrano", "~> 3.0"
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.6"
24
- spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "rake", ">= 12.3.3"
25
24
  end
@@ -1,7 +1,7 @@
1
1
  module Capistrano
2
2
  module Scm
3
3
  module Tar
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
6
6
  end
7
7
  end
@@ -8,7 +8,7 @@ namespace :tar do
8
8
 
9
9
  on release_roles :all do
10
10
  pkg = ENV['package']
11
- rev = File.basename(pkg).split('.')[0]
11
+ rev = (File.basename(pkg).split('.') - ['tar', 'gz', 'tgz']).join('.')
12
12
  tmp = capture 'mktemp'
13
13
 
14
14
  # upload tarball
@@ -28,4 +28,3 @@ namespace :tar do
28
28
  task :set_current_revision
29
29
 
30
30
  end
31
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-scm-tar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ziguzagu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-16 00:00:00.000000000 Z
11
+ date: 2020-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -24,34 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.0'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.6'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.6'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rake
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - "~>"
31
+ - - ">="
46
32
  - !ruby/object:Gem::Version
47
- version: '10.0'
33
+ version: 12.3.3
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - "~>"
38
+ - - ">="
53
39
  - !ruby/object:Gem::Version
54
- version: '10.0'
40
+ version: 12.3.3
55
41
  description: A tar strategy for Capistrano 3 to deploy tarball.
56
42
  email:
57
43
  - ziguzagu@gmail.com
@@ -60,6 +46,7 @@ extensions: []
60
46
  extra_rdoc_files: []
61
47
  files:
62
48
  - ".gitignore"
49
+ - CHANGELOG.md
63
50
  - Gemfile
64
51
  - LICENSE.txt
65
52
  - README.md
@@ -69,7 +56,7 @@ files:
69
56
  - lib/capistrano/scm/tar/version.rb
70
57
  - lib/capistrano/tar.rb
71
58
  - lib/capistrano/tasks/tar.rake
72
- homepage: ''
59
+ homepage: https://github.com/ziguzagu/capistrano-scm-tar
73
60
  licenses:
74
61
  - MIT
75
62
  metadata: {}
@@ -88,8 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
75
  - !ruby/object:Gem::Version
89
76
  version: '0'
90
77
  requirements: []
91
- rubyforge_project:
92
- rubygems_version: 2.2.2
78
+ rubygems_version: 3.1.2
93
79
  signing_key:
94
80
  specification_version: 4
95
81
  summary: A tar strategy for Capistrano 3 to deploy tarball.