Commit 2381c68b2e233890b1225b02aba994f08f54d602

Authored by Nathan B
2 parents 7e223c81 8539e279
Exists in master and in 1 other branch production

Merge pull request #66 from dawanda/fix-system-timer

add SystemTimer for ruby 1.8

Looks good, as a drop-in replacement for timeout.rb.
http://ph7spot.com/musings/system-timer
Showing 2 changed files with 3 additions and 0 deletions   Show diff stats
Gemfile
... ... @@ -14,6 +14,7 @@ gem 'pivotal-tracker'
14 14 gem 'ruby-fogbugz', :require => 'fogbugz'
15 15 gem 'octokit'
16 16 gem 'inherited_resources'
  17 +gem 'SystemTimer', :platform => :ruby_18
17 18  
18 19 group :production do
19 20 gem 'hoptoad_notifier', "~> 2.3"
... ...
Gemfile.lock
... ... @@ -8,6 +8,7 @@ GIT
8 8 GEM
9 9 remote: http://rubygems.org/
10 10 specs:
  11 + SystemTimer (1.2.3)
11 12 abstract (1.0.0)
12 13 actionmailer (3.0.5)
13 14 actionpack (= 3.0.5)
... ... @@ -199,6 +200,7 @@ PLATFORMS
199 200 ruby
200 201  
201 202 DEPENDENCIES
  203 + SystemTimer
202 204 bson_ext (~> 1.3.1)
203 205 database_cleaner (~> 0.6.0)
204 206 devise (~> 1.4.0)
... ...