optimus_prime 1.5.0 → 1.5.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: bdd27d6721366df4f6f2c710b51f08b7847fc1f8
4
- data.tar.gz: 599c943ee812dd2447fa66959c2f679f7913e3eb
3
+ metadata.gz: dfc3bf739f61b2346d837a94146d8d0284a63ec8
4
+ data.tar.gz: d177ce8ddc86d17e084d0091b290066a90f7e317
5
5
  SHA512:
6
- metadata.gz: 9941c1b2330309f9f953cefc556629fc8e6324fc3bb28e99aac4799da04c32fd3631dcfd2cdc8bbe8d8fce6e2866cc425044261851b439aa106051fc93d77d9e
7
- data.tar.gz: 6a0f72a8ae43a2dd1935e632bb88164622e0fffc34816bf6c07080a99f663d1598ba9ca23669e906c7c01c439675d7e09b7c9678be3d72168723d81e7f4aca0c
6
+ metadata.gz: 6b4feaa04cf21be57842586b7f0240eadcd681f24cc97d3a83e0e3843cc76cd8894e7abe7f56a22c4521a021965b5cf0497f4da6bcf72eb887e8fe44367535b9
7
+ data.tar.gz: cd3c27f64767b2cbbcde4cee7f1ef51f58120ea2fc01fd741a05fae2ccd528147fa4bd5a8bcddc7633d787ba3768cd66776c1df91fb98b2bdac2cbc98be4f1fd
@@ -39,8 +39,8 @@ module OptimusPrime
39
39
  end
40
40
 
41
41
  record_request(path)
42
-
43
- 201
42
+ content_type(response[:content_type])
43
+ status(response[:status_code] || 201)
44
44
  end
45
45
 
46
46
  post "/get/*" do
@@ -1,3 +1,3 @@
1
1
  module OptimusPrime
2
- VERSION = "1.5.0"
2
+ VERSION = "1.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optimus_prime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antonio Nalesso