git-story-workflow 0.5.2 → 0.5.3

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: bc606f61e3a00656ba76627a911e7d9d3488054fb0d5a712855e8a692db7b1d0
4
- data.tar.gz: 3100f94801e2b34db6051f167d0be9387ea794fbbe18257bc679ed4d9eb5773d
3
+ metadata.gz: 91b2ba9f8da9a74b7b786c3632db0fe24789b40fa64d1a7fb9a503f614bc5ac9
4
+ data.tar.gz: 40ebc08064474eb912a726028c3384e1e1e4d8e68a266a99196866211764ca3a
5
5
  SHA512:
6
- metadata.gz: '08fbe59689f275585d3e55604a61e258e93c7cbe047f2f32a69e39105eeb6f0dc96490253cb9e3f8f370bef6cd4ef05b9a8e5aa8ee2838d6fa2d81754a78f5ad'
7
- data.tar.gz: 7f99546ebec6cc7060631805b0b27aadd88d4b07c2712dc0aa79cbb2a0445f0561ed06d7735a042e42c8d2710a5ab628c95fa5708b3ffe0b706d914c74912f1e
6
+ metadata.gz: c8d2592d20eda25b45776b9ae13ca8a070495e6f2db31ac4c6d9246b99088b53c00c4b596b4962d47defa9ab31fe9f299798eceabc54850613bcb2bcf70bf4f8
7
+ data.tar.gz: d24cb416fe27e201a7b981ff7c2b262909d58443dc58b4864c86b4a964b317a0447d47079e5dec1da023fc948ff47289b6af958d440b71b65bb782b2d24ccb9d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.5.3
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: git-story-workflow 0.5.2 ruby lib
2
+ # stub: git-story-workflow 0.5.3 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "git-story-workflow".freeze
6
- s.version = "0.5.2"
6
+ s.version = "0.5.3"
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 = "2018-07-13"
11
+ s.date = "2018-09-03"
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]
@@ -14,7 +14,7 @@ class Git::Story::App
14
14
 
15
15
  annotate :command
16
16
 
17
- BRANCH_NAME_REGEX = /\A(?:story|feature)_([a-z0-9-]+)_(\d+)(?:\-[0-9a-f]+)?\z/
17
+ BRANCH_NAME_REGEX = /\A(story|feature)_([a-z0-9-]+)_(\d+)\z/
18
18
 
19
19
  module StoryAccessors
20
20
  attr_accessor :story_name
@@ -414,9 +414,9 @@ class Git::Story::App
414
414
  branch = ref[0]
415
415
  branch =~ BRANCH_NAME_REGEX or return
416
416
  branch.extend StoryAccessors
417
- branch.story_base_name = ref[0]
418
- branch.story_name = $1
419
- branch.story_id = $2.to_i
417
+ branch.story_base_name = "#$1_#$2_#$3"
418
+ branch.story_name = $2
419
+ branch.story_id = $3.to_i
420
420
  branch.story_created_at = ref[1]
421
421
  branch.story_author = ref[2]
422
422
  branch
@@ -1,6 +1,6 @@
1
1
  module Git::Story
2
2
  # Git::Story version
3
- VERSION = '0.5.2'
3
+ VERSION = '0.5.3'
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.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-13 00:00:00.000000000 Z
11
+ date: 2018-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar