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 +4 -4
- data/lib/mocktopus/app.rb +4 -3
- data/mocktopus.gemspec +2 -2
- 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: 28b6c35e654e4773073f3a03584ad7900a76691c
|
4
|
+
data.tar.gz: 05f9a56facd7cf28fa56191fcfd5e37da981e4fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
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
|
+
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'
|