roku_builder 4.26.0 → 4.26.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26fe47ba62ff48e37fe3bd5dda06ff687b79c30dc67bd7dd216747363cf6efbd
|
4
|
+
data.tar.gz: cc5480949806270e823d1a177219a48f541abbdde571c949022d9ae16a3cf11a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dd09cf68f00832afb02e2797643d6babcb81c6cb943523c883b77b0f2d361bb03fe642c8fe54f685e9565dea175d23974fd1fa9f4ccbbb79be53e559471eb5a
|
7
|
+
data.tar.gz: b847c41f764a41db7421c0cba806e7ed264695ec0283f8af28a0a8dad1fdeda731c66c6757bb67faa5ef74e19a45488c33c61f97e3df837d5b9eb1903be12fe3
|
@@ -103,7 +103,7 @@ module RokuBuilder
|
|
103
103
|
multipart_connection(device: device) do |conn|
|
104
104
|
response = conn.post "/plugin_install", payload
|
105
105
|
end
|
106
|
-
unless response.status == 200 and response.body =~ /
|
106
|
+
unless response.status == 200 and response.body =~ /squashfs file in internal memory/ or ignoreFailure
|
107
107
|
raise ExecutionError, "Failed Converting to Squashfs"
|
108
108
|
end
|
109
109
|
end
|
@@ -160,11 +160,13 @@ module RokuBuilder
|
|
160
160
|
end
|
161
161
|
|
162
162
|
def build_zip(content)
|
163
|
-
|
164
|
-
File.
|
165
|
-
io = Zip::File.open(path, Zip::File::CREATE)
|
163
|
+
tmp_path = File.join(build_dir, SecureRandom.uuid+".zip")
|
164
|
+
io = Zip::File.open(tmp_path, Zip::File::CREATE)
|
166
165
|
writeEntries(build_dir, content[:source_files], "", content[:excludes], io)
|
167
166
|
io.close()
|
167
|
+
path = file_path(:out)
|
168
|
+
File.delete(path) if File.exist?(path)
|
169
|
+
FileUtils.mv(tmp_path, path)
|
168
170
|
end
|
169
171
|
|
170
172
|
# Recursively write directory contents to a zip archive
|
data/lib/roku_builder/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roku_builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.26.
|
4
|
+
version: 4.26.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- greeneca
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|