roku_builder 3.12.0 → 3.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +291 -0
- data/Gemfile.lock +1 -1
- data/lib/roku_builder/config_parser.rb +6 -1
- data/lib/roku_builder/version.rb +1 -1
- data/test/roku_builder/test_config_parser.rb +26 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d6c658a501f3875fc1990a008e29e96298ee4f8
|
4
|
+
data.tar.gz: 8ccab9dc5a4ca327747a1f990ac7a8fbbcdae747
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76e20ba196af6d026cac3041259c27370e9fe154c62c967a7fe794ff810b6a3537a47d1e34aff52566ff7e0658730b6be59c350abc948c5eda8a69c0cf36c5fb
|
7
|
+
data.tar.gz: b6f3f6139949b6a01e7e111ac59d71d99331a120d4ec22145573d4f20abaae1e88e50419b1da3344b66d91031d0741be87e3b9b17e6b167ee3733f5871cde9b6
|
data/CHANGELOG
ADDED
@@ -0,0 +1,291 @@
|
|
1
|
+
= 3.12.1 =
|
2
|
+
|
3
|
+
- Fix project selection when using the project_dir config value
|
4
|
+
|
5
|
+
= 3.12.0 =
|
6
|
+
|
7
|
+
- Add optional "parent_config", "project_dir", and "key_dir" config options
|
8
|
+
- `--monitor` can be called without an argument. "main" is used by default
|
9
|
+
- Depricate unused monitor screens
|
10
|
+
- Update README to be clearer
|
11
|
+
|
12
|
+
= 3.11.1
|
13
|
+
|
14
|
+
- Fix outfile handeling
|
15
|
+
- build file is not deleted if --out option is supplied
|
16
|
+
- Update help messages
|
17
|
+
- Update config example with script options
|
18
|
+
- Update README with script options
|
19
|
+
- Update dependancies
|
20
|
+
|
21
|
+
= 3.11.0
|
22
|
+
|
23
|
+
- Add genkey command
|
24
|
+
- add command history and autocomplete functionality to the `--monitor` command
|
25
|
+
|
26
|
+
= 3.10.7
|
27
|
+
|
28
|
+
- Test for missing keys in config
|
29
|
+
- Allow update_manifests to not set the default values
|
30
|
+
|
31
|
+
= 3.10.6
|
32
|
+
|
33
|
+
- Deeplinker output includes curl command
|
34
|
+
|
35
|
+
= 3.10.5
|
36
|
+
|
37
|
+
- Dependancies update
|
38
|
+
- Ruby Update
|
39
|
+
|
40
|
+
= 3.10.4
|
41
|
+
|
42
|
+
- Fix debugger bug
|
43
|
+
|
44
|
+
= 3.10.3
|
45
|
+
|
46
|
+
- Fix navigator bug
|
47
|
+
|
48
|
+
= 3.10.2
|
49
|
+
|
50
|
+
- Allow input_mappings to be configured
|
51
|
+
- Change Default mappings
|
52
|
+
|
53
|
+
= 3.10.1
|
54
|
+
|
55
|
+
- Go to home before sideloading
|
56
|
+
|
57
|
+
= 3.10.0
|
58
|
+
|
59
|
+
- Add interactive navigator
|
60
|
+
- Send key sequences for allowed screens
|
61
|
+
|
62
|
+
= 3.9.0
|
63
|
+
|
64
|
+
- Handle missing stage
|
65
|
+
- Allow seprate key config
|
66
|
+
- Account for some missing files
|
67
|
+
- Better parse error handeling
|
68
|
+
- Print out deeplink params in verbose mode
|
69
|
+
- Fix outfile handeling
|
70
|
+
- Fix Keyer
|
71
|
+
- Dependancies update
|
72
|
+
|
73
|
+
= 3.8.4
|
74
|
+
|
75
|
+
- Clean up docs
|
76
|
+
- Account for no dev id when keying
|
77
|
+
- Do not require a device for printing
|
78
|
+
|
79
|
+
= 3.8.3
|
80
|
+
|
81
|
+
- Dependancies update
|
82
|
+
|
83
|
+
= 3.8.2
|
84
|
+
|
85
|
+
- Remove requirement for a production stage
|
86
|
+
|
87
|
+
= 3.8.1
|
88
|
+
|
89
|
+
|
90
|
+
- Add app_name to printer
|
91
|
+
- Dependancies Update
|
92
|
+
|
93
|
+
= 3.8.0
|
94
|
+
|
95
|
+
- Update package inspection printing
|
96
|
+
- Add Scene Graph profiler
|
97
|
+
|
98
|
+
= 3.7.3
|
99
|
+
|
100
|
+
- Add profiler port to monitor
|
101
|
+
|
102
|
+
= 3.7.2
|
103
|
+
|
104
|
+
- Do not require a device for commands that do not use one
|
105
|
+
- Add stop command to be used like ctrl-c
|
106
|
+
|
107
|
+
= 3.7.1
|
108
|
+
|
109
|
+
- Ensure git stager creates stash
|
110
|
+
|
111
|
+
= 3.7.0
|
112
|
+
|
113
|
+
- Add stage/unstage commands
|
114
|
+
|
115
|
+
= 3.6.6
|
116
|
+
|
117
|
+
- Do not require an unstage script
|
118
|
+
- Account for comments/empty lines in manifest
|
119
|
+
- Dependancies update
|
120
|
+
|
121
|
+
= 3.6.5
|
122
|
+
|
123
|
+
- Skipped
|
124
|
+
|
125
|
+
= 3.6.4
|
126
|
+
|
127
|
+
- Add Print command
|
128
|
+
|
129
|
+
= 3.6.3
|
130
|
+
|
131
|
+
- Update License
|
132
|
+
- Allow projects to define parents
|
133
|
+
|
134
|
+
= 3.6.2
|
135
|
+
|
136
|
+
- Allow deeplink with no options
|
137
|
+
- Allow deeplinking to specific app
|
138
|
+
- Add app-list command
|
139
|
+
|
140
|
+
= 3.6.1
|
141
|
+
|
142
|
+
- Allow excludes on normal sideload
|
143
|
+
|
144
|
+
= 3.6.0
|
145
|
+
|
146
|
+
- Allow sideloading zip file
|
147
|
+
- add excludes config to exclude files during build/package
|
148
|
+
- Update ruby version
|
149
|
+
|
150
|
+
= 3.5.0
|
151
|
+
|
152
|
+
- Depricate --deeplink command
|
153
|
+
- Allow deeplink commands to sideload app
|
154
|
+
- Add verbose messages
|
155
|
+
|
156
|
+
= 3.4.4
|
157
|
+
|
158
|
+
- Improve project selection
|
159
|
+
|
160
|
+
= 3.4.3
|
161
|
+
|
162
|
+
- Add key command
|
163
|
+
|
164
|
+
= 3.4.2
|
165
|
+
|
166
|
+
- Bug fixes for staging method
|
167
|
+
|
168
|
+
= 3.4.1
|
169
|
+
|
170
|
+
- Bug fix for manifest update
|
171
|
+
|
172
|
+
= 3.4.0
|
173
|
+
|
174
|
+
- Add update manifest
|
175
|
+
- Add script based staging
|
176
|
+
- Dependancies update
|
177
|
+
|
178
|
+
= 3.3.4
|
179
|
+
|
180
|
+
- Add debugger break
|
181
|
+
- Dependancies update
|
182
|
+
- Code cleanup
|
183
|
+
- README badges
|
184
|
+
|
185
|
+
= 3.3.3
|
186
|
+
|
187
|
+
- Build version update fix
|
188
|
+
- Set ruby version
|
189
|
+
|
190
|
+
= 3.3.2
|
191
|
+
|
192
|
+
- Fix monitor port numbers
|
193
|
+
|
194
|
+
= 3.3.1
|
195
|
+
|
196
|
+
- Add screen and screens commands
|
197
|
+
|
198
|
+
= 3.3.0
|
199
|
+
|
200
|
+
- Find online devices if not specified
|
201
|
+
- Allow monitor to interact with debugger
|
202
|
+
|
203
|
+
= 3.2.3
|
204
|
+
|
205
|
+
- Bug fix for stage with no key
|
206
|
+
|
207
|
+
= 3.2.2
|
208
|
+
|
209
|
+
- Build bug fixes
|
210
|
+
|
211
|
+
= 3.2.1
|
212
|
+
|
213
|
+
- Fix for sideloading working directory
|
214
|
+
|
215
|
+
= 3.2.0
|
216
|
+
|
217
|
+
- Add screen capture
|
218
|
+
- Add documentation
|
219
|
+
|
220
|
+
= 3.1.2
|
221
|
+
|
222
|
+
- Add support for both developer interfaces
|
223
|
+
|
224
|
+
= 3.1.1
|
225
|
+
|
226
|
+
- Update to support new developer interface
|
227
|
+
|
228
|
+
= 3.1.0
|
229
|
+
|
230
|
+
- Add monitor
|
231
|
+
- Allow config to be edited
|
232
|
+
|
233
|
+
= 3.0.0
|
234
|
+
|
235
|
+
- Code refactor and cleanup
|
236
|
+
- Add validate command
|
237
|
+
|
238
|
+
= 2.0.3
|
239
|
+
|
240
|
+
- Prevent configuration command from overwriting existing config
|
241
|
+
|
242
|
+
= 2.0.2
|
243
|
+
|
244
|
+
- Remove debugger requirement
|
245
|
+
|
246
|
+
= 2.0.1
|
247
|
+
|
248
|
+
- Sideloader bugfix
|
249
|
+
|
250
|
+
= 2.0.0
|
251
|
+
|
252
|
+
- Remove depricated options
|
253
|
+
- Allow sideloading current directory
|
254
|
+
|
255
|
+
= 1.5.1
|
256
|
+
|
257
|
+
- Fix printing version
|
258
|
+
|
259
|
+
= 1.5.0
|
260
|
+
|
261
|
+
- Add inspector for packaging
|
262
|
+
|
263
|
+
= 1.4.1
|
264
|
+
|
265
|
+
- Allow packaging of working directory
|
266
|
+
- Allow build with stage and working
|
267
|
+
|
268
|
+
= 1.4.0
|
269
|
+
|
270
|
+
- Ensure git is not used if --working is passed
|
271
|
+
- Allow outfile to be defined
|
272
|
+
|
273
|
+
= 1.3.0
|
274
|
+
|
275
|
+
- Add manifest update command
|
276
|
+
- Allow multiple devices
|
277
|
+
|
278
|
+
= 1.2.1
|
279
|
+
|
280
|
+
- Fix update manifest bug
|
281
|
+
|
282
|
+
= 1.2.0
|
283
|
+
|
284
|
+
- Add smart project selection
|
285
|
+
|
286
|
+
= 1.1.0
|
287
|
+
|
288
|
+
- Depricate manifest update options
|
289
|
+
- Add ability to fetch before sideload or build
|
290
|
+
- Fix updating build number
|
291
|
+
- Fix parsing deeplinking options
|
data/Gemfile.lock
CHANGED
@@ -47,7 +47,12 @@ module RokuBuilder
|
|
47
47
|
project = nil
|
48
48
|
config[:projects].each_pair {|key,value|
|
49
49
|
if value.is_a?(Hash)
|
50
|
-
repo_path =
|
50
|
+
repo_path = ""
|
51
|
+
if config[:projects][:project_dir]
|
52
|
+
repo_path = Pathname.new(File.join(config[:projects][:project_dir], value[:directory])).realdirpath
|
53
|
+
else
|
54
|
+
repo_path = Pathname.new(value[:directory]).realdirpath
|
55
|
+
end
|
51
56
|
path.descend do |path_parent|
|
52
57
|
if path_parent == repo_path
|
53
58
|
project = key
|
data/lib/roku_builder/version.rb
CHANGED
@@ -82,6 +82,7 @@ class ConfigParserTest < Minitest::Test
|
|
82
82
|
config = good_config
|
83
83
|
config[:projects][:project_dir] = "/tmp"
|
84
84
|
config[:projects][:project1][:directory] = "project1"
|
85
|
+
config[:projects][:project2][:directory] = "project2"
|
85
86
|
|
86
87
|
|
87
88
|
code = nil
|
@@ -94,6 +95,31 @@ class ConfigParserTest < Minitest::Test
|
|
94
95
|
assert_equal "/tmp/project1", configs[:project_config][:directory]
|
95
96
|
end
|
96
97
|
|
98
|
+
def test_manifest_config_project_select
|
99
|
+
logger = Logger.new("/dev/null")
|
100
|
+
options = {
|
101
|
+
config: File.expand_path(File.join(File.dirname(__FILE__), "test_files", "controller_config_test", "valid_config.json")),
|
102
|
+
stage: 'production',
|
103
|
+
update_manifest: false,
|
104
|
+
fetch: false,
|
105
|
+
}
|
106
|
+
config = good_config
|
107
|
+
config[:projects][:project_dir] = "/tmp"
|
108
|
+
config[:projects][:project1][:directory] = "project1"
|
109
|
+
config[:projects][:project2][:directory] = "project2"
|
110
|
+
|
111
|
+
code = nil
|
112
|
+
configs = nil
|
113
|
+
|
114
|
+
Pathname.stub(:pwd, Pathname.new("/tmp/project2")) do
|
115
|
+
code, configs = RokuBuilder::ConfigParser.parse_config(options: options, config: config, logger: logger)
|
116
|
+
end
|
117
|
+
|
118
|
+
assert_equal RokuBuilder::SUCCESS, code
|
119
|
+
assert_equal Hash, config.class
|
120
|
+
assert_equal "/tmp/project2", configs[:project_config][:directory]
|
121
|
+
end
|
122
|
+
|
97
123
|
def test_manifest_config_key_directory
|
98
124
|
logger = Logger.new("/dev/null")
|
99
125
|
options = {key: true, project: :project2}
|
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
|
+
version: 3.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- greeneca
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -273,6 +273,7 @@ files:
|
|
273
273
|
- ".gitignore"
|
274
274
|
- ".rubocop.yml"
|
275
275
|
- ".travis.yml"
|
276
|
+
- CHANGELOG
|
276
277
|
- Gemfile
|
277
278
|
- Gemfile.lock
|
278
279
|
- Guardfile
|