ruboty-rainfall_jp 1.1.0 → 1.2.0

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: 4113aa1bc338af3b2adcf6fa8038db59e2c6294e
4
- data.tar.gz: 0b5dff11fa4a5bd38f4509c4aa0216df6ddcd44b
3
+ metadata.gz: a0302f106a38688378d8042c7170d0ed98ea6f4a
4
+ data.tar.gz: 2c729e554cf94bace035ab6153ea4b3ea5e68c44
5
5
  SHA512:
6
- metadata.gz: 567733c9b4fc7ed82a84026eeb64eec23005de0bbfac681ef54799707207c42677383bee7e6ab1204eab6f89abab41390913ef82e748f86dfffe93bb09405e7a
7
- data.tar.gz: 9776e5debd06be636e4ebada2ce6317502f2f2d09c373bff3fb3954d1abd70f2eb231930592968f7cceda4298c0a1e0a15e198431b142e45f875d2f845a2c84b
6
+ metadata.gz: 427a07b114df67b0a1ba09ec0799419cbdec7e1a3a8f724f09380d5291322def638f95be1858ecabc1104e55af1254a4f01196684dfc8ae646b12677fe587684
7
+ data.tar.gz: 60acbfd581d67f7432c075859a79771d93287bd3d92452f4daaeb41aee59c222a3f7584a4758a10e18eeadaf8d75f759d7d8a9ed080ec4ed561a948f0f53cfbe
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module RainfallJp
3
- VERSION = "1.1.0"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
@@ -9,7 +9,7 @@ module Ruboty
9
9
  DEFAULT_LOCATION = 'Ebisu'
10
10
 
11
11
  on(
12
- /Tell rainfall(?: (?:at|in) (?<query>.+))?/i,
12
+ /Tell (:?me )?rainfall(?: (?:at|in) (?<query>.+))?\z/i,
13
13
  name: 'rainfall_jp',
14
14
  description: 'show rainfall forecast'
15
15
  )
@@ -29,7 +29,7 @@ module Ruboty
29
29
  end
30
30
 
31
31
  result = fetch_rainfall(geometry)
32
- message.reply("Rainfall forecast: #{query} (#{geometry})")
32
+ message.reply("Rainfall forecast: #{query} (l/l: #{geometry})")
33
33
  message.reply(result)
34
34
  rescue Exception => e
35
35
  message.reply('ಠ_ಠ')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-rainfall_jp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shimpei Makimoto