gridinit-jmeter 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,4 +8,4 @@ test do
8
8
  visit 'Altentee', 'http://127.0.0.1:9200/'
9
9
  end
10
10
  end
11
- end.grid('4dy-zJLEIgpYkKe6p6JhSQ', {endpoint: '127.0.0.1:3000'})
11
+ end.grid('4dy-zJLEIgpYkKe6p6JhSQ', {endpoint: '127.0.0.1:3000', region: 'ap_southeast_1'})
@@ -162,7 +162,7 @@ module Gridinit
162
162
  file = Tempfile.new('jmeter')
163
163
  file.write(doc.to_xml(:indent => 2))
164
164
  file.rewind
165
- response = RestClient.post "http://#{params[:endpoint] ? params[:endpoint] : 'gridinit.com'}/api?token=#{token}",
165
+ response = RestClient.post "http://#{params[:endpoint] ? params[:endpoint] : 'gridinit.com'}/api?token=#{token}&region=#{params[:region]}",
166
166
  {
167
167
  :name => 'attachment',
168
168
  :attachment => File.new("#{file.path}", 'rb'),
@@ -1,5 +1,5 @@
1
1
  module Gridinit
2
2
  module Jmeter
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gridinit-jmeter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: