bootstrap-no-record-found 0.0.2 → 0.0.3

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.
data/README.md CHANGED
@@ -9,7 +9,7 @@ Replace blank attributes at definition list items for some custom code, like a r
9
9
  Include `BootstrapNoRecordFound` in your Gemfile
10
10
 
11
11
  ```ruby
12
- gem 'bootstrap-ro-record-found'
12
+ gem 'bootstrap-no-record-found'
13
13
  ```
14
14
 
15
15
  Then run the install generator
@@ -32,5 +32,6 @@ Require BootstrapNoRecordFound in your application.js
32
32
 
33
33
  ```js
34
34
  //= require bootstrap/no-record-found
35
+ ```
35
36
 
36
- Tested on Mozilla Firefox and Google Chrome.
37
+ Tested on Mozilla Firefox and Google Chrome.
@@ -1,3 +1,3 @@
1
1
  module BootstrapNoRecordFound
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -0,0 +1,5 @@
1
+ $(document).ready(function($) {
2
+ $('.dl-horizontal dd').filter(function() {
3
+ return ! $.trim($(this).text());
4
+ }).css('color', 'red').html("<%=BootstrapNoRecordFound::msg_with_style%>");
5
+ });
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-no-record-found
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Renato de Souza
@@ -63,6 +63,7 @@ files:
63
63
  - lib/generators/bootstrap_no_record_found/install_generator.rb
64
64
  - lib/generators/templates/bootstrap_no_record_found.rb
65
65
  - lib/tasks/bootstrap-no-record-found.rake
66
+ - vendor/assets/javascripts/bootstrap/no-record-found.js.erb
66
67
  - MIT-LICENSE
67
68
  - Rakefile
68
69
  - README.md