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 +4 -4
- data/lib/mumukit/runner.rb +1 -0
- data/lib/mumukit/server/app.rb +1 -4
- data/lib/mumukit/server/test_server.rb +1 -1
- data/lib/mumukit/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bc31fa3d3f37c01ee13d90e2f7e2edf184844239e1c81b78152354a1e35d994
|
4
|
+
data.tar.gz: ec1df6b211aa4c28fbfd88c978dbfed80af10ba3f1f70e5ec925d7e2368c4a2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab7cf91e06678ded73179ac11dde2307709bfeb02aadbf382c5e3c410afa728b403581385501283be9e4c4104747eb7c1d585e5ef6b86e07ac55074d9d9d6559
|
7
|
+
data.tar.gz: 919aaea15b36831abf51fcde6f5d82d5547fa8eaad12c85c540868913f4343ed0c14413b8932d996454529f197109e35634488877f5215adbc5463be8ab707c4
|
data/lib/mumukit/runner.rb
CHANGED
@@ -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
|
data/lib/mumukit/server/app.rb
CHANGED
@@ -65,11 +65,8 @@ class Mumukit::Server::App < Sinatra::Base
|
|
65
65
|
|
66
66
|
error StandardError do
|
67
67
|
content_type :json
|
68
|
-
status
|
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
|
105
|
+
rescue => e
|
106
106
|
{exit: :errored, out: content_type.format_exception(e)}
|
107
107
|
end
|
108
108
|
|
data/lib/mumukit/version.rb
CHANGED
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.
|
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
|
+
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.
|
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.
|
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.
|
331
|
+
rubygems_version: 2.7.3
|
332
332
|
signing_key:
|
333
333
|
specification_version: 4
|
334
334
|
summary: Mumuki Test Server Development Kit
|