lita-onewheel-moonphase 2.2.0 → 2.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
  SHA256:
3
- metadata.gz: 16b48e58385773bf123bbb901fc4eea2bea9961d4bb3468f0baac477b77eac9b
4
- data.tar.gz: c1de096dccd51c213e521e7699f7d0f116ae5b90db0021b5da4f9b0cd6114184
3
+ metadata.gz: c5a55264f90bf8b1b60123c5459ce1334a9526d5a0e2ca0413e92c0aacf0f469
4
+ data.tar.gz: 1aada30e221b985517665c552126ab25e8c2c958997ed7792056b806c643d2cf
5
5
  SHA512:
6
- metadata.gz: f3bfee8aefafb52a90ed49754f3f36542a4c28b0c475685c1de4237f8baef81d5c07e83a5900d560401570a6134df0dcc513b2a81f1bf47447832f355fe26cc7
7
- data.tar.gz: c22933fa084ac5f2ce551a326a89018187d5fd9d765fb30647e0856497c480e8fd72a3eae48f354742c5c89c63b907e16924b298421071c9865375fdaa2e10a7
6
+ metadata.gz: 5fbd2419cfd843b6155e6827273a9179532b51cb8727b2143c46b5966fc7c6226d656317650f87e84857dbf6b5b8067ae0c04142bb3a250ad9207aaef71f2928
7
+ data.tar.gz: 2b2e9ee9467a90b939caaf41c036741d8b5421f370cda07aba8a3acffb2858bf2e135700507dd77ebbac8c9979d8a00606c6e1322bf8bb65cf48cf499d898610
@@ -16,23 +16,23 @@ module Lita
16
16
  # 🌑🌛
17
17
 
18
18
  def mars(response)
19
- api_resp = RestClient.get 'https://api.maas2.jiinxt.com/'
19
+ api_resp = RestClient.get 'https://api.maas2.apollorion.com'
20
20
  data = JSON.parse(api_resp)
21
- {
22
- "status": 200,
23
- "id": 198,
24
- "sol": 2108,
25
- "season": "Month 7",
26
- "min_temp": -65,
27
- "max_temp": -24,
28
- "atmo_opacity": "Sunny",
29
- "sunrise": "05:19",
30
- "sunset": "17:27",
31
- "min_gts_temp": -58,
32
- "max_gts_temp": -15,
33
- "unitOfMeasure": "Celsius",
34
- "TZ_Data": "America/Port_of_Spain"
35
- }
21
+ # {
22
+ # "status": 200,
23
+ # "id": 198,
24
+ # "sol": 2108,
25
+ # "season": "Month 7",
26
+ # "min_temp": -65,
27
+ # "max_temp": -24,
28
+ # "atmo_opacity": "Sunny",
29
+ # "sunrise": "05:19",
30
+ # "sunset": "17:27",
31
+ # "min_gts_temp": -58,
32
+ # "max_gts_temp": -15,
33
+ # "unitOfMeasure": "Celsius",
34
+ # "TZ_Data": "America/Port_of_Spain"
35
+ # }
36
36
 
37
37
  resp = "Sol #{data['sol']}, #{data['season']}, A #{data['atmo_opacity']} day with a min temp of #{data['min_temp']} and a high of #{data['max_temp']} #{data['unitOfMeasure']}. Sunrise is at #{data['sunrise']} and sunset occurs at #{data['sunset']}."
38
38
  response.reply resp
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-moonphase'
3
- spec.version = '2.2.0'
3
+ spec.version = '2.2.1'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = %q{Lita interface to a lambda representing Moon phase data. With a dash of Mars.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-moonphase
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps