gokdok 0.1.4 → 0.4.1

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/gokdok.rb +0 -7
  2. metadata +1 -1
data/lib/gokdok.rb CHANGED
@@ -52,11 +52,6 @@ module Gokdok
52
52
 
53
53
  private
54
54
 
55
- # Fix git variables that may have been set by other tasks
56
- def clear_git_vars
57
- %w(GIT_DIR GIT_WORK_TREE GIT_INDEX_FILE).each { |var| ENV[var] = nil }
58
- end
59
-
60
55
  def find_git_binary
61
56
  `which git`.chop
62
57
  end
@@ -115,7 +110,6 @@ module Gokdok
115
110
  end
116
111
 
117
112
  def run_git_command(command)
118
- clear_git_vars
119
113
  result = system("#{git_path} #{command}")
120
114
  raise(RuntimeError, "Could not run: git #{command}") unless(result)
121
115
  end
@@ -137,7 +131,6 @@ module Gokdok
137
131
 
138
132
  desc 'Create the documentation without actually pushing it'
139
133
  task :update => rdoc_task do
140
- clear_git_vars
141
134
  repo = Grit::Repo.new(pages_home)
142
135
  remote_dir = File.join(pages_home, remote_path)
143
136
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gokdok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Hahn