Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vijay: Merging bguthrie/master (cfbaf0f)
- Loading branch information
Showing
20 changed files
with
237 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.tmtags | ||
*.tmproj | ||
.idea | ||
*.gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,27 @@ | ||
# Dependencies | ||
require 'active_record' | ||
require 'action_controller' | ||
require 'action_pack' | ||
|
||
# Extensions | ||
Dir[File.dirname(__FILE__) + "/resource_full/core_extensions/*.rb"].each do |extension| | ||
require extension | ||
end | ||
|
||
# Core library | ||
require 'resource_full/core_extensions/exception' | ||
require 'resource_full/core_extensions/from_json' | ||
require 'resource_full/dispatch' | ||
require 'resource_full/query' | ||
require 'resource_full/render' | ||
require 'resource_full/retrieve' | ||
require 'resource_full/version' | ||
require 'resource_full/base' | ||
require File.dirname(__FILE__) + '/resource_full/dispatch' | ||
require File.dirname(__FILE__) + '/resource_full/query' | ||
|
||
require File.dirname(__FILE__) + '/resource_full/render/html' | ||
require File.dirname(__FILE__) + '/resource_full/render/json' | ||
require File.dirname(__FILE__) + '/resource_full/render/xml' | ||
|
||
require File.dirname(__FILE__) + '/resource_full/render' | ||
require File.dirname(__FILE__) + '/resource_full/retrieve' | ||
require File.dirname(__FILE__) + '/resource_full/version' | ||
require File.dirname(__FILE__) + '/resource_full/base' | ||
|
||
# REST API | ||
require 'resource_full/controllers/resources_controller' | ||
require 'resource_full/controllers/routes_controller' | ||
require 'resource_full/core_extensions/api' | ||
require File.dirname(__FILE__) + '/resource_full/models/resourced_route' | ||
require File.dirname(__FILE__) + '/resource_full/controllers/resources_controller' | ||
require File.dirname(__FILE__) + '/resource_full/controllers/routes_controller' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module ResourceFull | ||
module CoreExtensions | ||
module Module | ||
def simple_name | ||
name.split("::").last | ||
end | ||
end | ||
end | ||
end | ||
|
||
class Module | ||
include ResourceFull::CoreExtensions::Module | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.