roku_builder 4.6.1 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/lib/roku_builder.rb +5 -2
- data/lib/roku_builder/plugins/loader.rb +4 -1
- data/lib/roku_builder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f5ee06bef7a559cd71fdb1406b39a5b97e98ebe
|
|
4
|
+
data.tar.gz: 0fd27354c80130d18413c7f9c03d32da4dc77d32
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecce7558ba6b19ce6c4038dc621900608e005d6fbab5134bebb0c038db2b5d9480a64fd40281f654748138e05a6f3dee412c75e2bd4ac4793a7e23bd182271e8
|
|
7
|
+
data.tar.gz: c152454c7f0a93a925508ec6251443d6fb7c05cf83d0f84bbe2e9b49fbcc405ba0a8f10b6ef3d5b25979b175a4df20a43b8969601a616b127429bdda0b76a769
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
roku_builder (4.6.
|
|
4
|
+
roku_builder (4.6.2)
|
|
5
5
|
faraday (~> 0.13)
|
|
6
6
|
faraday-digestauth (~> 0.2)
|
|
7
7
|
git (~> 1.3)
|
|
@@ -29,7 +29,7 @@ GEM
|
|
|
29
29
|
crack (0.4.3)
|
|
30
30
|
safe_yaml (~> 1.0.0)
|
|
31
31
|
docile (1.1.5)
|
|
32
|
-
faraday (0.15.
|
|
32
|
+
faraday (0.15.2)
|
|
33
33
|
multipart-post (>= 1.2, < 3)
|
|
34
34
|
faraday-digestauth (0.3.0)
|
|
35
35
|
faraday (~> 0.7)
|
|
@@ -38,7 +38,7 @@ GEM
|
|
|
38
38
|
ffi-win32-extensions (1.0.3)
|
|
39
39
|
ffi
|
|
40
40
|
formatador (0.2.5)
|
|
41
|
-
git (1.
|
|
41
|
+
git (1.4.0)
|
|
42
42
|
guard (2.14.2)
|
|
43
43
|
formatador (>= 0.2.4)
|
|
44
44
|
listen (>= 2.7, < 4.0)
|
|
@@ -74,7 +74,7 @@ GEM
|
|
|
74
74
|
nenv (0.3.0)
|
|
75
75
|
net-http-digest_auth (1.4.1)
|
|
76
76
|
net-ping (2.0.4)
|
|
77
|
-
net-telnet (0.
|
|
77
|
+
net-telnet (0.2.0)
|
|
78
78
|
notiffany (0.1.1)
|
|
79
79
|
nenv (~> 0.1)
|
|
80
80
|
shellany (~> 0.0)
|
data/lib/roku_builder.rb
CHANGED
|
@@ -114,6 +114,9 @@ module RokuBuilder
|
|
|
114
114
|
end
|
|
115
115
|
if dev_path
|
|
116
116
|
@@dev = true
|
|
117
|
+
Dir.glob(File.join(dev_path, "lib", "*.rb")).each do |path|
|
|
118
|
+
require path
|
|
119
|
+
end
|
|
117
120
|
Dir.glob(File.join(dev_path, "lib", "roku_builder", "plugins", "*")).each do |path|
|
|
118
121
|
require path
|
|
119
122
|
end
|
|
@@ -201,8 +204,8 @@ module RokuBuilder
|
|
|
201
204
|
opts = options.split(/,\s*/)
|
|
202
205
|
opts.each do |opt|
|
|
203
206
|
opt = opt.split(":")
|
|
204
|
-
key = opt.shift.to_sym
|
|
205
|
-
value = opt.join(":")
|
|
207
|
+
key = opt.shift.strip.to_sym
|
|
208
|
+
value = opt.join(":").strip
|
|
206
209
|
parsed[key] = value
|
|
207
210
|
end
|
|
208
211
|
parsed
|
|
@@ -54,6 +54,9 @@ module RokuBuilder
|
|
|
54
54
|
def build(options:)
|
|
55
55
|
@options = options
|
|
56
56
|
build_zip(setup_build_content)
|
|
57
|
+
if options.command == :build or options[:out]
|
|
58
|
+
@logger.info "File Path: "+file_path(:out)
|
|
59
|
+
end
|
|
57
60
|
@config.in = @config.out #setting in path for possible sideload
|
|
58
61
|
end
|
|
59
62
|
|
|
@@ -78,10 +81,10 @@ module RokuBuilder
|
|
|
78
81
|
archive: Faraday::UploadIO.new(file_path(:in), 'application/zip')
|
|
79
82
|
}
|
|
80
83
|
response = multipart_connection.post "/plugin_install", payload
|
|
84
|
+
@logger.debug("Status: #{response.status}, Body: #{response.body}")
|
|
81
85
|
if response.status==200 and response.body=~/Identical to previous version/
|
|
82
86
|
@logger.warn("Sideload identival to previous version")
|
|
83
87
|
elsif not (response.status==200 and response.body=~/Install Success/)
|
|
84
|
-
@logger.debug("Status: #{response.status}, Body: #{response.body}")
|
|
85
88
|
raise ExecutionError, "Failed Sideloading"
|
|
86
89
|
end
|
|
87
90
|
end
|
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.6.
|
|
4
|
+
version: 4.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- greeneca
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-07-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubyzip
|