fit-commit 2.0.0 → 2.0.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
  SHA1:
3
- metadata.gz: fc08ac065b8b63def448a55dde83e4c2415041eb
4
- data.tar.gz: 2e32ba91af1f3d49d24fc1702995c34dc7e6a5e8
3
+ metadata.gz: cb4ffe45a0ad53675d49f2cd52490915a181cded
4
+ data.tar.gz: 0706dcac90051c43fb56ad9912833f5dfee28667
5
5
  SHA512:
6
- metadata.gz: 7500dd39439a0c74810b31ee50c3d035ae5de0534e40d7d742a934061fbc3c5b7f6906bd536c23565aa65351bc4c29ae7bdc121f96d4ff8c6dc70ecc9f87f9ee
7
- data.tar.gz: 595a6b8f2bdd25ab000e66c6014c64bdc62da3277764e44321570edcfb7026cc90f694619ab7d9edde1184a52e3c33e044285b45dce7728aa03053d96c61b845
6
+ metadata.gz: 149f64e1b74901d17697a54e5675aad9b7269f4a5016424a3fb144b88cc935a8fbfc87b98375a75d852724ad5899c251acd3b3bac5fd30c2286c7afad591d314
7
+ data.tar.gz: b22509e397f85f26bb3df60b697c49e7437f925eae05c6bb38e8f4e2f7a059196c2939062807b505f7d7efe98d0116a9a0659dfa0ede8943ffe199e2bc3b1c8a
data/lib/fit-commit.rb CHANGED
@@ -17,6 +17,7 @@ module FitCommit
17
17
  end
18
18
 
19
19
  def self.branch_name
20
- ENV.fetch("GIT_BRANCH_NAME")
20
+ ENV["GIT_BRANCH_NAME"] ||
21
+ fail("Git branch not found. You might need to re-run `fit-commit install`")
21
22
  end
22
23
  end
@@ -1,3 +1,3 @@
1
1
  module FitCommit
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fit-commit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Foley