unienv 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/unity_versions.yml +3 -0
- data/lib/unienv/version.rb +1 -1
- data/lib/unienv.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aef7e549bba4e5a5efcee06f91d2f74c7183079d
|
4
|
+
data.tar.gz: 1a71fb1f4579e494497c6075e0ef6010b5f5c0fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 981c6aaec560c1e30409554216ff3fdcbed884b3dcb042f5f700030450a29dce8ea3185dd6e8079c47654b7f7800cd25393339067796a064c6f314f2549e62a6
|
7
|
+
data.tar.gz: 76ff9e6057fbc9caa5699f4fef72582090bc377c73a0dfe88ff7fa93c19c67782ac932f1dfc56c759669a215a3cfe9b2a060506da8c55e3a63dfd3bb0311b927
|
@@ -1,4 +1,7 @@
|
|
1
1
|
version:
|
2
|
+
5.2.2p2:
|
3
|
+
editor: http://beta.unity3d.com/download/67d68477bb52/MacEditorInstaller/Unity-5.2.2p2.pkg
|
4
|
+
standard_assets: http://beta.unity3d.com/download/67d68477bb52/MacStandardAssetsInstaller/StandardAssets-5.2.2p2.pkg
|
2
5
|
5.2.2p1:
|
3
6
|
editor: http://beta.unity3d.com/download/6dd5cd7ea574/MacEditorInstaller/Unity-5.2.2p1.pkg
|
4
7
|
standard_assets: http://beta.unity3d.com/download/6dd5cd7ea574/MacStandardAssetsInstaller/StandardAssets-5.2.2p1.pkg
|
data/lib/unienv/version.rb
CHANGED
data/lib/unienv.rb
CHANGED
@@ -202,6 +202,9 @@ command :install do |c|
|
|
202
202
|
c.syntax = 'unienv install [version]'
|
203
203
|
c.summary = 'install specified version'
|
204
204
|
c.action do |args, options|
|
205
|
+
if ENV['USER'] != 'root'
|
206
|
+
raise "please execute by su"
|
207
|
+
end
|
205
208
|
raise 'specify version' unless args.size != 0
|
206
209
|
config = UniEnv.load_config
|
207
210
|
candidates = UniEnv.search_version(config, args[0])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unienv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fum1h1ro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|