reloj 0.1.9 → 0.1.10
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/README.md +4 -3
- data/lib/reloj/version.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: 0ac28f321b10cb98d76ee55e376925731135743f
|
4
|
+
data.tar.gz: 840c4212f0e0b95b155e33f92886e7a549683e78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b6aea1290d194fa743a9b0cb0abef27504345f4e0c64e7f4d47c723c592ddd7c3c70f87413f418107a619a31becec03442b7265d486ec50c89d5e540acb47c2
|
7
|
+
data.tar.gz: 31a8a50604d7d12561efefe76294d178336d88a4527b392050a0f755e6e4bc69fb123b37bbfa01b45f8b95538a9569747e31a4322f4a5234b84d6c6d7b2d6f42
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Reloj
|
2
|
-
A lightweight web framework for Ruby for creating database-backed web applications with the Model-View-Controller pattern.
|
2
|
+
A lightweight web framework for Ruby for creating database-backed web applications with the Model-View-Controller pattern. It features an ActiveRecord pattern ORM, convenient methods for cookie storage for things like session tokens, convenient executables to make development faster (like `reloj new name_of_app`), and is designed to be easy to deply. Check out a [live app built with reloj and deployed on heroku](https://reloj-todo.herokuapp.com/)
|
3
3
|
|
4
4
|
## Getting Started
|
5
5
|
|
@@ -48,7 +48,8 @@ To learn how to manage the database when deploying, scroll down to the Deploy se
|
|
48
48
|
|
49
49
|
## Models and ORM
|
50
50
|
Reloj uses the active record pattern for its object-relational mapping.
|
51
|
-
To use this functionality in your app, create a class for your model in `app/models` and have the model inherit from ModelBase
|
51
|
+
To use this functionality in your app, create a class for your model in `app/models` and have the model inherit from ModelBase
|
52
|
+
|
52
53
|
```ruby
|
53
54
|
class Cat < ModelBase
|
54
55
|
# custom code goes here
|
@@ -144,7 +145,7 @@ Reloj is built to make deploying to heroku as easy as possible, here's how:
|
|
144
145
|
Enjoy your now-deployed app!
|
145
146
|
|
146
147
|
## TODO
|
147
|
-
* WEBrick doesn't support PATCH/DELETE
|
148
|
+
* WEBrick doesn't support PATCH/DELETE. Maybe I can monkey-patch that in using servlets
|
148
149
|
* Right now it doesn't serve assets. I think I can get it that work using servlets, also.
|
149
150
|
* REFERENCE: [http://ruby-doc.org/stdlib-1.9.3/libdoc/webrick/rdoc/WEBrick.html#module-WEBrick-label-Servlets](http://ruby-doc.org/stdlib-1.9.3/libdoc/webrick/rdoc/WEBrick.html#module-WEBrick-label-Servlets)
|
150
151
|
|
data/lib/reloj/version.rb
CHANGED