lita-apod 0.2.0 → 0.3.0
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/apod.rb +1 -1
- data/lita-apod.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e254eec031cb92c7f8e96e6c640a8479d903c23e
|
4
|
+
data.tar.gz: 368f646cb334d4503faf711ad7a7ff9c0d917f8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b021cb1242d84787bc7c2c161a46c5443ae9f6d35dc3c422df7df6001c0d9b19b4cadad83bdaca36bdd28f5edc5da32e2ef5815f3f03b9b8b1cb56b5ffab041
|
7
|
+
data.tar.gz: 8bdefd9b14e2d067f316c46bb5617f9777b7f58d084885b6429e8b2a5f0f8e4d1c55e419efd627ca333f57feff53273c72cd58f2405c65fff48028f62b428bf0
|
data/lib/lita/handlers/apod.rb
CHANGED
@@ -3,7 +3,7 @@ module Lita
|
|
3
3
|
class Apod < Handler
|
4
4
|
|
5
5
|
route(%r{^apod\?$}i, command: true, help: {
|
6
|
-
"apod" => "Gives you a RANDOM pretty picture! Pulled random from the NASA Picture of the Day. https://apod.nasa.gov/"
|
6
|
+
"apod?" => "Gives you a RANDOM pretty picture! Pulled random from the NASA Picture of the Day. https://apod.nasa.gov/"
|
7
7
|
}) do |response|
|
8
8
|
|
9
9
|
rando = Time.at(rand((Time.now - (60*60*24*365*5))..Time.now)).strftime('%Y-%m-%d')
|
data/lita-apod.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "lita-apod"
|
3
|
-
spec.version = "0.
|
3
|
+
spec.version = "0.3.0"
|
4
4
|
spec.authors = "John Celoria"
|
5
5
|
spec.email = "jceloria@gmail.com"
|
6
6
|
spec.description = "Pulls a picture using the NASA APOD (astronomy picture of the day) API endpoint"
|