Skip to content

Commit

Permalink
Removes beta from active record version checking
Browse files Browse the repository at this point in the history
  • Loading branch information
danmcclain committed Jan 13, 2015
1 parent 2b02b61 commit d503402
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
@@ -1,6 +1,8 @@
sudo: false
rvm:
- 2.0.0
- 2.1.2
- 2.2.0

gemfile:
- gemfiles/Gemfile.activerecord-4.0.x
Expand Down
3 changes: 1 addition & 2 deletions lib/postgres_ext/arel.rb
@@ -1,6 +1,5 @@
## TODO: Change to ~> 4.2.0 on gem release

gdep = Gem::Dependency.new('activerecord', '~> 4.2.0.beta2')
gdep = Gem::Dependency.new('activerecord', '~> 4.2.0')
ar_version_cutoff = gdep.matching_specs.sort_by(&:version).last

require 'postgres_ext/arel/nodes'
Expand Down

0 comments on commit d503402

Please sign in to comment.