capistrano-slacky 0.2.1 → 0.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9215dbde585970f40772b0738dfe16ce6fe28c9f1d974540ab0c40ff91eac2d
4
- data.tar.gz: 1e3a4d6b5a595a9bd30ca70bd4f1a2e220253ec342878a4e392b89cec630d1db
3
+ metadata.gz: 661b607b987ad599e6b2eaad1bf4688777a0ad20ef250a0a5abd8091623e9835
4
+ data.tar.gz: 8f77f8f59505476d0a66ba00285f67eba980531e663b85746ca39aa1440d9610
5
5
  SHA512:
6
- metadata.gz: 74ca7ebf6508ef0a6acf9ffdd536ed1301bda168a78dfdf3124ca530ccbb81e3b36a4fc6bd57ff192c41a1ff159675d2e0a53baa5a25cdd04e9706d5e844c02e
7
- data.tar.gz: e4387b043edcd26bdd9b83d4b12fa127a672b67ba40414563c8a96931de23dbb4cdedd420ce0a117784f2c2153ff09fec8b13b6b25d4fb5dd1dab11bfa155397
6
+ metadata.gz: af93b201bd9fc9d6fa33f8c8ed38cface1ccc39a1db2c75aceb5dcc7e3a7cbe4931a8d37fff490dd692550a08a2f61c272f0573ded07d60e36c4c569cf46b99b
7
+ data.tar.gz: 327c05c1f6c16a7a56aeb6d7f3359bedba2c5f5183631d692da158e88d62035a3081af4b08850e18c09079eca7b5d2e4cfca28e10de7c859ef035cd00412c85a
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.2.2] - 2022-05-09
10
+ ### Fixed
11
+ - Add a reverse order for a `git log ...`. ([@chubchenko][])
12
+
9
13
  ## [0.2.1] - 2022-05-02
10
14
  ### Changed
11
15
  - Add a reverse order for `Diff` to display the correct sequence of merge commits. ([@chubchenko][])
@@ -57,7 +61,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
57
61
  - Initial version. ([@chubchenko][])
58
62
 
59
63
  [@chubchenko]: https://github.com/chubchenko
60
- [Unreleased]: https://github.com/chubchenko/capistrano-slacky/compare/v0.2.1...HEAD
64
+ [Unreleased]: https://github.com/chubchenko/capistrano-slacky/compare/v0.2.2...HEAD
65
+ [0.2.2]: https://github.com/chubchenko/capistrano-slacky/compare/v0.2.1...v0.2.2
61
66
  [0.2.1]: https://github.com/chubchenko/capistrano-slacky/compare/v0.2.0...v0.2.1
62
67
  [0.2.0]: https://github.com/chubchenko/capistrano-slacky/compare/v0.1.5...v0.2.0
63
68
  [0.1.5]: https://github.com/chubchenko/capistrano-slacky/compare/v0.1.4...v0.1.5
@@ -24,7 +24,7 @@ module Capistrano
24
24
  :git, :log, "--oneline", "--first-parent", "#{previous}..#{current}"
25
25
  ).split("\n")
26
26
 
27
- log.map.with_index(1) do |line, index|
27
+ log.reverse.map.with_index(1) do |line, index|
28
28
  sha, commit = line.match(/^(\w+) (.*+?)/).captures
29
29
 
30
30
  if /^Merge pull request/.match?(commit)
@@ -25,7 +25,7 @@ module Capistrano
25
25
  )
26
26
  end
27
27
 
28
- difference.reverse.map do |message|
28
+ difference.map do |message|
29
29
  ::Capistrano::Slacky::Block::Context.new(
30
30
  *message.to_a
31
31
  )
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Capistrano
4
4
  module Slacky
5
- VERSION = "0.2.1"
5
+ VERSION = "0.2.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-slacky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Chubchenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-02 00:00:00.000000000 Z
11
+ date: 2022-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano