chat_notifier 0.2.2 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -14
- data/lib/chat_notifier/version.rb +1 -1
- data/lib/chat_notifier.rb +3 -3
- 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: 5308e4e0f01c30a99f8757f25931aac529ef902c6104b430e262c883a6682f87
|
4
|
+
data.tar.gz: f51b1b019ce7039cb962b5d85e717e5e6c44f82c093c5c0a9cb9e2c920c88191
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3e69e1c6e97a60716ba7ef51c3e9ee9f3416a27e63b1ba91dc0dfa1dc69c31f8ea5b06da3ba12f8b68407415f06022737a15af5ee6b33418cb9fd74ab21bdb4
|
7
|
+
data.tar.gz: 97430ec5fd718f4a81c7b98d84bae7cc1d85520d92b5daf293d64853d2f3af3898ca8cd640c753f55910255f61182715d159c029d37c35e8f270b72c1751d30e
|
data/CHANGELOG.md
CHANGED
@@ -5,22 +5,15 @@ 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.4] - 2025-01-16
|
9
9
|
|
10
|
-
###
|
11
|
-
|
12
|
-
- Test on ruby 3.3
|
13
|
-
|
14
|
-
### Fixed
|
15
|
-
|
16
|
-
- Load "chat_notifier" from the minitest plugin
|
17
|
-
|
18
|
-
## [0.2.1] - 2024-07-01
|
10
|
+
### Changed
|
19
11
|
|
20
|
-
|
12
|
+
- Add support for Ruby 3.4
|
13
|
+
- Check for Rails application before using Rails.application
|
21
14
|
|
22
|
-
|
15
|
+
## [0.2.3] - 2024-09-21
|
23
16
|
|
24
|
-
###
|
17
|
+
### Fixed
|
25
18
|
|
26
|
-
-
|
19
|
+
- Incorrect configuration of the logger
|
data/lib/chat_notifier.rb
CHANGED
@@ -11,13 +11,13 @@ module ChatNotifier
|
|
11
11
|
DebugExceptionLocation = Data.define(:location)
|
12
12
|
DebugSummary = Data.define(:failed_examples)
|
13
13
|
|
14
|
+
require "logger"
|
15
|
+
@logger = Logger.new($stdout)
|
14
16
|
class << self
|
15
|
-
require "logger"
|
16
|
-
@logger = Logger.new($stdout)
|
17
17
|
attr_accessor :logger
|
18
18
|
|
19
19
|
def app
|
20
|
-
if defined?(::Rails)
|
20
|
+
if defined?(::Rails) && Rails.respond_to?(:application)
|
21
21
|
Rails.application.class.module_parent
|
22
22
|
else
|
23
23
|
ENV.fetch("NOTIFY_APP_NAME")
|
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.4
|
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:
|
12
|
+
date: 2025-01-16 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Send test results to chat
|
15
15
|
email:
|