coursemology-evaluator 0.1.7 → 0.1.8

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: f414d5605ffb74fe31af8712a330c03e806e1c88
4
- data.tar.gz: e3320a2d4272738ebe5df01d0dc3c6dfb14e929c
3
+ metadata.gz: 5802d9ed3b7ce70c873c6a12650c7a5ec51ca37d
4
+ data.tar.gz: bec9952f8d1e19429110c26df9b92a97a3e6d574
5
5
  SHA512:
6
- metadata.gz: 39b2249a592488edc2f81c8c571d43f4a1b1f440de923f41b802e84911e710f79c53a2cb96de967a3fce7514eb7e9e95fa1a38679985f32c3cb4a504f91755c3
7
- data.tar.gz: e8181d35138d076698bbb2508a79d49a5f3e3754ae01315347f52d6b78952d867dafc344209509c395b3b75459d10058df7edc3c90324b7334df7ffc5b16fb9c
6
+ metadata.gz: 17a2f478bf813552343e5899e1461f1115a07e4de18896d69deedf56da76451549e32e7f3bd7af0d3d12b7688387d1c83a9a3add6e8cc6c1ab8b07cf3e420d67
7
+ data.tar.gz: a8d6b9b27db20fba90e72ee257c609cae38975af971d0fe6f6bec072dbd52668b76f58fd9e2cd804e9319a23141944f92bc5e77ca64c4d6112dc71676cd6ad48
@@ -125,7 +125,8 @@ class Coursemology::Evaluator::Services::EvaluateProgrammingPackageService
125
125
 
126
126
  tar_file = Gem::Package::TarReader.new(stream)
127
127
  tar_file.each do |file|
128
- return file.read.force_encoding(Encoding::UTF_8)
128
+ test_report = file.read
129
+ return test_report.force_encoding(Encoding::UTF_8) if test_report
129
130
  end
130
131
  rescue Docker::Error::NotFoundError
131
132
  return nil
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module Coursemology; end
3
3
  module Coursemology::Evaluator
4
- VERSION = '0.1.7'.freeze
4
+ VERSION = '0.1.8'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coursemology-evaluator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Low
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-30 00:00:00.000000000 Z
11
+ date: 2016-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler