chat_notifier 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 +4 -4
- data/CHANGELOG.md +9 -11
- data/README.md +12 -0
- data/lib/chat_notifier/version.rb +1 -1
- data/lib/minitest/chat_notifier_plugin.rb +2 -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: ebe5f694e93b0b1e9481da7ed105d05920bd542139d9247088d6318429f1f2ba
|
4
|
+
data.tar.gz: 62579d8a4549f2b226e13cc79e6ec638fc53f55555fc36f7cd59ad28b1cfc9ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bb0a22712965f884e23355247576e3808b064e7fc207a0e6edd45211b93db4434d44582aa7d0483b348e558b79f4ede2c5a93e8cc71a8244dd1a20bd2d21fca
|
7
|
+
data.tar.gz: 2e44b3715a7ee5cc0947eb19e918df746d8b61689bd77f1be4abc81dce3c043f1badf108ea775a2beea7a390ac94988b2d2d1694565e267a15fe7e6a448a0608
|
data/CHANGELOG.md
CHANGED
@@ -5,24 +5,22 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
-
## [0.2.
|
8
|
+
## [0.2.2] - 2024-09-05
|
9
9
|
|
10
10
|
### Added
|
11
11
|
|
12
|
-
-
|
13
|
-
|
14
|
-
### Changed
|
12
|
+
- Test on ruby 3.3
|
15
13
|
|
16
|
-
|
14
|
+
### Fixed
|
17
15
|
|
18
|
-
|
16
|
+
- Load "chat_notifier" from the minitest plugin
|
19
17
|
|
20
|
-
|
18
|
+
## [0.2.1] - 2024-07-01
|
21
19
|
|
22
|
-
|
20
|
+
### Added
|
23
21
|
|
24
|
-
|
22
|
+
- Version and release management with reissue gem.
|
25
23
|
|
26
|
-
###
|
24
|
+
### Changed
|
27
25
|
|
28
|
-
-
|
26
|
+
- Slack chatter looks for NOTIFY_SLACK ENV variables instead of just SLACK
|
data/README.md
CHANGED
@@ -76,3 +76,15 @@ namespace :chat_notifier do
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
```
|
79
|
+
|
80
|
+
## Contributing
|
81
|
+
|
82
|
+
This gem is managed with [Reissue](https://github.com/SOFware/reissue).
|
83
|
+
|
84
|
+
Releasing a new version:
|
85
|
+
|
86
|
+
```sh
|
87
|
+
rake build:checksum
|
88
|
+
rake release
|
89
|
+
git push
|
90
|
+
```
|
@@ -1,5 +1,6 @@
|
|
1
1
|
module Minitest
|
2
2
|
def self.plugin_chat_notifier_init(options)
|
3
|
+
require "chat_notifier"
|
3
4
|
Minitest.reporter << ChatNotifierPlugin.new(options[:io], options)
|
4
5
|
end
|
5
6
|
|
@@ -8,7 +9,7 @@ module Minitest
|
|
8
9
|
Summary = Data.define(:failed_examples)
|
9
10
|
def report
|
10
11
|
summary = Summary[(results.map{ |result| ExceptionLocation[result.source_location] })]
|
11
|
-
ChatNotifier.call(summary:)
|
12
|
+
::ChatNotifier.call(summary:)
|
12
13
|
end
|
13
14
|
end
|
14
15
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chat_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Gay
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-09-05 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Send test results to chat
|
15
15
|
email:
|