easyoperate 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/easyoperate.rb +1 -1
  2. data/lib/eo/eo.rb +1 -1
  3. metadata +2 -2
data/lib/easyoperate.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Easyoperate
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
data/lib/eo/eo.rb CHANGED
@@ -86,7 +86,7 @@ class Eo
86
86
  repos = pick(args,false)
87
87
 
88
88
  repos.each do |x|
89
- if File.exist?(Repos[x].path)
89
+ if Repos[x].path && File.exist?(Repos[x].path)
90
90
  puts "\e[32m %-18s: already Initialized\e[0m" % [x]
91
91
  next
92
92
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easyoperate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jinzhu Zhang
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-22 00:00:00 +08:00
12
+ date: 2008-12-23 00:00:00 +08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency