orm_adapter_aws 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +19 -2
- data/lib/orm_adapter_aws.rb +0 -4
- data/lib/orm_adapter_aws/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OrmAdapterAws
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A SimpleDB (vida AWS::Record::Model) adapter for the orm_adapter gem.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -18,7 +18,24 @@ Or install it yourself as:
|
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
This gem was created as a mean of using Devise with SimpleDB. Please
|
|
22
|
+
see _article coming soon about how to use this gem with devise_.
|
|
23
|
+
|
|
24
|
+
## Thanks
|
|
25
|
+
|
|
26
|
+
Development of this gem was generously sponsored by _company name
|
|
27
|
+
withheld pending approval from the legal department_.
|
|
28
|
+
|
|
29
|
+
## Testing
|
|
30
|
+
|
|
31
|
+
This gem relies on the `example_app_shared` set of examples from
|
|
32
|
+
`orm_adapter`. Those examples test some functionality that is not
|
|
33
|
+
supplied by SimpleDB, so those tests are failing. Be aware of then
|
|
34
|
+
when running the specs. Again, *some test failures are expected*.
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
$ rspec spec
|
|
38
|
+
```
|
|
22
39
|
|
|
23
40
|
## Contributing
|
|
24
41
|
|
data/lib/orm_adapter_aws.rb
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
require "orm_adapter_aws/version"
|
|
2
2
|
require "orm_adapter"
|
|
3
3
|
module OrmAdapterAws
|
|
4
|
-
# Your code goes here...
|
|
5
4
|
end
|
|
6
5
|
|
|
7
|
-
puts "!!!!!!!"
|
|
8
6
|
if defined?(AWS::Record::Model)
|
|
9
7
|
require 'orm_adapter_aws/adapters/simple_db'
|
|
10
|
-
else
|
|
11
|
-
puts "can't load our stuff!!!!!!"
|
|
12
8
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: orm_adapter_aws
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-01-
|
|
12
|
+
date: 2013-01-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: aws-sdk
|