mumukit 2.17.1 → 2.18.0

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
  SHA256:
3
- metadata.gz: 6eb864768153dfebcafd40dc5d21276f4f7a48c1d70a4f74ea5e8dee63842d69
4
- data.tar.gz: bd600f417b51cccacf69f6a543f643810d8c7dbe93f8e489f0b01311009afbc4
3
+ metadata.gz: 0bc31fa3d3f37c01ee13d90e2f7e2edf184844239e1c81b78152354a1e35d994
4
+ data.tar.gz: ec1df6b211aa4c28fbfd88c978dbfed80af10ba3f1f70e5ec925d7e2368c4a2f
5
5
  SHA512:
6
- metadata.gz: 78d644b6374f0c32c11d99767f6cabe1a749fcffa0a28b83263dee67288fe50b716a1b5732c2c70abb0af9ea5d7b98c2d9f4eb6f09fa9029c3654eb04ab5d23d
7
- data.tar.gz: b72d24426de0e6eb4ec3ae6e0ac7817bc74b44577162c520d0df89451d32f149f90038e8358c3a464234fb97a0bf62bee81735c6907e7a545d9e06f03027ec18
6
+ metadata.gz: ab7cf91e06678ded73179ac11dde2307709bfeb02aadbf382c5e3c410afa728b403581385501283be9e4c4104747eb7c1d585e5ef6b86e07ac55074d9d9d6559
7
+ data.tar.gz: 919aaea15b36831abf51fcde6f5d82d5547fa8eaad12c85c540868913f4343ed0c14413b8932d996454529f197109e35634488877f5215adbc5463be8ab707c4
@@ -33,6 +33,7 @@ class Mumukit::Runner
33
33
  [Mumukit::Directives::Sections.new,
34
34
  Mumukit::Directives::Interpolations.new('test'),
35
35
  Mumukit::Directives::Interpolations.new('extra'),
36
+ Mumukit::Directives::Interpolations.new('content'),
36
37
  Mumukit::Directives::Flags.new],
37
38
  config.comment_type)
38
39
  else
@@ -65,11 +65,8 @@ class Mumukit::Server::App < Sinatra::Base
65
65
 
66
66
  error StandardError do
67
67
  content_type :json
68
- status 200
69
-
68
+ status 500
70
69
  message = Mumukit::ContentType::Plain.format_exception env['sinatra.error']
71
- logger.error "Unhandled error #{message}"
72
-
73
70
  {exit: :errored, out: message}.to_json
74
71
  end
75
72
  end
@@ -102,7 +102,7 @@ class Mumukit::Server::TestServer
102
102
  yield preprocess request.tap { |r| validate_request! r }
103
103
  rescue Mumukit::RequestValidationError => e
104
104
  {exit: :aborted, out: e.message}
105
- rescue StandardError => e
105
+ rescue => e
106
106
  {exit: :errored, out: content_type.format_exception(e)}
107
107
  end
108
108
 
@@ -1,3 +1,3 @@
1
1
  module Mumukit
2
- VERSION = '2.17.1'
2
+ VERSION = '2.18.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumukit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.17.1
4
+ version: 2.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-19 00:00:00.000000000 Z
11
+ date: 2017-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '3.3'
173
+ version: '3.4'
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '3.3'
180
+ version: '3.4'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: mumukit-inspection
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -328,7 +328,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
328
328
  version: '0'
329
329
  requirements: []
330
330
  rubyforge_project:
331
- rubygems_version: 2.7.2
331
+ rubygems_version: 2.7.3
332
332
  signing_key:
333
333
  specification_version: 4
334
334
  summary: Mumuki Test Server Development Kit