add_active_to_link 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/add_active_to_link.gemspec +1 -1
- data/lib/add_active_to_link/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f1fd490ddd4457b37cce79e5303894e99f1be314
|
|
4
|
+
data.tar.gz: f95b3d9f723be1f09e78056c7c58aaad0b7c1846
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 668015c84e90e38477ad43aa988add17d4ffa36bb8080bcbc5deea62fca2d19de7ea31b9ad5f325ff23107e1f54ea1252775c201aa8572c59818cf7a5cd1a915
|
|
7
|
+
data.tar.gz: 938f8406997de180974454ebf7729478674dc16f36fdb27ac031a67687ace0c0c5c16d3962bb135eac943fd971d7affa644096a234e5c16e6978113e12b1e1e8
|
data/add_active_to_link.gemspec
CHANGED
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
spec.description = "jQuery snippet for Rails projects that parses the url for the current page, and adds an 'active' class decoration to links that match the current page.
|
|
14
14
|
|
|
15
15
|
By default this snippet is designed to work with Twitter Bootstrap v4 header navigation. However, you can target different elements in your page(s) by modifying the active_element variable. In the default it is targetting links within a line item within a header element with a class of navbar-nav."
|
|
16
|
-
spec.homepage = "https://github.com/dschmura/
|
|
16
|
+
spec.homepage = "https://github.com/dschmura/add_active_to_link"
|
|
17
17
|
spec.license = "MIT"
|
|
18
18
|
|
|
19
19
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: add_active_to_link
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Chmura
|
|
@@ -61,7 +61,7 @@ files:
|
|
|
61
61
|
- lib/add_active_to_link/version.rb
|
|
62
62
|
- vendor/assets/javascripts/.keep
|
|
63
63
|
- vendor/assets/javascripts/add_active_link.js
|
|
64
|
-
homepage: https://github.com/dschmura/
|
|
64
|
+
homepage: https://github.com/dschmura/add_active_to_link
|
|
65
65
|
licenses:
|
|
66
66
|
- MIT
|
|
67
67
|
metadata:
|