playtypus 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/playtypus/cli.rb +1 -4
- data/playtypus.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec73681311a8bff1f0c3590f8cf4633d348f63d7
|
4
|
+
data.tar.gz: b655686ec39654c5295bffc6e053315b2fcff52b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd3b9fc74cb2fc46d95bef6d141586ddcaf86d49f0de1e794763d5c9594c5efae874ab84b80cee4023ec1ccb00e7b9d00a9991eeca49a3fdb6e030eac544ca57
|
7
|
+
data.tar.gz: cb31ae461657ec73d844e993e8ddd7bf57ff2259f7288d4adc72d429bbcb682a99e35f576bdeb6b8004610f6dfab29e707b21e77563d9c4026e6d09d0338371d
|
data/lib/playtypus/cli.rb
CHANGED
@@ -1,6 +1,3 @@
|
|
1
|
-
# example
|
2
|
-
# ruby ./bin/playtypus play --host=http://localhost:8081/ --call-log=/Users/justin/git/primary/Automation/DataRepository/exchange_service_api/smoke_tests/playback_service_api_primer/exchange_crud_api.json --log-responses --preserve-times
|
3
|
-
|
4
1
|
require 'thor'
|
5
2
|
require 'fileutils'
|
6
3
|
|
@@ -25,7 +22,7 @@ module Playtypus
|
|
25
22
|
$logger.info "--call-log is a directory. calls will be sent in order, without --preserve-times"
|
26
23
|
preserve_times = false
|
27
24
|
logs = Dir.glob("#{options[:call_log]}/**/*.json")
|
28
|
-
logs.each do |log|
|
25
|
+
logs.sort.each do |log|
|
29
26
|
calls.concat(Playtypus::CallContainer.from_log(File.read(log)).calls)
|
30
27
|
end
|
31
28
|
else
|
data/playtypus.gemspec
CHANGED