rack-mongoid 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +0 -20
- data/lib/rack/mongoid/version.rb +1 -1
- data/lib/rack/mongoid.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c4b798e10900ae7cc0c3853c997631a4f7285db9
|
|
4
|
+
data.tar.gz: 1852b9175cdde72aa74c8e14cacd0abab38f1394
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8aa2ac3f66bcb6587b08572de2445873697942ca95d803e066e05e93d43c85f8ff8bbd95a6508e52fccf93ed0a7dfa63a09262fb23a56ac59b1abd4a2a63db62
|
|
7
|
+
data.tar.gz: db7d8cf739816b0dddea102b0fe0abdde5cc8e0838fd2f2caac0b19c76bed316ab297b01e6bba79ec1908d38e4e88deaebc95d95a1714e3cf05618a488b84c49
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -2,26 +2,6 @@
|
|
|
2
2
|
Provides RESTful interface for MongoDB as a rack middleware.
|
|
3
3
|
|
|
4
4
|
## Usage
|
|
5
|
-
Here is the simplest example for Heroku with MongoLab plugin.
|
|
6
|
-
You can try this example via [r7kamura/rack-mongoid-example](https://github.com/r7kamura/rack-mongoid-example).
|
|
7
|
-
|
|
8
|
-
### Operation
|
|
9
|
-
```
|
|
10
|
-
# settings
|
|
11
|
-
$ mkdir config
|
|
12
|
-
$ vi config/mongoid.yml
|
|
13
|
-
$ vi config.ru
|
|
14
|
-
$ vi Gemfile
|
|
15
|
-
$ bundle install
|
|
16
|
-
$ git init
|
|
17
|
-
$ git add .
|
|
18
|
-
$ git commit -m "Initial commit"
|
|
19
|
-
$ heroku create my-test-app
|
|
20
|
-
$ heroku addons:add mongolab
|
|
21
|
-
$ git push heroku master
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
### Code
|
|
25
5
|
```yaml
|
|
26
6
|
# config/mongoid.yml
|
|
27
7
|
production:
|
data/lib/rack/mongoid/version.rb
CHANGED
data/lib/rack/mongoid.rb
CHANGED