Sha256: f488ef138be18ae1c58cb7536259e6f9623874a2c629641652d33bf476de3814

Contents?: true

Size: 716 Bytes

Versions: 2

Compression:

Stored size: 716 Bytes

Contents

require "roar/rails/version"
require "roar/representer"
require "roar/rails/railtie"

module Roar::Representer
  autoload("XML", "roar/representer/xml")
  autoload("JSON", "roar/representer/json")

  module JSON
    autoload("HAL", "roar/representer/json/hal")
  end


  module Feature
    autoload("Hypermedia", "roar/representer/feature/hypermedia")
  end
end



module Roar
  module Rails
    def self.rails3_0?
      ::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

2 entries across 2 versions & 1 rubygems

Version Path
roar-rails-0.0.14 lib/roar-rails.rb
roar-rails-0.0.13 lib/roar-rails.rb