rack-autocrud 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/README.md +2 -2
  2. metadata +1 -1
data/README.md CHANGED
@@ -100,7 +100,7 @@ There are some basic processing hooks you can define in your endpoint:
100
100
 
101
101
  | Hook | Description |
102
102
  | ------------------------------ | ---------------------------------------------------------------- |
103
- | pre_create(env,request,obj) | Called before the record is created |
103
+ | pre_create(env,request) | Called before the record is created |
104
104
  | post_create(env,request,obj) | Called after the record is saved, if it was saved successfully |
105
105
  | pre_retrieve(env,request) | Called before the record is fetched |
106
106
  | post_retrieve(env,request,obj) | Called after the record is fetched |
@@ -127,7 +127,7 @@ namely *pre_create* and *pre_update*.
127
127
 
128
128
  This function is defined as:
129
129
  ```ruby
130
- def set_request_body(new_body,content_type='text/json') ; end
130
+ def set_request_body(new_body,content_type='text/json')
131
131
  ```
132
132
 
133
133
  where *new_body* is expected to be a string.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-autocrud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: