u3d 1.2.3 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +33 -10
- data/.github/workflows/ci.yml +35 -0
- data/.github_changelog_generator +3 -1
- data/.gitignore +1 -0
- data/.rubocop.yml +15 -3
- data/CHANGELOG.md +62 -11
- data/Gemfile.lock +147 -87
- data/Rakefile +12 -7
- data/appveyor.yml +25 -6
- data/examples/Example1/Gemfile +4 -2
- data/examples/Example1/Gemfile.lock +8 -6
- data/examples/Example1/Rakefile +2 -0
- data/examples/Example1/fastlane/Fastfile +2 -0
- data/examples/Example2/Gemfile +4 -2
- data/examples/Example2/Gemfile.lock +12 -7
- data/examples/Example2/fastlane/Fastfile +2 -0
- data/exe/u3d +3 -1
- data/lib/u3d/asset.rb +6 -2
- data/lib/u3d/cache.rb +14 -10
- data/lib/u3d/commands.rb +14 -9
- data/lib/u3d/commands_generator.rb +6 -4
- data/lib/u3d/compatibility.rb +2 -0
- data/lib/u3d/download_validator.rb +6 -3
- data/lib/u3d/downloader.rb +12 -8
- data/lib/u3d/failure_reporter.rb +4 -3
- data/lib/u3d/hub_modules_parser.rb +24 -7
- data/lib/u3d/ini_modules_parser.rb +10 -8
- data/lib/u3d/installation.rb +31 -49
- data/lib/u3d/installer.rb +44 -33
- data/lib/u3d/log_analyzer.rb +31 -27
- data/lib/u3d/unity_license.rb +2 -0
- data/lib/u3d/unity_module.rb +2 -0
- data/lib/u3d/unity_project.rb +4 -1
- data/lib/u3d/unity_runner.rb +12 -10
- data/lib/u3d/unity_version_definition.rb +3 -0
- data/lib/u3d/unity_version_number.rb +8 -2
- data/lib/u3d/unity_versions.rb +28 -23
- data/lib/u3d/utils.rb +82 -15
- data/lib/u3d/version.rb +8 -6
- data/lib/u3d.rb +2 -0
- data/lib/u3d_core/admin_tools.rb +2 -0
- data/lib/u3d_core/command_executor.rb +11 -7
- data/lib/u3d_core/command_runner.rb +17 -19
- data/lib/u3d_core/core_ext/hash.rb +2 -0
- data/lib/u3d_core/core_ext/operating_system_symbol.rb +3 -0
- data/lib/u3d_core/core_ext/string.rb +2 -0
- data/lib/u3d_core/credentials.rb +9 -7
- data/lib/u3d_core/env.rb +3 -0
- data/lib/u3d_core/globals.rb +7 -7
- data/lib/u3d_core/helper.rb +6 -4
- data/lib/u3d_core/ui/disable_colors.rb +2 -0
- data/lib/u3d_core/ui/implementations/shell.rb +8 -5
- data/lib/u3d_core/ui/interface.rb +3 -0
- data/lib/u3d_core/ui/ui.rb +5 -4
- data/lib/u3d_core/update_checker/changelog.rb +4 -0
- data/lib/u3d_core/update_checker/update_checker.rb +7 -8
- data/lib/u3d_core/version.rb +2 -0
- data/lib/u3d_core.rb +2 -0
- data/u3d.gemspec +19 -9
- metadata +101 -30
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
## --- BEGIN LICENSE BLOCK ---
|
2
4
|
# Original work Copyright (c) 2015-present the fastlane authors
|
3
5
|
# Modified work Copyright 2019-present WeWantToKnow AS
|
@@ -35,18 +37,14 @@ module U3dCore
|
|
35
37
|
@start_time = Time.now
|
36
38
|
|
37
39
|
Thread.new do
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
rescue StandardError
|
42
|
-
# rubocop:enable Lint/HandleExceptions
|
43
|
-
# we don't want to show a stack trace if something goes wrong
|
44
|
-
end
|
40
|
+
server_results[gem_name] = fetch_latest(gem_name)
|
41
|
+
rescue StandardError
|
42
|
+
# we don't want to show a stack trace if something goes wrong
|
45
43
|
end
|
46
44
|
end
|
47
45
|
|
48
46
|
def self.server_results
|
49
|
-
@
|
47
|
+
@server_results ||= {}
|
50
48
|
end
|
51
49
|
|
52
50
|
class << self
|
@@ -112,6 +110,7 @@ module U3dCore
|
|
112
110
|
# running the specified command
|
113
111
|
def self.ensure_rubygems_source
|
114
112
|
return if `gem sources`.include?("https://rubygems.org")
|
113
|
+
|
115
114
|
puts("")
|
116
115
|
UI.error("RubyGems is not listed as your Gem source")
|
117
116
|
UI.error("You can run `gem sources` to see all your sources")
|
data/lib/u3d_core/version.rb
CHANGED
data/lib/u3d_core.rb
CHANGED
data/u3d.gemspec
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
2
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
5
|
require 'u3d/version'
|
4
6
|
|
@@ -8,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
8
10
|
spec.authors = ["Jerome Lacoste", "Paul Niezborala"]
|
9
11
|
spec.email = 'jerome@wewanttoknow.com'
|
10
12
|
|
11
|
-
spec.required_ruby_version = '>= 2.
|
13
|
+
spec.required_ruby_version = '>= 2.5.0'
|
12
14
|
|
13
15
|
spec.summary = "U3d"
|
14
16
|
spec.description = U3d::DESCRIPTION
|
@@ -25,19 +27,27 @@ Gem::Specification.new do |spec|
|
|
25
27
|
|
26
28
|
spec.add_dependency 'colored', '>= 1.2', '< 2.0.0' # terminal
|
27
29
|
spec.add_dependency 'commander', '>= 4.4.0', '< 5.0.0' # CLI parser
|
28
|
-
spec.add_dependency 'file-tail', '>= 1.2.0'
|
29
30
|
spec.add_dependency 'filesize', '>= 0.1.1' # File sizes prettifier
|
31
|
+
spec.add_dependency 'file-tail', '>= 1.2.0'
|
30
32
|
spec.add_dependency 'inifile', '>= 3.0.0', '< 4.0.0' # Parses INI files
|
31
33
|
spec.add_dependency 'plist', '>= 3.1.0', '< 4.0.0' # Generate the Xcode config plist file
|
34
|
+
spec.add_dependency "rexml" # rexml was unbundled from the stdlib in ruby 3
|
32
35
|
spec.add_dependency 'rubyzip', '>= 1.0.0' # Installation of .zip files
|
33
36
|
spec.add_dependency 'security', '= 0.1.3' # macOS Keychain manager, a dead project, no updates expected
|
34
37
|
# Development only
|
38
|
+
spec.add_development_dependency "activesupport", ">= 5.2.4.3" # force secure transitive dep
|
39
|
+
spec.add_development_dependency "addressable", ">= 2.8.0" # force secure transitive dep
|
35
40
|
spec.add_development_dependency "bundler", "~> 2.0"
|
36
41
|
spec.add_development_dependency "coveralls"
|
37
|
-
spec.add_development_dependency "
|
38
|
-
spec.add_development_dependency "
|
39
|
-
spec.add_development_dependency "
|
40
|
-
spec.add_development_dependency "
|
41
|
-
spec.add_development_dependency
|
42
|
-
spec.add_development_dependency
|
42
|
+
spec.add_development_dependency "excon", ">= 0.71.0" # force secure transitive dep
|
43
|
+
spec.add_development_dependency "github_changelog_generator", ">= 1.16.4"
|
44
|
+
spec.add_development_dependency "json", ">= 2.3.0" # force secure transitive dep
|
45
|
+
# spec.add_development_dependency "pry-byebug"
|
46
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
47
|
+
spec.add_development_dependency "rspec", "~> 3.11.0"
|
48
|
+
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.5.1'
|
49
|
+
spec.add_development_dependency 'rubocop', '~> 1.27'
|
50
|
+
spec.add_development_dependency 'rubocop-rake', '~> 0.6.0'
|
51
|
+
# spec.add_development_dependency 'rubocop-rspec', '~> 2.10.0'
|
52
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
43
53
|
end
|
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.
|
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:
|
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:
|
55
|
+
name: filesize
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.
|
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.
|
67
|
+
version: 0.1.1
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
|
-
name:
|
69
|
+
name: file-tail
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
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:
|
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,6 +161,34 @@ 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
|
@@ -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:
|
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:
|
247
|
+
version: 1.16.4
|
192
248
|
- !ruby/object:Gem::Dependency
|
193
|
-
name:
|
249
|
+
name: json
|
194
250
|
requirement: !ruby/object:Gem::Requirement
|
195
251
|
requirements:
|
196
252
|
- - ">="
|
197
253
|
- !ruby/object:Gem::Version
|
198
|
-
version:
|
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:
|
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:
|
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:
|
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.
|
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.
|
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.
|
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.
|
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:
|
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.
|
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"
|
@@ -436,8 +507,9 @@ files:
|
|
436
507
|
homepage: https://github.com/DragonBox/u3d
|
437
508
|
licenses:
|
438
509
|
- MIT
|
439
|
-
metadata:
|
440
|
-
|
510
|
+
metadata:
|
511
|
+
rubygems_mfa_required: 'true'
|
512
|
+
post_install_message:
|
441
513
|
rdoc_options: []
|
442
514
|
require_paths:
|
443
515
|
- lib
|
@@ -445,16 +517,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
445
517
|
requirements:
|
446
518
|
- - ">="
|
447
519
|
- !ruby/object:Gem::Version
|
448
|
-
version: 2.
|
520
|
+
version: 2.5.0
|
449
521
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
450
522
|
requirements:
|
451
523
|
- - ">="
|
452
524
|
- !ruby/object:Gem::Version
|
453
525
|
version: '0'
|
454
526
|
requirements: []
|
455
|
-
|
456
|
-
|
457
|
-
signing_key:
|
527
|
+
rubygems_version: 3.2.3
|
528
|
+
signing_key:
|
458
529
|
specification_version: 4
|
459
530
|
summary: U3d
|
460
531
|
test_files: []
|