git-commit-autouser 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: 682e46a84920dce2caa356aafb5ec805939cf4fe
4
- data.tar.gz: 6cacd1aec97277e4e0509d6bdee1205e1f3bd22b
3
+ metadata.gz: e360f9f3047750c47861802c3702aba62559a492
4
+ data.tar.gz: b37de7278aa58669d2f6ae81956fc53ec40d5fcb
5
5
  SHA512:
6
- metadata.gz: 29a71b3cf6195426f249a95dd3ba8d8afff1dd5add842fc88fb02908a3d9c0830b6fc31af1122bd60337b9a42d63da01e222593810e5dd6bf3bd12434a7c4e1c
7
- data.tar.gz: 550178bdcbae62d4e13cb1f4bebb441f6fbe2834ceed420e80e875549c13a2ef0f6d7e86897886ff7f83f6c17571d4331b4c5693fc7c5a56ea7bae62344a8538
6
+ metadata.gz: 0236991ab2d2f917cd48fbc79cf4d965c13bce4eb0871f7b726e5de22ee705ba7bb673c93adad49d13f6705ced806ff09440293a52e291c161ee59e907dfb7d9
7
+ data.tar.gz: b399fca63c6619fe531348ae2738293d98a31da73d4e5a065ee9950f122176486748f757539151a850c621292de4f10de25fe3c5880031cd792e7ba2bd50e428
@@ -25,7 +25,7 @@ module GitCommitAutouser
25
25
  "GIT_AUTHOR_EMAIL" => matched.email,
26
26
  }
27
27
 
28
- env["HUB_CONFIG"] = matched.hub_config if matched.hub_config
28
+ env["HUB_CONFIG"] = matched.hub_config
29
29
 
30
30
  system env, "git", "commit", *argv
31
31
  exit $?.exitstatus
@@ -18,7 +18,9 @@ module GitCommitAutouser
18
18
  u.url_regexp = Regexp.new(c["url-regexp"])
19
19
  u.name = c["name"]
20
20
  u.email = c["email"]
21
- u.hub_config = File.expand_path(c["hub_config"])
21
+ if c["hub_config"]
22
+ u.hub_config = File.expand_path(c["hub_config"])
23
+ end
22
24
  end
23
25
  end
24
26
  end
@@ -1,3 +1,3 @@
1
1
  module GitCommitAutouser
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-commit-autouser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai