mocktopus 0.0.5 → 0.0.6

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: 28cb7cf89cc2fadda28177ec9b09e8e3e02befde
4
- data.tar.gz: a24297d38f8c31cff6f40c7b4df2886bc08303c9
3
+ metadata.gz: 28b6c35e654e4773073f3a03584ad7900a76691c
4
+ data.tar.gz: 05f9a56facd7cf28fa56191fcfd5e37da981e4fe
5
5
  SHA512:
6
- metadata.gz: f77bee53b77b0082bcd392959fe684295ff56399e6b09510953b6c6f7320fee19183a21f7dd002cdf6246c3b276c1664948f99ff443c52a490e8139c7e9799db
7
- data.tar.gz: 1939142bd0dd2c5b18992c90bd135af2b3ec32ee2084ccddc11c62a5197c9e22b7a7acf2c139e5ce4e4cab51d0c2082e0c93175b060401873c793cc3dd1e0357
6
+ metadata.gz: ef1be1d2e1c03956a55ccf084c943e637c64507e37c57020e0330ee95aa083382ec8981443d1f188b77d676657cd556a693b28e8a8011fed769cb19cb9142f50
7
+ data.tar.gz: 1a5de7dbc5ca4a8973ecacdb2a9b66e9f1edd840db3a0e1972a88c7628a534c7690c428390b77d11aca6671249dff5a978224cf3c31d118c02e25d3782197562
data/lib/mocktopus/app.rb CHANGED
@@ -70,13 +70,14 @@ get '/mocktopus/inputs/:name' do
70
70
  end
71
71
 
72
72
  get '/mocktopus/mock_api_calls' do
73
- $mock_api_call_container.all.to_json
73
+ content_type :json
74
+ status 200
75
+ body $mock_api_call_container.all.to_json
74
76
  end
75
77
 
76
78
  delete '/mocktopus/mock_api_calls' do
77
79
  $mock_api_call_container.delete_all
78
- status 200
79
- body "success"
80
+ status 204
80
81
  end
81
82
 
82
83
  delete '/mocktopus/inputs' do
data/mocktopus.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'mocktopus'
5
- s.version = '0.0.5'
5
+ s.version = '0.0.6'
6
6
  s.date = '2015-03-14'
7
7
  s.required_ruby_version = '>= 1.9.3'
8
8
 
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.add_dependency 'thin', '~> 1.6.1', '>= 1.6.1'
21
21
  s.add_dependency 'thor', '~> 0.19.1', '>= 0.19.1'
22
22
  s.add_dependency 'rack', '~> 1.5.2', '>= 1.5.2'
23
-
23
+
24
24
  s.add_development_dependency 'rake', '~> 10.1.0', '>= 10.1.0'
25
25
  s.add_development_dependency 'minitest', '~> 5.2.0', '>= 5.2.0'
26
26
  s.add_development_dependency 'fakeweb', '~> 1.3.0', '>= 1.3.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mocktopus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rackspace