Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
add Rails 4.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
pgolm committed Jan 12, 2015
1 parent f8a34ea commit 8d487ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/casino/service_ticket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def self.cleanup_consumed
end

def self.cleanup_consumed_hard
self.delete_all(['created_at < ? AND consumed = ?', (CASino.config.service_ticket[:lifetime_consumed].seconds * 2).ago, true])
self.delete_all(['created_at < ? AND consumed = ?', (CASino.config.service_ticket[:lifetime_consumed] * 2).seconds.ago, true])
end


Expand Down
2 changes: 1 addition & 1 deletion casino.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'webmock', '~> 1.9'
s.add_development_dependency 'coveralls', '~> 0.7'

s.add_runtime_dependency 'rails', '~> 4.1.0'
s.add_runtime_dependency 'rails', '>= 4.1.0', '< 4.3.0'
s.add_runtime_dependency 'sass-rails', '~> 4.0.0'
s.add_runtime_dependency 'http_accept_language', '~> 2.0.0.pre'
s.add_runtime_dependency 'addressable', '~> 2.3'
Expand Down

0 comments on commit 8d487ee

Please sign in to comment.