navigator 4.0.0 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/navigator/identity.rb +1 -1
- data/lib/navigator/menu.rb +1 -1
- data/lib/navigator/tag.rb +1 -1
- data/lib/navigator/tag_activator.rb +1 -1
- metadata +16 -17
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51fa92eb00f93a6d59731a74e55e6dabeb6fb2cc024f08bbfef9c12155997c34
|
4
|
+
data.tar.gz: 9293bad7625168172d59271af3176c985ba3cb0b3c64b5781bab8c6dfb0ba8af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7d2ebb1eb57e2029a26e3c6339731a377ef6a0207c25e849a9b14a9fa6d211dccc3d4f9680a568d4ce07089304a942589ba3bd58bdbebe6b723b273a7133be3
|
7
|
+
data.tar.gz: cd7293043d40c1e2a9a0cd0e3f7df757bba5fef5af60363b9012f81b878ecb53136ed4c15cf291a67450e8d3f0bf4c8a5e67abb3a1c8edc64ed5b578d53345ff
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/navigator/identity.rb
CHANGED
data/lib/navigator/menu.rb
CHANGED
data/lib/navigator/tag.rb
CHANGED
@@ -11,7 +11,7 @@ module Navigator
|
|
11
11
|
|
12
12
|
# rubocop:disable Metrics/ParameterLists
|
13
13
|
def initialize name, content = nil, attributes: {}, activator: Navigator::TagActivator.new
|
14
|
-
@name = String
|
14
|
+
@name = String name
|
15
15
|
@content = content
|
16
16
|
@attributes = attributes.with_indifferent_access
|
17
17
|
@activator = activator
|
@@ -33,7 +33,7 @@ module Navigator
|
|
33
33
|
# rubocop:disable Metrics/LineLength
|
34
34
|
def activate attributes = {}
|
35
35
|
attributes = attributes.with_indifferent_access
|
36
|
-
attributes[target_key] = [attributes[target_key], target_value].compact.join
|
36
|
+
attributes[target_key] = [attributes[target_key], target_value].compact.join " " if activatable? attributes
|
37
37
|
attributes
|
38
38
|
end
|
39
39
|
# rubocop:enable Metrics/LineLength
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: navigator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -10,26 +10,25 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MIIC/jCCAeagAwIBAgIBAjANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
|
14
|
+
a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0xOTAyMTcxNjAxMTFaFw0yMDAyMTcx
|
15
|
+
NjAxMTFaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
|
16
16
|
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
|
17
17
|
xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
|
18
18
|
brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
|
19
19
|
9z0A8KcGhz67SdcoQiD7qiCjL/2NTeWHOzkpPrdGlt088+VerEEGf5I13QCvaftP
|
20
20
|
D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
|
21
21
|
3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
|
22
|
-
|
23
|
-
2CdikiiE3fJhP/
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
b4jw5t40FKyNUvLPPXYAvQALBtk=
|
22
|
+
AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
|
23
|
+
2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBANgfX7kPZkJvsbdWMvbe
|
24
|
+
DUUYxRTqTUzCDpLd2p3sQvgLMKjTNSKt6CFq/kh+98b6RCgO6DqiVfxvOEq02dvf
|
25
|
+
ebMN/ylQqan2FgiAs1rpP0/D4C0MlBjoDktsT+2IyLol1KmkDB20ExJ4Sf1GRNdA
|
26
|
+
hpWOtcgqHtmrc7xzgB6BuyoYufrKKUlCO3ewTM4C375D2qO7hIdKuMOO3CdPMtSk
|
27
|
+
OrWpbzCL+nbbXqeoqiHgZaUvcyyQrGj5sQRxMTzuMXzzQxtHnuTuKrcz16HMTX/O
|
28
|
+
dKvURM+1PwDCzC5tvRwjhUJIizau6+MtkFCvJHmaAj1aZL3odcPejHj5Hxt/0CUW
|
29
|
+
y84=
|
31
30
|
-----END CERTIFICATE-----
|
32
|
-
date: 2019-
|
31
|
+
date: 2019-04-01 00:00:00.000000000 Z
|
33
32
|
dependencies:
|
34
33
|
- !ruby/object:Gem::Dependency
|
35
34
|
name: rails
|
@@ -247,14 +246,14 @@ dependencies:
|
|
247
246
|
requirements:
|
248
247
|
- - "~>"
|
249
248
|
- !ruby/object:Gem::Version
|
250
|
-
version: '0.
|
249
|
+
version: '0.63'
|
251
250
|
type: :development
|
252
251
|
prerelease: false
|
253
252
|
version_requirements: !ruby/object:Gem::Requirement
|
254
253
|
requirements:
|
255
254
|
- - "~>"
|
256
255
|
- !ruby/object:Gem::Version
|
257
|
-
version: '0.
|
256
|
+
version: '0.63'
|
258
257
|
- !ruby/object:Gem::Dependency
|
259
258
|
name: rubocop-rspec
|
260
259
|
requirement: !ruby/object:Gem::Requirement
|
@@ -365,7 +364,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
365
364
|
- !ruby/object:Gem::Version
|
366
365
|
version: '0'
|
367
366
|
requirements: []
|
368
|
-
rubygems_version: 3.0.
|
367
|
+
rubygems_version: 3.0.3
|
369
368
|
signing_key:
|
370
369
|
specification_version: 4
|
371
370
|
summary: Enhances Rails with a DSL for menu navigation.
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
�Nؗ�[��~&|�o�ߥ�_$���'�6$�{�E9���T���eܺ�9^&��ɵ��j�H'4��}^�pLo�>x���R���K��w[*���q�K�9��?��T�
|
2
|
+
��?�}�*��5wW�����y�R@3�ƬD�����T����m���RQtX(2�T�2����] 2
|