lita-cwb 0.1.3 → 0.1.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: 9c6f651900e8efe8590a1c089a66f11c3169a235
4
- data.tar.gz: 3df3757d86714752f38e7cb681c5f74a744c9d18
3
+ metadata.gz: 6a8dea757770591be1bf2deb8d5cdce1e89455da
4
+ data.tar.gz: 15bb51383f0c6ee795c5b87913a38b92eb86e7cc
5
5
  SHA512:
6
- metadata.gz: 32cc88be1b0c8b62958c4988d5925580b4227f0f7b80a61a8e2576a58f1a19ae0ce2f59204deec1e8ccfb9c0eb8eaca5c7c72c7778daeabf4cdcc50e35199535
7
- data.tar.gz: 711bb54e66c8977d16748f46744eb9b0a427874aeba2110ac18fbda08b4b21e69b176c5cac521607d1e12d82cff3c588cc935f68c7b0fdf59d56bf652855d7d3
6
+ metadata.gz: 7dc7c29aab620ee9194f1688c10cce136e1cae3a81f4619231db0b036832561396c12277ff91040c0363a734235f84cde06043e5da6907445230706152e38536
7
+ data.tar.gz: d5a70d33235ea900ec02fe1f96dbb6c74c98a49791a6ae4fcc67b53d76e370aa32eb876f200460d087691dff097f3441d5621ca9a9303c437a9801d02a8f3498
@@ -64,9 +64,9 @@ module Lita
64
64
  data = Nokogiri::XML(open(uri)) do |config|
65
65
  config.strict.noblanks
66
66
  end
67
-
68
- response.reply data.css("dataset location locationName").text
69
- response.reply data.css("dataset parameterSet parameter parameterValue").collect {|v| v.text}.join("\n\n")
67
+
68
+ response.reply [data.css("dataset location locationName").text, data.css("dataset parameterSet parameter parameterValue").collect {|v| v.text}.join("\n\n")]
69
+
70
70
  end
71
71
  end
72
72
 
data/lita-cwb.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-cwb"
3
- spec.version = "0.1.3"
3
+ spec.version = "0.1.4"
4
4
  spec.authors = ["Huei-Horng Yo"]
5
5
  spec.email = ["hiroshi@ghostsinthelab.org"]
6
6
  spec.description = "Lita handler with Open Data from Central Weather Bureau"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-cwb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huei-Horng Yo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-27 00:00:00.000000000 Z
11
+ date: 2016-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita