ruboty-rss 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: 488a0b4c2f41dc1e8eb62bf4a76f64f6fc1c2e31
4
- data.tar.gz: 8870a49c7504189ee150d48e7de5cd5f42c9a16d
3
+ metadata.gz: 3c2177aa1fa6ecfaf7c38cbf2af1fb53e2087699
4
+ data.tar.gz: f392af62b84508abfc84da0fe37928205e822c0e
5
5
  SHA512:
6
- metadata.gz: 685bd3d96cbcb4c249f8f1dab8099ae8233b47b22759ecd6af37c94b09397c9fff28fca221603f8511b4546fc94f709dc3bc7a1b83e9f94d5a728399333586e2
7
- data.tar.gz: a101485d49806391ae6e68889104da7c825b827465b4a99e4be2f613b0f2ac0a9989049b88666e5ed74df9d361dc404706473f0c016d79b8e2200187c451ca07
6
+ metadata.gz: 1615b7f9faedccaf4b6cdb14d6ad876f31b347317771c2626404d99617a17fe0b2f5e56d34ae944d99b9a26e2d693eb208bddf625f77ab50d380ce6bf94f1259
7
+ data.tar.gz: f16fb2cc92bb3cd2b7781eb70b28590ef142f6a50c7c5742d28f396f1d0060543f58ef1c0ea8d5216280d36a6bd716ca15cbe5aa92a4f46e870834ddf3ec3b7c
@@ -6,7 +6,7 @@ module Ruboty
6
6
  DEFAULT_INTERVAL = 60 * 15
7
7
  NAMESPACE = "rss"
8
8
 
9
- on(/subscribe rss (?<urls>.+)/, name: "subscribe", description: "Subscribe a new RSS feed (multiple urls with ',' separator)")
9
+ on(/subscribe rss (?<urls>.+)/, name: "subscribe", description: "Subscribe a new RSS feed (multiple urls separated by space)")
10
10
  on(/unsubscribe rss (?<id>.+)/, name: "unsubscribe", description: "Unsubscribe a new RSS feed")
11
11
  on(/list rss feeds/, name: "list", description: "List watching RSS feeds")
12
12
 
@@ -17,7 +17,7 @@ module Ruboty
17
17
  end
18
18
 
19
19
  def subscribe(message)
20
- urls = message[:urls].split(',')
20
+ urls = message[:urls].split(' ')
21
21
  urls.each do |url|
22
22
  feed = Ruboty::Rss::Feed.new(
23
23
  message.original.except(:robot).merge(
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Rss
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-rss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai