Skip to content

Commit

Permalink
Remove dependency on ActiveSupport::StringInquirer
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Jun 1, 2012
1 parent 46d0ca7 commit 8dd0c85
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 39 deletions.
7 changes: 0 additions & 7 deletions lib/t.rb
@@ -1,16 +1,9 @@
require 'active_support/string_inquirer'
require 't/cli'
require 'time'

module T
class << self

attr_reader :env

def env=(environment)
@env = ActiveSupport::StringInquirer.new(environment)
end

# Convert time to local time by applying the `utc_offset` setting.
def local_time(time)
utc_offset ? (time.utc + utc_offset) : time.localtime
Expand Down
1 change: 0 additions & 1 deletion spec/helper.rb
Expand Up @@ -11,7 +11,6 @@
require 'rspec'
require 'timecop'
require 'webmock/rspec'
T.env = 'test'

def a_delete(path, endpoint=Twitter.endpoint)
a_request(:delete, endpoint + path)
Expand Down
31 changes: 0 additions & 31 deletions spec/t_spec.rb

This file was deleted.

0 comments on commit 8dd0c85

Please sign in to comment.