roku_builder 3.12.4 → 3.12.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6465e57b5cb5dad5fb1606d51f9469d6334c39a
4
- data.tar.gz: 8e0fbdbef24e1dd4d283b82a54313a8e6605aac8
3
+ metadata.gz: b84000d926e8db3e7fd7b8c914b52f78f1a4ce4d
4
+ data.tar.gz: 40586d39402dd539138b215c31d2840e166b304e
5
5
  SHA512:
6
- metadata.gz: c3c26fb3b92fa5e9ef0e5655049a68aa3811f22a8807bb76087d70f355f299be662356340512deca359b0fdd04208ed6d9f7c495e729811ceb56dc3fa276a3dc
7
- data.tar.gz: 1ed8966ed21dec4b74eccd1236649c375336977b8d422d35296059157bb4bb3adcb2d785018faac535d06f41fc855d3af2975c0dba95ad972e90e5d2de699a64
6
+ metadata.gz: cbcd65228f732a9c7091fe806ee37b7136bd7a05c5007ac0b252cc96cc59d5b1da65c305791a2ddb29ea254ea0a52a7a94f21478c374037408e1f9772aca11b6
7
+ data.tar.gz: faf91298b57a59e4b01cd6e5a7944da703abba7be7edb4aa307e50704139e09b4ebe386bf3b9aa237ad5c3c69d66930405d76c822e09eeef4c3cf9c1089e7152
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ = 3.12.5 =
2
+
3
+ - Fix issue with inspector
4
+
1
5
  = 3.12.4 =
2
6
 
3
7
  - Add regexp option for filtering monitor logs
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- roku_builder (3.12.4)
4
+ roku_builder (3.12.5)
5
5
  faraday (~> 0.11)
6
6
  faraday-digestauth (~> 0.2)
7
7
  git (~> 1.3)
@@ -207,14 +207,14 @@ module RokuBuilder
207
207
  password: configs[:key][:password],
208
208
  app_name_version: "#{configs[:project_config][:app_name]} - #{stage}"
209
209
  }
210
- if configs[:out][:file]
211
- configs[:package_config][:out_file] = File.join(configs[:out][:folder], configs[:out][:file])
212
- end
213
210
  # Create Inspector Config
214
211
  configs[:inspect_config] = {
215
- pkg: configs[:package_config][:out_file],
216
212
  password: configs[:key][:password]
217
213
  }
214
+ if configs[:out][:file]
215
+ configs[:package_config][:out_file] = File.join(configs[:out][:folder], configs[:out][:file])
216
+ configs[:inspect_config][:pkg] = File.join(configs[:out][:folder], configs[:out][:file])
217
+ end
218
218
  end
219
219
  end
220
220
  private_class_method :setup_package_config
@@ -15,6 +15,7 @@ module RokuBuilder
15
15
  # * dev_zip
16
16
  def inspect(pkg:, password:)
17
17
 
18
+ pkg = pkg+".pkg" unless pkg.end_with?(".pkg")
18
19
  # upload new key with password
19
20
  path = "/plugin_inspect"
20
21
  conn = multipart_connection
@@ -2,5 +2,5 @@
2
2
 
3
3
  module RokuBuilder
4
4
  # Version of the RokuBuilder Gem
5
- VERSION = "3.12.4"
5
+ VERSION = "3.12.5"
6
6
  end
@@ -282,7 +282,7 @@ class ControllerCommandsTest < Minitest::Test
282
282
  logger = Logger.new("/dev/null")
283
283
  navigator = Minitest::Mock.new
284
284
 
285
- options = {navigate: "up", config: ":execute_commands,/.roku_config.json"}
285
+ options = {navigate: "up", config: "~/.roku_config.json"}
286
286
  config = good_config
287
287
  code, configs = RokuBuilder::ConfigParser.parse_config(options: options, config: config, logger: logger)
288
288
  navigator.expect(:nav, true, [configs[:navigate_config]])
@@ -312,7 +312,7 @@ class ControllerCommandsTest < Minitest::Test
312
312
  logger = Logger.new("/dev/null")
313
313
  navigator = Minitest::Mock.new
314
314
 
315
- options = {screen: "secret", config: ":execute_commands,/.roku_config.json"}
315
+ options = {screen: "secret", config: "~/.roku_config.json"}
316
316
  config = good_config
317
317
  code, configs = RokuBuilder::ConfigParser.parse_config(options: options, config: config, logger: logger)
318
318
  navigator.expect(:screen, true, [configs[:screen_config]])
@@ -327,7 +327,7 @@ class ControllerCommandsTest < Minitest::Test
327
327
  logger = Logger.new("/dev/null")
328
328
  navigator = Minitest::Mock.new
329
329
 
330
- options = {screens: true, config: ":execute_commands,/.roku_config.json"}
330
+ options = {screens: true, config: "~/.roku_config.json"}
331
331
  config = good_config
332
332
  code, configs = RokuBuilder::ConfigParser.parse_config(options: options, config: config, logger: logger)
333
333
  navigator.expect(:screens, true)
@@ -342,7 +342,7 @@ class ControllerCommandsTest < Minitest::Test
342
342
  logger = Logger.new("/dev/null")
343
343
  navigator = Minitest::Mock.new
344
344
 
345
- options = {text: "text string", config: ":execute_commands,/.roku_config.json"}
345
+ options = {text: "text string", config: "~/.roku_config.json"}
346
346
  config = good_config
347
347
  code, configs = RokuBuilder::ConfigParser.parse_config(options: options, config: config, logger: logger)
348
348
  navigator.expect(:type, true, [configs[:text_config]])
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: 3.12.4
4
+ version: 3.12.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - greeneca
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-17 00:00:00.000000000 Z
11
+ date: 2017-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip