git-story-workflow 0.11.2 → 0.11.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 +18 -6
- data/lib/git/story/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 594fee5ac595ddfe8ae4802bfc3bf4bef2c0f7c7b2e9f3ccbf76a9cbc7d8bd12
|
4
|
+
data.tar.gz: 2b2c6dace41b40c654dcfe7be680d22bf978696976d59de42abd27bdb68e071f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf31372ba982c29af6e018ec82136bd2d254f0c728567d2ee0d1e4ccc38fe57442aafa38ad0634bc5bbc22910740113509074684dd83a024b99d509add46dc15
|
7
|
+
data.tar.gz: 600489c9074d8f73f57d8156ca440fe69332e25dc80470a736ad763bfe647b4845d580338791b59e116520d0207d2b3e976dae39ef338a726894834f25a1c2ad
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.11.
|
1
|
+
0.11.3
|
data/git-story-workflow.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: git-story-workflow 0.11.
|
2
|
+
# stub: git-story-workflow 0.11.3 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "git-story-workflow".freeze
|
6
|
-
s.version = "0.11.
|
6
|
+
s.version = "0.11.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 = "2020-
|
11
|
+
s.date = "2020-07-20"
|
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
@@ -38,12 +38,7 @@ class Git::Story::App
|
|
38
38
|
@argv = argv
|
39
39
|
@opts = go 'n:', @argv
|
40
40
|
@debug = debug
|
41
|
-
|
42
|
-
until @argv.empty?
|
43
|
-
c << @argv.shift
|
44
|
-
@command = c.join(?_).to_sym
|
45
|
-
break if command_of(@command)
|
46
|
-
end
|
41
|
+
determine_command
|
47
42
|
end
|
48
43
|
|
49
44
|
def run
|
@@ -363,6 +358,23 @@ class Git::Story::App
|
|
363
358
|
|
364
359
|
private
|
365
360
|
|
361
|
+
def determine_command
|
362
|
+
c, command = [], nil
|
363
|
+
possible_commands = []
|
364
|
+
until @argv.empty?
|
365
|
+
c << @argv.shift
|
366
|
+
command = c.join(?_).to_sym
|
367
|
+
if command_of(command)
|
368
|
+
possible_commands << [ command, @argv.dup ]
|
369
|
+
end
|
370
|
+
end
|
371
|
+
unless possible_commands.empty?
|
372
|
+
@command, argv = possible_commands.last
|
373
|
+
@argv.replace(argv)
|
374
|
+
end
|
375
|
+
self
|
376
|
+
end
|
377
|
+
|
366
378
|
def pick_branch(prompt:, symbol: ?⏻)
|
367
379
|
ss = stories.map(&:story_base_name)
|
368
380
|
branch = Search.new(
|
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.11.
|
4
|
+
version: 0.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Frank
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|
@@ -186,7 +186,7 @@ homepage: http://flori.github.com/git-story-workflow
|
|
186
186
|
licenses:
|
187
187
|
- Apache-2.0
|
188
188
|
metadata: {}
|
189
|
-
post_install_message:
|
189
|
+
post_install_message:
|
190
190
|
rdoc_options:
|
191
191
|
- "--title"
|
192
192
|
- Git-story-workflow
|
@@ -206,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
206
|
version: '0'
|
207
207
|
requirements: []
|
208
208
|
rubygems_version: 3.1.2
|
209
|
-
signing_key:
|
209
|
+
signing_key:
|
210
210
|
specification_version: 4
|
211
211
|
summary: Gem abstracting a git workflow
|
212
212
|
test_files:
|