chap 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/lib/chap/hook.rb CHANGED
@@ -28,6 +28,13 @@ module Chap
28
28
  end
29
29
  end
30
30
 
31
+ def rm_rvmrc
32
+ %w[.rvmrc .ruby-version].each do |file|
33
+ path = "#{release_path}/#{file}"
34
+ run "rm -f #{path}" if File.exist?(path)
35
+ end
36
+ end
37
+
31
38
  def with(prepend)
32
39
  prev, @with = @with, prepend
33
40
  yield
data/lib/chap/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Chap
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ rm_rvmrc
4
+
3
5
  log "cd #{release_path} && bundle"
4
6
  run "cd #{release_path} && echo bundle"
5
7
  run "cd #{release_path} && echo 'chap deploy hook' > deploy.txt"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-08 00:00:00.000000000 Z
12
+ date: 2013-02-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake