phcnotifi 3.3.8 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -8
  3. data/lib/phcnotifi/version.rb +1 -1
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 79acfb6bd7717ab50dc5cf56a97e7ab80404aad6
4
- data.tar.gz: 95a44f2805f31273a5e0261999ed28b77c8b578d
3
+ metadata.gz: b7df917ccf97d78802047e166b931ac4a0286a78
4
+ data.tar.gz: 5d851de2929fd67818d9f0c4d27de57af62a93d6
5
5
  SHA512:
6
- metadata.gz: 61baddc8d1bf752ed4fa58e214fb81938da942030ec49d939246ead32a5149c9880d9b607fc0f6fab88d40c3c2d619be877b0e63292229a72126ea42c9e39c38
7
- data.tar.gz: 7df7db5c93fa9277b7690ca46a1c8c4ad077b1c92efcc71cdb5d7ee2e7d5a284d25b05b6e49b18b44ff9e3f5dfae2d64c47f8250eea825b83841ef4a7bed8354
6
+ metadata.gz: d5966f774d898db30cea53e5de0553108347daad68e4b7379bfd08957aab9da9ca35b844cac46dbefd90e16e1bf590429708700ed0f4c98cee3115b6e6607ff6
7
+ data.tar.gz: 32b121981d4a8dbcd5b6dffa3fc5601fcd1b23e72c8dff5099acacde4d49d28d10ed6e7a9b8804ca8376bcc7784cfc93d375b7b48b3edfd9f7b6da8f4416441c
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Gem Version](https://badge.fury.io/rb/phcnotifi.svg)](https://badge.fury.io/rb/phcnotifi)
5
5
 
6
6
  ### PHC-Notifi(3) (Form Validation & Notification Engine) Documentation
7
- PHCNotifi(3) rails engine with helpers for on screen alerts and form validation notifications.
7
+ PHCNotifi(3) rails engine with helpers for on-screen alerts and form validation notifications.
8
8
 
9
9
  - Add alert and form validation helpers to any project.
10
10
  - Setup in seconds with only one line of code in the application_helper file.
@@ -12,21 +12,22 @@ PHCNotifi(3) rails engine with helpers for on screen alerts and form validation
12
12
 
13
13
  #### Step 1 - Add PHCNotifi to your gemfile
14
14
 
15
- gem 'phcnotifi', '~> 3.3', '>= 3.3.8'
15
+ gem 'phcnotifi', '~> 3.3', '>= 3.4.0'
16
16
  bundle install
17
17
 
18
- #### Step 2 - Load helpers files in application_controller.rb
18
+ #### Step 2 - Load Helpers in the Application's Controller
19
+ Add the line of code below into your app/controllers/application_controller.rb (application's controller file).
19
20
 
20
21
  helper Phcnotifi::Engine.helpers
21
22
 
22
- #### Add Notifications to Layouts
23
- Add the below line to your layout file.
24
- (Usually Above <%= yield %> but not necessary)
23
+ #### How to Add Notifications to Layouts
24
+ Add the line of code below to your app/views/layouts/application.rb (application's layouts file).
25
+ (Usually Above <%= yield %> but not necessary.)
25
26
 
26
27
  <%= render 'phcnotifi/notifications' %>
27
28
 
28
- #### Add Validations to your Form
29
- Add the below line to your form file changing @example_object to one on your form.
29
+ #### How to Add Validations to your Form
30
+ Add the line of code below to your _form.rb file. Changing @example_object to the sameone on your form.
30
31
 
31
32
  <%= render 'phcnotifi/validations', :object => @example_object %>
32
33
 
@@ -1,3 +1,3 @@
1
1
  module Phcnotifi
2
- VERSION = "3.3.8"
2
+ VERSION = "3.4.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcnotifi
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.8
4
+ version: 3.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
@@ -53,7 +53,7 @@ dependencies:
53
53
  version: '5.2'
54
54
  - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: 5.2.2
56
+ version: 5.2.3
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -63,7 +63,7 @@ dependencies:
63
63
  version: '5.2'
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
- version: 5.2.2
66
+ version: 5.2.3
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: jquery-rails
69
69
  requirement: !ruby/object:Gem::Requirement
@@ -360,7 +360,7 @@ dependencies:
360
360
  - - ">="
361
361
  - !ruby/object:Gem::Version
362
362
  version: 3.0.3
363
- description: PHCNotifi(3) rails engine with helpers for on screen alerts and form
363
+ description: PHCNotifi(3) rails engine with helpers for on-screen alerts and form
364
364
  validation notifications.
365
365
  email:
366
366
  - developers@phcnetworks.net