artoo 1.6.0 → 1.6.1

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: b4ebe09e363260cba747ed083f76143e57540c58
4
- data.tar.gz: d34f0a457be5ed505bcb2a4a7e9b8eef5b446c47
3
+ metadata.gz: 99300043a8e0ea0151c2e11e169e417c3f5695f8
4
+ data.tar.gz: a9e775a2e51c7fc4ee9b2a3b0d6d55c24d2baae9
5
5
  SHA512:
6
- metadata.gz: ea9a2047e2e5924ef8f3e06a0c2d52741adacf63a0ad5c4190963e51732377e1c1c2ee53d5eb323f2ea0fe2faf0f5e3f89a145cc8c2c33e1c26983e8118eec46
7
- data.tar.gz: 330b5a1e92edce1edfbf66448bb85c3fd2688edf065a8612cc63a160497b8a6b2fbdf3a3e17fc11b62a237acafa60e78f6e31291fbeb4be85f38180311d97ff3
6
+ metadata.gz: 73914f51e137d73d0a16911469b89d8f614df51c2806aafd339a0a54a06a8268b01021b77529e9fa110d5dfa46b201dc838bd34f89834add8633bf5193ff8b07
7
+ data.tar.gz: d3a6b329bd46dcd87e5ef586de3489e541064723a6961583d7c3a398b9aae8817cbdcb84d93ff50df59077a95eeb512c0f6a64b659f7316e6372a48138f00426
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- artoo (1.6.0)
4
+ artoo (1.6.1)
5
5
  celluloid (~> 0.15.0)
6
6
  celluloid-io (~> 0.15.0)
7
7
  multi_json (~> 1.6)
data/README.md CHANGED
@@ -77,7 +77,7 @@ SPHEROS.each {|p|
77
77
  SpheroRobot.work!(robots)
78
78
  ```
79
79
 
80
- Ruby versions supported: Ruby 2.0, Ruby 1.9.3, JRuby 1.7.4+, and Rubinius 2.0+
80
+ Ruby versions supported: Ruby 2.1, Ruby 2.0, Ruby 1.9.3, JRuby 1.7.4+, and Rubinius 2.1+
81
81
 
82
82
  Rubinius requires 1.9 mode, to install Rubinius in 1.9 mode using rvm
83
83
 
@@ -1,5 +1,6 @@
1
1
  require 'thor'
2
2
  require 'thor/group'
3
+ require 'etc'
3
4
 
4
5
  module Artoo
5
6
  module Commands
@@ -12,7 +13,11 @@ module Artoo
12
13
  end
13
14
 
14
15
  def self.install_dir
15
- ENV['GEM_HOME'] + "/.artoo/commands"
16
+ "#{ install_path }/.artoo/commands"
17
+ end
18
+
19
+ def self.install_path
20
+ ENV["GEM_HOME"] || ENV["RBENV_ROOT"] || Dir.home(Etc.getlogin)
16
21
  end
17
22
  end
18
23
  end
@@ -1,5 +1,5 @@
1
1
  module Artoo
2
2
  unless const_defined?('VERSION')
3
- VERSION = "1.6.0"
3
+ VERSION = "1.6.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artoo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ron Evans
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2014-02-06 00:00:00.000000000 Z
15
+ date: 2014-02-13 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: celluloid