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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1596bc749ff6ad46b497452b7f4cf8b503bd58a3
4
- data.tar.gz: 2fe48f69fafa46b60b95b28dc98f7237ee43ab1f
3
+ metadata.gz: 5c4ef00693518ccc8d17cd869fc6b3cedad714c5
4
+ data.tar.gz: e108aa76df1305b81bd68927b2304b3cd7c0499f
5
5
  SHA512:
6
- metadata.gz: 1151dfe8c05ba826c6f0faf31ce6d33bfd8b0e2e8adbdf69fbf7115e97a1d52ac86779e8e080c95108b36d528069f738c46f050e1eb5c7a744f75ed7bfb06ddb
7
- data.tar.gz: 9242e9b374b9603ca4be44be5f5690d4b03e5e89c7e56e2c7ce9df9206f006ea2f848d8c225e30382f790df694d82da226a5da8b8de6e8e9acaf9d02510fdf8a
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
@@ -1,9 +1,9 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-aqi'
3
- spec.version = '0.2.0'
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 retrival bot'
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.0
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 retrival bot
139
+ description: AQI data retrieval bot
140
140
  email:
141
141
  - andrew.kreps@gmail.com
142
142
  executables: []