lita-onewheel-aqi 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/onewheel_aqi.rb +1 -1
- data/lita-onewheel-aqi.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c4ef00693518ccc8d17cd869fc6b3cedad714c5
|
4
|
+
data.tar.gz: e108aa76df1305b81bd68927b2304b3cd7c0499f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 895e1f0335b8b358cbfa5b59bb9c81d21ac28fdb263785a385400c9bd74b64fe55122fbcf4150e0be4130d53c23fde227c0795b15733638bf2d97cfb47a45c8d
|
7
|
+
data.tar.gz: 9f3d5fc9faf3e2a7dc14c92ab331f401867d1de43db93c99f45991ae182e69d86e46463984621fce29e5b9ed0655575a5da5937e598c803bdc6c2bb66b2e45f1
|
@@ -94,7 +94,7 @@ module Lita
|
|
94
94
|
def color_str(str)
|
95
95
|
aqi_range_colors.keys.each do |color_key|
|
96
96
|
if color_key.cover? str.to_i # Super secred cover sauce
|
97
|
-
color = colors[color_key]
|
97
|
+
color = colors[aqi_range_colors[color_key]]
|
98
98
|
str = "\x03#{color}#{str}\x03"
|
99
99
|
end
|
100
100
|
end
|
data/lita-onewheel-aqi.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'lita-onewheel-aqi'
|
3
|
-
spec.version = '0.2.
|
3
|
+
spec.version = '0.2.1'
|
4
4
|
spec.authors = ['Andrew Kreps']
|
5
5
|
spec.email = ['andrew.kreps@gmail.com']
|
6
|
-
spec.description = 'AQI data
|
6
|
+
spec.description = 'AQI data retrieval bot'
|
7
7
|
spec.summary = 'Reads the current AQI from aqinowapi.org and displays it.'
|
8
8
|
spec.homepage = 'https://github.com/onewheelskyward/lita-onewheel-aqi'
|
9
9
|
spec.license = 'MIT'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-onewheel-aqi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kreps
|
@@ -136,7 +136,7 @@ dependencies:
|
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0.8'
|
139
|
-
description: AQI data
|
139
|
+
description: AQI data retrieval bot
|
140
140
|
email:
|
141
141
|
- andrew.kreps@gmail.com
|
142
142
|
executables: []
|