capistrano-deploylock 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/capistrano/deploylock.rb +1 -1
- data/lib/capistrano/deploylock/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40345856728e996cbb0d13c0d89cad9fdd2b492f
|
4
|
+
data.tar.gz: b044b95e9dfafd1e6ce3255c69d8fac72742b7ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd1d639ede1a38e6c9bc03c517b149b3deaf74781e9a8ac058cff8864acfa01dfe8971c1241808e7728fadfa52ca774f8d57b6598fdc230c318b94b4c5367126
|
7
|
+
data.tar.gz: a341d2cd8c655d259d6fecae73e0312da961529f55e86fe91593ba2933991bf5fff5674d4830ab85c5789ed303f44843e6f8b17a1b9be34f699c1af39a517d69
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Capistrano::Deploylock
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/capistrano-deploylock.svg)](http://badge.fury.io/rb/capistrano-deploylock)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/capistrano-deploylock.svg?style=flat)](http://badge.fury.io/rb/capistrano-deploylock)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/tetuyoko/capistrano-deploylock/badges/gpa.svg?style=flat)](https://codeclimate.com/github/tetuyoko/capistrano-deploylock)
|
5
|
+
[![Dependency Status](https://gemnasium.com/tetuyoko/capistrano-deploylock.svg?style=flat)](https://gemnasium.com/tetuyoko/capistrano-deploylock)
|
4
6
|
|
5
7
|
lock set to deployed server for 1 day.
|
6
8
|
|
@@ -69,7 +69,7 @@ module Capistrano::Deploylock
|
|
69
69
|
day = 1
|
70
70
|
expired_at = Time.now + (day * (60 * 60 * 24))
|
71
71
|
|
72
|
-
user =
|
72
|
+
user = git_config_user_name
|
73
73
|
puts "\n**** [LOCKED] #{rails_env}はロックされ、有効期限内が設定されました. **** "
|
74
74
|
puts "\n locked_user : #{user}"
|
75
75
|
puts " expired_at : #{expired_at}\n\n"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-deploylock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tetuyoko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -114,3 +114,4 @@ test_files:
|
|
114
114
|
- test/minitest_helper.rb
|
115
115
|
- test/test_capistrano.rb
|
116
116
|
- test/test_capistrano/deploylock.rb
|
117
|
+
has_rdoc:
|