git-story-workflow 0.4.1 → 0.4.2
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/semaphore.rb +9 -2
- 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: a59013fb08e6b4782e2a0c9639d0743d33d80a616134caffd1b0a8cbbefad0ac
|
4
|
+
data.tar.gz: 9f0aa8fed701287a779f033ef7e17b3e37139104c6e3ff113b0966f4567bcc03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89032b278d2faf60ef6eb40bf22dd472584cd7b52bc9ffc34ed83008e1a55924277cd709f461d68300f91c180f2d2888144c6651ec0f0683cc72336043c2cc2a
|
7
|
+
data.tar.gz: 0ff7fc99a9f59fbdc5cc8afd1368780030be99a81a962899434303e38d012d38c1d4a58fd6f2fc04bc58eb6a74656e9ef65512c5551422963b1b070671806bd8
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.2
|
data/git-story-workflow.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: git-story-workflow 0.4.
|
2
|
+
# stub: git-story-workflow 0.4.2 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "git-story-workflow".freeze
|
6
|
-
s.version = "0.4.
|
6
|
+
s.version = "0.4.2"
|
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-
|
11
|
+
s.date = "2018-07-12"
|
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/semaphore.rb
CHANGED
@@ -100,9 +100,16 @@ class Git::Story::SemaphoreResponse < JSON::GenericObject
|
|
100
100
|
"#{entity_name} ##{sha1} in state #{result}".blue
|
101
101
|
end
|
102
102
|
r = StringIO.new(r)
|
103
|
+
duration_seconds = duration.to_f.to_i
|
104
|
+
total_seconds =
|
105
|
+
if passed? || failed?
|
106
|
+
[ estimated_duration.to_i, duration_seconds ].min
|
107
|
+
else
|
108
|
+
estimated_duration.to_i
|
109
|
+
end
|
103
110
|
Infobar(
|
104
|
-
current:
|
105
|
-
total:
|
111
|
+
current: duration_seconds,
|
112
|
+
total: total_seconds,
|
106
113
|
message: ' %l %c/%t seconds ',
|
107
114
|
output: r
|
108
115
|
).update
|
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.4.
|
4
|
+
version: 0.4.2
|
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-
|
11
|
+
date: 2018-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|