u3d 1.1.2 → 1.1.3
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 +5 -5
- data/.github_changelog_generator +1 -1
- data/CHANGELOG.md +22 -0
- data/Gemfile.lock +3 -3
- data/examples/Example1/Gemfile.lock +65 -56
- data/examples/Example2/Gemfile.lock +65 -56
- data/lib/u3d/installation.rb +8 -0
- data/lib/u3d/unity_versions.rb +44 -8
- data/lib/u3d/utils.rb +20 -0
- 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
|
+
SHA1:
|
|
3
|
+
metadata.gz: 0be22743b701cf41ec7c0ec7502b3e83e398dfa3
|
|
4
|
+
data.tar.gz: 50cf04086a670bee0dd8712c9aa0a674bde8cb37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 579f873a2b755f118ee77795615e407c97757fcc49118137e1dc42bdfea366d3997cf03bf35c057d764df949286d3fb88bdab3a401d6f0fd57f4d8b31325aeae
|
|
7
|
+
data.tar.gz: 883df9835b2b0a77c13c124848d936658f558bda6927510f7ab3ca60865e381b7704f4cc1a99a28126be35d03780322ca712c40b463d54851eea545d75aba345
|
data/.github_changelog_generator
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v1.1.3](https://github.com/DragonBox/u3d/tree/v1.1.3) (2019-01-08)
|
|
4
|
+
[Full Changelog](https://github.com/DragonBox/u3d/compare/v1.1.2...v1.1.3)
|
|
5
|
+
|
|
6
|
+
**Implemented enhancements:**
|
|
7
|
+
|
|
8
|
+
- install/linux: fallback on ruby strings implementation \(fixes \#326\) [\#327](https://github.com/DragonBox/u3d/pull/327) ([lacostej](https://github.com/lacostej))
|
|
9
|
+
|
|
10
|
+
**Fixed bugs:**
|
|
11
|
+
|
|
12
|
+
- u3d/unity\_versions: fix missing latest versions [\#335](https://github.com/DragonBox/u3d/pull/335) ([niezbop](https://github.com/niezbop))
|
|
13
|
+
|
|
14
|
+
**Closed issues:**
|
|
15
|
+
|
|
16
|
+
- Last version not available using `u3d available` [\#337](https://github.com/DragonBox/u3d/issues/337)
|
|
17
|
+
- No Beta versions visible with u3d available [\#330](https://github.com/DragonBox/u3d/issues/330)
|
|
18
|
+
- installation.rb:210:in ``': No such file or directory - strings \(Errno::ENOENT\) [\#326](https://github.com/DragonBox/u3d/issues/326)
|
|
19
|
+
|
|
20
|
+
**Merged pull requests:**
|
|
21
|
+
|
|
22
|
+
- u3d/available: Make Linux 2018.3.0f2 available on linux \#337 [\#338](https://github.com/DragonBox/u3d/pull/338) ([rawstacktech](https://github.com/rawstacktech))
|
|
23
|
+
- Bump dependencies to remove dependency on rubyzip 1.2.1 [\#328](https://github.com/DragonBox/u3d/pull/328) ([lacostej](https://github.com/lacostej))
|
|
24
|
+
|
|
3
25
|
## [v1.1.2](https://github.com/DragonBox/u3d/tree/v1.1.2) (2018-07-12)
|
|
4
26
|
[Full Changelog](https://github.com/DragonBox/u3d/compare/v1.1.1...v1.1.2)
|
|
5
27
|
|
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.3)
|
|
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.6)
|
|
29
29
|
highline (~> 1.7.2)
|
|
30
30
|
concurrent-ruby (1.0.5)
|
|
31
31
|
coveralls (0.8.21)
|
|
@@ -42,7 +42,7 @@ GEM
|
|
|
42
42
|
faraday (~> 0.8)
|
|
43
43
|
file-tail (1.2.0)
|
|
44
44
|
tins (~> 1.0)
|
|
45
|
-
filesize (0.
|
|
45
|
+
filesize (0.2.0)
|
|
46
46
|
github_changelog_generator (1.14.3)
|
|
47
47
|
activesupport
|
|
48
48
|
faraday-http-cache
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: /Users/lacostej/Code/OSS/u3d/fastlane-plugin-u3d
|
|
3
3
|
specs:
|
|
4
|
-
fastlane-plugin-u3d (0.1.
|
|
4
|
+
fastlane-plugin-u3d (0.1.2)
|
|
5
5
|
u3d (>= 0.9, < 2.0)
|
|
6
6
|
|
|
7
7
|
PATH
|
|
8
8
|
remote: /Users/lacostej/Code/OSS/u3d
|
|
9
9
|
specs:
|
|
10
|
-
u3d (1.
|
|
10
|
+
u3d (1.1.2)
|
|
11
11
|
colored (>= 1.2, < 2.0.0)
|
|
12
12
|
commander (>= 4.4.0, < 5.0.0)
|
|
13
13
|
file-tail (>= 1.2.0)
|
|
@@ -19,46 +19,49 @@ PATH
|
|
|
19
19
|
GEM
|
|
20
20
|
remote: https://rubygems.org/
|
|
21
21
|
specs:
|
|
22
|
-
CFPropertyList (
|
|
22
|
+
CFPropertyList (3.0.0)
|
|
23
23
|
addressable (2.5.2)
|
|
24
24
|
public_suffix (>= 2.0.2, < 4.0)
|
|
25
|
+
atomos (0.1.3)
|
|
25
26
|
babosa (1.0.2)
|
|
26
27
|
claide (1.0.2)
|
|
27
28
|
colored (1.2)
|
|
28
29
|
colored2 (3.1.2)
|
|
29
|
-
commander (4.4.
|
|
30
|
+
commander (4.4.6)
|
|
30
31
|
highline (~> 1.7.2)
|
|
31
|
-
commander-fastlane (4.4.
|
|
32
|
+
commander-fastlane (4.4.6)
|
|
32
33
|
highline (~> 1.7.2)
|
|
33
|
-
declarative (0.0.
|
|
34
|
+
declarative (0.0.10)
|
|
34
35
|
declarative-option (0.1.0)
|
|
35
|
-
domain_name (0.5.
|
|
36
|
+
domain_name (0.5.20180417)
|
|
36
37
|
unf (>= 0.0.5, < 1.0.0)
|
|
37
|
-
dotenv (2.
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
dotenv (2.5.0)
|
|
39
|
+
emoji_regex (0.1.1)
|
|
40
|
+
excon (0.62.0)
|
|
41
|
+
faraday (0.15.3)
|
|
40
42
|
multipart-post (>= 1.2, < 3)
|
|
41
43
|
faraday-cookie_jar (0.0.6)
|
|
42
44
|
faraday (>= 0.7.4)
|
|
43
45
|
http-cookie (~> 1.0.0)
|
|
44
46
|
faraday_middleware (0.12.2)
|
|
45
47
|
faraday (>= 0.7.4, < 1.0)
|
|
46
|
-
fastimage (2.1.
|
|
47
|
-
fastlane (2.
|
|
48
|
-
CFPropertyList (>= 2.3, <
|
|
48
|
+
fastimage (2.1.4)
|
|
49
|
+
fastlane (2.106.2)
|
|
50
|
+
CFPropertyList (>= 2.3, < 4.0.0)
|
|
49
51
|
addressable (>= 2.3, < 3.0.0)
|
|
50
52
|
babosa (>= 1.0.2, < 2.0.0)
|
|
51
53
|
bundler (>= 1.12.0, < 2.0.0)
|
|
52
54
|
colored
|
|
53
|
-
commander-fastlane (>= 4.4.
|
|
55
|
+
commander-fastlane (>= 4.4.6, < 5.0.0)
|
|
54
56
|
dotenv (>= 2.1.1, < 3.0.0)
|
|
57
|
+
emoji_regex (~> 0.1)
|
|
55
58
|
excon (>= 0.45.0, < 1.0.0)
|
|
56
59
|
faraday (~> 0.9)
|
|
57
60
|
faraday-cookie_jar (~> 0.0.6)
|
|
58
61
|
faraday_middleware (~> 0.9)
|
|
59
62
|
fastimage (>= 2.1.0, < 3.0.0)
|
|
60
|
-
gh_inspector (>= 1.
|
|
61
|
-
google-api-client (>= 0.
|
|
63
|
+
gh_inspector (>= 1.1.2, < 2.0.0)
|
|
64
|
+
google-api-client (>= 0.21.2, < 0.24.0)
|
|
62
65
|
highline (>= 1.7.2, < 2.0.0)
|
|
63
66
|
json (< 3.0.0)
|
|
64
67
|
mini_magick (~> 4.5.1)
|
|
@@ -67,91 +70,97 @@ GEM
|
|
|
67
70
|
multipart-post (~> 2.0.0)
|
|
68
71
|
plist (>= 3.1.0, < 4.0.0)
|
|
69
72
|
public_suffix (~> 2.0.0)
|
|
70
|
-
rubyzip (>= 1.
|
|
73
|
+
rubyzip (>= 1.2.2, < 2.0.0)
|
|
71
74
|
security (= 0.1.3)
|
|
72
|
-
|
|
75
|
+
simctl (~> 1.6.3)
|
|
76
|
+
slack-notifier (>= 2.0.0, < 3.0.0)
|
|
73
77
|
terminal-notifier (>= 1.6.2, < 2.0.0)
|
|
74
78
|
terminal-table (>= 1.4.5, < 2.0.0)
|
|
75
|
-
tty-screen (
|
|
79
|
+
tty-screen (>= 0.6.3, < 1.0.0)
|
|
80
|
+
tty-spinner (>= 0.8.0, < 1.0.0)
|
|
76
81
|
word_wrap (~> 1.0.0)
|
|
77
|
-
xcodeproj (>= 1.
|
|
78
|
-
xcpretty (
|
|
82
|
+
xcodeproj (>= 1.6.0, < 2.0.0)
|
|
83
|
+
xcpretty (~> 0.3.0)
|
|
79
84
|
xcpretty-travis-formatter (>= 0.0.3)
|
|
80
85
|
file-tail (1.2.0)
|
|
81
86
|
tins (~> 1.0)
|
|
82
|
-
filesize (0.
|
|
83
|
-
gh_inspector (1.
|
|
84
|
-
google-api-client (0.
|
|
87
|
+
filesize (0.2.0)
|
|
88
|
+
gh_inspector (1.1.3)
|
|
89
|
+
google-api-client (0.23.9)
|
|
85
90
|
addressable (~> 2.5, >= 2.5.1)
|
|
86
|
-
googleauth (
|
|
91
|
+
googleauth (>= 0.5, < 0.7.0)
|
|
87
92
|
httpclient (>= 2.8.1, < 3.0)
|
|
88
93
|
mime-types (~> 3.0)
|
|
89
94
|
representable (~> 3.0)
|
|
90
95
|
retriable (>= 2.0, < 4.0)
|
|
91
|
-
|
|
96
|
+
signet (~> 0.9)
|
|
97
|
+
googleauth (0.6.6)
|
|
92
98
|
faraday (~> 0.12)
|
|
93
|
-
jwt (
|
|
94
|
-
logging (~> 2.0)
|
|
99
|
+
jwt (>= 1.4, < 3.0)
|
|
95
100
|
memoist (~> 0.12)
|
|
96
101
|
multi_json (~> 1.11)
|
|
97
|
-
os (
|
|
102
|
+
os (>= 0.9, < 2.0)
|
|
98
103
|
signet (~> 0.7)
|
|
99
|
-
highline (1.7.
|
|
104
|
+
highline (1.7.10)
|
|
100
105
|
http-cookie (1.0.3)
|
|
101
106
|
domain_name (~> 0.5)
|
|
102
107
|
httpclient (2.8.3)
|
|
103
108
|
inifile (3.0.0)
|
|
104
109
|
json (2.1.0)
|
|
105
|
-
jwt (1.
|
|
106
|
-
little-plugger (1.1.4)
|
|
107
|
-
logging (2.2.2)
|
|
108
|
-
little-plugger (~> 1.1)
|
|
109
|
-
multi_json (~> 1.10)
|
|
110
|
+
jwt (2.1.0)
|
|
110
111
|
memoist (0.16.0)
|
|
111
|
-
mime-types (3.
|
|
112
|
+
mime-types (3.2.2)
|
|
112
113
|
mime-types-data (~> 3.2015)
|
|
113
|
-
mime-types-data (3.
|
|
114
|
+
mime-types-data (3.2018.0812)
|
|
114
115
|
mini_magick (4.5.1)
|
|
115
|
-
multi_json (1.
|
|
116
|
+
multi_json (1.13.1)
|
|
116
117
|
multi_xml (0.6.0)
|
|
117
118
|
multipart-post (2.0.0)
|
|
118
|
-
nanaimo (0.2.
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
nanaimo (0.2.6)
|
|
120
|
+
naturally (2.2.0)
|
|
121
|
+
os (1.0.0)
|
|
122
|
+
plist (3.4.0)
|
|
121
123
|
public_suffix (2.0.5)
|
|
122
124
|
representable (3.0.4)
|
|
123
125
|
declarative (< 0.1.0)
|
|
124
126
|
declarative-option (< 0.2.0)
|
|
125
127
|
uber (< 0.2.0)
|
|
126
|
-
retriable (3.1.
|
|
128
|
+
retriable (3.1.2)
|
|
127
129
|
rouge (2.0.7)
|
|
128
|
-
rubyzip (1.2.
|
|
130
|
+
rubyzip (1.2.2)
|
|
129
131
|
security (0.1.3)
|
|
130
|
-
signet (0.
|
|
132
|
+
signet (0.11.0)
|
|
131
133
|
addressable (~> 2.3)
|
|
132
134
|
faraday (~> 0.9)
|
|
133
|
-
jwt (
|
|
135
|
+
jwt (>= 1.5, < 3.0)
|
|
134
136
|
multi_json (~> 1.10)
|
|
135
|
-
|
|
137
|
+
simctl (1.6.5)
|
|
138
|
+
CFPropertyList
|
|
139
|
+
naturally
|
|
140
|
+
slack-notifier (2.3.2)
|
|
136
141
|
terminal-notifier (1.8.0)
|
|
137
142
|
terminal-table (1.8.0)
|
|
138
143
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
|
139
|
-
tins (1.
|
|
140
|
-
tty-
|
|
144
|
+
tins (1.17.0)
|
|
145
|
+
tty-cursor (0.6.0)
|
|
146
|
+
tty-screen (0.6.5)
|
|
147
|
+
tty-spinner (0.8.0)
|
|
148
|
+
tty-cursor (>= 0.5.0)
|
|
141
149
|
uber (0.1.0)
|
|
142
150
|
unf (0.1.4)
|
|
143
151
|
unf_ext
|
|
144
|
-
unf_ext (0.0.7.
|
|
145
|
-
unicode-display_width (1.
|
|
152
|
+
unf_ext (0.0.7.5)
|
|
153
|
+
unicode-display_width (1.4.0)
|
|
146
154
|
word_wrap (1.0.0)
|
|
147
|
-
xcodeproj (1.
|
|
148
|
-
CFPropertyList (
|
|
155
|
+
xcodeproj (1.6.0)
|
|
156
|
+
CFPropertyList (>= 2.3.3, < 4.0)
|
|
157
|
+
atomos (~> 0.1.3)
|
|
149
158
|
claide (>= 1.0.2, < 2.0)
|
|
150
159
|
colored2 (~> 3.1)
|
|
151
|
-
nanaimo (~> 0.2.
|
|
152
|
-
xcpretty (0.
|
|
160
|
+
nanaimo (~> 0.2.6)
|
|
161
|
+
xcpretty (0.3.0)
|
|
153
162
|
rouge (~> 2.0.7)
|
|
154
|
-
xcpretty-travis-formatter (0.0
|
|
163
|
+
xcpretty-travis-formatter (1.0.0)
|
|
155
164
|
xcpretty (~> 0.2, >= 0.0.7)
|
|
156
165
|
|
|
157
166
|
PLATFORMS
|
|
@@ -163,4 +172,4 @@ DEPENDENCIES
|
|
|
163
172
|
u3d!
|
|
164
173
|
|
|
165
174
|
BUNDLED WITH
|
|
166
|
-
1.
|
|
175
|
+
1.16.1
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: /Users/lacostej/Code/OSS/u3d/fastlane-plugin-u3d
|
|
3
3
|
specs:
|
|
4
|
-
fastlane-plugin-u3d (0.1.
|
|
4
|
+
fastlane-plugin-u3d (0.1.2)
|
|
5
5
|
u3d (>= 0.9, < 2.0)
|
|
6
6
|
|
|
7
7
|
PATH
|
|
8
8
|
remote: /Users/lacostej/Code/OSS/u3d
|
|
9
9
|
specs:
|
|
10
|
-
u3d (1.
|
|
10
|
+
u3d (1.1.2)
|
|
11
11
|
colored (>= 1.2, < 2.0.0)
|
|
12
12
|
commander (>= 4.4.0, < 5.0.0)
|
|
13
13
|
file-tail (>= 1.2.0)
|
|
@@ -19,46 +19,49 @@ PATH
|
|
|
19
19
|
GEM
|
|
20
20
|
remote: https://rubygems.org/
|
|
21
21
|
specs:
|
|
22
|
-
CFPropertyList (
|
|
22
|
+
CFPropertyList (3.0.0)
|
|
23
23
|
addressable (2.5.2)
|
|
24
24
|
public_suffix (>= 2.0.2, < 4.0)
|
|
25
|
+
atomos (0.1.3)
|
|
25
26
|
babosa (1.0.2)
|
|
26
27
|
claide (1.0.2)
|
|
27
28
|
colored (1.2)
|
|
28
29
|
colored2 (3.1.2)
|
|
29
|
-
commander (4.4.
|
|
30
|
+
commander (4.4.6)
|
|
30
31
|
highline (~> 1.7.2)
|
|
31
|
-
commander-fastlane (4.4.
|
|
32
|
+
commander-fastlane (4.4.6)
|
|
32
33
|
highline (~> 1.7.2)
|
|
33
|
-
declarative (0.0.
|
|
34
|
+
declarative (0.0.10)
|
|
34
35
|
declarative-option (0.1.0)
|
|
35
|
-
domain_name (0.5.
|
|
36
|
+
domain_name (0.5.20180417)
|
|
36
37
|
unf (>= 0.0.5, < 1.0.0)
|
|
37
|
-
dotenv (2.
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
dotenv (2.5.0)
|
|
39
|
+
emoji_regex (0.1.1)
|
|
40
|
+
excon (0.62.0)
|
|
41
|
+
faraday (0.15.3)
|
|
40
42
|
multipart-post (>= 1.2, < 3)
|
|
41
43
|
faraday-cookie_jar (0.0.6)
|
|
42
44
|
faraday (>= 0.7.4)
|
|
43
45
|
http-cookie (~> 1.0.0)
|
|
44
46
|
faraday_middleware (0.12.2)
|
|
45
47
|
faraday (>= 0.7.4, < 1.0)
|
|
46
|
-
fastimage (2.1.
|
|
47
|
-
fastlane (2.
|
|
48
|
-
CFPropertyList (>= 2.3, <
|
|
48
|
+
fastimage (2.1.4)
|
|
49
|
+
fastlane (2.106.2)
|
|
50
|
+
CFPropertyList (>= 2.3, < 4.0.0)
|
|
49
51
|
addressable (>= 2.3, < 3.0.0)
|
|
50
52
|
babosa (>= 1.0.2, < 2.0.0)
|
|
51
53
|
bundler (>= 1.12.0, < 2.0.0)
|
|
52
54
|
colored
|
|
53
|
-
commander-fastlane (>= 4.4.
|
|
55
|
+
commander-fastlane (>= 4.4.6, < 5.0.0)
|
|
54
56
|
dotenv (>= 2.1.1, < 3.0.0)
|
|
57
|
+
emoji_regex (~> 0.1)
|
|
55
58
|
excon (>= 0.45.0, < 1.0.0)
|
|
56
59
|
faraday (~> 0.9)
|
|
57
60
|
faraday-cookie_jar (~> 0.0.6)
|
|
58
61
|
faraday_middleware (~> 0.9)
|
|
59
62
|
fastimage (>= 2.1.0, < 3.0.0)
|
|
60
|
-
gh_inspector (>= 1.
|
|
61
|
-
google-api-client (>= 0.
|
|
63
|
+
gh_inspector (>= 1.1.2, < 2.0.0)
|
|
64
|
+
google-api-client (>= 0.21.2, < 0.24.0)
|
|
62
65
|
highline (>= 1.7.2, < 2.0.0)
|
|
63
66
|
json (< 3.0.0)
|
|
64
67
|
mini_magick (~> 4.5.1)
|
|
@@ -67,91 +70,97 @@ GEM
|
|
|
67
70
|
multipart-post (~> 2.0.0)
|
|
68
71
|
plist (>= 3.1.0, < 4.0.0)
|
|
69
72
|
public_suffix (~> 2.0.0)
|
|
70
|
-
rubyzip (>= 1.
|
|
73
|
+
rubyzip (>= 1.2.2, < 2.0.0)
|
|
71
74
|
security (= 0.1.3)
|
|
72
|
-
|
|
75
|
+
simctl (~> 1.6.3)
|
|
76
|
+
slack-notifier (>= 2.0.0, < 3.0.0)
|
|
73
77
|
terminal-notifier (>= 1.6.2, < 2.0.0)
|
|
74
78
|
terminal-table (>= 1.4.5, < 2.0.0)
|
|
75
|
-
tty-screen (
|
|
79
|
+
tty-screen (>= 0.6.3, < 1.0.0)
|
|
80
|
+
tty-spinner (>= 0.8.0, < 1.0.0)
|
|
76
81
|
word_wrap (~> 1.0.0)
|
|
77
|
-
xcodeproj (>= 1.
|
|
78
|
-
xcpretty (
|
|
82
|
+
xcodeproj (>= 1.6.0, < 2.0.0)
|
|
83
|
+
xcpretty (~> 0.3.0)
|
|
79
84
|
xcpretty-travis-formatter (>= 0.0.3)
|
|
80
85
|
file-tail (1.2.0)
|
|
81
86
|
tins (~> 1.0)
|
|
82
|
-
filesize (0.
|
|
83
|
-
gh_inspector (1.
|
|
84
|
-
google-api-client (0.
|
|
87
|
+
filesize (0.2.0)
|
|
88
|
+
gh_inspector (1.1.3)
|
|
89
|
+
google-api-client (0.23.9)
|
|
85
90
|
addressable (~> 2.5, >= 2.5.1)
|
|
86
|
-
googleauth (
|
|
91
|
+
googleauth (>= 0.5, < 0.7.0)
|
|
87
92
|
httpclient (>= 2.8.1, < 3.0)
|
|
88
93
|
mime-types (~> 3.0)
|
|
89
94
|
representable (~> 3.0)
|
|
90
95
|
retriable (>= 2.0, < 4.0)
|
|
91
|
-
|
|
96
|
+
signet (~> 0.9)
|
|
97
|
+
googleauth (0.6.6)
|
|
92
98
|
faraday (~> 0.12)
|
|
93
|
-
jwt (
|
|
94
|
-
logging (~> 2.0)
|
|
99
|
+
jwt (>= 1.4, < 3.0)
|
|
95
100
|
memoist (~> 0.12)
|
|
96
101
|
multi_json (~> 1.11)
|
|
97
|
-
os (
|
|
102
|
+
os (>= 0.9, < 2.0)
|
|
98
103
|
signet (~> 0.7)
|
|
99
|
-
highline (1.7.
|
|
104
|
+
highline (1.7.10)
|
|
100
105
|
http-cookie (1.0.3)
|
|
101
106
|
domain_name (~> 0.5)
|
|
102
107
|
httpclient (2.8.3)
|
|
103
108
|
inifile (3.0.0)
|
|
104
109
|
json (2.1.0)
|
|
105
|
-
jwt (1.
|
|
106
|
-
little-plugger (1.1.4)
|
|
107
|
-
logging (2.2.2)
|
|
108
|
-
little-plugger (~> 1.1)
|
|
109
|
-
multi_json (~> 1.10)
|
|
110
|
+
jwt (2.1.0)
|
|
110
111
|
memoist (0.16.0)
|
|
111
|
-
mime-types (3.
|
|
112
|
+
mime-types (3.2.2)
|
|
112
113
|
mime-types-data (~> 3.2015)
|
|
113
|
-
mime-types-data (3.
|
|
114
|
+
mime-types-data (3.2018.0812)
|
|
114
115
|
mini_magick (4.5.1)
|
|
115
|
-
multi_json (1.
|
|
116
|
+
multi_json (1.13.1)
|
|
116
117
|
multi_xml (0.6.0)
|
|
117
118
|
multipart-post (2.0.0)
|
|
118
|
-
nanaimo (0.2.
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
nanaimo (0.2.6)
|
|
120
|
+
naturally (2.2.0)
|
|
121
|
+
os (1.0.0)
|
|
122
|
+
plist (3.4.0)
|
|
121
123
|
public_suffix (2.0.5)
|
|
122
124
|
representable (3.0.4)
|
|
123
125
|
declarative (< 0.1.0)
|
|
124
126
|
declarative-option (< 0.2.0)
|
|
125
127
|
uber (< 0.2.0)
|
|
126
|
-
retriable (3.1.
|
|
128
|
+
retriable (3.1.2)
|
|
127
129
|
rouge (2.0.7)
|
|
128
|
-
rubyzip (1.2.
|
|
130
|
+
rubyzip (1.2.2)
|
|
129
131
|
security (0.1.3)
|
|
130
|
-
signet (0.
|
|
132
|
+
signet (0.11.0)
|
|
131
133
|
addressable (~> 2.3)
|
|
132
134
|
faraday (~> 0.9)
|
|
133
|
-
jwt (
|
|
135
|
+
jwt (>= 1.5, < 3.0)
|
|
134
136
|
multi_json (~> 1.10)
|
|
135
|
-
|
|
137
|
+
simctl (1.6.5)
|
|
138
|
+
CFPropertyList
|
|
139
|
+
naturally
|
|
140
|
+
slack-notifier (2.3.2)
|
|
136
141
|
terminal-notifier (1.8.0)
|
|
137
142
|
terminal-table (1.8.0)
|
|
138
143
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
|
139
|
-
tins (1.
|
|
140
|
-
tty-
|
|
144
|
+
tins (1.17.0)
|
|
145
|
+
tty-cursor (0.6.0)
|
|
146
|
+
tty-screen (0.6.5)
|
|
147
|
+
tty-spinner (0.8.0)
|
|
148
|
+
tty-cursor (>= 0.5.0)
|
|
141
149
|
uber (0.1.0)
|
|
142
150
|
unf (0.1.4)
|
|
143
151
|
unf_ext
|
|
144
|
-
unf_ext (0.0.7.
|
|
145
|
-
unicode-display_width (1.
|
|
152
|
+
unf_ext (0.0.7.5)
|
|
153
|
+
unicode-display_width (1.4.0)
|
|
146
154
|
word_wrap (1.0.0)
|
|
147
|
-
xcodeproj (1.
|
|
148
|
-
CFPropertyList (
|
|
155
|
+
xcodeproj (1.6.0)
|
|
156
|
+
CFPropertyList (>= 2.3.3, < 4.0)
|
|
157
|
+
atomos (~> 0.1.3)
|
|
149
158
|
claide (>= 1.0.2, < 2.0)
|
|
150
159
|
colored2 (~> 3.1)
|
|
151
|
-
nanaimo (~> 0.2.
|
|
152
|
-
xcpretty (0.
|
|
160
|
+
nanaimo (~> 0.2.6)
|
|
161
|
+
xcpretty (0.3.0)
|
|
153
162
|
rouge (~> 2.0.7)
|
|
154
|
-
xcpretty-travis-formatter (0.0
|
|
163
|
+
xcpretty-travis-formatter (1.0.0)
|
|
155
164
|
xcpretty (~> 0.2, >= 0.0.7)
|
|
156
165
|
|
|
157
166
|
PLATFORMS
|
|
@@ -163,4 +172,4 @@ DEPENDENCIES
|
|
|
163
172
|
u3d!
|
|
164
173
|
|
|
165
174
|
BUNDLED WITH
|
|
166
|
-
1.
|
|
175
|
+
1.16.1
|
data/lib/u3d/installation.rb
CHANGED
|
@@ -206,6 +206,14 @@ module U3d
|
|
|
206
206
|
private
|
|
207
207
|
|
|
208
208
|
def strings(path)
|
|
209
|
+
if `which strings` != ''
|
|
210
|
+
binutils_strings(path)
|
|
211
|
+
else
|
|
212
|
+
Utils.strings(path).to_a
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
def binutils_strings(path)
|
|
209
217
|
command = "strings #{path.shellescape}"
|
|
210
218
|
`#{command}`.split("\n")
|
|
211
219
|
end
|
data/lib/u3d/unity_versions.rb
CHANGED
|
@@ -114,12 +114,14 @@ module U3d
|
|
|
114
114
|
UNITY_BETAS = 'https://unity3d.com/unity/beta/archive'.freeze
|
|
115
115
|
# URL for a specific beta, takes into parameter a version string (%s)
|
|
116
116
|
UNITY_BETA_URL = 'https://unity3d.com/unity/beta/unity%<version>s'.freeze
|
|
117
|
+
# URL for latest releases listing (since Unity 2017.1.5f1), takes into parameter os (windows => win32, mac => darwin)
|
|
118
|
+
UNITY_LATEST_JSON_URL = 'https://public-cdn.cloud.unity3d.com/hub/prod/releases-%<os>s.json'.freeze
|
|
117
119
|
|
|
118
120
|
#####################################################
|
|
119
121
|
# @!group REGEX: expressions to interpret data
|
|
120
122
|
#####################################################
|
|
121
123
|
# Captures a version and its base url
|
|
122
|
-
LINUX_DOWNLOAD = %r{'(https
|
|
124
|
+
LINUX_DOWNLOAD = %r{['"](https?:\/\/[\w/\.-]+/[0-9a-f\+]{12,13}\/)(.\/)?UnitySetup-(\d+\.\d+\.\d+\w\d+)['"]}
|
|
123
125
|
MAC_DOWNLOAD = %r{"(https?://[\w/\.-]+/[0-9a-f\+]{12,13}/)MacEditorInstaller/[a-zA-Z0-9/\.\+]+-(\d+\.\d+\.\d+\w\d+)\.?\w+"}
|
|
124
126
|
MAC_DOWNLOAD_2018_2 = %r{"(https?://[\w/\.-]+/[0-9a-f\+]{12,13}/)UnityDownloadAssistant-(\d+\.\d+\.\d+\w\d+)\.?\w+"}
|
|
125
127
|
WIN_DOWNLOAD = %r{"(https?://[\w/\.-]+/[0-9a-f\+]{12,13}/)Windows..EditorInstaller/[a-zA-Z0-9/\.\+]+-(\d+\.\d+\.\d+\w\d+)\.?\w+"}
|
|
@@ -129,6 +131,8 @@ module U3d
|
|
|
129
131
|
# Captures a beta version in html page
|
|
130
132
|
UNITY_BETAVERSION_REGEX = %r{\/unity\/beta\/unity(\d+\.\d+\.\d+\w\d+)"}
|
|
131
133
|
UNITY_EXTRA_DOWNLOAD_REGEX = %r{"(https?:\/\/[\w\/.-]+\.unity3d\.com\/(\w+))\/[a-zA-Z\/.-]+\/download.html"}
|
|
134
|
+
# For the latest releases fetched from json
|
|
135
|
+
UNITY_LATEST_JSON = %r{(https?://[\w/\.-]+/[0-9a-f\+]{12,13}/)}
|
|
132
136
|
|
|
133
137
|
class << self
|
|
134
138
|
def list_available(os: nil)
|
|
@@ -160,6 +164,14 @@ module U3d
|
|
|
160
164
|
end.reduce({}, :merge)
|
|
161
165
|
end
|
|
162
166
|
|
|
167
|
+
def fetch_from_json(url, pattern)
|
|
168
|
+
require 'json'
|
|
169
|
+
data = Utils.get_ssl(url)
|
|
170
|
+
JSON.parse(data).values.flatten.select { |b| pattern =~ b['downloadUrl'] }.map do |build|
|
|
171
|
+
[build['version'], pattern.match(build['downloadUrl'])[1]]
|
|
172
|
+
end.to_h
|
|
173
|
+
end
|
|
174
|
+
|
|
163
175
|
def fetch_betas(url, pattern)
|
|
164
176
|
hash = {}
|
|
165
177
|
data = Utils.get_ssl(url)
|
|
@@ -191,13 +203,16 @@ module U3d
|
|
|
191
203
|
|
|
192
204
|
def list_available_from_page(unity_forums, data)
|
|
193
205
|
versions = {}
|
|
194
|
-
|
|
195
|
-
|
|
206
|
+
|
|
207
|
+
data.scan(LINUX_DOWNLOAD_DATED) do |capt|
|
|
196
208
|
versions[capt[1]] = capt[0]
|
|
197
209
|
end
|
|
198
210
|
|
|
199
|
-
|
|
200
|
-
|
|
211
|
+
data.scan(LINUX_DOWNLOAD) do |capt|
|
|
212
|
+
versions[capt[2]] = capt[0]
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
data.scan(LINUX_DOWNLOAD_RECENT_PAGE) do |page|
|
|
201
216
|
url = page[0]
|
|
202
217
|
page_body = unity_forums.page_content(url)
|
|
203
218
|
capt = page_body.match(LINUX_DOWNLOAD_RECENT_FILE)
|
|
@@ -218,6 +233,7 @@ module U3d
|
|
|
218
233
|
end
|
|
219
234
|
end
|
|
220
235
|
end
|
|
236
|
+
|
|
221
237
|
versions
|
|
222
238
|
end
|
|
223
239
|
end
|
|
@@ -243,11 +259,27 @@ module U3d
|
|
|
243
259
|
@versions.merge!(total)
|
|
244
260
|
end
|
|
245
261
|
|
|
262
|
+
def fetch_json(os)
|
|
263
|
+
UI.message 'Loading Unity latest releases'
|
|
264
|
+
url = format(UNITY_LATEST_JSON_URL, os: os)
|
|
265
|
+
latest = UnityVersions.fetch_from_json(url, UNITY_LATEST_JSON)
|
|
266
|
+
|
|
267
|
+
UI.success "Found #{latest.count} latest releases."
|
|
268
|
+
|
|
269
|
+
@versions.merge!(latest) do |key, oldval, newval|
|
|
270
|
+
UI.important "Unity version #{key} already fetched, replacing #{oldval} with #{newval}" if newval != oldval
|
|
271
|
+
newval
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
@versions
|
|
275
|
+
end
|
|
276
|
+
|
|
246
277
|
def fetch_all_channels
|
|
247
278
|
fetch_some('lts', UNITY_LTSES)
|
|
248
279
|
fetch_some('stable', UNITY_DOWNLOADS)
|
|
249
280
|
fetch_some('patch', UNITY_PATCHES)
|
|
250
|
-
|
|
281
|
+
# This does not work any longer
|
|
282
|
+
# fetch_some('beta', UNITY_BETAS)
|
|
251
283
|
@versions
|
|
252
284
|
end
|
|
253
285
|
end
|
|
@@ -255,7 +287,9 @@ module U3d
|
|
|
255
287
|
class MacVersions
|
|
256
288
|
class << self
|
|
257
289
|
def list_available
|
|
258
|
-
VersionsFetcher.new(pattern: [MAC_DOWNLOAD, MAC_DOWNLOAD_2018_2])
|
|
290
|
+
versions_fetcher = VersionsFetcher.new(pattern: [MAC_DOWNLOAD, MAC_DOWNLOAD_2018_2])
|
|
291
|
+
versions_fetcher.fetch_all_channels
|
|
292
|
+
versions_fetcher.fetch_json('darwin')
|
|
259
293
|
end
|
|
260
294
|
end
|
|
261
295
|
end
|
|
@@ -263,7 +297,9 @@ module U3d
|
|
|
263
297
|
class WindowsVersions
|
|
264
298
|
class << self
|
|
265
299
|
def list_available
|
|
266
|
-
VersionsFetcher.new(pattern: WIN_DOWNLOAD)
|
|
300
|
+
versions_fetcher = VersionsFetcher.new(pattern: WIN_DOWNLOAD)
|
|
301
|
+
versions_fetcher.fetch_all_channels
|
|
302
|
+
versions_fetcher.fetch_json('win32')
|
|
267
303
|
end
|
|
268
304
|
end
|
|
269
305
|
end
|
data/lib/u3d/utils.rb
CHANGED
|
@@ -206,6 +206,26 @@ module U3d
|
|
|
206
206
|
U3dCore::Helper.windows_path(path)
|
|
207
207
|
end
|
|
208
208
|
|
|
209
|
+
# Ruby implementation of binutils strings
|
|
210
|
+
def strings(path)
|
|
211
|
+
min = 4
|
|
212
|
+
Enumerator.new do |y|
|
|
213
|
+
File.open(path, "rb") do |f|
|
|
214
|
+
s = ""
|
|
215
|
+
f.each_char do |c|
|
|
216
|
+
if c =~ /[[:print:]]/ # is there a cleaner way to do this check?
|
|
217
|
+
s += c
|
|
218
|
+
next
|
|
219
|
+
else
|
|
220
|
+
y.yield s if s.length >= min
|
|
221
|
+
s = ""
|
|
222
|
+
end
|
|
223
|
+
end
|
|
224
|
+
y.yield s if s.length >= min
|
|
225
|
+
end
|
|
226
|
+
end
|
|
227
|
+
end
|
|
228
|
+
|
|
209
229
|
private
|
|
210
230
|
|
|
211
231
|
def http_max_retries
|
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.3'.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.3
|
|
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:
|
|
12
|
+
date: 2019-01-08 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.
|
|
436
|
+
rubygems_version: 2.6.12
|
|
437
437
|
signing_key:
|
|
438
438
|
specification_version: 4
|
|
439
439
|
summary: U3d
|