robot_remote_server 2.5.5.2 → 2.5.6
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.
- data/README.rdoc +1 -1
- data/lib/robot_remote_server.rb +7 -3
- data/robot_remote_server.gemspec +1 -1
- metadata +30 -56
data/README.rdoc
CHANGED
@@ -56,4 +56,4 @@ You'll notice a few options are available to you:
|
|
56
56
|
host:: The domain name or address at which the server will serve content. If you're unsure, use 'localhost'
|
57
57
|
port:: You can optionally change the port on which the server runs. It default to 8270, as those are the ASCII character codes for R and F (Robot Framework)
|
58
58
|
yardoc_file:: The file-based cache that yardoc generated when you ran it for your testing library. Without this, the remote library cannot access documentation or method signatures from your remote testing library.
|
59
|
-
yardoc_options:: A multi-dimensional array of options, which allow you to tweak which parts of the documentation are printed and in what order. The first element of each child array is a symbol representing a method to which YARD::CodeObject::Base will respond. The second value is an "optional" human-readable label to be printed just before the output of the method. If you don't want a
|
59
|
+
yardoc_options:: A multi-dimensional array of options, which allow you to tweak which parts of the documentation are printed and in what order. The first element of each child array is a symbol representing a method to which YARD::CodeObject::Base will respond. The second value is an "optional" human-readable label to be printed just before the output of the method. If you don't want a label, provide an empty string '' as the second value.
|
data/lib/robot_remote_server.rb
CHANGED
@@ -50,7 +50,7 @@ class RobotRemoteServer < XMLRPC::Server
|
|
50
50
|
|
51
51
|
def get_keyword_names
|
52
52
|
# Implicit methods can't be used as keywords
|
53
|
-
@library.methods - Object.new.methods
|
53
|
+
@library.methods - Object.new.methods + [:stop_remote_server]
|
54
54
|
end
|
55
55
|
|
56
56
|
def run_keyword(name, args)
|
@@ -58,7 +58,11 @@ class RobotRemoteServer < XMLRPC::Server
|
|
58
58
|
result = {:status=>'PASS', :return=>'', :output=>'',
|
59
59
|
:error=>'', :traceback=>''}
|
60
60
|
begin
|
61
|
-
|
61
|
+
if name == 'stop_remote_server'
|
62
|
+
shutdown
|
63
|
+
else
|
64
|
+
return_value = @library.send(name, *args)
|
65
|
+
end
|
62
66
|
result[:return] = handle_return_value(return_value)
|
63
67
|
rescue Exception => exception
|
64
68
|
result[:status] = 'FAIL'
|
@@ -129,4 +133,4 @@ class RobotRemoteServer < XMLRPC::Server
|
|
129
133
|
return @output
|
130
134
|
end
|
131
135
|
|
132
|
-
end
|
136
|
+
end
|
data/robot_remote_server.gemspec
CHANGED
metadata
CHANGED
@@ -1,52 +1,37 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: robot_remote_server
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 5
|
9
|
-
- 5
|
10
|
-
- 2
|
11
|
-
version: 2.5.5.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.5.6
|
5
|
+
prerelease:
|
12
6
|
platform: ruby
|
13
|
-
authors:
|
7
|
+
authors:
|
14
8
|
- Daniel Gregoire
|
15
9
|
autorequire:
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2010-12-15 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
23
15
|
name: yard
|
24
|
-
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70182149515340 !ruby/object:Gem::Requirement
|
26
17
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
hash: 1
|
31
|
-
segments:
|
32
|
-
- 0
|
33
|
-
- 6
|
34
|
-
- 3
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
35
21
|
version: 0.6.3
|
36
22
|
type: :runtime
|
37
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70182149515340
|
38
25
|
description: Remote server for Robot Framework in Ruby
|
39
|
-
email:
|
26
|
+
email: ''
|
40
27
|
executables: []
|
41
|
-
|
42
28
|
extensions: []
|
43
|
-
|
44
|
-
extra_rdoc_files:
|
29
|
+
extra_rdoc_files:
|
45
30
|
- CHANGELOG
|
46
31
|
- LICENSE
|
47
32
|
- README.rdoc
|
48
33
|
- lib/robot_remote_server.rb
|
49
|
-
files:
|
34
|
+
files:
|
50
35
|
- CHANGELOG
|
51
36
|
- LICENSE
|
52
37
|
- Manifest
|
@@ -54,45 +39,34 @@ files:
|
|
54
39
|
- Rakefile
|
55
40
|
- lib/robot_remote_server.rb
|
56
41
|
- robot_remote_server.gemspec
|
57
|
-
has_rdoc: true
|
58
42
|
homepage: http://github.com/semperos/robot-remote-server
|
59
43
|
licenses: []
|
60
|
-
|
61
44
|
post_install_message:
|
62
|
-
rdoc_options:
|
45
|
+
rdoc_options:
|
63
46
|
- --line-numbers
|
64
47
|
- --inline-source
|
65
48
|
- --title
|
66
49
|
- Robot_remote_server
|
67
50
|
- --main
|
68
51
|
- README.rdoc
|
69
|
-
require_paths:
|
52
|
+
require_paths:
|
70
53
|
- lib
|
71
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
54
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
72
55
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
77
|
-
|
78
|
-
- 0
|
79
|
-
version: "0"
|
80
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ! '>='
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
60
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
61
|
none: false
|
82
|
-
requirements:
|
83
|
-
- -
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
|
86
|
-
segments:
|
87
|
-
- 1
|
88
|
-
- 2
|
89
|
-
version: "1.2"
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '1.2'
|
90
66
|
requirements: []
|
91
|
-
|
92
67
|
rubyforge_project: robot_remote_server
|
93
|
-
rubygems_version: 1.
|
68
|
+
rubygems_version: 1.8.10
|
94
69
|
signing_key:
|
95
70
|
specification_version: 3
|
96
71
|
summary: Remote server for Robot Framework in Ruby
|
97
72
|
test_files: []
|
98
|
-
|