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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 94abbf8c5e7aa1a8e7f17aa609487b3fd251b174
4
- data.tar.gz: 32a92826a34a1647641fc7227f68077ffe80fd10
3
+ metadata.gz: aef7e549bba4e5a5efcee06f91d2f74c7183079d
4
+ data.tar.gz: 1a71fb1f4579e494497c6075e0ef6010b5f5c0fb
5
5
  SHA512:
6
- metadata.gz: 95be0c65cdf26c0917a701c26d39f538bf976ff3cae160d9387e84e05b7ea158f75042b1cb46ec526a1e3a9494129df5584a70fb6d2c96f6de45845d8fcb97da
7
- data.tar.gz: 37b1298b0b81bf672bbd78dc73780f5114bf1a323d81a92431f6409ad0d54cdaef874c130b4c4e26add76dc0c663fba8d724e6305c67c4eaf9c9a92b613993db
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
@@ -1,3 +1,3 @@
1
1
  module UniEnv
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
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.9
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-26 00:00:00.000000000 Z
11
+ date: 2015-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler