dev_projects 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/project.rb +4 -2
  2. metadata +1 -1
data/lib/project.rb CHANGED
@@ -25,8 +25,10 @@ attr_accessor :filename
25
25
 
26
26
  def pull
27
27
  if(File.exists?(wrk_dir) && File.exists?("#{wrk_dir}/.git"))
28
- puts "git pull (#{wrk_dir})"
29
- puts `git pull`
28
+ Dir.chdir(wrk_dir) do
29
+ puts "git pull (#{wrk_dir})"
30
+ puts `git pull`
31
+ end
30
32
  end
31
33
  end
32
34
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_projects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: