capistrano-gitflow 1.5.6 → 1.5.7

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: e4efd39dbc0cd6f84c60395a3f4aadd68e0e12fc
4
- data.tar.gz: 780070274eda305cd847d7ff2c477910ad55955f
3
+ metadata.gz: f14379f6a21af80834aa11905d04dfe083270360
4
+ data.tar.gz: 7e4dd444e6b0f07d8224229c47e5000333a07465
5
5
  SHA512:
6
- metadata.gz: 8bb3b196c77f41f94c655c982d1fea1da8c55971496f635486fb57fbec4db91872b64a48f30506985b42acb3d09305b011ff4c86ec69152fa1f4b0b03ec7cd18
7
- data.tar.gz: f70dfa30100aa35a6b692dac8de52038d7ff06d5f0321552c288eb5fbf317d6bf239d7eac9bf589ada4589985bdff6d2f8ececc4ae6458e427f25401edd85806
6
+ metadata.gz: abe68048b8930a7cbeb58d9415c2a4aa5b7088f95c3e209ecc59f4e179b3557388747df973a33104d8c5b0fa65dee22f3e1e0cc47de3fdb99d8a8d660b13e771
7
+ data.tar.gz: 34401457a001b7153f6e5c60063620de42c3ccc358753dc94afbfb2e7498b6341133a7fbc1c6a6245cf05bcb44e1d79fcea20ab2a40a32565ab57f01ff2d71de
@@ -219,7 +219,7 @@ module CapistranoGitFlow
219
219
  def gitflow_cleanup_tags
220
220
  return if fetch(:gitflow_keep_tags).nil?
221
221
  tags = `git log --tags --pretty="format:%at %D" | grep 'tag:' |sort -n | awk '{$1=""; print $0}' | tr "," "\n"| sed 's/tag:*//' | sed -e 's/^[ \t]*//'`
222
- tags = tags.split.reject{|tag| tag.blank? }
222
+ tags = tags.split.reject{|tag| tag.nil? || tag.empty? }
223
223
  tags = tags.select { |tag| tag =~ /^(staging|production){1}-[0-9]{4}-[0-9]{2}-[0-9]{2}\-([0-9]*)/ }
224
224
  if tags.count >= fetch(:gitflow_keep_tags)
225
225
  puts "Keeping #{fetch(:gitflow_keep_tags)} Tags from total #{tags.count}"
@@ -6,7 +6,7 @@ module CapistranoGitFlow # Returns the version of the currently loaded Rails as
6
6
  module VERSION
7
7
  MAJOR = 1
8
8
  MINOR = 5
9
- TINY = 6
9
+ TINY = 7
10
10
  PRE = nil
11
11
 
12
12
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-gitflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.6
4
+ version: 1.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Nichols