-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make SimplyStored compatible with latest CouchPotato - ActiveModel Ca…
…llbacks and Dirty are fun... NOT!
- Loading branch information
Showing
10 changed files
with
87 additions
and
65 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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,12 +1,14 @@ | |||
$:<<(File.expand_path(File.dirname(__FILE__) + "/lib")) | unless defined?(SimplyStored) | ||
require File.expand_path(File.dirname(__FILE__) + '/simply_stored/instance_methods') | $:<<(File.expand_path(File.dirname(__FILE__) + "/lib")) | ||
require File.expand_path(File.dirname(__FILE__) + '/simply_stored/storage') | require File.expand_path(File.dirname(__FILE__) + '/simply_stored/instance_methods') | ||
require File.expand_path(File.dirname(__FILE__) + '/simply_stored/class_methods_base') | require File.expand_path(File.dirname(__FILE__) + '/simply_stored/storage') | ||
require File.expand_path(File.dirname(__FILE__) + '/simply_stored/class_methods_base') | |||
|
|
||
module SimplyStored | module SimplyStored | ||
VERSION = '0.5.3' | VERSION = '0.5.3' | ||
class Error < RuntimeError; end | class Error < RuntimeError; end | ||
class RecordNotFound < RuntimeError; end | class RecordNotFound < RuntimeError; end | ||
end | end | ||
|
|
||
require File.expand_path(File.dirname(__FILE__) + '/simply_stored/couch') | require File.expand_path(File.dirname(__FILE__) + '/simply_stored/couch') | ||
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
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