diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-18 12:00:03 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-18 12:00:57 -0700 |
commit | 6a051299f98ee43864326c6c0a4f7d169d22b3f8 (patch) | |
tree | 6a6ef0ce16a71ff12ad7289d3c72cf0cc24d62df /activesupport/test | |
parent | c40df470556646a90a9070a077f19f8e520304f4 (diff) | |
download | rails-6a051299f98ee43864326c6c0a4f7d169d22b3f8.tar.gz rails-6a051299f98ee43864326c6c0a4f7d169d22b3f8.tar.bz2 rails-6a051299f98ee43864326c6c0a4f7d169d22b3f8.zip |
Feature detect based on Ruby version.
I didn't want to do this, FNM_EXTGLOB is defined on 2.1.x, but Dir.glob
returns the wrong value on Ruby less than 2.2.0. Checking for a
case-insensitive FS seems too hard, so just check Ruby version Checking
for a case-insensitive FS seems too hard, so just check Ruby version.
Diffstat (limited to 'activesupport/test')
0 files changed, 0 insertions, 0 deletions