indocker 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 91f327fcfb82bd30d26d102d302226fbe32dfacd0c269985311b13606eca5d46
4
- data.tar.gz: a2aca349450f5c5c6ebc383c71b676f36dc3e45ad9cd33ee0fabafc17bc819fd
3
+ metadata.gz: 9b625051ee86d20ec224e8f277b5fc884ce7c02ef671a18533836e9e654c1fcf
4
+ data.tar.gz: 1867b3210ab2134bd52366a2ded1abc0e24ef122ecc8337a5213f5f0460526a5
5
5
  SHA512:
6
- metadata.gz: 8d3ec5cbb23b2e2e183f87f04d37dd4bd00e847f805d4864d78c88d721871e6b38082b19523321a77f12a4b9839db0e00a5588bc394e240df0369d59386f1b34
7
- data.tar.gz: 27477f7cffd4bec8b3ad4abf3c60bc93af5779ee88f97440363bf238d2e04160e4509cf2da3960f5c528c77d3c79f92ce85e94b3ccd64b0aca4559dbdc444de9
6
+ metadata.gz: 8298028d5eea2ac46b1ebf67fb5b19b0846c96a1bc731b6717869412f802d7781d3ee80fa15e7ae75336f5fa878fa9ea90fcfbb5e7a668bcc500d2f5bc4a97d5
7
+ data.tar.gz: 9f2a4091d1def4b6f86aef36c240a5f5439ee0c604f516b7f52b215b7285b53cbe41800530e517ee97159bda7b99665bfa9a1cf92371e7011c9671f15ddf20b1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- indocker (0.1.0)
4
+ indocker (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -423,7 +423,7 @@ class Indocker::ConfigurationDeployer
423
423
  @logger.info("{timestamp}")
424
424
 
425
425
  deploy_user = "#{server.user}@#{server.host}"
426
- crontab_filepath = "~/#{server.user}/crontab"
426
+ crontab_filepath = Indocker.redeploy_crontab_path
427
427
 
428
428
  crontab = Indocker::CrontabRedeployRulesBuilder
429
429
  .new(
@@ -1,3 +1,3 @@
1
1
  module Indocker
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/indocker.rb CHANGED
@@ -103,10 +103,18 @@ module Indocker
103
103
  @deploy_dir = val
104
104
  end
105
105
 
106
- def set_root_dir(val)
106
+ def set_root_dir(val)
107
107
  @root_dir = val
108
108
  end
109
109
 
110
+ def set_redeploy_crontab_path(val)
111
+ @redeploy_crontab_path = val
112
+ end
113
+
114
+ def redeploy_crontab_path
115
+ @redeploy_crontab_path
116
+ end
117
+
110
118
  def deploy_dir
111
119
  if @deploy_dir
112
120
  @deploy_dir
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruslan Gatiyatov