releasecop 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/releasecop/comparison.rb +3 -1
- data/lib/releasecop/manifest_item.rb +1 -1
- data/lib/releasecop/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: 8ae20cd71aa1981895c61d7f9e3890c5eb1281b9b2481eeca4503e54e8fd397e
|
4
|
+
data.tar.gz: d7ebfe94b23fb0d0a4c6d9aa3deea35939c6340737328759c466a4d90b6a894f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6ea618fe766b8bfcc28ba92d35bba5608c431d3fd7832f160ee9d35d71b4f6a187a32a9060d30804b928ad8b3867af565753896d46e0336a87d1776d2832388
|
7
|
+
data.tar.gz: e7939962e5d4c288fdbe2ee1de6f113d4e05fdc8783977c9cab5816fdb7f56fc3bf4ca873d7301c80c62383fccecbe26075f374302e81cbd0a516ca62b5d41b5
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,8 @@ module Releasecop
|
|
2
2
|
class Comparison
|
3
3
|
attr_accessor :lines, :behind, :ahead
|
4
4
|
|
5
|
+
PRETTY_FORMAT = '%h %ad %s (%an, %ae)'
|
6
|
+
|
5
7
|
def initialize(ahead, behind)
|
6
8
|
@ahead = ahead
|
7
9
|
@behind = behind
|
@@ -18,7 +20,7 @@ module Releasecop
|
|
18
20
|
private
|
19
21
|
|
20
22
|
def log
|
21
|
-
`git log #{@behind.for_rev_range}..#{@ahead.for_rev_range} --pretty=format:"
|
23
|
+
`git log #{@behind.for_rev_range}..#{@ahead.for_rev_range} --pretty=format:"#{PRETTY_FORMAT}" --date=short --no-merges`
|
22
24
|
end
|
23
25
|
end
|
24
26
|
end
|
@@ -30,7 +30,7 @@ module Releasecop
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def find_tag_pattern_sha
|
33
|
-
`git for-each-ref --format='%(objectname)' --count=1 --sort=-authordate --sort=-committerdate 'refs/tags/#{@options['tag_pattern']}'`.strip
|
33
|
+
`git for-each-ref --format='%(objectname)' --count=1 --sort=-authordate --sort=-committerdate --sort=-creatordate 'refs/tags/#{@options['tag_pattern']}'`.strip
|
34
34
|
end
|
35
35
|
|
36
36
|
# not thread-safe
|
data/lib/releasecop/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: releasecop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joey Aghion
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|