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 +8 -8
- data/lib/giteaucrat/file.rb +5 -1
- data/lib/giteaucrat/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTFkZjVjZWVkZmUwYTE3NTc4Y2Y2MzJjZmNhNWFlMmIzNGNjODJmNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWUyOWU5YTJjOTg2ODVhOTBlOTY3YWNjMjA5ZjJhZjRjYTExNzk1OA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWRhOGE3Y2I5MDQzMjFjNThhMDExOTZmNjAxMmI5MThmM2FmMjEyMjcxMDBh
|
10
|
+
NGIzYzM2MTc5MzNmOWQ3M2RkYmM5MWExNzlmZDczODljMGJkM2FkNTA3NWNl
|
11
|
+
YjkzYTVmOTFjMTgzNGVjYTg1MzI4MmJiYjE5MjMyOThkNjU2NjU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmM2OTg4M2QxNjBlYzY2NzcwMWI2MjhmODAxNGU4YTE1NzY5MThkMDRmMWFi
|
14
|
+
ZTlmMTExNmI3ZWY0ZjNhOTBjMzk5NjhiZjMyNTIwOGRhNWU1NTYzYTlmMWZi
|
15
|
+
ZTk1ZGMwYTkxZTM5M2FmODIyMzhmMDE0ZTZiZGM5OTc5OTk0MWE=
|
data/lib/giteaucrat/file.rb
CHANGED
@@ -2,7 +2,8 @@
|
|
2
2
|
|
3
3
|
################################################
|
4
4
|
# © Alexander Semyonov, 2013—2013, MIT License #
|
5
|
-
#
|
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
|
|
data/lib/giteaucrat/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2013-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|