lasha 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -2
- data/lib/lasha/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 132c0c11691cb94f1a6d766d7e2d88e6bedb4962aeef64a5f06a208180ce21fb
|
4
|
+
data.tar.gz: 7a9c2fa18ee0852d21e6a569ea62193fa7058d5f00ed6ca71508b370e032f089
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 719f5acf9b7e3c71df7ce90a9f0de043135c15c3b2bf3481cb338e0f73dc667aac8de2a9e6e79f25c81c0bb6377ed59e23209cba09268a7b844e47f5547c881d
|
7
|
+
data.tar.gz: 77d08df8648c7a6ef687ab2baedf900a1ec11030c73e74a25255af8784055f9333261e1391be790ce079abe1805b60aa328bd4b856abc1b7f283bc88787ca3f8
|
data/README.md
CHANGED
@@ -1,13 +1,16 @@
|
|
1
|
+
|
1
2
|
# Lasha
|
2
3
|
This rails plugin aims to be a general helper gem for as many rails apps as possible.
|
3
4
|
It will to be a collection of features and helpers that many rails apps would need.
|
4
5
|
Potential of this gem is endless, please fork and add more features!
|
5
6
|
|
6
7
|
## Features
|
7
|
-
|
8
|
-
* Index table
|
8
|
+
#### Helpers
|
9
|
+
* [Index Table Generator](#index-table-generator)
|
10
|
+
* [Mailer helper](#mailer-helper)
|
9
11
|
|
10
12
|
## Usage
|
13
|
+
#### Index Table Generator
|
11
14
|
Controller `index` action
|
12
15
|
```
|
13
16
|
@data = Lasha.index_data(
|
@@ -34,6 +37,10 @@ index view `index.html.slim`
|
|
34
37
|
= render partial: "shared/index_generator", locals: { data: @data }
|
35
38
|
```
|
36
39
|
|
40
|
+
#### Mailer helper
|
41
|
+
Mail helper uses its own partial, just invoke:
|
42
|
+
```LashaMailer.notify("destination@email.com", "subject", "body").deliver!```
|
43
|
+
|
37
44
|
## Installation
|
38
45
|
Add this line to your application's Gemfile:
|
39
46
|
|
data/lib/lasha/version.rb
CHANGED