u3d 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 39ab620cd00d64d5922f9bb0364676387a9c687db681facffcd064ab41a16bbb
4
- data.tar.gz: fe8917047cdafdb4bbdd72ec89244fce86995d401d735f6b863d49775c8b13c7
2
+ SHA1:
3
+ metadata.gz: 0be22743b701cf41ec7c0ec7502b3e83e398dfa3
4
+ data.tar.gz: 50cf04086a670bee0dd8712c9aa0a674bde8cb37
5
5
  SHA512:
6
- metadata.gz: 8e1ac4eb2ed6317097f3aaf6c2a5e8ffe3dfa7abda27c544a27453ca248bcd1deb0a8a418a45fbe2c550e980aaa2c34d15f03582c988d800ff79c75394f02cdb
7
- data.tar.gz: e698af18c57fcd4bc685c8fdb2c8b82fe06e6a28161b4376263e3698f7e6aa7f21d5a5d66ca66fd80037f6a771a452fb4d313e880545087ea526e881dfc59861
6
+ metadata.gz: 579f873a2b755f118ee77795615e407c97757fcc49118137e1dc42bdfea366d3997cf03bf35c057d764df949286d3fb88bdab3a401d6f0fd57f4d8b31325aeae
7
+ data.tar.gz: 883df9835b2b0a77c13c124848d936658f558bda6927510f7ab3ca60865e381b7704f4cc1a99a28126be35d03780322ca712c40b463d54851eea545d75aba345
@@ -1,4 +1,4 @@
1
- future-release=v1.1.2
1
+ future-release=v1.1.3
2
2
  since-tag=v0.9
3
3
  exclude_tags_regex=v0\.[0-8]\..*
4
4
  exclude-labels=nochangelog,question
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.2)
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.5)
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.1.1)
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.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.0.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 (2.3.5)
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.3)
30
+ commander (4.4.6)
30
31
  highline (~> 1.7.2)
31
- commander-fastlane (4.4.5)
32
+ commander-fastlane (4.4.6)
32
33
  highline (~> 1.7.2)
33
- declarative (0.0.9)
34
+ declarative (0.0.10)
34
35
  declarative-option (0.1.0)
35
- domain_name (0.5.20170404)
36
+ domain_name (0.5.20180417)
36
37
  unf (>= 0.0.5, < 1.0.0)
37
- dotenv (2.2.1)
38
- excon (0.58.0)
39
- faraday (0.13.1)
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.0)
47
- fastlane (2.54.4)
48
- CFPropertyList (>= 2.3, < 3.0.0)
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.5, < 5.0.0)
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.0.1, < 2.0.0)
61
- google-api-client (>= 0.13.1, < 0.14.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.1.0, < 2.0.0)
73
+ rubyzip (>= 1.2.2, < 2.0.0)
71
74
  security (= 0.1.3)
72
- slack-notifier (>= 1.3, < 2.0.0)
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 (~> 0.5.0)
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.5.0, < 2.0.0)
78
- xcpretty (>= 0.2.4, < 1.0.0)
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.1.1)
83
- gh_inspector (1.0.3)
84
- google-api-client (0.13.4)
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 (~> 0.5)
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
- googleauth (0.5.3)
96
+ signet (~> 0.9)
97
+ googleauth (0.6.6)
92
98
  faraday (~> 0.12)
93
- jwt (~> 1.4)
94
- logging (~> 2.0)
99
+ jwt (>= 1.4, < 3.0)
95
100
  memoist (~> 0.12)
96
101
  multi_json (~> 1.11)
97
- os (~> 0.9)
102
+ os (>= 0.9, < 2.0)
98
103
  signet (~> 0.7)
99
- highline (1.7.8)
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.5.6)
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.1)
112
+ mime-types (3.2.2)
112
113
  mime-types-data (~> 3.2015)
113
- mime-types-data (3.2016.0521)
114
+ mime-types-data (3.2018.0812)
114
115
  mini_magick (4.5.1)
115
- multi_json (1.12.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.3)
119
- os (0.9.6)
120
- plist (3.3.0)
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.1)
128
+ retriable (3.1.2)
127
129
  rouge (2.0.7)
128
- rubyzip (1.2.1)
130
+ rubyzip (1.2.2)
129
131
  security (0.1.3)
130
- signet (0.7.3)
132
+ signet (0.11.0)
131
133
  addressable (~> 2.3)
132
134
  faraday (~> 0.9)
133
- jwt (~> 1.5)
135
+ jwt (>= 1.5, < 3.0)
134
136
  multi_json (~> 1.10)
135
- slack-notifier (1.5.1)
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.15.0)
140
- tty-screen (0.5.0)
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.4)
145
- unicode-display_width (1.3.0)
152
+ unf_ext (0.0.7.5)
153
+ unicode-display_width (1.4.0)
146
154
  word_wrap (1.0.0)
147
- xcodeproj (1.5.1)
148
- CFPropertyList (~> 2.3.3)
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.3)
152
- xcpretty (0.2.8)
160
+ nanaimo (~> 0.2.6)
161
+ xcpretty (0.3.0)
153
162
  rouge (~> 2.0.7)
154
- xcpretty-travis-formatter (0.0.4)
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.15.4
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.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.0.0.rc1)
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 (2.3.5)
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.3)
30
+ commander (4.4.6)
30
31
  highline (~> 1.7.2)
31
- commander-fastlane (4.4.5)
32
+ commander-fastlane (4.4.6)
32
33
  highline (~> 1.7.2)
33
- declarative (0.0.9)
34
+ declarative (0.0.10)
34
35
  declarative-option (0.1.0)
35
- domain_name (0.5.20170404)
36
+ domain_name (0.5.20180417)
36
37
  unf (>= 0.0.5, < 1.0.0)
37
- dotenv (2.2.1)
38
- excon (0.58.0)
39
- faraday (0.13.1)
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.0)
47
- fastlane (2.54.4)
48
- CFPropertyList (>= 2.3, < 3.0.0)
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.5, < 5.0.0)
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.0.1, < 2.0.0)
61
- google-api-client (>= 0.13.1, < 0.14.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.1.0, < 2.0.0)
73
+ rubyzip (>= 1.2.2, < 2.0.0)
71
74
  security (= 0.1.3)
72
- slack-notifier (>= 1.3, < 2.0.0)
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 (~> 0.5.0)
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.5.0, < 2.0.0)
78
- xcpretty (>= 0.2.4, < 1.0.0)
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.1.1)
83
- gh_inspector (1.0.3)
84
- google-api-client (0.13.4)
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 (~> 0.5)
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
- googleauth (0.5.3)
96
+ signet (~> 0.9)
97
+ googleauth (0.6.6)
92
98
  faraday (~> 0.12)
93
- jwt (~> 1.4)
94
- logging (~> 2.0)
99
+ jwt (>= 1.4, < 3.0)
95
100
  memoist (~> 0.12)
96
101
  multi_json (~> 1.11)
97
- os (~> 0.9)
102
+ os (>= 0.9, < 2.0)
98
103
  signet (~> 0.7)
99
- highline (1.7.8)
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.5.6)
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.1)
112
+ mime-types (3.2.2)
112
113
  mime-types-data (~> 3.2015)
113
- mime-types-data (3.2016.0521)
114
+ mime-types-data (3.2018.0812)
114
115
  mini_magick (4.5.1)
115
- multi_json (1.12.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.3)
119
- os (0.9.6)
120
- plist (3.3.0)
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.1)
128
+ retriable (3.1.2)
127
129
  rouge (2.0.7)
128
- rubyzip (1.2.1)
130
+ rubyzip (1.2.2)
129
131
  security (0.1.3)
130
- signet (0.7.3)
132
+ signet (0.11.0)
131
133
  addressable (~> 2.3)
132
134
  faraday (~> 0.9)
133
- jwt (~> 1.5)
135
+ jwt (>= 1.5, < 3.0)
134
136
  multi_json (~> 1.10)
135
- slack-notifier (1.5.1)
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.15.0)
140
- tty-screen (0.5.0)
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.4)
145
- unicode-display_width (1.3.0)
152
+ unf_ext (0.0.7.5)
153
+ unicode-display_width (1.4.0)
146
154
  word_wrap (1.0.0)
147
- xcodeproj (1.5.1)
148
- CFPropertyList (~> 2.3.3)
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.3)
152
- xcpretty (0.2.8)
160
+ nanaimo (~> 0.2.6)
161
+ xcpretty (0.3.0)
153
162
  rouge (~> 2.0.7)
154
- xcpretty-travis-formatter (0.0.4)
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.15.4
175
+ 1.16.1
@@ -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
@@ -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?://[\w/\.-]+/[0-9a-f\+]{12,13}/)(./)?UnitySetup-(\d+\.\d+\.\d+\w\d+)'}
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
- results = data.scan(LINUX_DOWNLOAD_DATED)
195
- results.each do |capt|
206
+
207
+ data.scan(LINUX_DOWNLOAD_DATED) do |capt|
196
208
  versions[capt[1]] = capt[0]
197
209
  end
198
210
 
199
- results = data.scan(LINUX_DOWNLOAD_RECENT_PAGE)
200
- results.each do |page|
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
- fetch_some('beta', UNITY_BETAS)
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]).fetch_all_channels
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).fetch_all_channels
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.2'.freeze
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.2
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: 2018-07-12 00:00:00.000000000 Z
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.7.6
436
+ rubygems_version: 2.6.12
437
437
  signing_key:
438
438
  specification_version: 4
439
439
  summary: U3d