phcdevworks_notifications 2.1.1 → 2.2.3

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: b02d25a299955c457ed894eb6e8afaf2a3784326f3889a8c9e6ded959beeeb9f
4
- data.tar.gz: 1dc3310dbfc4f10412c30439e951e4a9d8a14cdf3b19050b5d0f0b51354b70cf
3
+ metadata.gz: 231cabd55f2fa07d0209701e8a23242cf864a83805e648d404735fbbe2cae288
4
+ data.tar.gz: f376b5718f4354f351a134d96e5e1774519cf9829ab5c2312cc3dbc328adc2f1
5
5
  SHA512:
6
- metadata.gz: 0da231af505c23f92f721c5fd8666145f2498b13d9d45f4acca2105ae1415febd97df3af425fb2bdb4d7b4e99f8021b802557572b1a6ae9e93877a0571563c17
7
- data.tar.gz: 9fa20d4103d2bd8c69c6aedac2eb7c822dab85c1e94d4e0e84fbf0bbb313d23d70ef488d31b4d2ae3b5f30d410bee45ca8f9bc5124e28eda6339dbcf897798fd
6
+ metadata.gz: 73543ca97597cef233f0d233af7a5403c11e6d9c40bed3837ace8fd043c3df67bf3be0cc6f2eb3de96d11958ddefc7ef836eb2a0042be4661aa57213ee510b59
7
+ data.tar.gz: 25bdc3d395c1ca503865c625e27923d94f2b02f75a1b9712f2fc1e7d55a2db2987b3c16d8233b1a35cc48e421224ac8962c0dd22579bc21cc71062e77b7b6bd6
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2010-2020 BradPotts - PHCDevworks
1
+ Copyright 2021 BradPotts
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -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/Rakefile CHANGED
@@ -1,32 +1,8 @@
1
- begin
2
- require 'bundler/setup'
3
- rescue LoadError
4
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
- end
1
+ require "bundler/setup"
6
2
 
7
- require 'rdoc/task'
3
+ APP_RAKEFILE = File.expand_path("spec/test_app/Rakefile", __dir__)
4
+ load "rails/tasks/engine.rake"
8
5
 
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
6
+ load "rails/tasks/statistics.rake"
16
7
 
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
8
+ require "bundler/gem_tasks"
@@ -1,7 +1,7 @@
1
1
  <% flash.each do |flash_type, phc_notification_msg| %>
2
2
  <div class="row">
3
3
  <div class="col-md-12">
4
- <div class="alert <%= phc_notification(flash_type) %> alert-dismissable fade show" role="alert">
4
+ <div class="alert <%= phc_notification(flash_type) %> alert-dismissable fade show" role="alert" id="phcdevworks_notifi_alert">
5
5
  <button type="button" class="close" data-dismiss="alert" aria-label="Close">
6
6
  <span aria-hidden="true">&times;</span>
7
7
  </button>
@@ -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">&times;</span>
5
+ </button>
6
+ <h4 class="text-center"><%= phc_notification_msg %></h4>
7
+ </div>
8
+ <% end %>
@@ -1,3 +1,4 @@
1
+ require "phcdevworks_notifications/version"
1
2
  require "phcdevworks_notifications/engine"
2
3
 
3
4
  module PhcdevworksNotifications
@@ -1,4 +1,3 @@
1
1
  module PhcdevworksNotifications
2
- VERSION = "2.1.1"
2
+ VERSION = '2.2.3'
3
3
  end
4
-
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.1.1
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-31 00:00:00.000000000 Z
11
+ date: 2021-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,48 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '6.0'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 6.0.3.4
19
+ version: '6.1'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '6.0'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 6.0.3.4
26
+ version: '6.1'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: phcthemes_admin_panel_pack
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '3.0'
33
+ version: '4.0'
40
34
  type: :runtime
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
38
  - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '3.0'
40
+ version: '4.0'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: phcthemes_web_theme_pack
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: '3.0'
47
+ version: '4.0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
52
  - - "~>"
59
53
  - !ruby/object:Gem::Version
60
- version: '3.0'
54
+ version: '4.0'
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: sqlite3
63
57
  requirement: !ruby/object:Gem::Requirement
@@ -74,7 +68,7 @@ dependencies:
74
68
  version: '1.4'
75
69
  description: Rails helpers and partial views for alerts and form validation notifications.
76
70
  email:
77
- - info@phcdevworks.com
71
+ - imfo@phcdevworks.com
78
72
  executables: []
79
73
  extensions: []
80
74
  extra_rdoc_files: []
@@ -82,17 +76,10 @@ files:
82
76
  - MIT-LICENSE
83
77
  - README.md
84
78
  - Rakefile
85
- - app/assets/config/phcdevworks_notifications_manifest.js
86
- - app/assets/javascripts/phcdevworks_notifications/application.js
87
- - app/assets/stylesheets/phcdevworks_notifications/application.css
88
- - app/controllers/phcdevworks_notifications/application_controller.rb
89
79
  - app/helpers/phcdevworks_notifications/application_helper.rb
90
- - app/jobs/phcdevworks_notifications/application_job.rb
91
- - app/mailers/phcdevworks_notifications/application_mailer.rb
92
- - app/models/phcdevworks_notifications/application_record.rb
93
- - app/views/layouts/phcdevworks_notifications/application.html.erb
94
80
  - app/views/phcdevworks_notifications/bootstrap/_notifications.html.erb
95
81
  - app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
82
+ - app/views/phcdevworks_notifications/custom/_notifications.html.erb
96
83
  - app/views/phcdevworks_notifications/metronic/_notifications.html.erb
97
84
  - app/views/phcdevworks_notifications/metronic/_validations.html.erb
98
85
  - lib/phcdevworks_notifications.rb
@@ -102,7 +89,11 @@ files:
102
89
  homepage: https://phcdevworks.com/
103
90
  licenses:
104
91
  - MIT
105
- 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
106
97
  post_install_message:
107
98
  rdoc_options: []
108
99
  require_paths:
@@ -1,3 +0,0 @@
1
- //= link_tree ../images
2
- //= link_directory ../javascripts/phcdevworks_notifications .js
3
- //= link_directory ../stylesheets/phcdevworks_notifications .scss
@@ -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,5 +0,0 @@
1
- module PhcdevworksNotifications
2
- class ApplicationController < ActionController::Base
3
- protect_from_forgery with: :exception
4
- end
5
- end
@@ -1,4 +0,0 @@
1
- module PhcdevworksNotifications
2
- class ApplicationJob < ActiveJob::Base
3
- end
4
- end
@@ -1,6 +0,0 @@
1
- module PhcdevworksNotifications
2
- class ApplicationMailer < ActionMailer::Base
3
- default from: 'from@example.com'
4
- layout 'mailer'
5
- end
6
- end
@@ -1,5 +0,0 @@
1
- module PhcdevworksNotifications
2
- class ApplicationRecord < ActiveRecord::Base
3
- self.abstract_class = true
4
- end
5
- end
@@ -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>