git-story-workflow 0.9.4 → 0.9.5

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: dd536043f835ab4783b52bfa7bf3957fd7c4f3b14e7c5165ea4ee94c29a6d1d3
4
- data.tar.gz: a47d68eacec8804ec32a7ac346022299a4afe90629cadce14c3345db4b9965a1
3
+ metadata.gz: c1ad42550857dd054af1df4482c05f5e77a7370abb6f55c00367d39f9677356e
4
+ data.tar.gz: c41bb5aaae3d919cc333846b762dd3564d41c6f41629c38e1ca124ae51d1f509
5
5
  SHA512:
6
- metadata.gz: ac0f6b01d997df50537d8facd64564eb9c3dcedee65bf9d726c2d2fe1c21e46469a6b221ea022ee4ecf8bfd6d7aa2574738ebdba3b6b2254e128064c7bcd9814
7
- data.tar.gz: eeaf31b59d8be9d25db962ab6155760ed76c404609d362c82d37af008d55986a8ec76a01ed28d63297a13b85f426f29cdcea9c60a9e31fc29953ad9f92a3e526
6
+ metadata.gz: 9919ec579b03165ff1cd59ed0523d2649395ca97944a1ce967c5e1faff21a90fed85bc625233d349817a8fdfe33b7e12e802498ed060c9eaa320058fab635cfe
7
+ data.tar.gz: 4a94939052852837378d409243f70f5c84145aed9665c5033ebfefcb2938f2be5a47f9580dc64161bff37be6a62c4b6eba8880f04738321ed57c96c330b199e6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.4
1
+ 0.9.5
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: git-story-workflow 0.9.4 ruby lib
2
+ # stub: git-story-workflow 0.9.5 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "git-story-workflow".freeze
6
- s.version = "0.9.4"
6
+ s.version = "0.9.5"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
10
  s.authors = ["Florian Frank".freeze]
11
- s.date = "2019-05-27"
11
+ s.date = "2019-05-28"
12
12
  s.description = "Gem abstracting a git workflow\u2026".freeze
13
13
  s.email = "flori@ping.de".freeze
14
14
  s.executables = ["git-story".freeze]
@@ -365,7 +365,9 @@ class Git::Story::App
365
365
  end
366
366
 
367
367
  def build_ref_range(ref)
368
- if /^(?<before>.+?)?\.\.(?<after>.+)?\z/ =~ ref
368
+ if 'previous' == ref and (previous = deploy_tags.last(2)).size == 2
369
+ previous * '..'
370
+ elsif /^(?<before>.+?)?\.\.(?<after>.+)?\z/ =~ ref
369
371
  if before && after
370
372
  "#{before}..#{after}"
371
373
  elsif !before
@@ -1,6 +1,6 @@
1
1
  module Git::Story
2
2
  # Git::Story version
3
- VERSION = '0.9.4'
3
+ VERSION = '0.9.5'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-story-workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-27 00:00:00.000000000 Z
11
+ date: 2019-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar