phcdevworks_notifications 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.md +26 -26
- data/Rakefile +8 -32
- data/app/helpers/phcdevworks_notifications/application_helper.rb +21 -21
- data/app/views/phcdevworks_notifications/bootstrap/_notifications.html.erb +12 -12
- data/app/views/phcdevworks_notifications/bootstrap/_validations.html.erb +14 -14
- data/app/views/phcdevworks_notifications/custom/_notifications.html.erb +8 -0
- data/app/views/phcdevworks_notifications/metronic/_notifications.html.erb +15 -15
- data/app/views/phcdevworks_notifications/metronic/_validations.html.erb +18 -18
- data/lib/phcdevworks_notifications/engine.rb +12 -12
- data/lib/phcdevworks_notifications/version.rb +3 -4
- data/lib/phcdevworks_notifications.rb +6 -5
- data/lib/tasks/phcdevworks_notifications_tasks.rake +4 -4
- metadata +14 -17
- data/app/assets/config/phcdevworks_notifications_manifest.js +0 -3
- data/app/assets/javascripts/phcdevworks_notifications/application.js +0 -0
- data/app/assets/stylesheets/phcdevworks_notifications/application.css +0 -15
- data/app/controllers/phcdevworks_notifications/application_controller.rb +0 -5
- data/app/jobs/phcdevworks_notifications/application_job.rb +0 -4
- data/app/mailers/phcdevworks_notifications/application_mailer.rb +0 -6
- data/app/models/phcdevworks_notifications/application_record.rb +0 -5
- data/app/views/layouts/phcdevworks_notifications/application.html.erb +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b4b5e4922b5875c3419c2227293184af19c0c2a45bbb981ed4a777db4b28290
|
4
|
+
data.tar.gz: b372825448aa31f4a04ed7e7d2f183bf124345c0659b1b7bf2fe4382e4c6d09c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c744734d2b91a52f560cb360dd98491ee0ee6826f083e622687bddc68767740a801aeb49485735c678d4bedfd9cedb9f88aa9fb2ac58b6fbe2394590e9d42d6f
|
7
|
+
data.tar.gz: 6c09350a5756bb86d70dd2cf3105b3596f87d699644a21a6af88fa297746dacc984acc1b62041c893c7c4932b9777b4aad8b48d4b361346c8ca527f985bfda4f
|
data/MIT-LICENSE
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
Copyright
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
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.
|
1
|
+
Copyright 2021 BradPotts
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
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.
|
data/README.md
CHANGED
@@ -1,26 +1,26 @@
|
|
1
|
-
### PHCDevworks Notifications for Rails 6 (Form Validation & Notification Engine)
|
2
|
-
PHCDevworks Notifications Rails 6 engine with helpers for alerts and form validation notifications.
|
3
|
-
|
4
|
-
* Add alert and form validation helpers ruby on rails.
|
5
|
-
* Setup in seconds with only one line of code in the application_helper file.
|
6
|
-
* Save time and keep your rails projects manageable, tidy and secure.
|
7
|
-
|
8
|
-
#### Step 1 - Add PHCDevworks Notifications to your gemfile
|
9
|
-
|
10
|
-
gem 'phcdevworks_notifications'
|
11
|
-
bundle install
|
12
|
-
|
13
|
-
#### Step 2 - Load Helpers in the Application's Controller
|
14
|
-
Add the line of code below into your app/controllers/application_controller.rb (application's controller file).
|
15
|
-
|
16
|
-
helper PhcdevworksNotifications::Engine.helpers
|
17
|
-
|
18
|
-
#### How to Add Bootstrap 4 Notifications to Layouts
|
19
|
-
Add the line of code below to your app/views/layouts/application.rb
|
20
|
-
|
21
|
-
<%= render 'phcdevworks_notifications/bootstrap/notifications' %>
|
22
|
-
|
23
|
-
#### How to Add Bootstrap 4 Validations to your Form
|
24
|
-
Add the line of code below to your _form.rb file. Change @example_object to the same one on your form.
|
25
|
-
|
26
|
-
<%= render 'phcdevworks_notifications/bootstrap/validations', :object => @example_object %>
|
1
|
+
### PHCDevworks Notifications for Rails 6 (Form Validation & Notification Engine) [![Gem Version](https://badge.fury.io/rb/phcdevworks_notifications.svg)](https://badge.fury.io/rb/phcdevworks_notifications)
|
2
|
+
PHCDevworks Notifications Rails 6 engine with helpers for alerts and form validation notifications.
|
3
|
+
|
4
|
+
* Add alert and form validation helpers ruby on rails.
|
5
|
+
* Setup in seconds with only one line of code in the application_helper file.
|
6
|
+
* Save time and keep your rails projects manageable, tidy and secure.
|
7
|
+
|
8
|
+
#### Step 1 - Add PHCDevworks Notifications to your gemfile
|
9
|
+
|
10
|
+
gem 'phcdevworks_notifications'
|
11
|
+
bundle install
|
12
|
+
|
13
|
+
#### Step 2 - Load Helpers in the Application's Controller
|
14
|
+
Add the line of code below into your app/controllers/application_controller.rb (application's controller file).
|
15
|
+
|
16
|
+
helper PhcdevworksNotifications::Engine.helpers
|
17
|
+
|
18
|
+
#### How to Add Bootstrap 4 Notifications to Layouts
|
19
|
+
Add the line of code below to your app/views/layouts/application.rb
|
20
|
+
|
21
|
+
<%= render 'phcdevworks_notifications/bootstrap/notifications' %>
|
22
|
+
|
23
|
+
#### How to Add Bootstrap 4 Validations to your Form
|
24
|
+
Add the line of code below to your _form.rb file. Change @example_object to the same one on your form.
|
25
|
+
|
26
|
+
<%= render 'phcdevworks_notifications/bootstrap/validations', :object => @example_object %>
|
data/Rakefile
CHANGED
@@ -1,32 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
RDoc::Task.new(:rdoc) do |rdoc|
|
10
|
-
rdoc.rdoc_dir = 'rdoc'
|
11
|
-
rdoc.title = 'PhcdevworksNotifications'
|
12
|
-
rdoc.options << '--line-numbers'
|
13
|
-
rdoc.rdoc_files.include('README.md')
|
14
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
-
end
|
16
|
-
|
17
|
-
APP_RAKEFILE = File.expand_path("test/test_app/Rakefile", __dir__)
|
18
|
-
load 'rails/tasks/engine.rake'
|
19
|
-
|
20
|
-
load 'rails/tasks/statistics.rake'
|
21
|
-
|
22
|
-
require 'bundler/gem_tasks'
|
23
|
-
|
24
|
-
require 'rake/testtask'
|
25
|
-
|
26
|
-
Rake::TestTask.new(:test) do |t|
|
27
|
-
t.libs << 'test'
|
28
|
-
t.pattern = 'test/**/*_test.rb'
|
29
|
-
t.verbose = false
|
30
|
-
end
|
31
|
-
|
32
|
-
task default: :test
|
1
|
+
require "bundler/setup"
|
2
|
+
|
3
|
+
APP_RAKEFILE = File.expand_path("spec/test_app/Rakefile", __dir__)
|
4
|
+
load "rails/tasks/engine.rake"
|
5
|
+
|
6
|
+
load "rails/tasks/statistics.rake"
|
7
|
+
|
8
|
+
require "bundler/gem_tasks"
|
@@ -1,21 +1,21 @@
|
|
1
|
-
module PhcdevworksNotifications
|
2
|
-
module ApplicationHelper
|
3
|
-
|
4
|
-
# PHCNotifi - Bootstrap Notification Helpers for Rails
|
5
|
-
def phc_notification(flash_type)
|
6
|
-
case flash_type
|
7
|
-
when 'success'
|
8
|
-
'alert-success'
|
9
|
-
when 'error'
|
10
|
-
'alert-danger'
|
11
|
-
when 'alert'
|
12
|
-
'alert-warning'
|
13
|
-
when 'notice'
|
14
|
-
'alert-info'
|
15
|
-
else
|
16
|
-
flash_type.to_s
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
end
|
21
|
-
end
|
1
|
+
module PhcdevworksNotifications
|
2
|
+
module ApplicationHelper
|
3
|
+
|
4
|
+
# PHCNotifi - Bootstrap Notification Helpers for Rails
|
5
|
+
def phc_notification(flash_type)
|
6
|
+
case flash_type
|
7
|
+
when 'success'
|
8
|
+
'alert-success'
|
9
|
+
when 'error'
|
10
|
+
'alert-danger'
|
11
|
+
when 'alert'
|
12
|
+
'alert-warning'
|
13
|
+
when 'notice'
|
14
|
+
'alert-info'
|
15
|
+
else
|
16
|
+
flash_type.to_s
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<% flash.each do |flash_type, phc_notification_msg| %>
|
2
|
-
<div class="row">
|
3
|
-
<div class="col-md-12">
|
4
|
-
<div class="alert <%= phc_notification(flash_type) %> alert-dismissable fade show" role="alert">
|
5
|
-
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
6
|
-
<span aria-hidden="true">×</span>
|
7
|
-
</button>
|
8
|
-
<h4 class="text-center"><%= phc_notification_msg %></h4>
|
9
|
-
</div>
|
10
|
-
</div>
|
11
|
-
</div>
|
12
|
-
<% end %>
|
1
|
+
<% flash.each do |flash_type, phc_notification_msg| %>
|
2
|
+
<div class="row">
|
3
|
+
<div class="col-md-12">
|
4
|
+
<div class="alert <%= phc_notification(flash_type) %> alert-dismissable fade show" role="alert" id="phcdevworks_notifi_alert">
|
5
|
+
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
6
|
+
<span aria-hidden="true">×</span>
|
7
|
+
</button>
|
8
|
+
<h4 class="text-center"><%= phc_notification_msg %></h4>
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
<% end %>
|
@@ -1,14 +1,14 @@
|
|
1
|
-
<% if object.errors.any? %>
|
2
|
-
<div class="alert alert-danger alert-dismissable fade show" role="alert">
|
3
|
-
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
4
|
-
<span aria-hidden="true">×</span>
|
5
|
-
</button>
|
6
|
-
<h4 class="text-center">The form contains <%= pluralize(object.errors.count, "error") %>.</h4>
|
7
|
-
<ul class="list-group">
|
8
|
-
<% object.errors.full_messages.each do |phc_notification_msg| %>
|
9
|
-
<li class="list-group-item list-group-item-danger borderless"><%= phc_notification_msg %></li>
|
10
|
-
<li class="list-group-item list-group-item-danger "></li>
|
11
|
-
<% end %>
|
12
|
-
</ul>
|
13
|
-
</div>
|
14
|
-
<% end %>
|
1
|
+
<% if object.errors.any? %>
|
2
|
+
<div class="alert alert-danger alert-dismissable fade show" role="alert">
|
3
|
+
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
4
|
+
<span aria-hidden="true">×</span>
|
5
|
+
</button>
|
6
|
+
<h4 class="text-center">The form contains <%= pluralize(object.errors.count, "error") %>.</h4>
|
7
|
+
<ul class="list-group">
|
8
|
+
<% object.errors.full_messages.each do |phc_notification_msg| %>
|
9
|
+
<li class="list-group-item list-group-item-danger borderless"><%= phc_notification_msg %></li>
|
10
|
+
<li class="list-group-item list-group-item-danger "></li>
|
11
|
+
<% end %>
|
12
|
+
</ul>
|
13
|
+
</div>
|
14
|
+
<% end %>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<% flash.each do |flash_type, phc_notification_msg| %>
|
2
|
+
<div class="alert <%= phc_notification(flash_type) %> alert-dismissable fade show" role="alert" id="phcdevworks_notifi_alert">
|
3
|
+
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
4
|
+
<span aria-hidden="true">×</span>
|
5
|
+
</button>
|
6
|
+
<h4 class="text-center"><%= phc_notification_msg %></h4>
|
7
|
+
</div>
|
8
|
+
<% end %>
|
@@ -1,15 +1,15 @@
|
|
1
|
-
<% flash.each do |flash_type, phc_notification_msg| %>
|
2
|
-
<div class="row">
|
3
|
-
<div class="col-md-12">
|
4
|
-
<div class="alert <%= phc_notification(flash_type) %> fade show" role="alert">
|
5
|
-
<!-- <div class="alert-icon"><i class="flaticon-<%= phc_notification(flash_type) %>"></i></div> -->
|
6
|
-
<div class="alert-text"><%= phc_notification_msg %></div>
|
7
|
-
<div class="alert-close">
|
8
|
-
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
9
|
-
<span aria-hidden="true"><i class="la la-close"></i></span>
|
10
|
-
</button>
|
11
|
-
</div>
|
12
|
-
</div>
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
<% end %>
|
1
|
+
<% flash.each do |flash_type, phc_notification_msg| %>
|
2
|
+
<div class="row">
|
3
|
+
<div class="col-md-12">
|
4
|
+
<div class="alert <%= phc_notification(flash_type) %> fade show" role="alert">
|
5
|
+
<!-- <div class="alert-icon"><i class="flaticon-<%= phc_notification(flash_type) %>"></i></div> -->
|
6
|
+
<div class="alert-text"><%= phc_notification_msg %></div>
|
7
|
+
<div class="alert-close">
|
8
|
+
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
9
|
+
<span aria-hidden="true"><i class="la la-close"></i></span>
|
10
|
+
</button>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
<% end %>
|
@@ -1,18 +1,18 @@
|
|
1
|
-
<% if object.errors.any? %>
|
2
|
-
<div class="alert alert-outline-danger fade show" role="alert">
|
3
|
-
<div class="alert-text">
|
4
|
-
<h4 class="alert-heading text-center">The form contains <%= pluralize(object.errors.count, "error") %>.</h4>
|
5
|
-
<br>
|
6
|
-
<ul class="list-group">
|
7
|
-
<% object.errors.full_messages.each do |phc_notification_msg| %>
|
8
|
-
<li class="list-group-item"><%= phc_notification_msg %></li>
|
9
|
-
<% end %>
|
10
|
-
</ul>
|
11
|
-
</div>
|
12
|
-
<div class="alert-close">
|
13
|
-
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
14
|
-
<span aria-hidden="true"><i class="la la-close"></i></span>
|
15
|
-
</button>
|
16
|
-
</div>
|
17
|
-
</div>
|
18
|
-
<% end %>
|
1
|
+
<% if object.errors.any? %>
|
2
|
+
<div class="alert alert-outline-danger fade show" role="alert">
|
3
|
+
<div class="alert-text">
|
4
|
+
<h4 class="alert-heading text-center">The form contains <%= pluralize(object.errors.count, "error") %>.</h4>
|
5
|
+
<br>
|
6
|
+
<ul class="list-group">
|
7
|
+
<% object.errors.full_messages.each do |phc_notification_msg| %>
|
8
|
+
<li class="list-group-item"><%= phc_notification_msg %></li>
|
9
|
+
<% end %>
|
10
|
+
</ul>
|
11
|
+
</div>
|
12
|
+
<div class="alert-close">
|
13
|
+
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
14
|
+
<span aria-hidden="true"><i class="la la-close"></i></span>
|
15
|
+
</button>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
<% end %>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
module PhcdevworksNotifications
|
2
|
-
class Engine < ::Rails::Engine
|
3
|
-
|
4
|
-
# Theme Dependencies
|
5
|
-
require "phcthemes_admin_panel_pack"
|
6
|
-
require "phcthemes_web_theme_pack"
|
7
|
-
|
8
|
-
# Plugin Namespace
|
9
|
-
isolate_namespace PhcdevworksNotifications
|
10
|
-
|
11
|
-
end
|
12
|
-
end
|
1
|
+
module PhcdevworksNotifications
|
2
|
+
class Engine < ::Rails::Engine
|
3
|
+
|
4
|
+
# Theme Dependencies
|
5
|
+
require "phcthemes_admin_panel_pack"
|
6
|
+
require "phcthemes_web_theme_pack"
|
7
|
+
|
8
|
+
# Plugin Namespace
|
9
|
+
isolate_namespace PhcdevworksNotifications
|
10
|
+
|
11
|
+
end
|
12
|
+
end
|
@@ -1,4 +1,3 @@
|
|
1
|
-
module PhcdevworksNotifications
|
2
|
-
|
3
|
-
end
|
4
|
-
|
1
|
+
module PhcdevworksNotifications
|
2
|
+
VERSION = '2.3.0'
|
3
|
+
end
|
@@ -1,5 +1,6 @@
|
|
1
|
-
require "phcdevworks_notifications/
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
require "phcdevworks_notifications/version"
|
2
|
+
require "phcdevworks_notifications/engine"
|
3
|
+
|
4
|
+
module PhcdevworksNotifications
|
5
|
+
# Your code goes here...
|
6
|
+
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# desc "Explaining what the task does"
|
2
|
-
# task :phcdevworks_notifications do
|
3
|
-
# # Task goes here
|
4
|
-
# end
|
1
|
+
# desc "Explaining what the task does"
|
2
|
+
# task :phcdevworks_notifications do
|
3
|
+
# # Task goes here
|
4
|
+
# end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcdevworks_notifications
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PHCDevworks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -30,28 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '4.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '4.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: phcthemes_web_theme_pack
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '4.1'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '4.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: sqlite3
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
version: '1.4'
|
69
69
|
description: Rails helpers and partial views for alerts and form validation notifications.
|
70
70
|
email:
|
71
|
-
-
|
71
|
+
- imfo@phcdevworks.com
|
72
72
|
executables: []
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
@@ -76,17 +76,10 @@ files:
|
|
76
76
|
- MIT-LICENSE
|
77
77
|
- README.md
|
78
78
|
- Rakefile
|
79
|
-
- app/assets/config/phcdevworks_notifications_manifest.js
|
80
|
-
- app/assets/javascripts/phcdevworks_notifications/application.js
|
81
|
-
- app/assets/stylesheets/phcdevworks_notifications/application.css
|
82
|
-
- app/controllers/phcdevworks_notifications/application_controller.rb
|
83
79
|
- app/helpers/phcdevworks_notifications/application_helper.rb
|
84
|
-
- app/jobs/phcdevworks_notifications/application_job.rb
|
85
|
-
- app/mailers/phcdevworks_notifications/application_mailer.rb
|
86
|
-
- app/models/phcdevworks_notifications/application_record.rb
|
87
|
-
- app/views/layouts/phcdevworks_notifications/application.html.erb
|
88
80
|
- app/views/phcdevworks_notifications/bootstrap/_notifications.html.erb
|
89
81
|
- app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
|
82
|
+
- app/views/phcdevworks_notifications/custom/_notifications.html.erb
|
90
83
|
- app/views/phcdevworks_notifications/metronic/_notifications.html.erb
|
91
84
|
- app/views/phcdevworks_notifications/metronic/_validations.html.erb
|
92
85
|
- lib/phcdevworks_notifications.rb
|
@@ -96,7 +89,11 @@ files:
|
|
96
89
|
homepage: https://phcdevworks.com/
|
97
90
|
licenses:
|
98
91
|
- MIT
|
99
|
-
metadata:
|
92
|
+
metadata:
|
93
|
+
allowed_push_host: https://rubygems.org/
|
94
|
+
homepage_uri: https://phcdevworks.com/
|
95
|
+
source_code_uri: https://github.com/phcdevworks/phcdevworks_notifications
|
96
|
+
changelog_uri: https://github.com/phcdevworks/phcdevworks_notifications/releases
|
100
97
|
post_install_message:
|
101
98
|
rdoc_options: []
|
102
99
|
require_paths:
|
@@ -112,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
109
|
- !ruby/object:Gem::Version
|
113
110
|
version: '0'
|
114
111
|
requirements: []
|
115
|
-
rubygems_version: 3.
|
112
|
+
rubygems_version: 3.2.22
|
116
113
|
signing_key:
|
117
114
|
specification_version: 4
|
118
115
|
summary: PHCDevworks - Helpers - Notifications
|
File without changes
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
-
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
-
* It is generally better to create a new file per style scope.
|
12
|
-
*
|
13
|
-
*= require_tree .
|
14
|
-
*= require_self
|
15
|
-
*/
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
|
5
|
-
<title>PHCDevworks Alerts & Form Validation Notifications</title>
|
6
|
-
<%= csrf_meta_tags %>
|
7
|
-
<%= csp_meta_tag %>
|
8
|
-
|
9
|
-
<%= stylesheet_link_tag "phcdevworks_notifications/application", media: "all" %>
|
10
|
-
<%= javascript_include_tag "phcdevworks_notifications/application" %>
|
11
|
-
|
12
|
-
</head>
|
13
|
-
<body>
|
14
|
-
|
15
|
-
<%= yield %>
|
16
|
-
|
17
|
-
</body>
|
18
|
-
</html>
|