roku_builder 4.21.3 → 4.21.4

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
  SHA256:
3
- metadata.gz: 6a91edfcf033f846e9d9e1e3f0fc37afe4cfc3c58ec4b2062275dbfd683744fb
4
- data.tar.gz: bc90febc52b08f211ef0d48346a4652798a433b2532af98d801d41cf505e2989
3
+ metadata.gz: 893af4ba4855d2ea781043034af83671eff43a10c14ded1648e12e45377cd9aa
4
+ data.tar.gz: 4f9b84df19799dd6220718b2825d4a597327c63b8c3403432b3e5a9c53542652
5
5
  SHA512:
6
- metadata.gz: a77a6044775302eca3b344497cfe2815d3b550dad7d289c629d04e0c2193bf4d4c6563ec9b28a4158712fdbbef8e354ca48747266499fdd5e9fd6028f3a63a59
7
- data.tar.gz: 741fee309f4e65e99757b1ddfb964f39f1a9391b56abd1f42d09507c1255ef040bd8ae990e821edf4b0453870065c11cfa6c99f60c9f48eabcae0a2b53904ab4
6
+ metadata.gz: 13cdd1828544c0580c46507047ae9425a65054e3ade6d6f8ac2f5a149faac60cc59212929b64a9226c57494a80bf1fcfb36540e684ada73df7d1215e0fb68b9d
7
+ data.tar.gz: e3a7197fbafbf6138b0c5831c21e3640b47d9c4b219c2bde6c924678ff05379d1f7d09490dd4ae06753ef910b57b31816dc70933803784f1fe21fe39ec1ddc41
@@ -1,5 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - "2.4.1"
3
+ - "2.6.0"
4
4
  before_install:
5
5
  - gem install bundler
@@ -7,7 +7,7 @@ module RokuBuilder
7
7
  extend Plugin
8
8
 
9
9
  def init
10
- @warningFileSize = 250 * 1024
10
+ @warningFileSize = 500 * 1024
11
11
  end
12
12
 
13
13
  def self.commands
@@ -37,6 +37,9 @@ module RokuBuilder
37
37
  parser.on("-x", "--exclude", "Apply exclude config to sideload") do
38
38
  options[:exclude] = true
39
39
  end
40
+ parser.on("--remote-debug", "Sideload will enable remote debug") do
41
+ options[:remoteDebug] = true
42
+ end
40
43
  end
41
44
 
42
45
  def self.dependencies
@@ -52,7 +55,7 @@ module RokuBuilder
52
55
  build(options: options)
53
56
  end
54
57
  keep_build_file = is_build_command(options) and options[:out]
55
- upload
58
+ upload(options)
56
59
  # Cleanup
57
60
  File.delete(file_path(:in)) if did_build and not keep_build_file
58
61
  end
@@ -99,11 +102,12 @@ module RokuBuilder
99
102
  [:sideload, :build].include? options.command
100
103
  end
101
104
 
102
- def upload
105
+ def upload(options)
103
106
  payload = {
104
107
  mysubmit: "Replace",
105
- archive: Faraday::UploadIO.new(file_path(:in), 'application/zip')
108
+ archive: Faraday::UploadIO.new(file_path(:in), 'application/zip'),
106
109
  }
110
+ payload["remotedebug"] = "1" if options[:remoteDebug]
107
111
  response = multipart_connection.post "/plugin_install", payload
108
112
  @logger.debug("Status: #{response.status}, Body: #{response.body}")
109
113
  if response.status==200 and response.body=~/Identical to previous version/
@@ -2,5 +2,5 @@
2
2
 
3
3
  module RokuBuilder
4
4
  # Version of the RokuBuilder Gem
5
- VERSION = "4.21.3"
5
+ VERSION = "4.21.4"
6
6
  end
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.21.3
4
+ version: 4.21.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - greeneca
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-06 00:00:00.000000000 Z
11
+ date: 2020-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -616,7 +616,7 @@ homepage: ''
616
616
  licenses:
617
617
  - Apache-2.0
618
618
  metadata: {}
619
- post_install_message:
619
+ post_install_message:
620
620
  rdoc_options: []
621
621
  require_paths:
622
622
  - lib
@@ -631,8 +631,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
631
631
  - !ruby/object:Gem::Version
632
632
  version: '0'
633
633
  requirements: []
634
- rubygems_version: 3.1.1
635
- signing_key:
634
+ rubygems_version: 3.1.2
635
+ signing_key:
636
636
  specification_version: 4
637
637
  summary: Build Tool for Roku Apps
638
638
  test_files: