square-circle-triangle-grit 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/grit/repo.rb +7 -2
- metadata +2 -2
data/VERSION.yml
CHANGED
data/lib/grit/repo.rb
CHANGED
@@ -154,11 +154,11 @@ module Grit
|
|
154
154
|
end
|
155
155
|
|
156
156
|
alias :move :mv
|
157
|
-
|
157
|
+
|
158
158
|
def checkout_path_commit(commit, path)
|
159
159
|
self.git.checkout({}, commit, '--', path)
|
160
160
|
end
|
161
|
-
|
161
|
+
|
162
162
|
def revert(commit)
|
163
163
|
self.git.revert({}, commit)
|
164
164
|
end
|
@@ -516,6 +516,11 @@ module Grit
|
|
516
516
|
!self.git.last_response.blank? ? self.git.last_response : nil
|
517
517
|
end
|
518
518
|
|
519
|
+
def set_config(key, value = nil)
|
520
|
+
self.git.config({}, key, value)
|
521
|
+
remote_error_or_response
|
522
|
+
end
|
523
|
+
|
519
524
|
private
|
520
525
|
|
521
526
|
def in_working_dir(&block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: square-circle-triangle-grit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-07-
|
13
|
+
date: 2009-07-13 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|