data_href_highlight 0.1.4 → 0.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 412efc1066cf47c52eeecd4479fff9d05c091dcb
4
- data.tar.gz: 6fb3b0797907d4da6cac183a06b2f4d2a84341bb
3
+ metadata.gz: f0e851b0d385837fce543ac10252052a3f3a39e2
4
+ data.tar.gz: f348ff65ea10e6720aeecc0c2fae7b7dff28b572
5
5
  SHA512:
6
- metadata.gz: 31fe471e8a3ef5393275d000ae2e9515af873352d22adc55e65b3779ba0d7ad3242e110cfa4b293fe0eb52a0c393e50f6ad19a8e44532d5ec859b163b562aa82
7
- data.tar.gz: f95a531205e97a18f07628702bbed517dd87bd0ec7761c191a4dcff661a015531c7435d52eab67acc21dcc79fce299702f1dbcd7f9b8f561337375dd064c1720
6
+ metadata.gz: a9140f9c5f46280aef1daf85459e3d7a1970c03fb0073807b2edbf5b03a14a71fecf3f2ac4aa8f903d4d68c932fbfabd85a03458ed20b6bb870ddc425eb6bba7
7
+ data.tar.gz: 55eda1512101bcfb70cb7746a0d8dd097f5fb49c474548deb5f7aa6ff0082c410b6c408b1489112591aa04b7b02df8746e7e642bddc606827f65c91722fb9759
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # DataHrefHighlight
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/data_href_highlight`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ This gem adds a script and simple css, to make table rows clickable adding much needed functionality too default rails tables.
4
+
5
+ future plan add in the data-href maybe the path for users to simplify it but I dont know if its possible.
4
6
 
5
- TODO: Delete this and the text above, and describe your gem
6
7
 
7
8
  ## Installation
8
9
 
@@ -23,14 +24,24 @@ Or install it yourself as:
23
24
  ## Usage
24
25
 
25
26
  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
27
+ first add to your gem file:
28
+
29
+ gem 'data_href_highlight'
30
+
31
+ Inside your application javasript file add
32
+
33
+ //= require dataHref
34
+
35
+ Inside application.css.scss add
36
+
37
+ *= require dataHref
38
+
29
39
  then on your table you will want to add the data-href attr set to your path location.
30
40
  example:
31
- <tbody>
32
- <% @employees.each do |employee| %>
33
- <tr data-href="<%= employee_url(employee) %>">
41
+
42
+ <tbody>
43
+ <% @employees.each do |employee| %>
44
+ <tr data-href="<%= employee_url(employee) %>">
34
45
 
35
46
  ## Development
36
47
 
@@ -40,7 +51,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
40
51
 
41
52
  ## Contributing
42
53
 
43
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/data_href_highlight.
54
+ Bug reports and pull requests are welcome on GitHub at https://github.com/xdarkicex/data_href_highlight.
44
55
 
45
56
 
46
57
  ## License
@@ -12,7 +12,9 @@ Gem::Specification.new do |spec|
12
12
  spec.summary = %q{This Gem adds a quick command to highlight data-href.}
13
13
  spec.description = %q{Highlight data-hrefs, making table rows clickable.. must set data-href in your table for this to function properly, example: <tbody>
14
14
  <% @employees.each do |employee| %>
15
- <tr data-href="<%= employee_url(employee) %>">}
15
+ <tr data-href="<%= employee_url(employee) %>">
16
+ Please visit github for more detailed instructions, https://github.com/xDarkicex/Data_Href_gem
17
+ }
16
18
  spec.homepage = "https://github.com/xDarkicex/Data_Href_gem"
17
19
  spec.license = "MIT"
18
20
 
@@ -1,3 +1,3 @@
1
1
  module DataHrefHighlight
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gentry Rolofson
@@ -52,10 +52,11 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
- description: |-
56
- Highlight data-hrefs, making table rows clickable.. must set data-href in your table for this to function properly, example: <tbody>
57
- <% @employees.each do |employee| %>
58
- <tr data-href="<%= employee_url(employee) %>">
55
+ description: "Highlight data-hrefs, making table rows clickable.. must set data-href
56
+ in your table for this to function properly, example: <tbody>\n <% @employees.each
57
+ do |employee| %>\n <tr data-href=\"<%= employee_url(employee) %>\">\n Please
58
+ visit github for more detailed instructions, https://github.com/xDarkicex/Data_Href_gem\n
59
+ \ "
59
60
  email:
60
61
  - grolofson@bitdev.io
61
62
  executables: []