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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dae08632d543634fb4244346bbb7d84b67fbb6b5
4
- data.tar.gz: c789dd4b65949d9cd5860a33a15961f360c80b3e
3
+ metadata.gz: cd03e44f3bf4fee24d08f9b87e7928e6a0b7bde1
4
+ data.tar.gz: e66be0049138a4c97391190545d2f1594de2a185
5
5
  SHA512:
6
- metadata.gz: 1acc94b962f91ba9ddb31e8e4497eede9ede7279bf40351a411389741e9d2a21f431915c6f3688e846b786766a5b859d142b2bcd717d1e731bf5729fdd476f0e
7
- data.tar.gz: cabe45ebb28ee176a576f9c9333ae90aa5bf956fee35c88fce2b8a89001892ce36e037bef056ae73d7008812a258d16067924223caf08dfff0a1a981f04ebd54
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
- TODO: Write usage instructions here
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
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Mstr
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-mstr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - block_given?