u3d 1.0.4 → 1.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74659cdf831f537229e6bda64ca7cb74a38d2be3
4
- data.tar.gz: fb365f32df6f0f2f3d6440c9639f351ed40311a2
3
+ metadata.gz: a8b0ab9d7f5f1f383b56cc9b588e8d2d2bd55b4f
4
+ data.tar.gz: e683c0292cfe4b4dc604fdcebc2a69b764bf987f
5
5
  SHA512:
6
- metadata.gz: 3a5792a58962e9beac0eb337342e2fd5ece94907de70d51dc919265bd7f682e5f1767bc80cb6d505a53793aa09d99df9bf6f388350f39e8af358896d19cb6f47
7
- data.tar.gz: 2c7588a8d3629ab28a132d8eab653cecea060b9d8d6fb59266b8fd86242cb2f4c542900c9622e60db36d7dcfd7289dbc9da1b6a7075838f4c79443db99f9d294
6
+ metadata.gz: f246a3a041ed5a78b5b4c5ac372cb259d4fbfce2034ab8201f1435a8faa3bdfa86192d2f8e29a726c7eb2884203692a64bfcae0fa55a20cd4c93724f8afbf8ca
7
+ data.tar.gz: 3dc4f185499ecd0263a761bd19bb31b6e29662b6dff62740b102ddd2594022ed91611e50827891b97c90bdb454d4558fc71514eda502d062825130dc20084e28
@@ -1,4 +1,4 @@
1
- future-release=v1.0.4
1
+ future-release=v1.0.5
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,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
 
@@ -0,0 +1,11 @@
1
+ = Notes for dev team
2
+
3
+ * prepare a version
4
+
5
+ `rake pre_release`
6
+
7
+ * make a release
8
+
9
+ `rake release`
10
+
11
+ `rake bump`
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- u3d (1.0.4)
4
+ u3d (1.0.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)
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
- ## SSL Error
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: [], _options: {})
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, options|
171
- Commands.credentials(args: args, options: convert_options(options))
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.4'.freeze
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
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-16 00:00:00.000000000 Z
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