exercism-local-tooling-webserver 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/bin/exercism_local_tooling_webserver +3 -3
- data/lib/exercism_local_tooling_webserver/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90548352ae42f11d6fd82e175437ca76a2554aca4b9f7c8905e5f153d7958fb6
|
4
|
+
data.tar.gz: 3b84d8f0fae95de8e73e1f04df13b06ec02e48956a84f3305c38e4ed12a34fb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3042cb1ccb015c55930a63e44e5894d247e4719064b9c92fa9a906be397840324ccf42d9c9ab9d091f1c12671a9149bcb4dd1c761166e7f3fc5326aa8a89f2f
|
7
|
+
data.tar.gz: cb98bfb53c5510d8308957fe5d692279dd3cb5ca8439eb333778f3794a0456d81ad4111bdd6edb2003ed5c637f899eac17a7a20bc489048e87a86e809bf9688e
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
exercism-local-tooling-webserver (0.
|
4
|
+
exercism-local-tooling-webserver (0.4.0)
|
5
5
|
etc
|
6
6
|
json
|
7
7
|
puma
|
@@ -14,7 +14,7 @@ GEM
|
|
14
14
|
backports (3.18.1)
|
15
15
|
etc (1.1.0)
|
16
16
|
gem-release (2.1.1)
|
17
|
-
json (2.3.
|
17
|
+
json (2.3.1)
|
18
18
|
minitest (5.14.1)
|
19
19
|
mocha (1.11.2)
|
20
20
|
multi_json (1.15.0)
|
@@ -15,13 +15,13 @@ post '/job' do
|
|
15
15
|
|
16
16
|
# Create dirs
|
17
17
|
job_dir = "/tmp/jobs/#{job_id}"
|
18
|
-
input_dir = "#{job_dir}/input"
|
19
|
-
output_dir = "#{job_dir}/output"
|
18
|
+
input_dir = "#{job_dir}/input/"
|
19
|
+
output_dir = "#{job_dir}/output/"
|
20
20
|
FileUtils.mkdir_p(input_dir)
|
21
21
|
FileUtils.mkdir_p(output_dir)
|
22
22
|
|
23
23
|
# Setup input
|
24
|
-
zip_file = "#{job_dir}/files.
|
24
|
+
zip_file = "#{job_dir}/files.zip"
|
25
25
|
File.write(zip_file, params[:zipped_files])
|
26
26
|
`unzip #{zip_file} -d #{input_dir}`
|
27
27
|
logger.info `ls -lah #{input_dir}`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exercism-local-tooling-webserver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erik Schierboom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|