File tree Expand file tree Collapse file tree 4 files changed +25
-13
lines changed
docs/api/statuses_and_languages Expand file tree Collapse file tree 4 files changed +25
-13
lines changed Original file line number Diff line number Diff line change 1- FROM judge0/api-base:0.2.0
1+ FROM judge0/api-base:0.2.1
22# LABEL maintainer="Herman Zvonimir Došilović, [email protected] " \33# version="0.2.0"
44
Original file line number Diff line number Diff line change 200200 } ,
201201
202202
203+ {
204+ name : "OCaml (4.05.0)" ,
205+ source_file : "main.ml" ,
206+ compile_cmd : "/usr/local/ocaml-4.05.0/bin/ocamlc main.ml" ,
207+ run_cmd : "./a.out"
208+ } ,
209+
210+
203211 {
204212 name : "Octave (4.2.0)" ,
205213 source_file : "file.m" ,
Original file line number Diff line number Diff line change 124124 },
125125 {
126126 "id": 31,
127- "name": "Octave (4.2 .0)"
127+ "name": "OCaml (4.05 .0)"
128128 },
129129 {
130130 "id": 32,
131- "name": "Pascal (fpc 3.0 .0)"
131+ "name": "Octave (4.2 .0)"
132132 },
133133 {
134134 "id": 33,
135- "name": "Python (3.6 .0)"
135+ "name": "Pascal (fpc 3.0 .0)"
136136 },
137137 {
138138 "id": 34,
139- "name": "Python (3.5.3 )"
139+ "name": "Python (3.6.0 )"
140140 },
141141 {
142142 "id": 35,
143- "name": "Python (2.7.9 )"
143+ "name": "Python (3.5.3 )"
144144 },
145145 {
146146 "id": 36,
147- "name": "Python (2.6 .9)"
147+ "name": "Python (2.7 .9)"
148148 },
149149 {
150150 "id": 37,
151- "name": "Ruby (2.4.0 )"
151+ "name": "Python (2.6.9 )"
152152 },
153153 {
154154 "id": 38,
155- "name": "Ruby (2.3.3 )"
155+ "name": "Ruby (2.4.0 )"
156156 },
157157 {
158158 "id": 39,
159- "name": "Ruby (2.2.6 )"
159+ "name": "Ruby (2.3.3 )"
160160 },
161161 {
162162 "id": 40,
163- "name": "Ruby (2.1.9 )"
163+ "name": "Ruby (2.2.6 )"
164164 },
165165 {
166166 "id": 41,
167- "name": "Rust (1.20.0 )"
167+ "name": "Ruby (2.1.9 )"
168168 },
169169 {
170170 "id": 42,
171+ "name": "Rust (1.20.0)"
172+ },
173+ {
174+ "id": 43,
171175 "name": "Text (plain text)"
172176 }
173177 ]
Original file line number Diff line number Diff line change 3636
3737 it "doesn't create new Submission because given Language doesn't exist" do
3838 attributes = attributes_for ( :valid_submission )
39- attributes [ :language_id ] = 42 # Language with id 42 doesn't exist
39+ attributes [ :language_id ] = 142 # Language with id 142 doesn't exist
4040 post :create , params : attributes
4141 expect ( response ) . to have_http_status ( 422 )
4242 end
You can’t perform that action at this time.
0 commit comments