mumuki-c-runner 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/c_runner.rb +3 -2
- data/lib/metadata_hook.rb +8 -1
- data/lib/version.rb +3 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1be10f7a44001d15d679335ca50c961fc207b6a1ad91636a6f7935e35453ca3f
|
4
|
+
data.tar.gz: 7a479d721c2235155d84da11f1af5ee86985e2b1fc54d8a1c923541a616d3aac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dae9eb72afe34b7c241cdd52fe5e8d11ac5e0aff4f983551e04c6ee589440dcf30a6f164601da96ff2c0eeb63c6ef565a3179153a70964e2d8096de056ea6964
|
7
|
+
data.tar.gz: a2246294c05a4800da6482b8b54d7325d748a836e7e4ff456a0f681a401158f487cb4d0dd216a596cb7a19fe20d9d72b0836eb599022bd206eefa7f1937e2280
|
data/lib/c_runner.rb
CHANGED
@@ -2,9 +2,10 @@ require 'mumukit'
|
|
2
2
|
|
3
3
|
Mumukit.runner_name = 'c'
|
4
4
|
Mumukit.configure do |config|
|
5
|
-
config.docker_image = 'mumuki/mumuki-cspec-worker'
|
5
|
+
config.docker_image = 'mumuki/mumuki-cspec-worker:2.0'
|
6
6
|
|
7
7
|
end
|
8
8
|
|
9
|
+
require_relative './version'
|
9
10
|
require_relative './test_hook'
|
10
|
-
require_relative './metadata_hook'
|
11
|
+
require_relative './metadata_hook'
|
data/lib/metadata_hook.rb
CHANGED
@@ -8,7 +8,14 @@ class CMetadataHook < Mumukit::Hook
|
|
8
8
|
},
|
9
9
|
test_framework: {
|
10
10
|
name: 'cspec',
|
11
|
-
test_extension: 'c'
|
11
|
+
test_extension: 'c',
|
12
|
+
template: <<c
|
13
|
+
describe ("{{ test_template_group_description }}") {
|
14
|
+
it ("{{ test_template_sample_description }}") {
|
15
|
+
should_bool(true) be equal to(true);
|
16
|
+
} end
|
17
|
+
} end
|
18
|
+
c
|
12
19
|
}}
|
13
20
|
end
|
14
21
|
end
|
data/lib/version.rb
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-c-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.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:
|
11
|
+
date: 2017-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mumukit
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.17'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2.
|
26
|
+
version: '2.17'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,6 +104,7 @@ files:
|
|
104
104
|
- lib/c_runner.rb
|
105
105
|
- lib/metadata_hook.rb
|
106
106
|
- lib/test_hook.rb
|
107
|
+
- lib/version.rb
|
107
108
|
homepage: http://github.com/mumuki/mumuki-c-server
|
108
109
|
licenses:
|
109
110
|
- MIT
|
@@ -124,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
125
|
version: '0'
|
125
126
|
requirements: []
|
126
127
|
rubyforge_project:
|
127
|
-
rubygems_version: 2.
|
128
|
+
rubygems_version: 2.7.3
|
128
129
|
signing_key:
|
129
130
|
specification_version: 4
|
130
131
|
summary: C Runner for Mumuki
|