bas 1.2.0 → 1.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 +3 -0
- data/lib/bas/bot/format_do_bill_alert.rb +2 -2
- data/lib/bas/version.rb +1 -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: 3574c150bdecb2fd88551db1b4add9bd5d0458d6b44eec87bd2c3efd44ff8a83
|
4
|
+
data.tar.gz: ffeac8bae610aec6449161f9c267385e84921141d953f98175a05c6186f2e641
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8588edfeb8aec0ec204a040e79bd801d1563bf45b94b7ccd50c89ed160a2a2334f4285cd54d5c001228a9de5d14d02a64800c36b10b54f31d01ed1c877c0ae34
|
7
|
+
data.tar.gz: 921b8280f7c071a8aaa7752b99b0fffabb0e1e434f6b051433a44d49f2c137e5092889250f7301e41b678ca763e9f445237a4252bb22a0731920f4731536006e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
# 1.2.1 (16.07.2024)
|
4
|
+
- [Update format message for the digital ocean alert bots use case](https://github.com/kommitters/bas/pull/84)
|
5
|
+
|
3
6
|
# 1.2.0 (12.07.2024)
|
4
7
|
- [Add bots to process digital ocean billing checker](https://github.com/kommitters/bas/issues/78)
|
5
8
|
|
@@ -93,10 +93,10 @@ module Bot
|
|
93
93
|
balance = read_response.data["billing"]["month_to_date_balance"]
|
94
94
|
threshold = process_options[:threshold]
|
95
95
|
|
96
|
-
"""The daily usage was exceeded.
|
96
|
+
""":warning: The **DigitalOcean** daily usage was exceeded.
|
97
97
|
Current balance: #{balance}
|
98
98
|
Threshold: #{threshold}
|
99
|
-
|
99
|
+
Current daily usage: #{daily_usage.round(3)}
|
100
100
|
"""
|
101
101
|
end
|
102
102
|
end
|
data/lib/bas/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kommitters Open Source
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gmail_xoauth
|