mumuki-java-runner 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/test_hook.rb +1 -1
  3. data/lib/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e31e5e85b2e5fdde64804564f781c126b9c711a
4
- data.tar.gz: 7c81495ce913d96bcd308292e6307a12928d4328
3
+ metadata.gz: e142406a1ca4cf4a79bc2f5cf9f173c905b5ca7f
4
+ data.tar.gz: f876a8c16f0dbfe4073bd92c4fa650c70caa8993
5
5
  SHA512:
6
- metadata.gz: 6442e5247e725335098d87307814d75ef972eaa5bbb4ce9b845c74af5d62feab7510099f92ab9f386bcedc6a5638111c6bf748aa377a237e8d21aa99c5f7f2c4
7
- data.tar.gz: 934791cbeda629f93acd602877420347497d778beb6c1e643c199f2e8b48aca57157cf9dd1e88f420207d7a5bb83943f9555229f8aca06fde6fbd1640243331b
6
+ metadata.gz: 59f43ae6e5fe34cbb5b75dedd35392dd66f780b7633578d3900c59544d37ae8dd06318581932d79988101b588674da4a0d1918d2b70fcef3415129aa33d7f74c
7
+ data.tar.gz: 79f15b5c2fe14df591e1c875ce7b3be457fded38d9686336ccf2ec36bba93a905a4d90969faaf62944e2f403385d5862a62320275260d7391a7dba238be3694e
data/lib/test_hook.rb CHANGED
@@ -15,7 +15,7 @@ class JavaTestHook < Mumukit::Templates::FileHook
15
15
  end
16
16
 
17
17
  def transform(examples)
18
- examples.map { |e| [e[0], e[1].to_sym, e[2]] }
18
+ examples.map { |e| [e[0], e[1].to_sym, e[2].try {|result| Mumukit::ContentType::Markdown.code result}] }
19
19
  end
20
20
 
21
21
  def post_process_file(file, result, status)
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module JavaVersionHook
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-java-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
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-08-08 00:00:00.000000000 Z
11
+ date: 2017-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit