u3d 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github_changelog_generator +1 -1
- data/CHANGELOG.md +14 -1
- data/Gemfile.lock +2 -2
- data/lib/u3d/commands.rb +1 -1
- data/lib/u3d/commands_generator.rb +1 -1
- data/lib/u3d/unity_runner.rb +1 -1
- data/lib/u3d/unity_versions.rb +11 -6
- data/lib/u3d/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0e34b0f9202cf4e0351462879c8719ff898285538f1dc046c62e89bd96978c9b
|
4
|
+
data.tar.gz: 4a8413ab008d81a86cee87e02c28428b41e27c927b60826e80fb2b00cdff21fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5270c48e07ea3d371747ed6b8192345a543a6ed7be5b2102683d1fd585bf1facf998fcee407f339a2ba893e43b2f512cc709ec66dd76dab4e8bb1b4e3729c49a
|
7
|
+
data.tar.gz: 22391cbcbca376248c726cec2615adf91c7630bec60244616fe51fd3c11a88986676db54e5cac9d405e8dd91efcbeb2d08c0e843d935585f55657d421a9d642b
|
data/.github_changelog_generator
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v1.1.1](https://github.com/DragonBox/u3d/tree/v1.1.1) (2018-07-12)
|
4
|
+
[Full Changelog](https://github.com/DragonBox/u3d/compare/v1.1.0...v1.1.1)
|
5
|
+
|
6
|
+
**Fixed bugs:**
|
7
|
+
|
8
|
+
- Unity 2018.2.x is not listed as available [\#321](https://github.com/DragonBox/u3d/issues/321)
|
9
|
+
- u3d/versions: Accept new pattern for mac above 2018.2+ [\#322](https://github.com/DragonBox/u3d/pull/322) ([niezbop](https://github.com/niezbop))
|
10
|
+
- u3d/runner: Fix -projectPath argument [\#320](https://github.com/DragonBox/u3d/pull/320) ([niezbop](https://github.com/niezbop))
|
11
|
+
|
12
|
+
**Closed issues:**
|
13
|
+
|
14
|
+
- Inconsistency regarding -projectpath / -projectPath argument [\#319](https://github.com/DragonBox/u3d/issues/319)
|
15
|
+
- Betas not fetched anymore [\#314](https://github.com/DragonBox/u3d/issues/314)
|
16
|
+
|
3
17
|
## [v1.1.0](https://github.com/DragonBox/u3d/tree/v1.1.0) (2018-06-27)
|
4
18
|
[Full Changelog](https://github.com/DragonBox/u3d/compare/v1.0.21...v1.1.0)
|
5
19
|
|
@@ -44,7 +58,6 @@
|
|
44
58
|
|
45
59
|
**Merged pull requests:**
|
46
60
|
|
47
|
-
- Preparing release for 1.0.21 [\#308](https://github.com/DragonBox/u3d/pull/308) ([lacostej](https://github.com/lacostej))
|
48
61
|
- u3d/console: remove require on pry [\#307](https://github.com/DragonBox/u3d/pull/307) ([lacostej](https://github.com/lacostej))
|
49
62
|
- Allow spaces in installation paths on Windows \#302 [\#306](https://github.com/DragonBox/u3d/pull/306) ([lacostej](https://github.com/lacostej))
|
50
63
|
- u3d/install: support full pkg for Linux [\#305](https://github.com/DragonBox/u3d/pull/305) ([lacostej](https://github.com/lacostej))
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
u3d (1.1.
|
4
|
+
u3d (1.1.1)
|
5
5
|
colored (>= 1.2, < 2.0.0)
|
6
6
|
commander (>= 4.4.0, < 5.0.0)
|
7
7
|
file-tail (>= 1.2.0)
|
@@ -25,7 +25,7 @@ GEM
|
|
25
25
|
byebug (10.0.2)
|
26
26
|
coderay (1.1.2)
|
27
27
|
colored (1.2)
|
28
|
-
commander (4.4.
|
28
|
+
commander (4.4.5)
|
29
29
|
highline (~> 1.7.2)
|
30
30
|
concurrent-ruby (1.0.5)
|
31
31
|
coveralls (0.8.21)
|
data/lib/u3d/commands.rb
CHANGED
@@ -91,7 +91,7 @@ E.g. U3D_RULES_PATH=my_rules.json u3d -- ...
|
|
91
91
|
|
92
92
|
Fore more information about how the rules work, see https://github.com/DragonBox/u3d/blob/master/LOG_RULES.md
|
93
93
|
)
|
94
|
-
c.option '-u', '--unity_version STRING', String, 'Version of Unity to run with. If not specified, it runs with the version of the project (either specified as -
|
94
|
+
c.option '-u', '--unity_version STRING', String, 'Version of Unity to run with. If not specified, it runs with the version of the project (either specified as -projectPath or current)'
|
95
95
|
c.option '-r', '--raw_logs', 'Raw Unity output, not filtered by u3d\'s log prettifier'
|
96
96
|
c.action do |args, options|
|
97
97
|
UI.user_error! "Run doesn't take arguments. Did you forget '--' or did you mistake your command? (#{args})" if args.count > 0
|
data/lib/u3d/unity_runner.rb
CHANGED
data/lib/u3d/unity_versions.rb
CHANGED
@@ -121,6 +121,7 @@ module U3d
|
|
121
121
|
# Captures a version and its base url
|
122
122
|
LINUX_DOWNLOAD = %r{'(https?://[\w/\.-]+/[0-9a-f\+]{12,13}/)(./)?UnitySetup-(\d+\.\d+\.\d+\w\d+)'}
|
123
123
|
MAC_DOWNLOAD = %r{"(https?://[\w/\.-]+/[0-9a-f\+]{12,13}/)MacEditorInstaller/[a-zA-Z0-9/\.\+]+-(\d+\.\d+\.\d+\w\d+)\.?\w+"}
|
124
|
+
MAC_DOWNLOAD_2018_2 = %r{"(https?://[\w/\.-]+/[0-9a-f\+]{12,13}/)UnityDownloadAssistant-[a-zA-Z0-9/\.\+]+-(\d+\.\d+\.\d+\w\d+)\.?\w+"}
|
124
125
|
WIN_DOWNLOAD = %r{"(https?://[\w/\.-]+/[0-9a-f\+]{12,13}/)Windows..EditorInstaller/[a-zA-Z0-9/\.\+]+-(\d+\.\d+\.\d+\w\d+)\.?\w+"}
|
125
126
|
LINUX_DOWNLOAD_DATED = %r{"(https?://[\w/\._-]+/unity\-editor\-installer\-(\d+\.\d+\.\d+\w\d+).*\.sh)"}
|
126
127
|
LINUX_DOWNLOAD_RECENT_PAGE = %r{"(https?://beta\.unity3d\.com/download/[a-zA-Z0-9/\.\+]+/public_download\.html)"}
|
@@ -227,15 +228,19 @@ module U3d
|
|
227
228
|
|
228
229
|
def initialize(pattern:)
|
229
230
|
@versions = {}
|
230
|
-
@
|
231
|
+
@patterns = pattern.is_a?(Array) ? pattern : [pattern]
|
231
232
|
end
|
232
233
|
|
233
234
|
def fetch_some(type, url)
|
234
235
|
UI.message "Loading Unity #{type} releases"
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
236
|
+
total = {}
|
237
|
+
@patterns.each do |pattern|
|
238
|
+
current = UnityVersions.fetch_version_paged(url, pattern)
|
239
|
+
current = UnityVersions.fetch_version(url, pattern) if current.empty?
|
240
|
+
total.merge!(current)
|
241
|
+
end
|
242
|
+
UI.success "Found #{total.count} #{type} releases."
|
243
|
+
@versions.merge!(total)
|
239
244
|
end
|
240
245
|
|
241
246
|
def fetch_all_channels
|
@@ -250,7 +255,7 @@ module U3d
|
|
250
255
|
class MacVersions
|
251
256
|
class << self
|
252
257
|
def list_available
|
253
|
-
VersionsFetcher.new(pattern: MAC_DOWNLOAD).fetch_all_channels
|
258
|
+
VersionsFetcher.new(pattern: [MAC_DOWNLOAD, MAC_DOWNLOAD_2018_2]).fetch_all_channels
|
254
259
|
end
|
255
260
|
end
|
256
261
|
end
|
data/lib/u3d/version.rb
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
## --- END LICENSE BLOCK ---
|
22
22
|
|
23
23
|
module U3d
|
24
|
-
VERSION = '1.1.
|
24
|
+
VERSION = '1.1.1'.freeze
|
25
25
|
DESCRIPTION = 'Provides numerous tools for installing, managing and running the Unity game engine from command line.'.freeze
|
26
26
|
UNITY_VERSIONS_NOTE = "Unity uses the following version formatting: 0.0.0x0. The \'x\' can takes different values:\n"\
|
27
27
|
"\t. 'f' are the main release candidates for Unity\n"\
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: u3d
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jerome Lacoste
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-07-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colored
|
@@ -433,7 +433,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
433
433
|
version: '0'
|
434
434
|
requirements: []
|
435
435
|
rubyforge_project:
|
436
|
-
rubygems_version: 2.6
|
436
|
+
rubygems_version: 2.7.6
|
437
437
|
signing_key:
|
438
438
|
specification_version: 4
|
439
439
|
summary: U3d
|