jets-git 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: adfdc0534b83b46a4302ac4680ed364768af3307a445ebdc40adfc76d9aa9c14
4
- data.tar.gz: 7dd52b79322e598fca76fc3eb700ca4c670c32f14c4b7d7b51990141b5d137f7
3
+ metadata.gz: 3331aba43006b74277f8b6c02e7136ed882bd4832f8522ec85139d9c7c123120
4
+ data.tar.gz: 61fe9b289d0ac8c456f366c335eac4eb16210aa854cbd2a0fd232b685160c173
5
5
  SHA512:
6
- metadata.gz: 664548444a428ba36a4ef6ea944c3006c7f59a0bb5d093cd3dbd0afb2b6078e4dd0b6ba970c2eb0b2c9e790c6cae53a5e1bce4e97528b7686624c8cdacdf8730
7
- data.tar.gz: 46d9794e787d10da0457012ac43991511af8eb76713b9d13bdfca91fe52de0b0b9b171d8513bdb5a6c231592a8a6a84f60e2eb0fa5273d22caae09cb0f781a01
6
+ metadata.gz: 320891bb1ace00da8f3e62fef39e1ea2555ec69000a1eb6a0d854ecd32f58c4bcaa62e856da1ad289ad5acfea475412a08c8d5c3acebb2448c9bbe2af4a42349
7
+ data.tar.gz: 45ae8431ab5a22d52380a0bb73185348eba1341dad7dd6aef19910ebb3b46549f134893cc54a04f73bf575fbc3d26e62bccb4dcc0f2dc863d4db72f3ad7ccc4d
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [0.2.1] - 2023-12-15
7
+ - first_name user.name nil edge case
8
+
6
9
  ## [0.2.0] - 2023-12-11
7
10
  - rename git_message attribute
8
11
 
data/lib/jets/git/user.rb CHANGED
@@ -4,7 +4,7 @@ module Jets::Git
4
4
  include GitCli
5
5
 
6
6
  def first_name
7
- name.split(" ").first
7
+ name.split(" ").first if name # name can be nil
8
8
  end
9
9
 
10
10
  def name
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jets
4
4
  module Git
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets-git
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-11 00:00:00.000000000 Z
11
+ date: 2023-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport