inploy 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/inploy/locaweb.rb +4 -4
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake/gempackagetask'
5
5
  require 'spec/rake/spectask'
6
6
 
7
7
  GEM = "inploy"
8
- GEM_VERSION = "1.0.1"
8
+ GEM_VERSION = "1.1.0"
9
9
  SUMMARY = "Rails deployment made easy"
10
10
  AUTHOR = "Diego Carrion"
11
11
  EMAIL = "dc.rec1@gmail.com"
@@ -1,23 +1,23 @@
1
1
  module Inploy
2
2
  module Locaweb
3
3
  def remote_setup
4
- run "rm -Rf #{tmp_path} && git clone --depth 1 . #{tmp_path} && tar czf - #{tmp_path} | ssh #{user}@#{host} 'tar xzfv - -C ~/ && mv ~#{tmp_path} #{path}/ && cd #{application_path} && rake inploy:local:setup'"
4
+ run "rm -Rf #{tmp_path} && git clone . #{tmp_path} && tar czf - #{tmp_path} | ssh #{user}@#{host} 'tar xzfv - -C ~/ && mv ~#{tmp_path} #{path}/ && cd #{application_path} && rake inploy:local:setup'"
5
5
  end
6
6
 
7
7
  def remote_update
8
8
  run "git push ssh://[#{user}@#{host}]#{application_path} master"
9
9
  super
10
10
  end
11
-
11
+
12
12
  def local_setup
13
13
  super
14
14
  run "ln -s #{application_path}/public /home/#{user}/public_html/#{application}"
15
15
  end
16
-
16
+
17
17
  def local_update
18
18
  after_update_code
19
19
  end
20
-
20
+
21
21
  def path
22
22
  @path ||= "/home/#{user}/rails_app"
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Carrion