mumuki-gobstones-runner 2.8.3 → 2.8.4

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: 89e0406fba09775ee9df64aa7ef21365776864e6120967fb04118e2a30cf7bc9
4
- data.tar.gz: 436e821d7c9c868cb9605d253cfbdefe47cadcb73056b04c6d7ef68e3d5e6a6a
3
+ metadata.gz: b81904b19b4ecb207d1b52ffec98b8cd617b83f47eb02ec37b4fdd33f7087db4
4
+ data.tar.gz: ad185dffbfc9c311578b2f4ab5a71f0b42cf4bd2110563ede627e4050d1280d8
5
5
  SHA512:
6
- metadata.gz: 5ab9ec621d9701a07c95f65fcc956a908d8b2e3e3c5d310829026beb5fc771b621ba916638538348c4c06a75fb925fd7cba998e669fbda3d535b654d6c94459b
7
- data.tar.gz: fa1e3349408ede7cbedbb983df1759c6d58595a7f1f278a50498470b3e106d80d696309f52ff73fa61e4f8dab71582a79453836a3fac90421b570f83eaab4ac1
6
+ metadata.gz: a9f6ac4c47444e5ff26c1151d19a120dd797bf16d394518399157be3eda926b869064b9536ee940c0587168bea17b2e492dad48678460cb9f5558fd5ecc1909f
7
+ data.tar.gz: 87e3b5464e1daf5027c0f84e9fe806076f343542e0bd4ce1ca3bdea61ee345e7f46bc066bca4ca8267a8dad8dd7c9ce8581c5e6cb3b81a35042b8c088f1fa643
@@ -18,8 +18,9 @@ class Mumukit::Server::App < Sinatra::Base
18
18
  end
19
19
 
20
20
  def self.get_media_assets(folder)
21
- Dir.glob("lib/public/#{folder}/*").each do |path|
22
- get_local_asset "#{folder}/#{File.basename path}", path
21
+ Dir.glob(File.join(__dir__,"../lib/public/#{folder}/*")).each do |path|
22
+ relative_media_asset_path = "#{folder}/#{File.basename path}"
23
+ get_local_asset relative_media_asset_path, "lib/public/#{relative_media_asset_path}"
23
24
  end
24
25
  end
25
26
 
@@ -1,3 +1,3 @@
1
1
  module GobstonesVersionHook
2
- VERSION = '2.8.3'
2
+ VERSION = '2.8.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-gobstones-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.3
4
+ version: 2.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Alfonso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-22 00:00:00.000000000 Z
11
+ date: 2020-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gobstones-board