mailmap 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cdc12709b9e48412d76d01f4f75c018bb0822e6d3e25ced6527cdca9c507a97f
4
- data.tar.gz: e3a713e40d6f7ae4134ac8c1021558e01aa23f9f3dae5fb039bfc724c6a648dd
3
+ metadata.gz: 584d60df1c3057edf1c979959458b13eb2dbceb6e9bbf3654bf0619c06446d86
4
+ data.tar.gz: 7608f1b15f967216efc0a5832e71fd569ea3873de42f2b3c228b02a52d1c2809
5
5
  SHA512:
6
- metadata.gz: df1d46c1608c78dae83f1359b13af597a24d11cf531d44bd4aa9d6f8fd71e1d89779ff3018f357d7bd17c46e628e985905a7906a593bf9e23f55af4dbcdee7e8
7
- data.tar.gz: 1519019ddacc4d53af233a9638bbc7717df61a15457cbc88d356dc964c23c8608f0f4eb565e646f6b834ee2143643be3948e80def17195d669f4e090fbbc2c83
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.downcase == name || commit_name == 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.downcase == email || commit_email == email
92
+ proper_email&.downcase == email || commit_email == email
93
93
  end
94
94
  end
95
95
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mailmap
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
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.0
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-05 00:00:00.000000000 Z
11
+ date: 2022-12-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Parser for Git Mailmap (.mailmap)
14
14
  email: