capistrano-slacky 0.2.0 → 0.2.1
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/CHANGELOG.md +6 -1
- data/README.md +5 -4
- data/lib/capistrano/slacky/facade/changelog.rb +1 -1
- data/lib/capistrano/slacky/facade/revision.rb +7 -4
- data/lib/capistrano/slacky/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c9215dbde585970f40772b0738dfe16ce6fe28c9f1d974540ab0c40ff91eac2d
|
|
4
|
+
data.tar.gz: 1e3a4d6b5a595a9bd30ca70bd4f1a2e220253ec342878a4e392b89cec630d1db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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.
|
|
@@ -8,10 +8,13 @@ module Capistrano
|
|
|
8
8
|
@env = env
|
|
9
9
|
|
|
10
10
|
super(
|
|
11
|
-
I18n.t(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
|
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.
|
|
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:
|
|
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.
|
|
142
|
+
rubygems_version: 3.1.6
|
|
143
143
|
signing_key:
|
|
144
144
|
specification_version: 4
|
|
145
145
|
summary: Send Capistrano deployment status to Slack
|