git-story-workflow 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: 4e9c0e5209e46016ff1be18d3f51713bf3e2d39ba7cbd60a40f6ab07946688d2
|
|
4
|
+
data.tar.gz: '0186163afc2c28f3b22e529261032b59fd28278a031a2e34e07aca7191f344cf'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c6f91055b4685f6975c6716b120f27a0f4b87b82a9df68a3c72ddcb2c4c3d09e5a4344f94c2dde2a59a1a59f7394b598a591cfbfd71bdf034c4cd84c647633ae
|
|
7
|
+
data.tar.gz: 6b7e5f7d3788bc81065c2f65bc879d5a3fd784add6b166bfac44195840171cff4702c014e0e2169cbedb52f4860e15dc9400a91e69a68d929ef9d533d16b63bb
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.3
|
data/git-story-workflow.gemspec
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: git-story-workflow 0.1.
|
|
2
|
+
# stub: git-story-workflow 0.1.3 ruby lib
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "git-story-workflow".freeze
|
|
6
|
-
s.version = "0.1.
|
|
6
|
+
s.version = "0.1.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 = "2017-12-
|
|
11
|
+
s.date = "2017-12-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/app.rb
CHANGED
|
@@ -142,7 +142,7 @@ class Git::Story::App
|
|
|
142
142
|
end
|
|
143
143
|
|
|
144
144
|
command doc: 'output the times of all production deploys'
|
|
145
|
-
def
|
|
145
|
+
def deploy_list
|
|
146
146
|
deploy_tags.map { |t| format_tag_time(t).green + " #{t.yellow}" }
|
|
147
147
|
end
|
|
148
148
|
|
|
@@ -152,16 +152,16 @@ class Git::Story::App
|
|
|
152
152
|
end
|
|
153
153
|
|
|
154
154
|
command doc: 'output the time of the last production deploy'
|
|
155
|
-
def
|
|
155
|
+
def deploy_last
|
|
156
156
|
tag = deploy_tags_last
|
|
157
157
|
format_tag_time(tag).green + " #{tag.yellow}"
|
|
158
158
|
end
|
|
159
159
|
|
|
160
160
|
command doc: 'output log of changes since last production deploy tag'
|
|
161
|
-
def deploy_log
|
|
161
|
+
def deploy_log(ref = deploy_tags.last, last_ref = nil)
|
|
162
162
|
fetch_tags
|
|
163
163
|
opts = '--pretty=tformat:"%C(yellow)%h%Creset %C(green)%ci%Creset %s (%Cred%an <%ae>%Creset)"'
|
|
164
|
-
capture("git log #{opts} #{
|
|
164
|
+
capture("git log #{opts} #{ref}..#{last_ref}")
|
|
165
165
|
end
|
|
166
166
|
|
|
167
167
|
command doc: '[REF] output diff since last production deploy tag'
|
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.1.
|
|
4
|
+
version: 0.1.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: 2017-12-
|
|
11
|
+
date: 2017-12-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gem_hadar
|