phcnotifi 4.1.4 → 4.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e605f26809f5a66c8a29f2a0a626f339fe371337
4
- data.tar.gz: 343aeb5ce9d3cc7b8320b198d6cb4b7968a96265
3
+ metadata.gz: 7fa8047b71d19a183749ba6869f8b081f7649291
4
+ data.tar.gz: b7e6f14e0c469be4ba7f00871b6e6830fe082f7f
5
5
  SHA512:
6
- metadata.gz: 9be19cd359959ef06d960a5684c5fc7b85f244186b151b25de1f26a09f03c43623e61a66a69e3c740a4e3695cc8e96498c235f32b1b1a3381fe1ce5acf7d04a8
7
- data.tar.gz: 63c8d7804441d75c41ba476842eb752b93385a0d8666b3c16b0931338ee8161d7a22462207787ea2dce05332c72157194ee9d99cae7bfd59467fe59b2c694e64
6
+ metadata.gz: 5f82689dad2ac9a9403e2b534b472a675c122b0aa2fb9dd8b4d0be1e08c3f2678863028a51dd61eb377594a731e394f691073c2ec6dea84eca61e02aaedef0ab
7
+ data.tar.gz: f610096dbd5a07e8cdb88ec3132691820e204c4bd77994a9da0bf35e5b1b9b86b25658104e8e9517af13551669de8743a6581bb92508f02dfe5639a7b065afc9
@@ -17,4 +17,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
17
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
18
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
19
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -6,31 +6,31 @@
6
6
 
7
7
  ### PHC-Notifi(4) (Form Validation & Notification Engine) Documentation
8
8
  PHCNotifi(4) rails engine with helpers for alerts and form validation notifications.
9
-
9
+
10
10
  * Add alert and form validation helpers to any project.
11
11
  * Setup in seconds with only one line of code in the application_helper file.
12
12
  * Save time and keep your rails projects manageable, tidy and secure.
13
-
13
+
14
14
  #### Step 1 - Add PHCNotifi to your gemfile
15
15
 
16
16
  gem 'phcnotifi', '~> 4.0'
17
17
  bundle install
18
-
18
+
19
19
  #### Step 2 - Load Helpers in the Application's Controller
20
20
  Add the line of code below into your app/controllers/application_controller.rb (application's controller file).
21
-
21
+
22
22
  helper Phcnotifi::Engine.helpers
23
-
23
+
24
24
  #### How to Add Notifications to Layouts
25
25
  Add the line of code below to your app/views/layouts/application.rb
26
26
 
27
27
  <%= render 'phcnotifi/notifications' %>
28
-
28
+
29
29
  #### How to Add Validations to your Form
30
30
  Add the line of code below to your _form.rb file. Change @example_object to the same one on your form.
31
31
 
32
32
  <%= render 'phcnotifi/validations', :object => @example_object %>
33
-
33
+
34
34
  #### Additional Information
35
35
 
36
- - [Critical Security Updates](https://github.com/PHCNetworks/phc-notifi/wiki/Critical-Security-Updates)
36
+ - [Critical Security Updates](https://github.com/PHCNetworks/phc-notifi/wiki/Critical-Security-Updates)
data/Rakefile CHANGED
@@ -30,4 +30,4 @@ Rake::TestTask.new(:test) do |t|
30
30
  t.verbose = false
31
31
  end
32
32
 
33
- task default: :test
33
+ task default: :test
@@ -1,2 +1,2 @@
1
1
  //= link_directory ../javascripts/phcnotifi .js
2
- //= link_directory ../stylesheets/phcnotifi .scss
2
+ //= link_directory ../stylesheets/phcnotifi .scss
@@ -1,2 +1,2 @@
1
1
  // Load PHCAdmin3 Javascript
2
- //= require phc_admins_main_three
2
+ //= require phc_admins_main_three
@@ -1,2 +1,2 @@
1
1
  // Load PHCAdmin3 Styles
2
- @import "phc_admins_style_three";
2
+ @import "phc_admins_style_three";
@@ -1,8 +1,8 @@
1
1
  module Phcnotifi
2
2
  class ApplicationController < ActionController::Base
3
-
3
+
4
4
  # Security Filters
5
5
  protect_from_forgery with: :exception
6
-
6
+
7
7
  end
8
- end
8
+ end
@@ -12,4 +12,4 @@ module Phcnotifi
12
12
  end
13
13
 
14
14
  end
15
- end
15
+ end
@@ -1,4 +1,4 @@
1
1
  module Phcnotifi
2
2
  class ApplicationJob < ActiveJob::Base
3
3
  end
4
- end
4
+ end
@@ -5,4 +5,4 @@ module Phcnotifi
5
5
  layout 'mailer'
6
6
 
7
7
  end
8
- end
8
+ end
@@ -4,4 +4,4 @@ module Phcnotifi
4
4
  self.abstract_class = true
5
5
 
6
6
  end
7
- end
7
+ end
@@ -10,4 +10,4 @@
10
10
  </div>
11
11
  <% end %>
12
12
  </div>
13
- </div>
13
+ </div>
@@ -8,4 +8,4 @@
8
8
  <% end %>
9
9
  </ul>
10
10
  </div>
11
- <% end %>
11
+ <% end %>
@@ -1,4 +1,4 @@
1
1
  require "phcnotifi/engine"
2
2
 
3
3
  module Phcnotifi
4
- end
4
+ end
@@ -1,6 +1,6 @@
1
1
  module Phcnotifi
2
2
  class Engine < ::Rails::Engine
3
-
3
+
4
4
  # UI & Frontend Dependencies
5
5
  require 'jquery-rails'
6
6
  require 'jquery-ui-rails'
@@ -9,10 +9,10 @@ module Phcnotifi
9
9
  require 'font-awesome-rails'
10
10
  require 'country_select'
11
11
  require 'gravtastic'
12
-
12
+
13
13
  # Isolate Namespace
14
14
  isolate_namespace Phcnotifi
15
-
15
+
16
16
  # Testing Generator
17
17
  config.generators do |g|
18
18
  g.test_framework :rspec,
@@ -24,11 +24,11 @@ module Phcnotifi
24
24
  request_specs: false
25
25
  g.fixture_replacement :factory_girl, dir: "spec/factories"
26
26
  end
27
-
27
+
28
28
  # Load Requried Helper Files
29
29
  config.to_prepare do
30
30
  Phcnotifi::ApplicationController.helper(ApplicationHelper)
31
31
  end
32
-
32
+
33
33
  end
34
- end
34
+ end
@@ -1,3 +1,3 @@
1
1
  module Phcnotifi
2
- VERSION = "4.1.4"
2
+ VERSION = "4.1.5"
3
3
  end
@@ -1,4 +1,4 @@
1
1
  # desc "Explaining what the task does"
2
2
  # task :phcnotifi do
3
3
  # # Task goes here
4
- # end
4
+ # end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcnotifi
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.4
4
+ version: 4.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-27 00:00:00.000000000 Z
11
+ date: 2017-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails