mailmap 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mailmap/map.rb +2 -2
- data/lib/mailmap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 584d60df1c3057edf1c979959458b13eb2dbceb6e9bbf3654bf0619c06446d86
|
4
|
+
data.tar.gz: 7608f1b15f967216efc0a5832e71fd569ea3873de42f2b3c228b02a52d1c2809
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73665faa795d942fc8a5becca8607675b9750e095d7f46edcfc6a95e07c34f18feb9b4b8c698dfdcaf8d60df3afc74544d85a26b30a01c792e23db3bc3c334aa
|
7
|
+
data.tar.gz: bcb90879d1d7cda6ff780635d2c7e97a712ada42b9e7d00f4093214ed90ec337e903fc6ce7dae2ca31c8be644a033f1f5bdd2747f824dbc165c9a72f523c5352
|
data/lib/mailmap/map.rb
CHANGED
@@ -77,7 +77,7 @@ module Mailmap
|
|
77
77
|
def include_name?(name)
|
78
78
|
name = name.downcase
|
79
79
|
any? do |(proper_name, _proper_email, commit_name, _commit_email)|
|
80
|
-
proper_name
|
80
|
+
proper_name&.downcase == name || commit_name == name
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
@@ -89,7 +89,7 @@ module Mailmap
|
|
89
89
|
def include_email?(email)
|
90
90
|
email = email.downcase
|
91
91
|
any? do |(_proper_name, proper_email, _commit_name, commit_email)|
|
92
|
-
proper_email
|
92
|
+
proper_email&.downcase == email || commit_email == email
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
data/lib/mailmap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailmap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryosuke Ito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Parser for Git Mailmap (.mailmap)
|
14
14
|
email:
|