u3d 1.0.6 → 1.0.7

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
  SHA1:
3
- metadata.gz: a4198b2e5fcd0eb3083772c2e93565083dc1a127
4
- data.tar.gz: a2df16ce30dc7a837287b1ae226bdd78c0e93dea
3
+ metadata.gz: 813e4d8ddef2c11fe1a549b6d0aa09d5b9aab78f
4
+ data.tar.gz: ce1a8c173179537130883253e5e9b852e5540ac0
5
5
  SHA512:
6
- metadata.gz: 81e99939849c0c6bae6c81c8f58c6b563b7a53c0fdcb260e8f641166cda95ffe13bdd6e6b8bc6b856b902278268f53e8eae0020a6e21b39b9d38027dd5470f46
7
- data.tar.gz: 7d2ab92e679a09f8dd1626359aa86bfc9edaf6da8c45f278e62a7f5991f16a7097ed26a2563178c50692d2c072bc2f29f147a617f0269d8de6576c103b950c19
6
+ metadata.gz: 4d5a77dba51fa0e6a859431c7fdbb66b66f5426548bd5797860f40bed1dda157a5b6e828b4e1a274c9ace30861a5dff5df12d77c5c4cc0b63cfa9197e92db899
7
+ data.tar.gz: a321d0da32d1151f831f31234d96c546b7ba2b92c1cac5364934197d4e2a76c384c7c647374ff772a9c7d245681c2d8957d54095d16e89d310bfeb766ddce639
@@ -1,4 +1,4 @@
1
- future-release=v1.0.6
1
+ future-release=v1.0.7
2
2
  since-tag=v0.9
3
3
  exclude_tags_regex=v0\.[0-8]\..*
4
4
  exclude-labels=nochangelog
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Change Log
2
2
 
3
+ ## [v1.0.7](https://github.com/DragonBox/u3d/tree/v1.0.7) (2017-10-03)
4
+ [Full Changelog](https://github.com/DragonBox/u3d/compare/v1.0.6...v1.0.7)
5
+
6
+ **Closed issues:**
7
+
8
+ - u3d/install: weird mac spurious install issues [\#160](https://github.com/DragonBox/u3d/issues/160)
9
+
10
+ **Merged pull requests:**
11
+
12
+ - u3d/install: properly search for freshly installed versions on Mac \(fixes \#160\) [\#162](https://github.com/DragonBox/u3d/pull/162) ([lacostej](https://github.com/lacostej))
13
+
3
14
  ## [v1.0.6](https://github.com/DragonBox/u3d/tree/v1.0.6) (2017-10-02)
4
15
  [Full Changelog](https://github.com/DragonBox/u3d/compare/v1.0.5...v1.0.6)
5
16
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- u3d (1.0.6)
4
+ u3d (1.0.7)
5
5
  colored (>= 1.2, < 2.0.0)
6
6
  commander (>= 4.4.0, < 5.0.0)
7
7
  file-tail (>= 1.2.0)
data/lib/u3d/installer.rb CHANGED
@@ -132,6 +132,7 @@ module U3d
132
132
  destination_path = File.join(target_path, 'Applications', UNITY_DIR % version)
133
133
  FileUtils.mv temp_path, destination_path
134
134
  else
135
+ UI.verbose "Unity install for version #{version} found under #{unity.path}"
135
136
  begin
136
137
  path = File.expand_path('..', unity.path)
137
138
  move_to_temp = (temp_path != path)
@@ -153,8 +154,9 @@ module U3d
153
154
  private
154
155
 
155
156
  def list_installed_paths
156
- find = File.join(DEFAULT_MAC_INSTALL, 'Unity*', 'Unity.app')
157
- paths = Dir[find].map { |path| File.expand_path('..', path) }
157
+ find = File.join(DEFAULT_MAC_INSTALL, 'Applications', 'Unity*', 'Unity.app')
158
+ paths = Dir[find]
159
+ UI.verbose "Found list_installed_paths: #{paths}"
158
160
  paths
159
161
  end
160
162
 
@@ -171,6 +173,7 @@ module U3d
171
173
  cmd = "mdfind \"#{mdfind_args}\" 2>/dev/null"
172
174
  UI.verbose cmd
173
175
  paths = `#{cmd}`.split("\n")
176
+ UI.verbose "Found spotlight_installed_paths: #{paths}"
174
177
  paths
175
178
  end
176
179
  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.0.6'.freeze
24
+ VERSION = '1.0.7'.freeze
25
25
  DESCRIPTION = 'Provides numerous tools for installing, managing and running the Unity3D game engine from command line.'.freeze
26
26
  UNITY_VERSIONS_NOTE = "Unity3d 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 Unity3d\n"\
data/u3d.gemspec CHANGED
@@ -10,6 +10,8 @@ Gem::Specification.new do |spec|
10
10
  spec.authors = ["Jerome Lacoste", "Paul Niezborala"]
11
11
  spec.email = 'jerome@wewanttoknow.com'
12
12
 
13
+ spec.required_ruby_version = '>= 2.1.0'
14
+
13
15
  spec.summary = "U3d"
14
16
  spec.description = U3d::DESCRIPTION
15
17
 
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.0.6
4
+ version: 1.0.7
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: 2017-10-02 00:00:00.000000000 Z
12
+ date: 2017-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: commander
@@ -406,7 +406,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
406
406
  requirements:
407
407
  - - ">="
408
408
  - !ruby/object:Gem::Version
409
- version: '0'
409
+ version: 2.1.0
410
410
  required_rubygems_version: !ruby/object:Gem::Requirement
411
411
  requirements:
412
412
  - - ">="