optimus_prime 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/optimus_prime/server.rb +4 -2
- data/lib/optimus_prime/version.rb +1 -1
- data/optimus_prime.log +35 -0
- 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: 5705ce196f1ac30ab2d1f07e26a475d3782c07dc
|
4
|
+
data.tar.gz: 9e1ea712f2e22989a1ceb76f5987b91b40f8ce96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdfef60774dfa812a46b61cb3b9af6ebc5af335d50b7c177a52bdedd0b21b42f89db87d9140d9fe376439cf294fe89f128b007b3172440ca07596d6a8645c19d
|
7
|
+
data.tar.gz: 09f49cd950021ed2c8958905c7cbd094e3cb38a20a1b064daad7d14df9d60584f9a2054bc9a899d0418aeda64cd1120e58750af4ac2d4aa58a60373edc3e63fe
|
data/lib/optimus_prime/server.rb
CHANGED
@@ -38,8 +38,10 @@ module OptimusPrime
|
|
38
38
|
end
|
39
39
|
|
40
40
|
|
41
|
-
|
42
|
-
|
41
|
+
if response[:persisted]
|
42
|
+
new_body = params.tap { |p| p.delete("splat"); p.delete("captures") }
|
43
|
+
@@responses[path][:body] = new_body.to_json
|
44
|
+
end
|
43
45
|
|
44
46
|
content_type(response[:content_type])
|
45
47
|
status(response[:status_code])
|
data/optimus_prime.log
CHANGED
@@ -2854,3 +2854,38 @@ Thin web server (v1.6.2 codename Doc Brown)
|
|
2854
2854
|
Debugging ON
|
2855
2855
|
Maximum connections set to 1024
|
2856
2856
|
Listening on 0.0.0.0:7003, CTRL+C to stop
|
2857
|
+
Exiting!
|
2858
|
+
Writing PID to /Users/user/dev/optimus_prime/tmp/pids/optimus_prime.pid
|
2859
|
+
Using rack adapter
|
2860
|
+
Thin web server (v1.6.2 codename Doc Brown)
|
2861
|
+
Debugging ON
|
2862
|
+
Maximum connections set to 1024
|
2863
|
+
Listening on 0.0.0.0:7003, CTRL+C to stop
|
2864
|
+
Exiting!
|
2865
|
+
Writing PID to /Users/user/dev/optimus_prime/tmp/pids/optimus_prime.pid
|
2866
|
+
Using rack adapter
|
2867
|
+
Thin web server (v1.6.2 codename Doc Brown)
|
2868
|
+
Debugging ON
|
2869
|
+
Maximum connections set to 1024
|
2870
|
+
Listening on 0.0.0.0:7004, CTRL+C to stop
|
2871
|
+
Exiting!
|
2872
|
+
Writing PID to /Users/user/dev/optimus_prime/tmp/pids/optimus_prime.pid
|
2873
|
+
Using rack adapter
|
2874
|
+
Thin web server (v1.6.2 codename Doc Brown)
|
2875
|
+
Debugging ON
|
2876
|
+
Maximum connections set to 1024
|
2877
|
+
Listening on 0.0.0.0:7003, CTRL+C to stop
|
2878
|
+
Exiting!
|
2879
|
+
Writing PID to /Users/user/dev/optimus_prime/tmp/pids/optimus_prime.pid
|
2880
|
+
Using rack adapter
|
2881
|
+
Thin web server (v1.6.2 codename Doc Brown)
|
2882
|
+
Debugging ON
|
2883
|
+
Maximum connections set to 1024
|
2884
|
+
Listening on 0.0.0.0:7003, CTRL+C to stop
|
2885
|
+
Exiting!
|
2886
|
+
Writing PID to /Users/user/dev/optimus_prime/tmp/pids/optimus_prime.pid
|
2887
|
+
Using rack adapter
|
2888
|
+
Thin web server (v1.6.2 codename Doc Brown)
|
2889
|
+
Debugging ON
|
2890
|
+
Maximum connections set to 1024
|
2891
|
+
Listening on 0.0.0.0:7003, CTRL+C to stop
|