railman-deployment 2.0.9 → 2.0.10

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: 10b04814c26beeca75dc162e8ee8e7be5406fb1cc154473f0c55d21996c3e511
4
- data.tar.gz: 84e788f5f178138891577949974362910fd1db4c1b11b380f481bf168d15d446
3
+ metadata.gz: f684befde7f00c65af4157031eee8a5b3d26f901cf3a9ba192ac45e93752e651
4
+ data.tar.gz: 7562d5a59de557acf90a4de226652e338d165ebc714b231b81d7b0e6f5a93adb
5
5
  SHA512:
6
- metadata.gz: 68f19f3f68a9c89d56faf6d8605cf8a9d579b55f022a74520e10ceb1ce9f8385e9a4ff7f7f067b1ae110ba011f1e43aba6c27ceb4f408b0f28848d4b77c13b6b
7
- data.tar.gz: 10e88c4a79a3db5d67cb7a67fbedb9074c1c8836569f9b8f8cbffe30fc807b44cc45ba4fd3dadde5228c5fa6280c19ebdebc8c368bd17847f72135f4bff2ea33
6
+ metadata.gz: c1fa5f6ade8386913f0830f4a9e7ef1b242fa8d57998af2b3ebb9ef449dc5b5e0b10a353da1dfd4660b1f11b38c8711c4070e92cbbf1165bc296d4ba943bb6c5
7
+ data.tar.gz: cdf5ebae31270a3fcd5eceaf835063f8be45754caa34e9e14363879718355653075445ae1730bb7015618c108dbcc28054fcb7f28b397c9333322d96176c26de
@@ -91,20 +91,8 @@ task :update do
91
91
  end
92
92
  run_locally do
93
93
  execute "psql -d #{fetch(:application)}_development -f db/#{fetch(:application)}.sql"
94
- invoke :sync_local_dirs_from_server
95
- end
96
- end
97
-
98
- task :sync_local_dirs_to_server do
99
- on roles(:all) do
100
- fetch(:sync_dirs, []).each do |sync_dir|
101
- if File.exists?("./#{sync_dir}")
102
- run_locally do
103
- execute "rsync -avz --delete -e ssh ./#{sync_dir}/ #{fetch(:user)}@#{fetch(:server)}:#{fetch(:deploy_to)}/#{sync_dir}/"
104
- end
105
- end
106
- end
107
94
  end
95
+ invoke :sync_local_dirs_from_server
108
96
  end
109
97
 
110
98
  task :sync_local_dirs_from_server do
@@ -1,3 +1,3 @@
1
1
  module RailmanDeployment
2
- VERSION = '2.0.9'
2
+ VERSION = '2.0.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railman-deployment
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9
4
+ version: 2.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Jancev