mu 5.7.17 → 5.7.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/mu/har.rb +6 -4
  2. data/version.rb +1 -1
  3. metadata +82 -90
data/lib/mu/har.rb CHANGED
@@ -336,12 +336,14 @@ class Har
336
336
  cr.variables do |vs|
337
337
  seen = {}
338
338
  res['cookies'].each do |cookie|
339
+ # Need to escape these characters if they are in the cookie['name']: | ( ) [ ] { } + \ ^ $ * ?.
340
+ cookie['name'] = Regexp.escape(cookie['name'])
339
341
  # Check to make sure we are not repeating a variable name
340
- repeated = '@' + cookie['name'].gsub(/[^a-zA-Z0-9_]/, '_') + ' = ' + '/' + cookie['name'] + '=([^;]*)' + '/:1'
341
- next if seen.has_key?(repeated)
342
- seen[repeated] = cookie
342
+ musl_variable = '@' + cookie['name'].gsub(/[^a-zA-Z0-9_]/, '_') + ' = ' + '/' + cookie['name'] + '=([^;]*)' + '/:1'
343
+ next if seen.has_key?(musl_variable)
344
+ seen[musl_variable] = cookie
343
345
  # Build the variable
344
- vs.create('@' + cookie['name'].gsub(/[^a-zA-Z0-9_]/, '_') + ' = ' + '/' + cookie['name'] + '=([^;]*)' + '/:1')
346
+ vs.create(musl_variable)
345
347
  end
346
348
 
347
349
  end
data/version.rb CHANGED
@@ -1 +1 @@
1
- VERSION='5.7.17'
1
+ VERSION='5.7.18'
metadata CHANGED
@@ -1,125 +1,121 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mu
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 5.7.18
4
5
  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
-
13
- date: 2011-04-22 00:00:00 -07:00
12
+ date: 2011-04-27 00:00:00.000000000 -07:00
14
13
  default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
17
16
  name: nokogiri
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &13661360 !ruby/object:Gem::Requirement
20
18
  none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
24
22
  version: 1.4.4
25
23
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: rest-client
29
24
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *13661360
26
+ - !ruby/object:Gem::Dependency
27
+ name: rest-client
28
+ requirement: &13660840 !ruby/object:Gem::Requirement
31
29
  none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
35
33
  version: 1.6.1
36
34
  type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: mime-types
40
35
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
36
+ version_requirements: *13660840
37
+ - !ruby/object:Gem::Dependency
38
+ name: mime-types
39
+ requirement: &13660100 !ruby/object:Gem::Requirement
42
40
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: "1.16"
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '1.16'
47
45
  type: :runtime
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: json
51
46
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
47
+ version_requirements: *13660100
48
+ - !ruby/object:Gem::Dependency
49
+ name: json
50
+ requirement: &13659600 !ruby/object:Gem::Requirement
53
51
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
58
56
  type: :runtime
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: hexy
62
57
  prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
58
+ version_requirements: *13659600
59
+ - !ruby/object:Gem::Dependency
60
+ name: hexy
61
+ requirement: &13658780 !ruby/object:Gem::Requirement
64
62
  none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
68
66
  version: 0.1.1
69
67
  type: :runtime
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
- name: uuid
73
68
  prerelease: false
74
- requirement: &id006 !ruby/object:Gem::Requirement
69
+ version_requirements: *13658780
70
+ - !ruby/object:Gem::Dependency
71
+ name: uuid
72
+ requirement: &13658080 !ruby/object:Gem::Requirement
75
73
  none: false
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
79
77
  version: 2.0.2
80
78
  type: :runtime
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:
79
+ prerelease: false
80
+ version_requirements: *13658080
81
+ description: ! "The Mu gem allows users to include mu libraries within scripts\n that
82
+ interact with mu appliance software. The gem also supplies command line interfaces\n
83
+ \ to many of these same libraries"
84
+ email:
87
85
  - info@mudynamics.com
88
- executables:
86
+ executables:
89
87
  - mu
90
88
  extensions: []
91
-
92
89
  extra_rdoc_files: []
93
-
94
- files:
95
- - lib/mu/api/ddt.rb
96
- - lib/mu/api/homepage.rb
97
- - lib/mu/api/muapi.rb
90
+ files:
91
+ - lib/mu.rb
92
+ - lib/mu/har.rb
93
+ - lib/mu/http_helper.rb
94
+ - lib/mu/client.rb
98
95
  - lib/mu/api/netconfig.rb
99
- - lib/mu/api/scale.rb
96
+ - lib/mu/api/muapi.rb
97
+ - lib/mu/api/homepage.rb
100
98
  - lib/mu/api/system.rb
101
- - lib/mu/client.rb
99
+ - lib/mu/api/scale.rb
100
+ - lib/mu/api/ddt.rb
101
+ - lib/mu/helper.rb
102
+ - lib/mu/maker.rb
103
+ - lib/mu/command/cmd_homepage.rb
102
104
  - lib/mu/command/api.rb
103
105
  - lib/mu/command/cmd_ddt.rb
104
- - lib/mu/command/cmd_homepage.rb
106
+ - lib/mu/command/cmd_scale.rb
107
+ - lib/mu/command/curl.rb
105
108
  - lib/mu/command/cmd_muapi.rb
109
+ - lib/mu/command/help.rb
106
110
  - lib/mu/command/cmd_musl.rb
107
- - lib/mu/command/cmd_netconfig.rb
111
+ - lib/mu/command/cmd_system.rb
108
112
  - lib/mu/command/cmd_runscale.rb
109
113
  - lib/mu/command/cmd_runscenario.rb
114
+ - lib/mu/command/cmd_netconfig.rb
110
115
  - 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
115
116
  - lib/mu/command.rb
116
117
  - lib/mu/curl/error.rb
117
118
  - 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
123
119
  - bin/mu
124
120
  - Mu_Gem.html
125
121
  - version.rb
@@ -128,30 +124,26 @@ files:
128
124
  has_rdoc: true
129
125
  homepage: http://www.mudynamics.com
130
126
  licenses: []
131
-
132
127
  post_install_message:
133
128
  rdoc_options: []
134
-
135
- require_paths:
129
+ require_paths:
136
130
  - lib
137
- required_ruby_version: !ruby/object:Gem::Requirement
131
+ required_ruby_version: !ruby/object:Gem::Requirement
138
132
  none: false
139
- requirements:
140
- - - ">="
141
- - !ruby/object:Gem::Version
133
+ requirements:
134
+ - - ! '>='
135
+ - !ruby/object:Gem::Version
142
136
  version: 1.8.7
143
- required_rubygems_version: !ruby/object:Gem::Requirement
137
+ required_rubygems_version: !ruby/object:Gem::Requirement
144
138
  none: false
145
- requirements:
146
- - - ">="
147
- - !ruby/object:Gem::Version
148
- version: "0"
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
149
143
  requirements: []
150
-
151
144
  rubyforge_project:
152
145
  rubygems_version: 1.6.2
153
146
  signing_key:
154
147
  specification_version: 3
155
148
  summary: Mu Dynamics General Purpose Library and Command Line Tool
156
149
  test_files: []
157
-