bas 1.4.2 → 1.4.3

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: 6956cdda4a4735a5eb0a3d4413d41a972ac8190bb8d7da920e298a71bbe41516
4
- data.tar.gz: 27c071aa1a681fb0f657af8e21c46057e3eb11cb467b5dd715f28c2f691d6dda
3
+ metadata.gz: 8d9e48098c9b3ae08d35191b6b0e3160b77ea152e8ba750b4289141adf7c2c96
4
+ data.tar.gz: f95c5eed9961f2601657000f28c1e97df519d49ef20647a043be8959245213e8
5
5
  SHA512:
6
- metadata.gz: bb89f398a03c6c8bae97798d069772790f2bd80a3ef7db4956b86751c4ef5a2b04420184e76ed138685f45dee3b1a9cdb1994517ca585663d9998a40bcb07f83
7
- data.tar.gz: 9a586528f93844ad4e68d34a938bb2cff62eec5cd58fd952d1b431c5641c7af9ba5933ed8803b7fda42086b258b167c3826d2b492546887155b47e563c080b1f
6
+ metadata.gz: 654bf19a7194b4bff558a5b5f4734ba502f7845939d2da83fd0e468dcbe9494a9d30bba74ba19ba43c7a66f4f49b34aaf582a0f0e36c4dbe280046c18094a7d3
7
+ data.tar.gz: 2cf725ff23efedff5046110f1d2ca7d373cce6ad200277098ac1a0f136cd5a1fe5daab7d4e088cd09408dfbc76b375b76bc9907f20df93c93b607e79ce6be299
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ # 1.4.3 (06.09.2024)
4
+ - [Adjust website monitoring use case notifications](https://github.com/kommitters/bas/issues/99)
5
+
3
6
  # 1.4.2 (28.08.2024)
4
7
  - [Adjust digital ocean billing bots](https://github.com/kommitters/bas/issues/97)
5
8
 
@@ -81,9 +81,7 @@ module Bot
81
81
  end
82
82
 
83
83
  def last_billing
84
- return read_response.data["billing"] unless read_response.data.nil?
85
-
86
- { month_to_date_balance: 0 }
84
+ read_response.data.nil? ? nil : read_response.data["billing"]
87
85
  end
88
86
  end
89
87
  end
@@ -90,12 +90,7 @@ module Bot
90
90
  end
91
91
 
92
92
  def notification(response)
93
- data = {
94
- domain: read_response.data["url"],
95
- status_code: response.code
96
- }
97
-
98
- ":warning: Domain is down: #{data}"
93
+ ":warning: The Domain #{read_response.data["url"]} is down with an error code of #{response.code}"
99
94
  end
100
95
  end
101
96
  end
data/lib/bas/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Bas
4
4
  # Gem version
5
- VERSION = "1.4.2"
5
+ VERSION = "1.4.3"
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.4.2
4
+ version: 1.4.3
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-08-29 00:00:00.000000000 Z
11
+ date: 2024-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gmail_xoauth
@@ -262,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
262
262
  - !ruby/object:Gem::Version
263
263
  version: '0'
264
264
  requirements: []
265
- rubygems_version: 3.5.11
265
+ rubygems_version: 3.5.16
266
266
  signing_key:
267
267
  specification_version: 4
268
268
  summary: BAS - Business automation system