ruby-jmeter 2.11.21 → 2.11.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby-jmeter/dsl.rb +6 -2
- data/lib/ruby-jmeter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68e301f31262dfb9129498847eba6cd247e7fe93
|
4
|
+
data.tar.gz: 3dcb2db15dfe29b67d2105a7db5f79de639af842
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81f91caf123404553407eb43ce589e5b690300357aebc9b57d6e822064ef1d1bbbdefff4ebd11036d88525b92e8d879c42d12fa021d780151c4eb83b82e31959
|
7
|
+
data.tar.gz: 16f2c2973e291fe9574401514819667cb376bf0bec0f7c1776042a8eb18c1840e926397d7e9e939f20dd6a17fc5f7279b74980f9756150842315f96b6c32000d
|
data/lib/ruby-jmeter/dsl.rb
CHANGED
@@ -518,8 +518,12 @@ module RubyJmeter
|
|
518
518
|
|
519
519
|
flood_files = {
|
520
520
|
file: File.new("#{file.path}", 'rb')
|
521
|
-
|
522
|
-
|
521
|
+
}
|
522
|
+
|
523
|
+
if params[:files]
|
524
|
+
flood_files.merge!(Hash[params[:files].map.with_index { |value, index| [index, File.new(value, 'rb')] }])
|
525
|
+
params.delete(:files)
|
526
|
+
end
|
523
527
|
|
524
528
|
response = RestClient.post "#{params[:endpoint] ? params[:endpoint] : 'https://api.flood.io'}/floods?auth_token=#{token}",
|
525
529
|
{
|
data/lib/ruby-jmeter/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-jmeter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Koopmans
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|