biola_deploy 0.5.3 → 0.5.4

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: 2a20859a0e179cd687c6a2de80e140c2697ae5c0
4
- data.tar.gz: a92d9135745b1da3f4c2fceb363f90b40e0bab50
3
+ metadata.gz: c2c6f0ab4aea07277832c8334eabe58f40348dd6
4
+ data.tar.gz: 3d94a21eaac08e503f27289979b9e83e28909008
5
5
  SHA512:
6
- metadata.gz: c2dee876c52642831fb351251b31c05c69439c37ac2051399a2521e69ebbd5ac42d04a05bebde527f7470d13909b15265cc9f1d1e2d12b0653bd1a0046f45ba6
7
- data.tar.gz: f2a196c4453cb9e23e8708dc8228187a8c5b96e29fa6039aa89113471b2ade8fcfa76678e347666b9f4dbb344adadf18ba13cf4a95cd31a472094059c9161b4d
6
+ metadata.gz: df0362a270ab25a15d76618af08dba13d64175c675ecce225f7911c95387a1827694b42040b6adb5c373e469a2a1da81c634e5ae5a54a751ea20ce3327b6f220
7
+ data.tar.gz: 98b5b5313a19b9e5c7d0b0b1a5d3fd49b423a686956c8058ea70e5b646c9b26c09ce3e0754da2fd30b466af153babfd235a83891c0fb6bb6a89d9ba9906c348e
@@ -1,3 +1,3 @@
1
1
  module BiolaDeploy
2
- VERSION = '0.5.3'
2
+ VERSION = '0.5.4'
3
3
  end
@@ -45,11 +45,10 @@ namespace :deploy do
45
45
  desc 'Trigger an application restart'
46
46
  task :restart_app do
47
47
  if_rails_loads 'application restart' do
48
- restart_file = 'tmp/restart.txt'
49
48
 
50
49
  Dir.chdir(app_dir) do
51
- if File.exists? restart_file
52
- FileUtils.touch restart_file
50
+ if Dir.exists? 'tmp'
51
+ FileUtils.touch 'tmp/restart.txt'
53
52
  end
54
53
  end
55
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biola_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Crownoble