square-circle-triangle-grit 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/grit/repo.rb +7 -2
  3. metadata +2 -2
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 3
3
+ :patch: 4
4
4
  :major: 1
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.3
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-03 00:00:00 -07:00
13
+ date: 2009-07-13 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency