mj 1.2.0 → 1.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: 719a1dd98c88afa768cf64e3f898ef95535a2b11a1322bad42dd3adaa31cd378
4
- data.tar.gz: 17980273bfabcf5b9b2378f7e0687de5c3fd2b4df412caa101ace15aab3ce266
3
+ metadata.gz: dd23331c306744d915b029c8eab565d7efb7aff9dcd1dc32e610c255f7467c41
4
+ data.tar.gz: 68eb844f251cc40384aab1f6593ae14bdcd4d8c208900a01b076082b7a98e744
5
5
  SHA512:
6
- metadata.gz: 652fb4a8eb141689c29acfffb70666f1a17ca3acad33a888cd5e86ce2728def89959f3543cebd36e3587cd4227fc7166c7f677657ed9b20ee6b445b4f904fd8e
7
- data.tar.gz: 1c9027cbde6e702272eee45edbbf5ad06392e527b32ff37454155541c455d5127a7013308dc38db414b78f4ef8b5d7ecd6c578f9d22b066ddfcb1c140d521f73
6
+ metadata.gz: 9d98dc23ebb94db59c62e1a7a3d2d6edd01447e32fe11bcd199afbc24aa4849ccadbf3d237bbf13c4d483b418cb02d4624a34d14fd7b4f65c742074b4ef91c39
7
+ data.tar.gz: 8ce6225ed80da0b6c797774345a9ad079306963f080ac3952337b7f27fde4c7d246bc4bcb83c53eca637e10920427db4a7b7e4dba0740ff895f78f01a8bc5d73
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mj (1.2.0)
4
+ mj (1.2.1)
5
5
  colorize
6
6
  koine-rest_client
7
7
  mj-hash_utils
@@ -100,7 +100,9 @@ module Mj
100
100
  return true
101
101
  end
102
102
 
103
- if command.from_commiters.map(&:downcase).include?(branch.last_commiter_email.downcase)
103
+ email = branch.last_commiter_email
104
+
105
+ if email && command.from_commiters.map(&:downcase).include?(email)
104
106
  return true
105
107
  end
106
108
 
@@ -32,11 +32,11 @@ module Mj
32
32
  aliases: :c
33
33
  option :after_date,
34
34
  type: :string,
35
- banner: "Formatted date YYY-MM-DD",
35
+ banner: "Formatted date YYYY-MM-DD",
36
36
  aliases: :a
37
37
  option :before_date,
38
38
  type: :string,
39
- banner: "Formatted date YYY-MM-DD",
39
+ banner: "Formatted date YYYY-MM-DD",
40
40
  aliases: :b
41
41
  option :from_pull_requestors,
42
42
  type: :string,
data/lib/mj/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mj
4
- VERSION = "1.2.0"
4
+ VERSION = "1.2.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Jacobus
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-08 00:00:00.000000000 Z
11
+ date: 2025-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -163,7 +163,7 @@ metadata:
163
163
  source_code_uri: https://github.com/mjacobus/mj
164
164
  changelog_uri: https://github.com/mjacobus/mj/blob/main/CHANGELOG.md
165
165
  rubygems_mfa_required: 'true'
166
- post_install_message:
166
+ post_install_message:
167
167
  rdoc_options: []
168
168
  require_paths:
169
169
  - lib
@@ -178,8 +178,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  - !ruby/object:Gem::Version
179
179
  version: '0'
180
180
  requirements: []
181
- rubygems_version: 3.5.14
182
- signing_key:
181
+ rubygems_version: 3.4.10
182
+ signing_key:
183
183
  specification_version: 4
184
184
  summary: My personal CLI
185
185
  test_files: []