|
11 | 11 | 'Accept' => '*/*', |
12 | 12 | 'Content-Type' => 'application/json', |
13 | 13 | 'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', |
14 | | - 'User-Agent' => 'Ruby', |
| 14 | + 'User-Agent' => "UnleashClientRuby/#{Unleash::VERSION} #{RUBY_ENGINE}/#{RUBY_VERSION} [#{RUBY_PLATFORM}]", |
15 | 15 | 'X-Api-Key' => '123' |
16 | 16 | } |
17 | 17 | ) |
|
22 | 22 | 'Accept' => '*/*', |
23 | 23 | 'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', |
24 | 24 | 'Content-Type' => 'application/json', |
25 | | - 'User-Agent' => 'Ruby' |
| 25 | + 'User-Agent' => "UnleashClientRuby/#{Unleash::VERSION} #{RUBY_ENGINE}/#{RUBY_VERSION} [#{RUBY_PLATFORM}]" |
26 | 26 | } |
27 | 27 | ) |
28 | 28 | .to_return(status: 200, body: "", headers: {}) |
|
46 | 46 | 'Content-Type' => 'application/json', |
47 | 47 | 'Unleash-Appname' => 'my-test-app', |
48 | 48 | 'Unleash-Instanceid' => 'rspec/test', |
49 | | - 'User-Agent' => 'Ruby', |
| 49 | + 'User-Agent' => "UnleashClientRuby/#{Unleash::VERSION} #{RUBY_ENGINE}/#{RUBY_VERSION} [#{RUBY_PLATFORM}]", |
50 | 50 | 'X-Api-Key' => '123' |
51 | 51 | } |
52 | 52 | ) |
|
117 | 117 | 'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', |
118 | 118 | 'Unleash-Appname' => 'my-test-app', |
119 | 119 | 'Unleash-Instanceid' => 'rspec/test', |
120 | | - 'User-Agent' => 'Ruby', |
| 120 | + 'User-Agent' => "UnleashClientRuby/#{Unleash::VERSION} #{RUBY_ENGINE}/#{RUBY_VERSION} [#{RUBY_PLATFORM}]", |
121 | 121 | 'X-Api-Key' => '123' |
122 | 122 | } |
123 | 123 | ) |
|
158 | 158 | 'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', |
159 | 159 | 'Unleash-Appname' => 'my-test-app', |
160 | 160 | 'Unleash-Instanceid' => 'rspec/test', |
161 | | - 'User-Agent' => 'Ruby', |
| 161 | + 'User-Agent' => "UnleashClientRuby/#{Unleash::VERSION} #{RUBY_ENGINE}/#{RUBY_VERSION} [#{RUBY_PLATFORM}]", |
162 | 162 | 'X-Api-Key' => '123' |
163 | 163 | } |
164 | 164 | ) |
|
256 | 256 | 'Accept' => '*/*', |
257 | 257 | 'Content-Type' => 'application/json', |
258 | 258 | 'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', |
259 | | - 'User-Agent' => 'Ruby', |
| 259 | + 'User-Agent' => "UnleashClientRuby/#{Unleash::VERSION} #{RUBY_ENGINE}/#{RUBY_VERSION} [#{RUBY_PLATFORM}]", |
260 | 260 | 'X-Api-Key' => '123' |
261 | 261 | } |
262 | 262 | ) |
|
270 | 270 | 'Content-Type' => 'application/json', |
271 | 271 | 'Unleash-Appname' => 'my-test-app', |
272 | 272 | 'Unleash-Instanceid' => 'rspec/test', |
273 | | - 'User-Agent' => 'Ruby', |
| 273 | + 'User-Agent' => "UnleashClientRuby/#{Unleash::VERSION} #{RUBY_ENGINE}/#{RUBY_VERSION} [#{RUBY_PLATFORM}]", |
274 | 274 | 'X-Api-Key' => '123' |
275 | 275 | } |
276 | 276 | ) |
|
304 | 304 | 'Accept' => '*/*', |
305 | 305 | 'Content-Type' => 'application/json', |
306 | 306 | 'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', |
307 | | - 'User-Agent' => 'Ruby', |
| 307 | + 'User-Agent' => "UnleashClientRuby/#{Unleash::VERSION} #{RUBY_ENGINE}/#{RUBY_VERSION} [#{RUBY_PLATFORM}]", |
308 | 308 | 'X-Api-Key' => '123' |
309 | 309 | } |
310 | 310 | ) |
|
328 | 328 | 'Content-Type' => 'application/json', |
329 | 329 | 'Unleash-Appname' => 'my-test-app', |
330 | 330 | 'Unleash-Instanceid' => 'rspec/test', |
331 | | - 'User-Agent' => 'Ruby', |
| 331 | + 'User-Agent' => "UnleashClientRuby/#{Unleash::VERSION} #{RUBY_ENGINE}/#{RUBY_VERSION} [#{RUBY_PLATFORM}]", |
332 | 332 | 'X-Api-Key' => '123' |
333 | 333 | } |
334 | 334 | ) |
|
606 | 606 | 'Content-Type' => 'application/json', |
607 | 607 | 'Unleash-Appname' => 'my-test-app', |
608 | 608 | 'Unleash-Instanceid' => 'rspec/test', |
609 | | - 'User-Agent' => 'Ruby', |
| 609 | + 'User-Agent' => "UnleashClientRuby/#{Unleash::VERSION} #{RUBY_ENGINE}/#{RUBY_VERSION} [#{RUBY_PLATFORM}]", |
610 | 610 | 'X-Api-Key' => '123' |
611 | 611 | } |
612 | 612 | ) |
|
620 | 620 | 'Content-Type' => 'application/json', |
621 | 621 | 'Unleash-Appname' => 'my-test-app', |
622 | 622 | 'Unleash-Instanceid' => 'rspec/test', |
623 | | - 'User-Agent' => 'Ruby', |
| 623 | + 'User-Agent' => "UnleashClientRuby/#{Unleash::VERSION} #{RUBY_ENGINE}/#{RUBY_VERSION} [#{RUBY_PLATFORM}]", |
624 | 624 | 'X-Api-Key' => '123' |
625 | 625 | } |
626 | 626 | ) |
|
0 commit comments