roku_builder 4.29.4 → 4.29.6
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/lib/roku_builder/config_parser.rb +6 -0
- data/lib/roku_builder/plugins/linker.rb +9 -2
- data/lib/roku_builder/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bc7d9e5e21ebb561758e53ba2852cd5ec8437d2720a076f9882cd57ec921c73
|
4
|
+
data.tar.gz: 6d4a8c2e618f385a924751a66103518587ca2051461705079ebf8e6b4f468f4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20ee85adc9ab4f11223e25e28f20bc4941068895efc92b4af0752a649245f99f6634b4b2fdc77a067e490469b5a4c912850d4a8cced39ac70d1bab402250547d
|
7
|
+
data.tar.gz: 4e959b8fa4007e03ff671b2c855da967ee0b087311ba122f0dbf24c7256c1e381b0fc319d4d8cc6c0587b292f69697e0c5c4d4eb53679ee118a427dcf7dea302
|
@@ -31,6 +31,7 @@ module RokuBuilder
|
|
31
31
|
setup_root_dir
|
32
32
|
setup_input_mappings
|
33
33
|
setup_console_log
|
34
|
+
setup_deeplinks
|
34
35
|
end
|
35
36
|
|
36
37
|
def process_in_argument
|
@@ -222,5 +223,10 @@ module RokuBuilder
|
|
222
223
|
def setup_console_log
|
223
224
|
@parsed[:console_log] = @config[:console_log]
|
224
225
|
end
|
226
|
+
|
227
|
+
def setup_deeplinks
|
228
|
+
@parsed[:deeplinks] = @config[:deeplinks]
|
229
|
+
end
|
230
|
+
|
225
231
|
end
|
226
232
|
end
|
@@ -16,10 +16,10 @@ module RokuBuilder
|
|
16
16
|
|
17
17
|
def self.parse_options(parser:, options:)
|
18
18
|
parser.separator "Commands:"
|
19
|
-
parser.on("-o", "--deeplink OPTIONS", "Launch and Deeplink into app. Define options as keypairs
|
19
|
+
parser.on("-o", "--deeplink OPTIONS", "Launch and Deeplink into app. Define options as keypairs (eg. \"a:b, c:d,e:f\") or name (eg. \"name\"). To use named deeplinks, including them in your config file: \"deeplinks\": { \"name\": \"a:b, c:d, e:f\" }") do |o|
|
20
20
|
options[:deeplink] = o
|
21
21
|
end
|
22
|
-
parser.on("-i", "--input OPTIONS", "Deeplink into app. Define options as keypairs
|
22
|
+
parser.on("-i", "--input OPTIONS", "Deeplink into app. Define options as keypairs (eg. \"a:b, c:d,e:f\") or name (eg. \"name\"). To use named deeplinks, including them in your config file: \"deeplinks\": { \"name\": \"a:b, c:d, e:f\" }") do |o|
|
23
23
|
options[:input] = o
|
24
24
|
end
|
25
25
|
parser.on("-A", "--app-list", "List currently installed apps") do
|
@@ -80,6 +80,13 @@ module RokuBuilder
|
|
80
80
|
unless payload.keys.count > 0
|
81
81
|
@logger.warn "No options sent to launched app"
|
82
82
|
else
|
83
|
+
deeplinks = @config.deeplinks
|
84
|
+
firstKey = payload.keys.first
|
85
|
+
if !deeplinks.nil?
|
86
|
+
if !deeplinks[firstKey].nil?
|
87
|
+
payload = RokuBuilder.options_parse(options: deeplinks[firstKey])
|
88
|
+
end
|
89
|
+
end
|
83
90
|
payload = parameterize(payload)
|
84
91
|
path = "#{path}?#{payload}"
|
85
92
|
@logger.info "Deeplink:"
|
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.29.
|
4
|
+
version: 4.29.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- greeneca
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -671,7 +671,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
671
671
|
- !ruby/object:Gem::Version
|
672
672
|
version: '0'
|
673
673
|
requirements: []
|
674
|
-
rubygems_version: 3.
|
674
|
+
rubygems_version: 3.5.9
|
675
675
|
signing_key:
|
676
676
|
specification_version: 4
|
677
677
|
summary: Build Tool for Roku Apps
|