u3d 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github_changelog_generator +1 -1
- data/CHANGELOG.md +9 -0
- data/DEVELOPMENT_PROCESS.md +11 -0
- data/Gemfile.lock +1 -1
- data/README.md +20 -3
- data/Rakefile +4 -0
- data/lib/u3d/commands.rb +1 -1
- data/lib/u3d/commands_generator.rb +3 -3
- data/lib/u3d/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8b0ab9d7f5f1f383b56cc9b588e8d2d2bd55b4f
|
4
|
+
data.tar.gz: e683c0292cfe4b4dc604fdcebc2a69b764bf987f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f246a3a041ed5a78b5b4c5ac372cb259d4fbfce2034ab8201f1435a8faa3bdfa86192d2f8e29a726c7eb2884203692a64bfcae0fa55a20cd4c93724f8afbf8ca
|
7
|
+
data.tar.gz: 3dc4f185499ecd0263a761bd19bb31b6e29662b6dff62740b102ddd2594022ed91611e50827891b97c90bdb454d4558fc71514eda502d062825130dc20084e28
|
data/.github_changelog_generator
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v1.0.5](https://github.com/DragonBox/u3d/tree/v1.0.5) (2017-09-28)
|
4
|
+
[Full Changelog](https://github.com/DragonBox/u3d/compare/v1.0.4...v1.0.5)
|
5
|
+
|
6
|
+
**Merged pull requests:**
|
7
|
+
|
8
|
+
- u3d/help: document verbose [\#152](https://github.com/DragonBox/u3d/pull/152) ([lacostej](https://github.com/lacostej))
|
9
|
+
- docs: document u3d usage on CI servers and how-to troubleshoot [\#151](https://github.com/DragonBox/u3d/pull/151) ([lacostej](https://github.com/lacostej))
|
10
|
+
- u3d/credentials fix ArgumentError in commands \(fixes \#148\) [\#149](https://github.com/DragonBox/u3d/pull/149) ([niezbop](https://github.com/niezbop))
|
11
|
+
|
3
12
|
## [v1.0.4](https://github.com/DragonBox/u3d/tree/v1.0.4) (2017-09-16)
|
4
13
|
[Full Changelog](https://github.com/DragonBox/u3d/compare/v1.0.3...v1.0.4)
|
5
14
|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
U3D
|
2
|
-
###
|
1
|
+
# U3D
|
3
2
|
|
4
3
|
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/DragonBox/u3d/blob/master/LICENSE)
|
5
4
|
[![Gem](https://img.shields.io/gem/v/u3d.svg?style=flat)](https://rubygems.org/gems/u3d)
|
@@ -8,6 +7,8 @@ U3D
|
|
8
7
|
|
9
8
|
U3d is a set of tools to interact with Unity3D from command line. It is available on Linux, Macintosh and Windows.
|
10
9
|
|
10
|
+
---
|
11
|
+
|
11
12
|
## What can it do?
|
12
13
|
|
13
14
|
U3d provides help for running and installing unity from CLI.
|
@@ -139,7 +140,23 @@ u3d run -r
|
|
139
140
|
|
140
141
|
You can get further information on how to use U3d by running `u3d --help` (or `u3d -h`).
|
141
142
|
|
142
|
-
##
|
143
|
+
## How-tos
|
144
|
+
|
145
|
+
### Reuse u3d install on a CI environment
|
146
|
+
|
147
|
+
Here you have multiple options
|
148
|
+
|
149
|
+
* pass the password using `U3D_PASSWORD` environment variable
|
150
|
+
|
151
|
+
* if on Mac, use the keychain option (you set it before hand on the machine, e.g. from the command line using `u3d credentials` add (use `u3d credentials check` to verify) and then use `u3d install -k` to activate the keychain while installing.
|
152
|
+
|
153
|
+
### Troubleshoot
|
154
|
+
|
155
|
+
Use the global `--verbose` argument to enable debug logs.
|
156
|
+
|
157
|
+
Use the global `-t` argument to display stack traces if a crash occurs.
|
158
|
+
|
159
|
+
### Solve SSL Errors
|
143
160
|
|
144
161
|
If you face an issue similar to this one
|
145
162
|
|
data/Rakefile
CHANGED
@@ -102,6 +102,7 @@ task :prepare_git_pr, [:pr_branch] do |_t, args|
|
|
102
102
|
run_command("git checkout -b #{pr_branch}")
|
103
103
|
end
|
104
104
|
|
105
|
+
desc 'Prepare a release: check repo status, generate changelog, create PR'
|
105
106
|
task pre_release: 'ensure_git_clean' do
|
106
107
|
require 'u3d/version'
|
107
108
|
nextversion = U3d::VERSION
|
@@ -132,6 +133,7 @@ task pre_release: 'ensure_git_clean' do
|
|
132
133
|
sh "git branch -D #{pr_branch}"
|
133
134
|
end
|
134
135
|
|
136
|
+
desc 'Bump the version number to the version entered interactively; pushes a commit to master'
|
135
137
|
task bump: 'ensure_git_clean' do
|
136
138
|
nextversion = UI.input "Next version will be:"
|
137
139
|
UI.user_error! "Bump version stopped by user" unless UI.confirm("Next version will be #{nextversion}. Confirm?")
|
@@ -143,11 +145,13 @@ task bump: 'ensure_git_clean' do
|
|
143
145
|
sh 'git push'
|
144
146
|
end
|
145
147
|
|
148
|
+
desc 'Update the changelog, no commit made'
|
146
149
|
task :changelog do
|
147
150
|
puts "Updating changelog #{ENV['CHANGELOG_GITHUB_TOKEN']}"
|
148
151
|
sh "github_changelog_generator" if ENV['CHANGELOG_GITHUB_TOKEN']
|
149
152
|
end
|
150
153
|
|
154
|
+
desc 'Run all rspec tests'
|
151
155
|
task :test_all do
|
152
156
|
formatter = "--format progress"
|
153
157
|
if ENV["CIRCLECI"]
|
data/lib/u3d/commands.rb
CHANGED
@@ -177,7 +177,7 @@ module U3d
|
|
177
177
|
%w[add remove check]
|
178
178
|
end
|
179
179
|
|
180
|
-
def credentials(args: []
|
180
|
+
def credentials(args: [])
|
181
181
|
action = args[0]
|
182
182
|
raise "Please specify an action to perform, one of #{credentials_actions.join(',')}" unless action
|
183
183
|
raise "Unknown action '#{action}'. Use one of #{credentials_actions.join(',')}" unless credentials_actions.include? action
|
@@ -63,7 +63,7 @@ module U3d
|
|
63
63
|
program :help, 'Authors', 'Jerome Lacoste <jerome@wewanttoknow.com>, Paul Niezborala <p.niezborala@wewanttoknow.com>'
|
64
64
|
program :help, 'A word on Unity versions', U3d::UNITY_VERSIONS_NOTE
|
65
65
|
|
66
|
-
global_option('--verbose') { U3dCore::Globals.verbose = true }
|
66
|
+
global_option('--verbose', 'Run in verbose mode') { U3dCore::Globals.verbose = true }
|
67
67
|
|
68
68
|
command :run do |c|
|
69
69
|
# Intended for backward compatibilty purposes for run command
|
@@ -167,8 +167,8 @@ More on that: https://forum.unity3d.com/threads/unity-on-linux-release-notes-and
|
|
167
167
|
command :credentials do |c|
|
168
168
|
c.syntax = "u3d credentials <#{Commands.credentials_actions.join(' | ')}>"
|
169
169
|
c.description = 'Manages keychain credentials so u3d remembers them. [OSX only]'
|
170
|
-
c.action do |args,
|
171
|
-
Commands.credentials(args: args
|
170
|
+
c.action do |args, _options|
|
171
|
+
Commands.credentials(args: args)
|
172
172
|
end
|
173
173
|
end
|
174
174
|
|
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.
|
24
|
+
VERSION = '1.0.5'.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"\
|
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.
|
4
|
+
version: 1.0.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: 2017-09-
|
12
|
+
date: 2017-09-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: commander
|
@@ -261,6 +261,7 @@ files:
|
|
261
261
|
- ".rubocop.yml"
|
262
262
|
- CHANGELOG.md
|
263
263
|
- CODE_OF_CONDUCT.md
|
264
|
+
- DEVELOPMENT_PROCESS.md
|
264
265
|
- Gemfile
|
265
266
|
- Gemfile.lock
|
266
267
|
- LICENSE
|