pandorified 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pandorified/result.rb +6 -6
- data/lib/pandorified/version.rb +1 -1
- metadata +5 -5
data/lib/pandorified/result.rb
CHANGED
@@ -10,27 +10,27 @@ module Pandorified
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def status
|
13
|
-
@xml.xpath('/result/@status').first.value.to_i
|
13
|
+
@status ||= @xml.xpath('/result/@status').first.value.to_i
|
14
14
|
end
|
15
15
|
|
16
16
|
def botid
|
17
|
-
@xml.xpath('/result/@botid').first.value
|
17
|
+
@botid ||= @xml.xpath('/result/@botid').first.value
|
18
18
|
end
|
19
19
|
|
20
20
|
def custid
|
21
|
-
@xml.xpath('/result/@custid').first.value
|
21
|
+
@custid ||= @xml.xpath('/result/@custid').first.value
|
22
22
|
end
|
23
23
|
|
24
24
|
def input
|
25
|
-
@xml.xpath('/result/input').first.text
|
25
|
+
@input ||= @xml.xpath('/result/input').first.text
|
26
26
|
end
|
27
27
|
|
28
28
|
def that
|
29
|
-
@xml.xpath('/result/that').first.text
|
29
|
+
@that ||= @xml.xpath('/result/that').first.text
|
30
30
|
end
|
31
31
|
|
32
32
|
def message
|
33
|
-
@xml.xpath('/result/message').first.text
|
33
|
+
@message ||= @xml.xpath('/result/message').first.text
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|
data/lib/pandorified/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pandorified
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ default_executable:
|
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-client
|
17
|
-
requirement: &
|
17
|
+
requirement: &11848340 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *11848340
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: nokogiri
|
28
|
-
requirement: &
|
28
|
+
requirement: &11847900 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *11847900
|
37
37
|
description: Pandorified makes it easy for your Ruby scripts to interact with chat
|
38
38
|
bots hosted on Pandorabots.
|
39
39
|
email: xtagon@gmail.com
|