Skip to content
Browse files

Use 1.9-style hashes.

  • Loading branch information...
1 parent 3f4e0ab commit e754b6b016fc609b17e788529ad39d1301263dee @gabebw committed Apr 7, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 Rakefile
  2. +3 −3 lib/ohm_setup.rb
View
2 Rakefile
@@ -7,4 +7,4 @@ RSpec::Core::RakeTask.new(:acceptance) do |t|
t.pattern = 'spec/acceptance/**/*.feature'
end
-task :default => [:spec, :acceptance]
+task default: [:spec, :acceptance]
View
6 lib/ohm_setup.rb
@@ -1,7 +1,7 @@
require 'ohm'
require 'ohm/contrib'
-if ENV["REDISTOGO_URL"]
- uri = URI.parse(ENV["REDISTOGO_URL"])
- Ohm.connect(:host => uri.host, :port => uri.port, :password => uri.password)
+if ENV['REDISTOGO_URL']
+ uri = URI.parse(ENV['REDISTOGO_URL'])
+ Ohm.connect(host: uri.host, port: uri.port, password: uri.password)
end

0 comments on commit e754b6b

Please sign in to comment.
Something went wrong with that request. Please try again.