data_href_highlight 0.1.3 → 0.1.4
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/README.md +9 -2
- data/app/assets/javascripts/{hrefData.js → dataHref.js} +1 -1
- data/app/assets/stylesheets/{hrefData.css.scss → dataHref.css.scss} +1 -1
- data/lib/data_href_highlight/version.rb +1 -1
- data/vendor/assets/javascripts/{hrefData.js → dataHref.js} +0 -0
- data/vendor/assets/stylesheets/{hrefData.css.scss → dataHref.css.scss} +0 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 412efc1066cf47c52eeecd4479fff9d05c091dcb
|
4
|
+
data.tar.gz: 6fb3b0797907d4da6cac183a06b2f4d2a84341bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31fe471e8a3ef5393275d000ae2e9515af873352d22adc55e65b3779ba0d7ad3242e110cfa4b293fe0eb52a0c393e50f6ad19a8e44532d5ec859b163b562aa82
|
7
|
+
data.tar.gz: f95a531205e97a18f07628702bbed517dd87bd0ec7761c191a4dcff661a015531c7435d52eab67acc21dcc79fce299702f1dbcd7f9b8f561337375dd064c1720
|
data/README.md
CHANGED
@@ -22,7 +22,15 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
To use this gem,
|
26
|
+
first add to your gem file: gem 'data_href_highlight'
|
27
|
+
Inside your application javasript file add //= require dataHref
|
28
|
+
Inside application.css.scss add *= require dataHref
|
29
|
+
then on your table you will want to add the data-href attr set to your path location.
|
30
|
+
example:
|
31
|
+
<tbody>
|
32
|
+
<% @employees.each do |employee| %>
|
33
|
+
<tr data-href="<%= employee_url(employee) %>">
|
26
34
|
|
27
35
|
## Development
|
28
36
|
|
@@ -38,4 +46,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERN
|
|
38
46
|
## License
|
39
47
|
|
40
48
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
-
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: data_href_highlight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gentry Rolofson
|
@@ -68,15 +68,15 @@ files:
|
|
68
68
|
- LICENSE.txt
|
69
69
|
- README.md
|
70
70
|
- Rakefile
|
71
|
-
- app/assets/javascripts/
|
72
|
-
- app/assets/stylesheets/
|
71
|
+
- app/assets/javascripts/dataHref.js
|
72
|
+
- app/assets/stylesheets/dataHref.css.scss
|
73
73
|
- bin/console
|
74
74
|
- bin/setup
|
75
75
|
- data_href_highlight.gemspec
|
76
76
|
- lib/data_href_highlight.rb
|
77
77
|
- lib/data_href_highlight/version.rb
|
78
|
-
- vendor/assets/javascripts/
|
79
|
-
- vendor/assets/stylesheets/
|
78
|
+
- vendor/assets/javascripts/dataHref.js
|
79
|
+
- vendor/assets/stylesheets/dataHref.css.scss
|
80
80
|
homepage: https://github.com/xDarkicex/Data_Href_gem
|
81
81
|
licenses:
|
82
82
|
- MIT
|