u3d 1.1.4 → 1.1.5

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
2
  SHA256:
3
- metadata.gz: 0c128eb99e14bacffa362e52f40d1a2c4630f35d669165fddb9f6ab1a3f1879a
4
- data.tar.gz: ae99d106583181bcd9e9809a9c03a16ba28a439bce5d897db5d667ec654e37f3
3
+ metadata.gz: 7313a9651bfa897816b43232674301b11f66c7d70f502bfd140810e52a01eead
4
+ data.tar.gz: 90e2f52e6924f8c878c17ac004a6cec83b62658b1815431853bfedd42e5e92b1
5
5
  SHA512:
6
- metadata.gz: a3dd9e7300532f9551b40367d9c20e16ff6e9c12fc2ef548beb09f3794033b3b15f85f7c6e47c3ad4f7bb9824e1084d9dbb6ad00084332d1cbd035a3949222bb
7
- data.tar.gz: 3c7bd315433353642fde4c2a4d42850d6c4e00ee4bd6ffd57009cca741c7cf49a8818dfd946845340c8a626b02e7e8ad043359b86f5c48b333b60f81ea3c2c24
6
+ metadata.gz: fdefe29ff4df6e9b7ed3a08f37cfd7c0d5c68345d2638f2d2705ebac3c638873518412bf0c5d54aa8e0e821ec3e7cb9ddba39e2f2f0462acc10f238c27fef325
7
+ data.tar.gz: e28c0d9052732c62e56d3031a343967c3208d687fb18521969ce4962f680b72fc445c6d3155feee2eba952b44efde7c02fb8e69bae1ea955f4a4383065d6c932
@@ -1,4 +1,4 @@
1
- future-release=v1.1.4
1
+ future-release=v1.1.5
2
2
  since-tag=v0.9
3
3
  exclude_tags_regex=v0\.[0-8]\..*
4
4
  exclude-labels=nochangelog,question
@@ -1,6 +1,18 @@
1
1
  # Change Log
2
2
 
3
- ## [v1.1.4](https://github.com/DragonBox/u3d/tree/v1.1.4) (2019-02-23)
3
+ ## [v1.1.5](https://github.com/DragonBox/u3d/tree/v1.1.5) (2019-03-06)
4
+ [Full Changelog](https://github.com/DragonBox/u3d/compare/v1.1.4...v1.1.5)
5
+
6
+ **Fixed bugs:**
7
+
8
+ - u3d available not listing all versions on macOS [\#349](https://github.com/DragonBox/u3d/issues/349)
9
+
10
+ **Merged pull requests:**
11
+
12
+ - list/available: find Mac or Windows version based on the unity\_shader package. Fixes \#349 [\#350](https://github.com/DragonBox/u3d/pull/350) ([lacostej](https://github.com/lacostej))
13
+ - build: automatically set reviewer on pre\_release PR [\#348](https://github.com/DragonBox/u3d/pull/348) ([lacostej](https://github.com/lacostej))
14
+
15
+ ## [v1.1.4](https://github.com/DragonBox/u3d/tree/v1.1.4) (2019-02-28)
4
16
  [Full Changelog](https://github.com/DragonBox/u3d/compare/v1.1.3...v1.1.4)
5
17
 
6
18
  **Implemented enhancements:**
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- u3d (1.1.4)
4
+ u3d (1.1.5)
5
5
  colored (>= 1.2, < 2.0.0)
6
6
  commander (>= 4.4.0, < 5.0.0)
7
7
  file-tail (>= 1.2.0)
@@ -64,7 +64,7 @@ GEM
64
64
  parallel (1.12.1)
65
65
  parser (2.4.0.2)
66
66
  ast (~> 2.3)
67
- plist (3.4.0)
67
+ plist (3.5.0)
68
68
  powerpack (0.1.1)
69
69
  pry (0.11.3)
70
70
  coderay (~> 1.1.0)
data/Rakefile CHANGED
@@ -96,8 +96,11 @@ def ensure_hub!
96
96
  end
97
97
 
98
98
  def hub_config
99
- require 'YAML'
100
- File.open(File.expand_path("~/.config/hub"), 'r:bom|utf-8') { |f| Psych.safe_load(f.read) }
99
+ @hub_config ||=
100
+ begin
101
+ require 'YAML'
102
+ File.open(File.expand_path("~/.config/hub"), 'r:bom|utf-8') { |f| Psych.safe_load(f.read) }
103
+ end
101
104
  end
102
105
 
103
106
  def hub_user(server)
@@ -111,6 +114,15 @@ def hub_fork_remote_name
111
114
 
112
115
  `git remote -v`.split("\n").map(&:split).select { |a| a[2] == '(push)' && a[1] =~ /#{server}.#{user}/ }.first[0]
113
116
  end
117
+
118
+ def github_team
119
+ %w[lacostej niezbop]
120
+ end
121
+
122
+ def github_reviewers
123
+ server = 'github.com'
124
+ github_team - [hub_user(server)]
125
+ end
114
126
  ###
115
127
 
116
128
  task :ensure_git_clean do
@@ -156,7 +168,7 @@ task pre_release: 'ensure_git_clean' do
156
168
  ensure_hub!
157
169
  hub_remote = hub_fork_remote_name
158
170
  sh "git push #{hub_remote}"
159
- sh "hub pull-request -m '#{msg}' -l nochangelog"
171
+ sh "hub pull-request -m '#{msg}' -r '#{github_reviewers.join(',')}' -l nochangelog"
160
172
  sh 'git checkout master'
161
173
  sh "git branch -D #{pr_branch}"
162
174
  end
@@ -122,9 +122,9 @@ module U3d
122
122
  #####################################################
123
123
  # Captures a version and its base url
124
124
  LINUX_DOWNLOAD = %r{['"](https?:\/\/[\w/\.-]+/[0-9a-f\+]{12,13}\/)(.\/)?UnitySetup-(\d+\.\d+\.\d+\w\d+)['"]}
125
- MAC_DOWNLOAD = %r{"(https?://[\w/\.-]+/[0-9a-f\+]{12,13}/)MacEditorInstaller/[a-zA-Z0-9/\.\+]+-(\d+\.\d+\.\d+\w\d+)\.?\w+"}
126
- MAC_DOWNLOAD_2018_2 = %r{"(https?://[\w/\.-]+/[0-9a-f\+]{12,13}/)UnityDownloadAssistant-(\d+\.\d+\.\d+\w\d+)\.?\w+"}
127
- WIN_DOWNLOAD = %r{"(https?://[\w/\.-]+/[0-9a-f\+]{12,13}/)Windows..EditorInstaller/[a-zA-Z0-9/\.\+]+-(\d+\.\d+\.\d+\w\d+)\.?\w+"}
125
+
126
+ MAC_WIN_SHADERS = %r{"(https?://[\w/\.-]+/[0-9a-f\+]{12,13}/)builtin_shaders-(\d+\.\d+\.\d+\w\d+)\.?\w+"}
127
+
128
128
  LINUX_DOWNLOAD_DATED = %r{"(https?://[\w/\._-]+/unity\-editor\-installer\-(\d+\.\d+\.\d+\w\d+).*\.sh)"}
129
129
  LINUX_DOWNLOAD_RECENT_PAGE = %r{"(https?://beta\.unity3d\.com/download/[a-zA-Z0-9/\.\+]+/public_download\.html)"}
130
130
  LINUX_DOWNLOAD_RECENT_FILE = %r{'(https?://beta\.unity3d\.com/download/[a-zA-Z0-9/\.\+]+/unity\-editor\-installer\-(\d+\.\d+\.\d+(?:x)?\w\d+).*\.sh)'}
@@ -287,7 +287,7 @@ module U3d
287
287
  class MacVersions
288
288
  class << self
289
289
  def list_available
290
- versions_fetcher = VersionsFetcher.new(pattern: [MAC_DOWNLOAD, MAC_DOWNLOAD_2018_2])
290
+ versions_fetcher = VersionsFetcher.new(pattern: [MAC_WIN_SHADERS])
291
291
  versions_fetcher.fetch_all_channels
292
292
  versions_fetcher.fetch_json('darwin')
293
293
  end
@@ -297,7 +297,7 @@ module U3d
297
297
  class WindowsVersions
298
298
  class << self
299
299
  def list_available
300
- versions_fetcher = VersionsFetcher.new(pattern: WIN_DOWNLOAD)
300
+ versions_fetcher = VersionsFetcher.new(pattern: MAC_WIN_SHADERS)
301
301
  versions_fetcher.fetch_all_channels
302
302
  versions_fetcher.fetch_json('win32')
303
303
  end
@@ -21,7 +21,7 @@
21
21
  ## --- END LICENSE BLOCK ---
22
22
 
23
23
  module U3d
24
- VERSION = '1.1.4'.freeze
24
+ VERSION = '1.1.5'.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
4
+ version: 1.1.5
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: 2019-02-28 00:00:00.000000000 Z
12
+ date: 2019-03-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colored