optimus_prime 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7710140c55e76a722ab58ac7354b4ee9e5bb4ef6
4
- data.tar.gz: fea94528de65f030c24a3c1797cfa5b332e8479d
3
+ metadata.gz: 771645cddeb789680fcc64dd140a875da90a3de2
4
+ data.tar.gz: 39fc2b562ebd9b209bbd2a901f038686bf53d8a4
5
5
  SHA512:
6
- metadata.gz: e15d0f50faca93c5a41e1e22c083cae64fe76432b5766f742f982269e679ed957e5fbd67c45342320b3a4bc4e9938ef3d86e1a1a58b52035207c5e4c1bb95b5b
7
- data.tar.gz: 96ea0deed3c470ffae9e0392d1ff1acd81a9e75fe79212577c715463db24cb6f1280b24a86e7f099577c21ccb2fda3ea7936ad26ef079387faeff4bcf79001fb
6
+ metadata.gz: 626963493090ca89fbf07852bec1e3583d7030b7696d268d5eb457a101c5185ad13cb131aeb7f419d7e76ea6e27411e813a6d27cbc2d8f685214f039e0c356f9
7
+ data.tar.gz: 561197c48148a2f67a7e3c339d4d741f523419b4e7bc3db437905332b150124d75b83e1941399d56a514b4cf2f42de9d1d9c0f499cfec2ee54791d5d5062d6b6
@@ -101,7 +101,9 @@ module OptimusPrime
101
101
 
102
102
  def record_request(path)
103
103
  requests[path][:count] += 1
104
- request_made = { method: self.env["REQUEST_METHOD"], body: request.body.string, headers: { content_type: request.content_type, accept: request.accept } }
104
+ params.delete("splat")
105
+ params.delete("captures")
106
+ request_made = { method: self.env["REQUEST_METHOD"], body: params, headers: { content_type: request.content_type, accept: request.accept } }
105
107
  requests[path][:last_request] = request_made
106
108
  end
107
109
 
@@ -1,3 +1,3 @@
1
1
  module OptimusPrime
2
- VERSION = "3.1.0"
2
+ VERSION = "3.1.1"
3
3
  end
@@ -10287,3 +10287,16 @@ Thin web server (v1.6.2 codename Doc Brown)
10287
10287
  Debugging ON
10288
10288
  Maximum connections set to 1024
10289
10289
  Listening on 0.0.0.0:7003, CTRL+C to stop
10290
+ Writing PID to /Users/mars/dev/optimus_prime/tmp/pids/optimus_prime.pid
10291
+ Using rack adapter
10292
+ Thin web server (v1.6.2 codename Doc Brown)
10293
+ Debugging ON
10294
+ Maximum connections set to 1024
10295
+ Listening on 0.0.0.0:7003, CTRL+C to stop
10296
+ Exiting!
10297
+ Writing PID to /Users/mars/dev/optimus_prime/tmp/pids/optimus_prime.pid
10298
+ Using rack adapter
10299
+ Thin web server (v1.6.2 codename Doc Brown)
10300
+ Debugging ON
10301
+ Maximum connections set to 1024
10302
+ Listening on 0.0.0.0:7003, CTRL+C to stop
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optimus_prime
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antonio Nalesso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-23 00:00:00.000000000 Z
11
+ date: 2014-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler