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 +4 -4
- data/lib/lita/handlers/cwb.rb +3 -3
- data/lita-cwb.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a8dea757770591be1bf2deb8d5cdce1e89455da
|
4
|
+
data.tar.gz: 15bb51383f0c6ee795c5b87913a38b92eb86e7cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dc7c29aab620ee9194f1688c10cce136e1cae3a81f4619231db0b036832561396c12277ff91040c0363a734235f84cde06043e5da6907445230706152e38536
|
7
|
+
data.tar.gz: d5a70d33235ea900ec02fe1f96dbb6c74c98a49791a6ae4fcc67b53d76e370aa32eb876f200460d087691dff097f3441d5621ca9a9303c437a9801d02a8f3498
|
data/lib/lita/handlers/cwb.rb
CHANGED
@@ -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
|
-
|
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
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.
|
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-
|
11
|
+
date: 2016-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|