rpanel 0.0.0 → 0.0.1

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/rpanel/cli.rb +4 -3
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.1
data/lib/rpanel/cli.rb CHANGED
@@ -4,7 +4,7 @@ require 'fileutils'
4
4
 
5
5
  module Rpanel
6
6
  class CLI
7
- IGNORE_DIRECTORIES = ['.cpan', '.cpcpan', 'cpeasyapache', 'cprubybuild', 'cprubygemsbuild', 'domlogs', 'liquidweb', 'lost+found', 'fantasti', 'MySQL-install', 'virtfs']
7
+ IGNORE_DIRECTORIES = ['.', '..','.cpan', '.cpcpan', 'cpeasyapache', 'cprubybuild', 'cprubygemsbuild', 'domlogs', 'liquidweb', 'lost+found', 'fantasti', 'MySQL-install', 'virtfs']
8
8
  def self.execute(stdout, arguments=[])
9
9
 
10
10
  options = {
@@ -55,8 +55,9 @@ module Rpanel
55
55
  end
56
56
 
57
57
  if options[:list]
58
- dirs = Dir.entries('/home') - IGNORE_DIRECTORIES
59
- puts dirs
58
+ dirs = Dir.entries('/Users/jerrod') - IGNORE_DIRECTORIES
59
+ accounts = dirs.sort{|a,z| a.downcase <=>z.downcase}
60
+ puts accounts
60
61
  end
61
62
 
62
63
  username = options[:username]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpanel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - jayronc