mumuki-prolog-runner 1.2.0 → 1.2.1

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: 0572c8a6b87d7b7f9683246ec74468d4e02b11a3433a909e9ce938549cc1dccb
4
- data.tar.gz: 1678acc8e971eaddcb566b5c37acbbedf9b3448a67afe4edbd042ae27c9bcdde
3
+ metadata.gz: 683f60762b563a008a2fa3b9fe0b4baa5a61399526a60c0a42eb328e24a47eca
4
+ data.tar.gz: 5bf108c201877288617dc25cf7f1d4df8a35d9c447cac23c3db243964e97cb01
5
5
  SHA512:
6
- metadata.gz: 1d45a3669dceaf4db2a9d8eb69ff44f1908cc32c67c0fe79cdd0216538b5ff512b1838270e4e59fb5d2e3d8d8f6d20a88a86eebac4b2594f29874065a373bd79
7
- data.tar.gz: 93a8655157580cff8001c03db9942331b45900efea2bcdeb5f542831182e2ce24e1151795439b8725cefa2b84b529ca246a8cd7bea847cafdc325aadd722470b
6
+ metadata.gz: 18faf20b45e7ffe64b8d11ca90dc5c0fc8bd68c7285e73e05fa8356b89f915a72b6bf4e3b95e6d582353e07de871d9473a5a84a6a19900bf4a720fee8751bba2
7
+ data.tar.gz: 4fdbbd169722352e5904215e5a857d8859f587756f09e75222e9fc69ec8674189833596bf87ae9cd27176c7dc310c4ae2be17d489d06cc14de3c45ff463eac10
@@ -4,4 +4,8 @@ class PrologExpectationsHook < Mumukit::Templates::MulangExpectationsHook
4
4
  def language
5
5
  'Prolog'
6
6
  end
7
+
8
+ def compile_content(content)
9
+ content.strip
10
+ end
7
11
  end
data/lib/test_hook.rb CHANGED
@@ -23,7 +23,7 @@ class PrologTestHook < Mumukit::Templates::FileHook
23
23
  <<EOF
24
24
  :- begin_tests(mumuki_submission_test, []).
25
25
  #{request.test}
26
- #{request.content}
26
+ #{request.content.strip}
27
27
  #{request.extra}
28
28
  :- end_tests(mumuki_submission_test).
29
29
  EOF
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module PrologVersionHook
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-prolog-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.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-12-24 00:00:00.000000000 Z
11
+ date: 2019-02-26 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.17'
19
+ version: '2.24'
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.17'
26
+ version: '2.24'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.3'
89
+ version: '3.6'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.3'
96
+ version: '3.6'
97
97
  description:
98
98
  email:
99
99
  - franco@mumuki.org
@@ -130,8 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  requirements: []
133
- rubyforge_project:
134
- rubygems_version: 2.7.3
133
+ rubygems_version: 3.0.2
135
134
  signing_key:
136
135
  specification_version: 4
137
136
  summary: Prolog Runner for Mumuki