Permalink
Browse files

it's 2012 dude

  • Loading branch information...
1 parent 2a0df36 commit a1e8edab46507d32b53148935b28c109c5372a53 @aziz aziz committed Sep 9, 2012
Showing with 7 additions and 7 deletions.
  1. +1 −1 LICENSE.txt
  2. +1 −1 README.md
  3. +3 −3 lib/tmuxinator/cli.rb
  4. +2 −2 lib/tmuxinator/config_writer.rb
View
@@ -1,4 +1,4 @@
-Copyright (c) 2010 Allen Bargi
+Copyright (c) 2010-2012 Allen Bargi
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
View
@@ -176,4 +176,4 @@ Inspired by Jon Druse's ([Screeninator](https://github.com/jondruse/screeninator
### Copyright
-Copyright (c) 2010--2011 Allen Bargi. See LICENSE.txt for further details.
+Copyright (c) 2010-2012 Allen Bargi. See LICENSE.txt for further details.
View
@@ -17,8 +17,8 @@ def run *args
# print the usage string, this is a fall through method.
def usage
puts %{
- Usage: tmuxinator ACTION [Arg]
- or
+ Usage: tmuxinator ACTION [Arg]
+ or
tmuxinator [project_name]
ACTIONS:
@@ -54,7 +54,7 @@ def open *args
unless File.exists?(config_path)
template = File.exists?(user_config) ? user_config : sample_config
erb = ERB.new(File.read(template)).result(binding)
- tmp = File.open(config_path, 'w') {|f| f.write(erb) }
+ File.open(config_path, 'w') {|f| f.write(erb) }
end
system("$EDITOR #{config_path}")
end
@@ -17,7 +17,7 @@ def file_path= full_path
def write!
raise "Unable to write with out a file_name defined" unless self.file_name
- tmp = File.open(config_path, 'w') {|f| f.write(render) }
+ File.open(config_path, 'w') {|f| f.write(render) }
end
def render
@@ -39,7 +39,7 @@ def root_dir
end
def process_config!
- begin
+ begin
yaml = YAML.load(File.read(file_path))
rescue
exit!("Invalid YAML file format.")

0 comments on commit a1e8eda

Please sign in to comment.