git-pulls 0.3.7 → 0.3.8

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/git-pulls.rb +2 -1
  2. metadata +2 -2
@@ -5,7 +5,8 @@ require 'octokit'
5
5
 
6
6
  class GitPulls
7
7
 
8
- PULLS_CACHE_FILE = '.git/pulls_cache.json'
8
+ GIT_PATH = lambda { return `git rev-parse --git-dir`.chomp }
9
+ PULLS_CACHE_FILE = "#{GIT_PATH.call}/pulls_cache.json"
9
10
 
10
11
  def initialize(args)
11
12
  @command = args.shift
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-pulls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-11-26 00:00:00.000000000 Z
13
+ date: 2012-12-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json