git-version-bump 0.17.0 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/git-version-bump.gemspec +1 -1
- data/lib/git-version-bump.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '084e552015ea8de36e92598ea4ec4de57916b0cdf0ba9ee8c8ff7974da9df8ff'
|
4
|
+
data.tar.gz: e361b6214097aa2e9cf4a30e993cb4ad9dc9c5f3283ae6d39d219e28f684f8fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e168a05d6349ecc3b69bf09eff3d1ddd28253dde4c69b4ee007257de73af6a7b195dc9e1186d7fca9106dfa40c88680f02139fcc808fb5a2906e8da3b09c534
|
7
|
+
data.tar.gz: 4e295c50077e23342b48c4a9dbfad2a356be4c0d33a5489f365812309c1fa90cd45b3c50197f8ab94b5a8b9fc70aa0771363ed933ffb44e4bee3cbd85b2a7457
|
data/git-version-bump.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.date = GVB.date
|
10
10
|
|
11
11
|
s.platform = Gem::Platform::RUBY
|
12
|
-
s.required_ruby_version = ">= 1.
|
12
|
+
s.required_ruby_version = ">= 2.1.0"
|
13
13
|
|
14
14
|
s.homepage = "http://theshed.hezmatt.org/git-version-bump"
|
15
15
|
s.summary = "Manage your app version entirely via git tags"
|
data/lib/git-version-bump.rb
CHANGED
@@ -106,7 +106,7 @@ module GitVersionBump
|
|
106
106
|
return Time.now.strftime("%F")
|
107
107
|
else
|
108
108
|
# Clean tree. Date of last commit is needed.
|
109
|
-
return `git -C #{sq_git_dir} show --no-show-signature --format=format:%cd --date=short`.lines.first
|
109
|
+
return (`git -C #{sq_git_dir} show --no-show-signature --format=format:%cd --date=short`.lines.first || "").strip
|
110
110
|
end
|
111
111
|
else
|
112
112
|
if use_local_git
|
@@ -249,7 +249,7 @@ module GitVersionBump
|
|
249
249
|
|
250
250
|
def self.dirty_tree?(sq_git_dir='.')
|
251
251
|
# Are we in a dirty, dirty tree?
|
252
|
-
!
|
252
|
+
! `git -C #{sq_git_dir} status --porcelain 2> #{DEVNULL}`.empty?
|
253
253
|
end
|
254
254
|
|
255
255
|
def self.caller_file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-version-bump
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Palmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-release
|
@@ -95,7 +95,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
95
|
requirements:
|
96
96
|
- - ">="
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 1.
|
98
|
+
version: 2.1.0
|
99
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|