mu 5.7.16 → 5.7.17
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/lib/mu/api/muapi.rb +7 -4
- data/version.rb +1 -1
- metadata +90 -82
data/lib/mu/api/muapi.rb
CHANGED
@@ -154,7 +154,7 @@ class Muapi
|
|
154
154
|
# * command=status to view the status of a test archive job
|
155
155
|
# * command=get to download a test archive job
|
156
156
|
# * uuid = the uuid of the test
|
157
|
-
def archive(command="run", id=@run_uuid)
|
157
|
+
def archive(command="run", id=@run_uuid, filepath='.')
|
158
158
|
case command
|
159
159
|
when 'run'
|
160
160
|
request_string = "archive/run?uuid=#{id}"
|
@@ -167,11 +167,14 @@ class Muapi
|
|
167
167
|
end
|
168
168
|
return doc
|
169
169
|
when 'status'
|
170
|
-
doc = @http.
|
170
|
+
doc = @http.get_xml("archive/status?jobId=#{id}")
|
171
|
+
unless doc.xpath("//status").empty?
|
172
|
+
return doc.xpath("//status").text
|
173
|
+
end
|
171
174
|
return doc
|
172
175
|
when 'get'
|
173
|
-
file_size = @http.download_file("archive/get?jobId=#{id}","#{id}.zip")
|
174
|
-
return "#{id}.zip file size = #{file_size}"
|
176
|
+
file_size = @http.download_file("archive/get?jobId=#{id}","#{filepath}/#{id}.zip")
|
177
|
+
return "#{filepath}/#{id}.zip file size = #{file_size}"
|
175
178
|
end
|
176
179
|
return false
|
177
180
|
end
|
data/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VERSION='5.7.
|
1
|
+
VERSION='5.7.17'
|
metadata
CHANGED
@@ -1,121 +1,125 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: mu
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.7.16
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 5.7.17
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- MuEng
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
12
|
+
|
13
|
+
date: 2011-04-22 00:00:00 -07:00
|
13
14
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
16
17
|
name: nokogiri
|
17
|
-
|
18
|
+
prerelease: false
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
20
|
none: false
|
19
|
-
requirements:
|
20
|
-
- -
|
21
|
-
- !ruby/object:Gem::Version
|
21
|
+
requirements:
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
22
24
|
version: 1.4.4
|
23
25
|
type: :runtime
|
24
|
-
|
25
|
-
|
26
|
-
- !ruby/object:Gem::Dependency
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
27
28
|
name: rest-client
|
28
|
-
|
29
|
+
prerelease: false
|
30
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
29
31
|
none: false
|
30
|
-
requirements:
|
31
|
-
- -
|
32
|
-
- !ruby/object:Gem::Version
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
33
35
|
version: 1.6.1
|
34
36
|
type: :runtime
|
35
|
-
|
36
|
-
|
37
|
-
- !ruby/object:Gem::Dependency
|
37
|
+
version_requirements: *id002
|
38
|
+
- !ruby/object:Gem::Dependency
|
38
39
|
name: mime-types
|
39
|
-
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
40
42
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version:
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: "1.16"
|
45
47
|
type: :runtime
|
46
|
-
|
47
|
-
|
48
|
-
- !ruby/object:Gem::Dependency
|
48
|
+
version_requirements: *id003
|
49
|
+
- !ruby/object:Gem::Dependency
|
49
50
|
name: json
|
50
|
-
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
51
53
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version:
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: "0"
|
56
58
|
type: :runtime
|
57
|
-
|
58
|
-
|
59
|
-
- !ruby/object:Gem::Dependency
|
59
|
+
version_requirements: *id004
|
60
|
+
- !ruby/object:Gem::Dependency
|
60
61
|
name: hexy
|
61
|
-
|
62
|
+
prerelease: false
|
63
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
62
64
|
none: false
|
63
|
-
requirements:
|
64
|
-
- -
|
65
|
-
- !ruby/object:Gem::Version
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
66
68
|
version: 0.1.1
|
67
69
|
type: :runtime
|
68
|
-
|
69
|
-
|
70
|
-
- !ruby/object:Gem::Dependency
|
70
|
+
version_requirements: *id005
|
71
|
+
- !ruby/object:Gem::Dependency
|
71
72
|
name: uuid
|
72
|
-
|
73
|
+
prerelease: false
|
74
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
73
75
|
none: false
|
74
|
-
requirements:
|
75
|
-
- -
|
76
|
-
- !ruby/object:Gem::Version
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
77
79
|
version: 2.0.2
|
78
80
|
type: :runtime
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
email:
|
81
|
+
version_requirements: *id006
|
82
|
+
description: |-
|
83
|
+
The Mu gem allows users to include mu libraries within scripts
|
84
|
+
that interact with mu appliance software. The gem also supplies command line interfaces
|
85
|
+
to many of these same libraries
|
86
|
+
email:
|
85
87
|
- info@mudynamics.com
|
86
|
-
executables:
|
88
|
+
executables:
|
87
89
|
- mu
|
88
90
|
extensions: []
|
91
|
+
|
89
92
|
extra_rdoc_files: []
|
90
|
-
|
91
|
-
|
92
|
-
- lib/mu/
|
93
|
-
- lib/mu/http_helper.rb
|
94
|
-
- lib/mu/client.rb
|
95
|
-
- lib/mu/api/netconfig.rb
|
96
|
-
- lib/mu/api/muapi.rb
|
93
|
+
|
94
|
+
files:
|
95
|
+
- lib/mu/api/ddt.rb
|
97
96
|
- lib/mu/api/homepage.rb
|
98
|
-
- lib/mu/api/
|
97
|
+
- lib/mu/api/muapi.rb
|
98
|
+
- lib/mu/api/netconfig.rb
|
99
99
|
- lib/mu/api/scale.rb
|
100
|
-
- lib/mu/api/
|
101
|
-
- lib/mu/
|
102
|
-
- lib/mu/maker.rb
|
103
|
-
- lib/mu/command/cmd_homepage.rb
|
100
|
+
- lib/mu/api/system.rb
|
101
|
+
- lib/mu/client.rb
|
104
102
|
- lib/mu/command/api.rb
|
105
103
|
- lib/mu/command/cmd_ddt.rb
|
106
|
-
- lib/mu/command/
|
107
|
-
- lib/mu/command/curl.rb
|
104
|
+
- lib/mu/command/cmd_homepage.rb
|
108
105
|
- lib/mu/command/cmd_muapi.rb
|
109
|
-
- lib/mu/command/help.rb
|
110
106
|
- lib/mu/command/cmd_musl.rb
|
111
|
-
- lib/mu/command/
|
107
|
+
- lib/mu/command/cmd_netconfig.rb
|
112
108
|
- lib/mu/command/cmd_runscale.rb
|
113
109
|
- lib/mu/command/cmd_runscenario.rb
|
114
|
-
- lib/mu/command/cmd_netconfig.rb
|
115
110
|
- lib/mu/command/cmd_runverify.rb
|
111
|
+
- lib/mu/command/cmd_scale.rb
|
112
|
+
- lib/mu/command/cmd_system.rb
|
113
|
+
- lib/mu/command/curl.rb
|
114
|
+
- lib/mu/command/help.rb
|
116
115
|
- lib/mu/command.rb
|
117
116
|
- lib/mu/curl/error.rb
|
118
117
|
- lib/mu/curl/verify.rb
|
118
|
+
- lib/mu/har.rb
|
119
|
+
- lib/mu/helper.rb
|
120
|
+
- lib/mu/http_helper.rb
|
121
|
+
- lib/mu/maker.rb
|
122
|
+
- lib/mu.rb
|
119
123
|
- bin/mu
|
120
124
|
- Mu_Gem.html
|
121
125
|
- version.rb
|
@@ -124,26 +128,30 @@ files:
|
|
124
128
|
has_rdoc: true
|
125
129
|
homepage: http://www.mudynamics.com
|
126
130
|
licenses: []
|
131
|
+
|
127
132
|
post_install_message:
|
128
133
|
rdoc_options: []
|
129
|
-
|
134
|
+
|
135
|
+
require_paths:
|
130
136
|
- lib
|
131
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
137
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
138
|
none: false
|
133
|
-
requirements:
|
134
|
-
- -
|
135
|
-
- !ruby/object:Gem::Version
|
139
|
+
requirements:
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
136
142
|
version: 1.8.7
|
137
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
144
|
none: false
|
139
|
-
requirements:
|
140
|
-
- -
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version:
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: "0"
|
143
149
|
requirements: []
|
150
|
+
|
144
151
|
rubyforge_project:
|
145
152
|
rubygems_version: 1.6.2
|
146
153
|
signing_key:
|
147
154
|
specification_version: 3
|
148
155
|
summary: Mu Dynamics General Purpose Library and Command Line Tool
|
149
156
|
test_files: []
|
157
|
+
|