rake-deploy 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/rake/deploy.rb CHANGED
@@ -17,7 +17,7 @@ namespace :deploy do
17
17
  desc 'Update remote repo'
18
18
  task :update_repo do
19
19
  puts "=> update_repo"
20
- deploy.run("cd #{deploy.deploy_to}/shared/repo && git fetch")
20
+ deploy.run("cd #{deploy.deploy_to}/shared/repo && git fetch origin")
21
21
  end
22
22
 
23
23
  desc 'Checkout newer version'
@@ -49,6 +49,7 @@ namespace :deploy do
49
49
  deploy.run("ln -s #{deploy.deploy_to}/shared/scaffold/log #{deploy.deploy_to}/shared/log ")
50
50
 
51
51
  deploy.run("git clone --bare #{deploy.repository} #{deploy.deploy_to}/shared/repo")
52
+ deploy.run("cd #{deploy.deploy_to}/shared/repo && git remote add origin #{deploy.repository}")
52
53
  end
53
54
 
54
55
  end
Binary file
data/rake-deploy.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "rake-deploy"
3
- s.version = "0.2"
3
+ s.version = "0.3"
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
  s.authors = ["Guillermo Álvarez"]
6
6
  s.email = "guillermo@cientifico.net"
@@ -10,5 +10,5 @@ Gem::Specification.new do |s|
10
10
  s.files = `find *`.split("\n")
11
11
  s.add_dependency("rake", "> 0.8.0")
12
12
  s.add_dependency("rake-hooks")
13
- s.add_dependency("net-ssh")
13
+ s.add_dependency("net-ssh", "> 2.0.0")
14
14
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-deploy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 2
9
- version: "0.2"
8
+ - 3
9
+ version: "0.3"
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Guillermo \xC3\x81lvarez"
@@ -53,12 +53,14 @@ dependencies:
53
53
  requirement: &id003 !ruby/object:Gem::Requirement
54
54
  none: false
55
55
  requirements:
56
- - - ">="
56
+ - - ">"
57
57
  - !ruby/object:Gem::Version
58
- hash: 3
58
+ hash: 15
59
59
  segments:
60
+ - 2
60
61
  - 0
61
- version: "0"
62
+ - 0
63
+ version: 2.0.0
62
64
  type: :runtime
63
65
  version_requirements: *id003
64
66
  description: Create some conventions and a deploy system using just rake
@@ -77,6 +79,7 @@ files:
77
79
  - lib/rake/deploy/object.rb
78
80
  - lib/rake/deploy.rb
79
81
  - rake-deploy-0.1.gem
82
+ - rake-deploy-0.2.gem
80
83
  - rake-deploy.gemspec
81
84
  - test/test_deploy.rb
82
85
  has_rdoc: true