Skip to content

Commit

Permalink
Moved mixins to lib/rudy/mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
delano committed May 10, 2009
1 parent 6613ec2 commit c3196df
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Rudyfile
Expand Up @@ -170,13 +170,13 @@ routines do
anything do # $ rudy anything
before :display_uptime # Specify a dependency
script Rudy.sysinfo.user do # This is Ruby, so any valid syntax
ls :l, Rudy.sysinfo.home # can be used in the definitions
end
ls :l, Rudy.sysinfo.home # can be used in the definitions.
end # See: SysInfo gem for more info.
end

display_uptime do # $ rudy display_uptime
script Rudy.sysinfo.user do
uptime
display_uptime do # $ rudy display-uptime
script Rudy.sysinfo.user do # NOTE: You can use 'dashes' on the
uptime # command-line instead of underscores
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/rudy.rb
Expand Up @@ -16,7 +16,7 @@
require 'socket'
require 'timeout'
require 'tempfile'
require 'mixins/hash'
require 'rudy/mixins'
require 'storable'
require 'sysinfo'
require 'annoy'
Expand Down
2 changes: 2 additions & 0 deletions lib/rudy/mixins.rb
@@ -0,0 +1,2 @@

require "rudy/mixins/hash"
File renamed without changes.
1 change: 1 addition & 0 deletions lib/rudy/utils.rb
@@ -1,4 +1,5 @@

#require 'drydock/mixins'
require 'socket'
require 'open-uri'
require 'date'
Expand Down

0 comments on commit c3196df

Please sign in to comment.