u3d 1.2.1 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +43 -10
  3. data/.github/workflows/ci.yml +35 -0
  4. data/.github_changelog_generator +3 -1
  5. data/.gitignore +1 -0
  6. data/.rubocop.yml +15 -3
  7. data/CHANGELOG.md +90 -11
  8. data/DEVELOPMENT_PROCESS.md +1 -0
  9. data/Gemfile.lock +148 -88
  10. data/Rakefile +55 -6
  11. data/appveyor.yml +25 -6
  12. data/examples/Example1/Gemfile +4 -2
  13. data/examples/Example1/Gemfile.lock +12 -7
  14. data/examples/Example1/Rakefile +2 -0
  15. data/examples/Example1/fastlane/Fastfile +2 -0
  16. data/examples/Example2/Gemfile +4 -2
  17. data/examples/Example2/Gemfile.lock +12 -7
  18. data/examples/Example2/fastlane/Fastfile +2 -0
  19. data/exe/u3d +3 -1
  20. data/lib/u3d/asset.rb +6 -2
  21. data/lib/u3d/cache.rb +14 -10
  22. data/lib/u3d/commands.rb +22 -17
  23. data/lib/u3d/commands_generator.rb +9 -4
  24. data/lib/u3d/compatibility.rb +2 -0
  25. data/lib/u3d/download_validator.rb +6 -3
  26. data/lib/u3d/downloader.rb +12 -8
  27. data/lib/u3d/failure_reporter.rb +4 -3
  28. data/lib/u3d/hub_modules_parser.rb +24 -7
  29. data/lib/u3d/ini_modules_parser.rb +10 -32
  30. data/lib/u3d/installation.rb +77 -66
  31. data/lib/u3d/installer.rb +50 -34
  32. data/lib/u3d/log_analyzer.rb +31 -27
  33. data/lib/u3d/unity_license.rb +2 -0
  34. data/lib/u3d/unity_module.rb +2 -0
  35. data/lib/u3d/unity_project.rb +4 -1
  36. data/lib/u3d/unity_runner.rb +12 -10
  37. data/lib/u3d/unity_version_definition.rb +3 -0
  38. data/lib/u3d/unity_version_number.rb +8 -2
  39. data/lib/u3d/unity_versions.rb +28 -23
  40. data/lib/u3d/utils.rb +82 -15
  41. data/lib/u3d/version.rb +8 -6
  42. data/lib/u3d.rb +13 -0
  43. data/lib/u3d_core/admin_tools.rb +2 -0
  44. data/lib/u3d_core/command_executor.rb +11 -7
  45. data/lib/u3d_core/command_runner.rb +17 -19
  46. data/lib/u3d_core/core_ext/hash.rb +2 -0
  47. data/lib/u3d_core/core_ext/operating_system_symbol.rb +3 -0
  48. data/lib/u3d_core/core_ext/string.rb +2 -0
  49. data/lib/u3d_core/credentials.rb +9 -7
  50. data/lib/u3d_core/env.rb +35 -0
  51. data/lib/u3d_core/globals.rb +7 -7
  52. data/lib/u3d_core/helper.rb +6 -4
  53. data/lib/u3d_core/ui/disable_colors.rb +2 -0
  54. data/lib/u3d_core/ui/implementations/shell.rb +8 -5
  55. data/lib/u3d_core/ui/interface.rb +3 -0
  56. data/lib/u3d_core/ui/ui.rb +5 -4
  57. data/lib/u3d_core/update_checker/changelog.rb +67 -0
  58. data/lib/u3d_core/update_checker/update_checker.rb +129 -0
  59. data/lib/u3d_core/version.rb +2 -0
  60. data/lib/u3d_core.rb +5 -0
  61. data/u3d.gemspec +20 -10
  62. metadata +106 -31
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: u3d
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jerome Lacoste
8
8
  - Paul Niezborala
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-11-15 00:00:00.000000000 Z
12
+ date: 2022-05-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colored
@@ -52,33 +52,33 @@ dependencies:
52
52
  - !ruby/object:Gem::Version
53
53
  version: 5.0.0
54
54
  - !ruby/object:Gem::Dependency
55
- name: file-tail
55
+ name: filesize
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 1.2.0
60
+ version: 0.1.1
61
61
  type: :runtime
62
62
  prerelease: false
63
63
  version_requirements: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: 1.2.0
67
+ version: 0.1.1
68
68
  - !ruby/object:Gem::Dependency
69
- name: filesize
69
+ name: file-tail
70
70
  requirement: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: 0.1.1
74
+ version: 1.2.0
75
75
  type: :runtime
76
76
  prerelease: false
77
77
  version_requirements: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: 0.1.1
81
+ version: 1.2.0
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: inifile
84
84
  requirement: !ruby/object:Gem::Requirement
@@ -119,6 +119,20 @@ dependencies:
119
119
  - - "<"
120
120
  - !ruby/object:Gem::Version
121
121
  version: 4.0.0
122
+ - !ruby/object:Gem::Dependency
123
+ name: rexml
124
+ requirement: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ type: :runtime
130
+ prerelease: false
131
+ version_requirements: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
122
136
  - !ruby/object:Gem::Dependency
123
137
  name: rubyzip
124
138
  requirement: !ruby/object:Gem::Requirement
@@ -147,20 +161,48 @@ dependencies:
147
161
  - - '='
148
162
  - !ruby/object:Gem::Version
149
163
  version: 0.1.3
164
+ - !ruby/object:Gem::Dependency
165
+ name: activesupport
166
+ requirement: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ version: 5.2.4.3
171
+ type: :development
172
+ prerelease: false
173
+ version_requirements: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ version: 5.2.4.3
178
+ - !ruby/object:Gem::Dependency
179
+ name: addressable
180
+ requirement: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: 2.8.0
185
+ type: :development
186
+ prerelease: false
187
+ version_requirements: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: 2.8.0
150
192
  - !ruby/object:Gem::Dependency
151
193
  name: bundler
152
194
  requirement: !ruby/object:Gem::Requirement
153
195
  requirements:
154
196
  - - "~>"
155
197
  - !ruby/object:Gem::Version
156
- version: '1.13'
198
+ version: '2.0'
157
199
  type: :development
158
200
  prerelease: false
159
201
  version_requirements: !ruby/object:Gem::Requirement
160
202
  requirements:
161
203
  - - "~>"
162
204
  - !ruby/object:Gem::Version
163
- version: '1.13'
205
+ version: '2.0'
164
206
  - !ruby/object:Gem::Dependency
165
207
  name: coveralls
166
208
  requirement: !ruby/object:Gem::Requirement
@@ -175,90 +217,118 @@ dependencies:
175
217
  - - ">="
176
218
  - !ruby/object:Gem::Version
177
219
  version: '0'
220
+ - !ruby/object:Gem::Dependency
221
+ name: excon
222
+ requirement: !ruby/object:Gem::Requirement
223
+ requirements:
224
+ - - ">="
225
+ - !ruby/object:Gem::Version
226
+ version: 0.71.0
227
+ type: :development
228
+ prerelease: false
229
+ version_requirements: !ruby/object:Gem::Requirement
230
+ requirements:
231
+ - - ">="
232
+ - !ruby/object:Gem::Version
233
+ version: 0.71.0
178
234
  - !ruby/object:Gem::Dependency
179
235
  name: github_changelog_generator
180
236
  requirement: !ruby/object:Gem::Requirement
181
237
  requirements:
182
238
  - - ">="
183
239
  - !ruby/object:Gem::Version
184
- version: '0'
240
+ version: 1.16.4
185
241
  type: :development
186
242
  prerelease: false
187
243
  version_requirements: !ruby/object:Gem::Requirement
188
244
  requirements:
189
245
  - - ">="
190
246
  - !ruby/object:Gem::Version
191
- version: '0'
247
+ version: 1.16.4
192
248
  - !ruby/object:Gem::Dependency
193
- name: pry-byebug
249
+ name: json
194
250
  requirement: !ruby/object:Gem::Requirement
195
251
  requirements:
196
252
  - - ">="
197
253
  - !ruby/object:Gem::Version
198
- version: '0'
254
+ version: 2.3.0
199
255
  type: :development
200
256
  prerelease: false
201
257
  version_requirements: !ruby/object:Gem::Requirement
202
258
  requirements:
203
259
  - - ">="
204
260
  - !ruby/object:Gem::Version
205
- version: '0'
261
+ version: 2.3.0
206
262
  - !ruby/object:Gem::Dependency
207
263
  name: rake
208
264
  requirement: !ruby/object:Gem::Requirement
209
265
  requirements:
210
- - - "~>"
266
+ - - ">="
211
267
  - !ruby/object:Gem::Version
212
- version: '10.0'
268
+ version: 12.3.3
213
269
  type: :development
214
270
  prerelease: false
215
271
  version_requirements: !ruby/object:Gem::Requirement
216
272
  requirements:
217
- - - "~>"
273
+ - - ">="
218
274
  - !ruby/object:Gem::Version
219
- version: '10.0'
275
+ version: 12.3.3
220
276
  - !ruby/object:Gem::Dependency
221
277
  name: rspec
222
278
  requirement: !ruby/object:Gem::Requirement
223
279
  requirements:
224
280
  - - "~>"
225
281
  - !ruby/object:Gem::Version
226
- version: 3.1.0
282
+ version: 3.11.0
227
283
  type: :development
228
284
  prerelease: false
229
285
  version_requirements: !ruby/object:Gem::Requirement
230
286
  requirements:
231
287
  - - "~>"
232
288
  - !ruby/object:Gem::Version
233
- version: 3.1.0
289
+ version: 3.11.0
234
290
  - !ruby/object:Gem::Dependency
235
291
  name: rspec_junit_formatter
236
292
  requirement: !ruby/object:Gem::Requirement
237
293
  requirements:
238
294
  - - "~>"
239
295
  - !ruby/object:Gem::Version
240
- version: 0.2.3
296
+ version: 0.5.1
241
297
  type: :development
242
298
  prerelease: false
243
299
  version_requirements: !ruby/object:Gem::Requirement
244
300
  requirements:
245
301
  - - "~>"
246
302
  - !ruby/object:Gem::Version
247
- version: 0.2.3
303
+ version: 0.5.1
248
304
  - !ruby/object:Gem::Dependency
249
305
  name: rubocop
250
306
  requirement: !ruby/object:Gem::Requirement
251
307
  requirements:
252
308
  - - "~>"
253
309
  - !ruby/object:Gem::Version
254
- version: 0.52.1
310
+ version: '1.27'
311
+ type: :development
312
+ prerelease: false
313
+ version_requirements: !ruby/object:Gem::Requirement
314
+ requirements:
315
+ - - "~>"
316
+ - !ruby/object:Gem::Version
317
+ version: '1.27'
318
+ - !ruby/object:Gem::Dependency
319
+ name: rubocop-rake
320
+ requirement: !ruby/object:Gem::Requirement
321
+ requirements:
322
+ - - "~>"
323
+ - !ruby/object:Gem::Version
324
+ version: 0.6.0
255
325
  type: :development
256
326
  prerelease: false
257
327
  version_requirements: !ruby/object:Gem::Requirement
258
328
  requirements:
259
329
  - - "~>"
260
330
  - !ruby/object:Gem::Version
261
- version: 0.52.1
331
+ version: 0.6.0
262
332
  description: Provides numerous tools for installing, managing and running the Unity
263
333
  game engine from command line.
264
334
  email: jerome@wewanttoknow.com
@@ -270,6 +340,7 @@ files:
270
340
  - ".circleci/config.yml"
271
341
  - ".github/ISSUE_TEMPLATE.md"
272
342
  - ".github/PULL_REQUEST_TEMPLATE.md"
343
+ - ".github/workflows/ci.yml"
273
344
  - ".github_changelog_generator"
274
345
  - ".gitignore"
275
346
  - ".licenses.json"
@@ -420,12 +491,15 @@ files:
420
491
  - lib/u3d_core/core_ext/operating_system_symbol.rb
421
492
  - lib/u3d_core/core_ext/string.rb
422
493
  - lib/u3d_core/credentials.rb
494
+ - lib/u3d_core/env.rb
423
495
  - lib/u3d_core/globals.rb
424
496
  - lib/u3d_core/helper.rb
425
497
  - lib/u3d_core/ui/disable_colors.rb
426
498
  - lib/u3d_core/ui/implementations/shell.rb
427
499
  - lib/u3d_core/ui/interface.rb
428
500
  - lib/u3d_core/ui/ui.rb
501
+ - lib/u3d_core/update_checker/changelog.rb
502
+ - lib/u3d_core/update_checker/update_checker.rb
429
503
  - lib/u3d_core/version.rb
430
504
  - local_gem_install.sh
431
505
  - scripts/be
@@ -433,8 +507,9 @@ files:
433
507
  homepage: https://github.com/DragonBox/u3d
434
508
  licenses:
435
509
  - MIT
436
- metadata: {}
437
- post_install_message:
510
+ metadata:
511
+ rubygems_mfa_required: 'true'
512
+ post_install_message:
438
513
  rdoc_options: []
439
514
  require_paths:
440
515
  - lib
@@ -442,15 +517,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
442
517
  requirements:
443
518
  - - ">="
444
519
  - !ruby/object:Gem::Version
445
- version: 2.1.0
520
+ version: 2.5.0
446
521
  required_rubygems_version: !ruby/object:Gem::Requirement
447
522
  requirements:
448
523
  - - ">="
449
524
  - !ruby/object:Gem::Version
450
525
  version: '0'
451
526
  requirements: []
452
- rubygems_version: 3.0.1
453
- signing_key:
527
+ rubygems_version: 3.2.3
528
+ signing_key:
454
529
  specification_version: 4
455
530
  summary: U3d
456
531
  test_files: []