capistrano-deploy-lock 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
- # Cap Deploy Lock 1.0.0
1
+ # Capistrano Deploy Lock [![Gem Version](https://badge.fury.io/rb/capistrano-deploy-lock.svg)](https://badge.fury.io/rb/capistrano-deploy-lock)
2
2
 
3
- Deploy Lock feature for Capistrano 3.x
3
+ Deploy lock feature for Capistrano 3.4.x
4
+
5
+ Lock deploy when deployment is running or custom lock to prevent further deployment for Capistrano 3.
4
6
 
5
7
  ## Installation
6
8
 
@@ -25,6 +27,19 @@ Require in `Capfile` to use the default task:
25
27
  require 'capistrano/deploy-lock'
26
28
  ```
27
29
 
30
+ Deploy with custom lock:
31
+
32
+ $ cap production deploy:with_lock
33
+
34
+ Manually Lock (without deploy):
35
+
36
+ $ cap production deploy:lock
37
+
38
+ Manually Unlock (if necessary):
39
+
40
+ $ cap production deploy:unlock
41
+
42
+
28
43
  ## Contributing
29
44
 
30
45
  1. Fork it
@@ -39,4 +54,4 @@ cap-deploy-lock is maintained by [Maruf Hasan Bulbul](http://www.mhbweb.com).
39
54
 
40
55
  ## License
41
56
 
42
- © 2016 Maruf Hasan Bulbul. It is free software and may be redistributed under the terms specified in the LICENSE file.
57
+ © 2016 Maruf Hasan Bulbul. It is free software and may be redistributed.
@@ -4,19 +4,17 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "capistrano-deploy-lock"
7
- spec.version = "1.0.0"
8
- spec.authors = ["Maruf Hasan Bulbul"]
9
- spec.email = ["mhb.cse@gmail.com"]
10
- spec.summary = %q{Deploy lock feature for Capistrano 3.x}
11
- spec.description = %q{Lock deploy when one deployment is running.}
7
+ spec.version = "1.0.1"
8
+ spec.author = "Maruf Hasan Bulbul"
9
+ spec.email = "mhb.cse@gmail.com"
10
+ spec.summary = %q{Deploy lock feature for Capistrano 3.4.x}
11
+ spec.description = %q{Lock deploy when deployment is running or custom lock to prevent further deployment for Capistrano 3.}
12
12
  spec.homepage = "https://github.com/maruf-freelancer/capistrano-deploy-lock"
13
- spec.license = "MIT"
14
13
 
15
14
  spec.files = `git ls-files -z`.split("\x0")
16
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
17
15
  spec.require_paths = ["lib"]
18
16
 
19
- spec.add_dependency 'capistrano', '~> 3.4'
20
-
21
- spec.add_development_dependency "rake", "~> 10.0"
17
+ spec.add_dependency 'capistrano', '>= 3.4'
18
+ spec.add_development_dependency "rake", ">= 10.0"
19
+ spec.required_ruby_version = '>= 1.9.3'
22
20
  end
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-deploy-lock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Maruf Hasan Bulbul
@@ -13,42 +14,44 @@ dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: capistrano
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: '3.4'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "~>"
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: '3.4'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: '10.0'
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: '10.0'
41
- description: Lock deploy when one deployment is running.
42
- email:
43
- - mhb.cse@gmail.com
46
+ description: Lock deploy when deployment is running or custom lock to prevent further
47
+ deployment for Capistrano 3.
48
+ email: mhb.cse@gmail.com
44
49
  executables: []
45
50
  extensions: []
46
51
  extra_rdoc_files: []
47
52
  files:
48
- - ".gitignore"
49
- - CHANGELOG.md
53
+ - .gitignore
50
54
  - Gemfile
51
- - LICENSE.txt
52
55
  - README.md
53
56
  - Rakefile
54
57
  - capistrano-deploy-lock.gemspec
@@ -56,27 +59,27 @@ files:
56
59
  - lib/capistrano/deploy-lock.rb
57
60
  - lib/capistrano/tasks/deploy-lock.rake
58
61
  homepage: https://github.com/maruf-freelancer/capistrano-deploy-lock
59
- licenses:
60
- - MIT
61
- metadata: {}
62
+ licenses: []
62
63
  post_install_message:
63
64
  rdoc_options: []
64
65
  require_paths:
65
66
  - lib
66
67
  required_ruby_version: !ruby/object:Gem::Requirement
68
+ none: false
67
69
  requirements:
68
- - - ">="
70
+ - - ! '>='
69
71
  - !ruby/object:Gem::Version
70
- version: '0'
72
+ version: 1.9.3
71
73
  required_rubygems_version: !ruby/object:Gem::Requirement
74
+ none: false
72
75
  requirements:
73
- - - ">="
76
+ - - ! '>='
74
77
  - !ruby/object:Gem::Version
75
78
  version: '0'
76
79
  requirements: []
77
80
  rubyforge_project:
78
- rubygems_version: 2.4.8
81
+ rubygems_version: 1.8.23
79
82
  signing_key:
80
- specification_version: 4
81
- summary: Deploy lock feature for Capistrano 3.x
83
+ specification_version: 3
84
+ summary: Deploy lock feature for Capistrano 3.4.x
82
85
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 7d4652733e283c12103ecd2b697180b3ff456779
4
- data.tar.gz: f95004d72cf11976f3239df1479cb6e41d11cb5f
5
- SHA512:
6
- metadata.gz: e493cdfeb9e74fcc287ffc3dfda4036bee1849eec3f3040fba4809cdf4bf9f5cb2b9e62a9c9a72cec3dceb45354edb4adff5d728dec7f6d487acc845cf9cb4b5
7
- data.tar.gz: ff6eeb61f098a5b7eb1a89becd4ecfc024e53a203520e10e03371b8fd7ababc43f03c6f6fcc2ff4973eabda2f720d7f44c9fb81fd9b6daaacfa48ff9a40c2060
@@ -1,2 +0,0 @@
1
- # Cap Deploy Lock Change log
2
-
@@ -1,22 +0,0 @@
1
- Copyright (c) 2014 Maruf Hasan Bulbul
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.