bigbrotha 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/bigbrotha/version.rb +1 -1
- data/lib/generators/big_brotha/templates/admin/taboo_post.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: ff3f813caf1716f05fdfafa4ad82d7d6b676e791
|
4
|
+
data.tar.gz: c6da39fd8a2cf9317aaa14c328677bf7626ed08d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6d64dda96f7d2bd09166c3e0bb1664cba02c86a5146afe0e7d4d71a64ab521bdeee3d472552daa65b39797036d1900a1790557ae577a6ad315c9b9fb0a78b89
|
7
|
+
data.tar.gz: e8d052392cb50988e3b2299fbd9334fd283e95c669febd2c3122c69cdc04d8b2fa92e441865dbadddb03c3c3fd4425cf7c753b4deab274963ebfe54c3f1f4873
|
data/README.md
CHANGED
@@ -50,7 +50,7 @@ In the **add** method you have to set the following parameters: **Model**, **:re
|
|
50
50
|
|
51
51
|
- **Model**: is the ActiveRecord model on which you want to append the callback function for taboo checks
|
52
52
|
- **relation_name**: is the name of the relation to the *User* model that will be saved as the creator of the taboo post.
|
53
|
-
The **:self** symbol can be passed **only** for the **User** model, where the **:create**
|
53
|
+
The **:self** symbol can be passed **only** for the **User** model, where the **:create** and **:save** events has to be called with timing **:after**, OTHERWISE *user_id* won't be added to the TabooPost object.
|
54
54
|
- **column_names**: are the names of the columns in the Model, that need to be checked for any taboos
|
55
55
|
- **timing**: indicates whether the callback is to be run :before, :after, or :around the event.
|
56
56
|
- **event**: indicates around which event (:save, :update, :create ... ) the callback is to be run.
|
data/lib/bigbrotha/version.rb
CHANGED