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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2314bfa820984359d04e1447fbbbd271a5068906
4
- data.tar.gz: 4605d788cbe0cf2ecbe80c9ff6d3e29a6bd58b83
3
+ metadata.gz: 40345856728e996cbb0d13c0d89cad9fdd2b492f
4
+ data.tar.gz: b044b95e9dfafd1e6ce3255c69d8fac72742b7ab
5
5
  SHA512:
6
- metadata.gz: 023ad90d085ca95c720194098a08b19ffb1afd0553008ccc3666b09264235b5f74fa936bbf2524f3e368f91531d78773a952c408bf425eee2ca79a18718f8145
7
- data.tar.gz: 208b23ba7231b7fa584fb21019b33279b1a7d066a2725723576751a646d3e5c0025a1d3ebc33cbb544dc59ef7bc3acd6dbda11bbd66bc3738ad211df10faf3ef
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 = `users`.chomp
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"
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Deploylock
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
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.5
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-08 00:00:00.000000000 Z
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: