stella 0.7.2.003 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +2 -0
- data/Rudyfile +1 -1
- data/bin/stella +2 -0
- data/lib/stella/version.rb +1 -2
- data/stella.gemspec +1 -1
- data/vendor/httpclient-2.1.5.2/httpclient/http.rb +2 -1
- metadata +1 -1
data/CHANGES.txt
CHANGED
data/Rudyfile
CHANGED
data/bin/stella
CHANGED
@@ -73,6 +73,7 @@ class Stella::CLI::Definition
|
|
73
73
|
option :W, :nowait, "Ignore wait times (ignored)"
|
74
74
|
option :w, :wait, Float, "Wait time (in seconds) between client requests (ignored if testplan supplied)"
|
75
75
|
option :p, :testplan, String, "Path to testplan"
|
76
|
+
option :a, :arrival, Float, "Arrival rate (ignored)"
|
76
77
|
command :preview => Stella::CLI
|
77
78
|
|
78
79
|
about "Verify a test plan"
|
@@ -85,6 +86,7 @@ class Stella::CLI::Definition
|
|
85
86
|
option :W, :nowait, "Ignore wait times"
|
86
87
|
option :w, :wait, Float, "Wait time (in seconds) between client requests (ignored if testplan supplied)"
|
87
88
|
option :p, :testplan, String, "Path to testplan"
|
89
|
+
option :a, :arrival, Float, "Arrival rate (ignored)"
|
88
90
|
command :verify => Stella::CLI
|
89
91
|
|
90
92
|
about "Generate requests"
|
data/lib/stella/version.rb
CHANGED
data/stella.gemspec
CHANGED
@@ -771,12 +771,13 @@ module HTTP
|
|
771
771
|
end
|
772
772
|
end
|
773
773
|
|
774
|
+
|
774
775
|
def escape_query(query) # :nodoc:
|
775
776
|
query.collect { |attr, value|
|
776
777
|
if value.respond_to?(:read)
|
777
778
|
value = value.read
|
778
779
|
end
|
779
|
-
escape(attr.to_s) << '=' << escape(value.to_s)
|
780
|
+
URI.escape(attr.to_s) << '=' << URI.escape(value.to_s)
|
780
781
|
}.join('&')
|
781
782
|
end
|
782
783
|
|