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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da9985fc53f7d845e1b1b08a163a4bb38bfe42eabcc60b64c0a0f2b8ac04f362
4
- data.tar.gz: 818d3744bb5228ab2fe2372cd5183cb259a57b1ecd3984aadc1fe93011237f3f
3
+ metadata.gz: 90548352ae42f11d6fd82e175437ca76a2554aca4b9f7c8905e5f153d7958fb6
4
+ data.tar.gz: 3b84d8f0fae95de8e73e1f04df13b06ec02e48956a84f3305c38e4ed12a34fb4
5
5
  SHA512:
6
- metadata.gz: 3b564ade99ec477ea4e06c519a3dc530b6ee0787f8cd7770d53672fa23c53b9bdcfddebfd52b0ca8d3476de26ff9330ea10c10cdbd89bde8001a218c6317176f
7
- data.tar.gz: 98613dbfad122fb40e28dc498797414b6064a2a8f1fbf1ccb93ecd6211e4844bc4e335b488161ef9f2eaca2388c9d214557e6aa66be09411824fbbe9fc4b1d83
6
+ metadata.gz: c3042cb1ccb015c55930a63e44e5894d247e4719064b9c92fa9a906be397840324ccf42d9c9ab9d091f1c12671a9149bcb4dd1c761166e7f3fc5326aa8a89f2f
7
+ data.tar.gz: cb98bfb53c5510d8308957fe5d692279dd3cb5ca8439eb333778f3794a0456d81ad4111bdd6edb2003ed5c637f899eac17a7a20bc489048e87a86e809bf9688e
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- exercism-local-tooling-webserver (0.2.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.0)
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.gzip"
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}`
@@ -1,3 +1,3 @@
1
1
  module ExercismLocalToolingWebserver
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
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.3.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 00:00:00.000000000 Z
11
+ date: 2020-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json