phcdevworks_notifications 2.3.0 → 3.1.1

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
  SHA256:
3
- metadata.gz: 6b4b5e4922b5875c3419c2227293184af19c0c2a45bbb981ed4a777db4b28290
4
- data.tar.gz: b372825448aa31f4a04ed7e7d2f183bf124345c0659b1b7bf2fe4382e4c6d09c
3
+ metadata.gz: afa3db7aa15ab1524602eebd1fd020bd0db7d8441aa60c3217fcc96a7d735d5f
4
+ data.tar.gz: 4b0c1e08b33cb111a9cd3df031e77458925999a598284a111f4c59a0dfda12bf
5
5
  SHA512:
6
- metadata.gz: c744734d2b91a52f560cb360dd98491ee0ee6826f083e622687bddc68767740a801aeb49485735c678d4bedfd9cedb9f88aa9fb2ac58b6fbe2394590e9d42d6f
7
- data.tar.gz: 6c09350a5756bb86d70dd2cf3105b3596f87d699644a21a6af88fa297746dacc984acc1b62041c893c7c4932b9777b4aad8b48d4b361346c8ca527f985bfda4f
6
+ metadata.gz: d75413f8d49e105e754069a2c94e274fcf386995e5be3e5889c9ebc6fb2f2606c6885ea6e1501cafa67f30ad9227a6692d64156205ef0da156f89f284c11de59
7
+ data.tar.gz: 5372a0639cd5280d95c5740ec1dd40bf46780c1de3bc09f7891977971ad433fbeaa0268d08ca0bceec223ad02a0d9bd800c6bc5b78516b964b1ffae6e7e16e18
data/MIT-LICENSE CHANGED
@@ -1,20 +1,20 @@
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.
1
+ Copyright 2022 PHCDevworks
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,5 +1,6 @@
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.
1
+ ### PHCDevworks Notifications for Rails 7 (Form Validation & Notification Engine)
2
+
3
+ PHCDevworks Notifications Rails 7 engine with helpers for alerts and form validation notifications.
3
4
 
4
5
  * Add alert and form validation helpers ruby on rails.
5
6
  * Setup in seconds with only one line of code in the application_helper file.
@@ -24,3 +25,7 @@ Add the line of code below to your app/views/layouts/application.rb
24
25
  Add the line of code below to your _form.rb file. Change @example_object to the same one on your form.
25
26
 
26
27
  <%= render 'phcdevworks_notifications/bootstrap/validations', :object => @example_object %>
28
+
29
+ ### Status
30
+
31
+ [![Gem Version](https://badge.fury.io/rb/phcdevworks_notifications.svg)](https://badge.fury.io/rb/phcdevworks_notifications) [![Publish to Github.com](https://github.com/phcdevworks/phcdevworks_notifications/actions/workflows/publish_gem_github_com.yml/badge.svg)](https://github.com/phcdevworks/phcdevworks_notifications/actions/workflows/publish_gem_github_com.yml) [![Publish to Rubygems.org](https://github.com/phcdevworks/phcdevworks_notifications/actions/workflows/publish_gem_rubygems_org.yml/badge.svg)](https://github.com/phcdevworks/phcdevworks_notifications/actions/workflows/publish_gem_rubygems_org.yml)
data/Rakefile CHANGED
@@ -1,8 +1,8 @@
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
+ 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,12 +1,6 @@
1
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">&times;</span>
7
- </button>
8
- <h4 class="text-center"><%= phc_notification_msg %></h4>
9
- </div>
10
- </div>
2
+ <div class="alert <%= phc_notification(flash_type) %> alert-dismissible fade show" role="alert" id="phcdevworks_notifi_alert">
3
+ <h5 class="text-center"><%= phc_notification_msg %></h5>
4
+ <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
11
5
  </div>
12
6
  <% end %>
@@ -1,13 +1,11 @@
1
1
  <% if object.errors.any? %>
2
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">&times;</span>
5
- </button>
6
- <h4 class="text-center">The form contains <%= pluralize(object.errors.count, "error") %>.</h4>
3
+ <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
4
+ <h5 class="text-center">The form contains <%= pluralize(object.errors.count, "error") %>.</h5>
7
5
  <ul class="list-group">
8
6
  <% 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>
7
+ <li class="list-group-item list-group-item-danger"><%= phc_notification_msg %></li>
8
+ <li class="list-group-item list-group-item-danger"></li>
11
9
  <% end %>
12
10
  </ul>
13
11
  </div>
@@ -1,8 +1,8 @@
1
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">&times;</span>
5
- </button>
6
- <h4 class="text-center"><%= phc_notification_msg %></h4>
7
- </div>
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">&times;</span>
5
+ </button>
6
+ <h4 class="text-center"><%= phc_notification_msg %></h4>
7
+ </div>
8
8
  <% end %>
@@ -1,12 +1,4 @@
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
+ end
4
+ end
@@ -1,3 +1,3 @@
1
- module PhcdevworksNotifications
2
- VERSION = '2.3.0'
3
- end
1
+ module PhcdevworksNotifications
2
+ VERSION = "3.1.1"
3
+ end
@@ -1,6 +1,6 @@
1
- require "phcdevworks_notifications/version"
2
- require "phcdevworks_notifications/engine"
3
-
4
- module PhcdevworksNotifications
5
- # Your code goes here...
6
- end
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.3.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-17 00:00:00.000000000 Z
11
+ date: 2022-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '6.1'
19
+ version: '7.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '6.1'
26
+ version: '7.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: phcthemes_admin_panel_pack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '4.1'
33
+ version: '5.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: '4.1'
40
+ version: '5.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: '4.1'
47
+ version: '5.0'
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: '4.1'
54
+ version: '5.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -90,7 +90,6 @@ homepage: https://phcdevworks.com/
90
90
  licenses:
91
91
  - MIT
92
92
  metadata:
93
- allowed_push_host: https://rubygems.org/
94
93
  homepage_uri: https://phcdevworks.com/
95
94
  source_code_uri: https://github.com/phcdevworks/phcdevworks_notifications
96
95
  changelog_uri: https://github.com/phcdevworks/phcdevworks_notifications/releases
@@ -109,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
108
  - !ruby/object:Gem::Version
110
109
  version: '0'
111
110
  requirements: []
112
- rubygems_version: 3.2.22
111
+ rubygems_version: 3.0.3.1
113
112
  signing_key:
114
113
  specification_version: 4
115
114
  summary: PHCDevworks - Helpers - Notifications