capistrano-slacky 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00b2aed8c3c0bcd18970ed47c305cca3143c5c535bcb5ca10a693e29b4c1bc5b
4
- data.tar.gz: 7c90f64ceefb7e2ea35379e018d9ce95a0d9f271e20959671ad7b512fd50818d
3
+ metadata.gz: c9215dbde585970f40772b0738dfe16ce6fe28c9f1d974540ab0c40ff91eac2d
4
+ data.tar.gz: 1e3a4d6b5a595a9bd30ca70bd4f1a2e220253ec342878a4e392b89cec630d1db
5
5
  SHA512:
6
- metadata.gz: 91e5c94bb9316628a420db5b6c3b94afbb71df72beb437921475835bfb903f92d261b9dfd59a8f038043633ccfd73d7f73ace86983254ed78048d306c948f2de
7
- data.tar.gz: f31562940b77ca44bde8912af5368fc32e0012049d6a8f196fe761799149658d49ce44d1384e062ceb3a07d8da886bf3512e3e8aa1dce167a50f050d4c0a1d61
6
+ metadata.gz: 74ca7ebf6508ef0a6acf9ffdd536ed1301bda168a78dfdf3124ca530ccbb81e3b36a4fc6bd57ff192c41a1ff159675d2e0a53baa5a25cdd04e9706d5e844c02e
7
+ data.tar.gz: e4387b043edcd26bdd9b83d4b12fa127a672b67ba40414563c8a96931de23dbb4cdedd420ce0a117784f2c2153ff09fec8b13b6b25d4fb5dd1dab11bfa155397
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.1] - 2022-05-02
10
+ ### Changed
11
+ - Add a reverse order for `Diff` to display the correct sequence of merge commits. ([@chubchenko][])
12
+
9
13
  ## [0.2.0] - 2021-12-20
10
14
  ### Added
11
15
  - Add new header emoticons. ([@chubchenko][])
@@ -53,7 +57,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
53
57
  - Initial version. ([@chubchenko][])
54
58
 
55
59
  [@chubchenko]: https://github.com/chubchenko
56
- [Unreleased]: https://github.com/chubchenko/capistrano-slacky/compare/v0.2.0...HEAD
60
+ [Unreleased]: https://github.com/chubchenko/capistrano-slacky/compare/v0.2.1...HEAD
61
+ [0.2.1]: https://github.com/chubchenko/capistrano-slacky/compare/v0.2.0...v0.2.1
57
62
  [0.2.0]: https://github.com/chubchenko/capistrano-slacky/compare/v0.1.5...v0.2.0
58
63
  [0.1.5]: https://github.com/chubchenko/capistrano-slacky/compare/v0.1.4...v0.1.5
59
64
  [0.1.4]: https://github.com/chubchenko/capistrano-slacky/compare/v0.1.3...v0.1.4
data/README.md CHANGED
@@ -51,10 +51,11 @@ bundle install
51
51
  Out of the box, the gem has a default configuration:
52
52
 
53
53
  ```ruby
54
- set :slacky, username: "ChatOps", # Set your bot's user name.
55
- icon_emoji: ":robot_face:", # Emoji to use as the icon for this message.
56
- channel: "#deployment", # The name of the channel to send a message to.
57
- klass: Capistrano::Slacky::Messaging::Default # The class that responsible for creating a message.
54
+ set :slacky,
55
+ username: "ChatOps", # Set your bot's user name.
56
+ icon_emoji: ":robot_face:", # Emoji to use as the icon for this message.
57
+ channel: "#deployment", # The name of the channel to send a message to.
58
+ klass: Capistrano::Slacky::Messaging::Default # The class that responsible for creating a message.
58
59
  ```
59
60
 
60
61
  So you can easily tweak your deployment messages and all other configuration to what you want.
@@ -25,7 +25,7 @@ module Capistrano
25
25
  )
26
26
  end
27
27
 
28
- difference.map do |message|
28
+ difference.reverse.map do |message|
29
29
  ::Capistrano::Slacky::Block::Context.new(
30
30
  *message.to_a
31
31
  )
@@ -8,10 +8,13 @@ module Capistrano
8
8
  @env = env
9
9
 
10
10
  super(
11
- I18n.t("slacky.revision", scope: "capistrano",
12
- repository_url: ::Capistrano::Slacky.repo.url,
13
- current: current,
14
- previous: previous)
11
+ I18n.t(
12
+ "slacky.revision",
13
+ scope: "capistrano",
14
+ repository_url: ::Capistrano::Slacky.repo.url,
15
+ current: current,
16
+ previous: previous
17
+ )
15
18
  )
16
19
  end
17
20
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Capistrano
4
4
  module Slacky
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
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.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Chubchenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-20 00:00:00.000000000 Z
11
+ date: 2022-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  requirements: []
142
- rubygems_version: 3.2.28
142
+ rubygems_version: 3.1.6
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Send Capistrano deployment status to Slack