giteaucrat 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzJhZmY2NTQ5ZmEzYjY5NjYzZTNiOTkwNDRkMDEyYjUwYzRmMTBlZA==
4
+ OTFkZjVjZWVkZmUwYTE3NTc4Y2Y2MzJjZmNhNWFlMmIzNGNjODJmNQ==
5
5
  data.tar.gz: !binary |-
6
- MDc0ZTNlMDc5OTM4NjU3MmNiOTg5NmQzODE5OTYyYTZiYmM4ZDE4MA==
6
+ OWUyOWU5YTJjOTg2ODVhOTBlOTY3YWNjMjA5ZjJhZjRjYTExNzk1OA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MWZjYWE2Y2YwZTNjNjFlZTExN2EzZGJhMTU5ZTg2YTQ1YmYwNDE0ODMxMTJk
10
- N2Q1MDUwMDM1MmU5NWZmZGM1ZWUxODY0OTFhYjMzZmQ0YTU4NGMzMDk5MzQy
11
- Mzg3YWI5MmUyZDQ2YThjN2E2OWFkNDYxNzRiZWU0OTliODhiMGE=
9
+ MWRhOGE3Y2I5MDQzMjFjNThhMDExOTZmNjAxMmI5MThmM2FmMjEyMjcxMDBh
10
+ NGIzYzM2MTc5MzNmOWQ3M2RkYmM5MWExNzlmZDczODljMGJkM2FkNTA3NWNl
11
+ YjkzYTVmOTFjMTgzNGVjYTg1MzI4MmJiYjE5MjMyOThkNjU2NjU=
12
12
  data.tar.gz: !binary |-
13
- Njk1MDYwMDYzN2Y4MjMwYzRmY2Q2NzI1YmE1ZTk0OTI5ZmUwOWFkMDllYjlh
14
- ZTE5M2MxZDlmZDEwZDVjNzZhYTVlODI5ZDgxNTE2NzU2Y2ZlN2NjZGJmYzBm
15
- YTVmMTFkOTQ3ZmU2MWY4YmM2NjExY2EwYjVhYmZhOTllNThhZTY=
13
+ YmM2OTg4M2QxNjBlYzY2NzcwMWI2MjhmODAxNGU4YTE1NzY5MThkMDRmMWFi
14
+ ZTlmMTExNmI3ZWY0ZjNhOTBjMzk5NjhiZjMyNTIwOGRhNWU1NTYzYTlmMWZi
15
+ ZTk1ZGMwYTkxZTM5M2FmODIyMzhmMDE0ZTZiZGM5OTc5OTk0MWE=
@@ -2,7 +2,8 @@
2
2
 
3
3
  ################################################
4
4
  # © Alexander Semyonov, 2013—2013, MIT License #
5
- # Author: Alexander Semyonov <al@semyonov.us> #
5
+ # Authors: Alexander Semyonov <al@semyonov.us> #
6
+ # Sergey Ukustov <sergey@ukstv.me> #
6
7
  ################################################
7
8
 
8
9
  require 'giteaucrat'
@@ -38,6 +39,9 @@ module Giteaucrat
38
39
  def owner
39
40
  @owner ||= begin
40
41
  Author.find_by_git_person(repo.git_repo.log(name).last.author)
42
+ rescue NoMethodError
43
+ Author.new(name: repo.git_repo.config['user.name'],
44
+ email: repo.git_repo.config['user.email'])
41
45
  end
42
46
  end
43
47
 
@@ -6,5 +6,5 @@
6
6
  ################################################
7
7
 
8
8
  module Giteaucrat
9
- VERSION = '0.0.5'
9
+ VERSION = '0.0.6'
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: giteaucrat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Semyonov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-20 00:00:00.000000000 Z
11
+ date: 2013-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor