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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 595076237d4e4862f9aa5c615bae73312ba412f953549d2e426b3166c36608cc
4
- data.tar.gz: 221686b0a213c00a3bf1973963c2b3871ad24861f8f90f6095fb498c51de287c
3
+ metadata.gz: 3574c150bdecb2fd88551db1b4add9bd5d0458d6b44eec87bd2c3efd44ff8a83
4
+ data.tar.gz: ffeac8bae610aec6449161f9c267385e84921141d953f98175a05c6186f2e641
5
5
  SHA512:
6
- metadata.gz: '083d7414310b342bdc27c5be5bd44fa7ba347e070081c47bd784c92bbb8a524181aa086b1912ef876bd90c6679203e7818b5a58205ca352a5f127e85435e75e9'
7
- data.tar.gz: d1f183178454b2b2a8883862a1dbaff9a6be69f83520d45ae02f0a35ae9027647118f89cbff85287c4597639b1942b7454b45c9e4b2efc84085de53990b8893a
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
- Expected daily usage: #{daily_usage.round(3)}
99
+ Current daily usage: #{daily_usage.round(3)}
100
100
  """
101
101
  end
102
102
  end
data/lib/bas/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Bas
4
4
  # Gem version
5
- VERSION = "1.2.0"
5
+ VERSION = "1.2.1"
6
6
  end
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.0
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-12 00:00:00.000000000 Z
11
+ date: 2024-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gmail_xoauth