jap_mag 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/helpers/jap_mag_widgets_helper.rb +3 -1
- data/lib/jap_mag/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28d11e6ac222ae68e80b8ad7488211408cb694a959f9cf829d8bc528532877e0
|
4
|
+
data.tar.gz: 4c67566640dae0759694b27de2f7881598cc1cc30be7f505ee811b93e80c1d2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1387ab20a020626212be274d5e08d87b966a0bbd8386725de323484b8ff8d84a3427f3e7ffe1d2548fa81ee315a030c05f743c92e1b7a0a53be14f5c564ca66
|
7
|
+
data.tar.gz: 57392338083eaf6621dc15160296b3cb9b8f6ff23845d81a4dff6a549c2f79635fd6d53952884c501983ee95254b40e05a27b8c9df5495a202f1e78660aa813d
|
data/Gemfile.lock
CHANGED
@@ -75,7 +75,9 @@ module JapMagWidgetsHelper
|
|
75
75
|
current = ((params[:scope] == scope[:key].to_s) or (scope[:default] and scope[:default] == true and params[:scope].blank?))
|
76
76
|
klass = %w(nav-link)
|
77
77
|
klass << :active if current
|
78
|
-
|
78
|
+
|
79
|
+
count = scope[:count].present? ? "(#{scope[:count]})" : nil
|
80
|
+
link = link_to("#{content_tag(:span, scope[:text])} #{count}".html_safe, url, class: klass.join(' '))
|
79
81
|
|
80
82
|
concat content_tag(:li, link, class: 'nav-item')
|
81
83
|
end
|
data/lib/jap_mag/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jap_mag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DING Yu
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: will_paginate
|
@@ -77,7 +77,7 @@ files:
|
|
77
77
|
homepage: https://github.com/felixding/JapMag
|
78
78
|
licenses: []
|
79
79
|
metadata: {}
|
80
|
-
post_install_message:
|
80
|
+
post_install_message:
|
81
81
|
rdoc_options: []
|
82
82
|
require_paths:
|
83
83
|
- lib
|
@@ -92,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
|
-
rubygems_version: 3.3.
|
96
|
-
signing_key:
|
95
|
+
rubygems_version: 3.3.26
|
96
|
+
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: jap_mag-
|
99
99
|
test_files:
|