Sha256: 078e67f3f998345c2ae19eb419321bc65cae14702dff20c39b055bde19e0325a
Contents?: true
Size: 761 Bytes
Versions: 1
Compression:
Stored size: 761 Bytes
Contents
require "roar/rails/version" require "roar/representer" require "roar/decorator" require "roar/rails/railtie" module Roar::Representer autoload("XML", "roar/representer/xml") autoload("JSON", "roar/representer/json") module JSON autoload("HAL", "roar/rails/hal") end module Feature autoload("Hypermedia", "roar/representer/feature/hypermedia") end end module Roar module Rails def self.rails3_0? ::Rails::VERSION::MAJOR == 3 && ::Rails::VERSION::MINOR == 0 end if rails3_0? require 'roar/rails/rails3_0_strategy' else require 'roar/rails/rails3_1_strategy' end autoload("TestCase", "roar/rails/test_case") autoload("ControllerAdditions", "roar/rails/controller_additions") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roar-rails-0.1.1 | lib/roar-rails.rb |