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 +4 -4
- data/VERSION +1 -1
- data/git-story-workflow.gemspec +3 -3
- data/lib/git/story/app.rb +4 -4
- data/lib/git/story/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91b2ba9f8da9a74b7b786c3632db0fe24789b40fa64d1a7fb9a503f614bc5ac9
|
4
|
+
data.tar.gz: 40ebc08064474eb912a726028c3384e1e1e4d8e68a266a99196866211764ca3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8d2592d20eda25b45776b9ae13ca8a070495e6f2db31ac4c6d9246b99088b53c00c4b596b4962d47defa9ab31fe9f299798eceabc54850613bcb2bcf70bf4f8
|
7
|
+
data.tar.gz: d24cb416fe27e201a7b981ff7c2b262909d58443dc58b4864c86b4a964b317a0447d47079e5dec1da023fc948ff47289b6af958d440b71b65bb782b2d24ccb9d
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.3
|
data/git-story-workflow.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: git-story-workflow 0.5.
|
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.
|
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-
|
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]
|
data/lib/git/story/app.rb
CHANGED
@@ -14,7 +14,7 @@ class Git::Story::App
|
|
14
14
|
|
15
15
|
annotate :command
|
16
16
|
|
17
|
-
BRANCH_NAME_REGEX = /\A(
|
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 =
|
418
|
-
branch.story_name = $
|
419
|
-
branch.story_id = $
|
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
|
data/lib/git/story/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|