lasha 0.3.0 → 0.3.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -2
  3. data/lib/lasha/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb44bec536c98c3f3d09775fce58d7137191d6dcd82dc76021cad122d60b3a5c
4
- data.tar.gz: 5eaef9a2d71a073a75246e822952b87304ad966284b20d2ecd601db90892286c
3
+ metadata.gz: 132c0c11691cb94f1a6d766d7e2d88e6bedb4962aeef64a5f06a208180ce21fb
4
+ data.tar.gz: 7a9c2fa18ee0852d21e6a569ea62193fa7058d5f00ed6ca71508b370e032f089
5
5
  SHA512:
6
- metadata.gz: 0132c6f43a77cafa2357684186f0d828e99fa4efe661216d740ab561aca3c4bd9d867c551b3f750a0f23c39a0908325788e427ce47efac8ff73ba07e653f1125
7
- data.tar.gz: 6111476ee63ce4f814aa7bbc9d9ad2d5bc3b12ff9e96f8a7f602d78762ecc11f71a05d71c3abe2c718db702fde34be4b6e8911c37e97e830f0ac28e7ff746da5
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
- ### Helpers
8
- * Index table generator
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
@@ -1,3 +1,3 @@
1
1
  module Lasha
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lasha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lasha Abulashvili