Sha256: c23643fd20aa099380f56ff41a0943c422501c095337cf6a8e3a4993c4d6d1d8
Contents?: true
Size: 401 Bytes
Versions: 4
Compression:
Stored size: 401 Bytes
Contents
require File.expand_path('lobot/version', File.dirname(__FILE__)) module Lobot def self.rails3? return Rails.version.split(".").first.to_i == 3 if defined? Rails begin Gem::Specification::find_by_name "rails", ">= 3.0" rescue Gem.available? "rails", ">= 3.0" end end end require File.expand_path(File.join('lobot', "railtie"), File.dirname(__FILE__)) if Lobot.rails3?
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
lobot-0.9.7 | lib/lobot.rb |
lobot-0.9.6 | lib/lobot.rb |
lobot-0.9.5 | lib/lobot.rb |
lobot-0.9.4 | lib/lobot.rb |