ruboty-mstr 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/ruboty/mstr/actions/mstr.rb +1 -1
- data/lib/ruboty/mstr/version.rb +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: cd03e44f3bf4fee24d08f9b87e7928e6a0b7bde1
|
|
4
|
+
data.tar.gz: e66be0049138a4c97391190545d2f1594de2a185
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b12c353bf76b7081bff19edaba2d71ce6bae2d1d13882c82f14d180d258925ce3a9cd105fb623011b055755f6921981ed3a1a118b618cb18930d6e9534607c45
|
|
7
|
+
data.tar.gz: d696a71b18e8cf3f5ec37129eb81543084d3aa434e68bbf2d2b5b0934492da851f5ca5cdd632915f383a39852112bb76c7619855d295e6616f3b4f600a87b988
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Ruboty::Mstr
|
|
2
2
|
|
|
3
|
-
ruboty plugin to get delicious food pictures.
|
|
3
|
+
ruboty plugin to get delicious food pictures from https://mstr.in/
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -20,7 +20,7 @@ Or install it yourself as:
|
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
@ruboty 飯テロ 7
|
|
24
24
|
|
|
25
25
|
## Contributing
|
|
26
26
|
|
|
@@ -8,7 +8,7 @@ module Ruboty
|
|
|
8
8
|
MSTR_ENDPOINT_URL = 'https://mstr.in/api/photos.json'
|
|
9
9
|
|
|
10
10
|
def call
|
|
11
|
-
message.reply(mstr_photos.sample(message[:count].to_i).join($/))
|
|
11
|
+
message.reply((mstr_photos.sample(message[:count].to_i) + ['source: https://mstr.in/']).join($/))
|
|
12
12
|
rescue
|
|
13
13
|
message.reply("mstr fail: #{$!}")
|
|
14
14
|
end
|
data/lib/ruboty/mstr/version.rb
CHANGED