Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 22 lines (17 sloc) 0.863 kB
cb187bc Adding documentation to new api generator
Brian Ploetz authored
1 require 'active_support/dependencies/autoload'
8e0c2dd Adding support for header and url based versioning. Adding ActiveMode…
Brian Ploetz authored
2
c64390d Initial configuration support
Brian Ploetz authored
3 module Versionist
8e0c2dd Adding support for header and url based versioning. Adding ActiveMode…
Brian Ploetz authored
4 extend ActiveSupport::Autoload
5
c28701f Generators and specs
Brian Ploetz authored
6 autoload :Configuration
965b975 Adding module to deal with Inflector quirks
Brian Ploetz authored
7 autoload :InflectorFixes, "generators/versionist/inflector_fixes"
c952cf6 Issue #6: Copy API Generator
Brian Ploetz authored
8 autoload :CopyApiVersionGenerator, "generators/versionist/copy_api_version/copy_api_version_generator"
9e4affe Moving generators to lib/generators/versionist where Rails expects them
Brian Ploetz authored
9 autoload :NewApiVersionGenerator, "generators/versionist/new_api_version/new_api_version_generator"
10 autoload :NewControllerGenerator, "generators/versionist/new_controller/new_controller_generator"
11 autoload :NewPresenterGenerator, "generators/versionist/new_presenter/new_presenter_generator"
1baeab7 Refactoring generators and adding routing logic
Brian Ploetz authored
12 autoload :VersioningStrategy, "versionist/versioning_strategy"
cb187bc Adding documentation to new api generator
Brian Ploetz authored
13 autoload :Middleware
1baeab7 Refactoring generators and adding routing logic
Brian Ploetz authored
14 autoload :Routing
c64390d Initial configuration support
Brian Ploetz authored
15
16 def self.configuration
17 @@configuration ||= Configuration.new
18 end
19 end
aef2667 Moving require of railtie below autoload declarations and emoving unn…
Brian Ploetz authored
20
21 require 'versionist/railtie' if defined?(Rails) && Rails::VERSION::MAJOR == 3
Something went wrong with that request. Please try again.