git_find_committer 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ea3ff9ec81375298d039c30df6413759d000efb
4
- data.tar.gz: 736338f7902a0cd954e54730308fb7997fb0983d
3
+ metadata.gz: 1a84a44db737f9f0bacf39d65c36072b19cc61b5
4
+ data.tar.gz: 9c1c48e406be0af4cdd09cc406d7ade74b39ad60
5
5
  SHA512:
6
- metadata.gz: 1404344250ac2a9f025d24d26a8f060f39f77b0409dec61c5bd3f92ddd391493163e1b37a6ab9725510af5983502b4ffe2357c271852ce48838842ca7d0a35cb
7
- data.tar.gz: ab4bef9e95e2b4630c91fbf07fb6651d05fa0eb3fe2e9ce204cfe54defb122b858c7d9c5f7afbd594d5252717c62ed0eb2b3ac229a4326b51c6f37b90583c78f
6
+ metadata.gz: 54e2c82fe38aa365dbf5e6a51c1006b40b7a42c15a26d41653deccaec92f75c13059c7b719951546023debe255ba84452d804b11b664b8b10fa20e350f963d72
7
+ data.tar.gz: 5c395320d23e5d92899bd6ec4cc946c1521fcba933ea450d5d8afbb7d48774c608158ce099c0267a654ae5876df97d4c4319623b2095ee4a5893f75418d22419
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /git_find_committer-*.gem
@@ -11,7 +11,7 @@ module GitFindCommitter
11
11
  end
12
12
 
13
13
  def search
14
- Repository.new(@config).prepare_repo
14
+ Repository.new(@config).prepare_repo.pull_master
15
15
 
16
16
  result = diff_files.each_with_object(Hash.new(0)) do |file, k|
17
17
  find(file).each do |committer, commit_count|
@@ -10,6 +10,12 @@ module GitFindCommitter
10
10
  else
11
11
  `git clone #{generate_url} #{@config.tmp_repo_path}`
12
12
  end
13
+ self
14
+ end
15
+
16
+ def pull_master
17
+ `git pull origin master`
18
+ self
13
19
  end
14
20
 
15
21
  def generate_url
@@ -1,3 +1,3 @@
1
1
  module GitFindCommitter
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_find_committer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shohei Yamasaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-19 00:00:00.000000000 Z
11
+ date: 2016-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler