judge_system 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/judge_system.gemspec +1 -1
- data/lib/judge_system.rb +2 -1
- data/lib/judge_system/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ceea43474bff8f530a94c5d016635fac79b619ce
|
4
|
+
data.tar.gz: b153646d0b9a1de92990bab2f281b403871c2f91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64037aa847c93a3b1df31f84981ebb1f32598bebb5bbbe4f5d552fc477947093f884a298a6715df7d998b3840aff1f771b86862488c1914f44984b5763feb55a
|
7
|
+
data.tar.gz: d17d3de69f37a06891f27ec0b1ac03d2b97816f6b0802430ee96c1a6a4bf46cd4722f666d6849273b7f1166671133552192dec581552bed8881d94ce31b776ba
|
data/judge_system.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["hayabusatoshihumi@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{This is a judge system for online judge }
|
13
|
-
spec.description =
|
13
|
+
spec.description = "This is a judge system for online judge. \nThis gem work under the wandbox api."
|
14
14
|
spec.homepage = "https://github.com/getty104/judge_system"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
data/lib/judge_system.rb
CHANGED
@@ -7,7 +7,7 @@ require 'pathname'
|
|
7
7
|
|
8
8
|
module JudgeSystem
|
9
9
|
class WandBox
|
10
|
-
|
10
|
+
|
11
11
|
def self.compile compiler: "", code: "", stdin: ""
|
12
12
|
body = {
|
13
13
|
code: code,
|
@@ -46,6 +46,7 @@ module JudgeSystem
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
private_class_method :compile, :run
|
49
|
+
|
49
50
|
public
|
50
51
|
def self.judge lang, code , answer, stdin, time
|
51
52
|
output = run lang, code, stdin, time
|
data/lib/judge_system/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: judge_system
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toshifumi Kiyono
|
@@ -52,7 +52,8 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
|
-
description:
|
55
|
+
description: "This is a judge system for online judge. \nThis gem work under the wandbox
|
56
|
+
api."
|
56
57
|
email:
|
57
58
|
- hayabusatoshihumi@gmail.com
|
58
59
|
executables: []
|