lita-vrt-mess 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changelog.md +26 -0
- data/lib/lita/handlers/vrt_mess.rb +4 -2
- data/lita-vrt-mess.gemspec +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e196b73cf8e2e0f13a3a1504b501d43622b6fd63b5c51eb3a3f23578e2acd34
|
4
|
+
data.tar.gz: 047b9b58cee9ca7af170eedea3133cdb75afac26dc77e9a27e9a32306fe9bbd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e309ee698bf797f030d42d892accee8b1c9aa649aafd509f9660ea702dfa7e97df114b3c2d5b52410a9dd8338a9b6589c145532d6d0f027bb3a97df76b5de9d1
|
7
|
+
data.tar.gz: 7637dbbe0f9e97f2e105af7ea0af62fa3fab3a4dcb866da6a1d7041283c73c431514cfe9e7fa85bd3f1da5d7ab8684799ab27f3b177fb914997bccd88bf377bd
|
data/changelog.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [Unreleased]
|
8
|
+
### Security
|
9
|
+
### Added
|
10
|
+
### Changed
|
11
|
+
### Fixed
|
12
|
+
### Removed
|
13
|
+
### Deprecated
|
14
|
+
|
15
|
+
## [0.1.1] - 2019-10-1920
|
16
|
+
### Added
|
17
|
+
- Changelog file (this file)
|
18
|
+
- Handle the case when there is no menu.
|
19
|
+
|
20
|
+
## [0.1.0] - 2019-10-1920
|
21
|
+
### Added
|
22
|
+
- First release
|
23
|
+
|
24
|
+
[Unreleased]: https://github.com/zipkid/Homematic-CCU/compare/v0.1.1...HEAD
|
25
|
+
[0.1.1]: https://github.com/zipkid/Homematic-CCU/compare/v0.1.0...v0.1.1
|
26
|
+
[0.1.0]: https://github.com/zipkid/Homematic-CCU/releases/tag/v0.1.0
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'httparty'
|
2
2
|
require 'nokogiri'
|
3
3
|
|
4
4
|
module Lita
|
@@ -33,8 +33,9 @@ module Lita
|
|
33
33
|
cells.each_with_index do |d, i|
|
34
34
|
result << "#{header[i]} : #{d.text}"
|
35
35
|
end
|
36
|
-
result << '--------------------------'
|
36
|
+
result << '--------------------------' unless result.empty?
|
37
37
|
end
|
38
|
+
result = ['Geen menu gevonden :('] if result.empty?
|
38
39
|
result.join("\n")
|
39
40
|
end
|
40
41
|
|
@@ -46,6 +47,7 @@ module Lita
|
|
46
47
|
name = item.css('h3 img')[0]['alt']
|
47
48
|
result << "#{name} : #{item.text.strip}"
|
48
49
|
end
|
50
|
+
result = ['Geen menu gevonden :('] if result.empty?
|
49
51
|
result.join("\n")
|
50
52
|
end
|
51
53
|
|
data/lita-vrt-mess.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-vrt-mess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Goethals
|
@@ -133,6 +133,7 @@ files:
|
|
133
133
|
- Gemfile
|
134
134
|
- README.md
|
135
135
|
- Rakefile
|
136
|
+
- changelog.md
|
136
137
|
- lib/lita-vrt-mess.rb
|
137
138
|
- lib/lita/handlers/vrt_mess.rb
|
138
139
|
- lita-vrt-mess.gemspec
|