istart-rails 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog.md CHANGED
@@ -1,6 +1,13 @@
1
1
  ### Dev
2
2
 
3
- [full changelog](http://github.com/ZenCocoon/istart-rails/compare/v0.0.3...master)
3
+ [full changelog](http://github.com/ZenCocoon/istart-rails/compare/v0.0.4...master)
4
+
5
+ ### 0.0.4 / 2012-04-17
6
+
7
+ [full changelog](http://github.com/ZenCocoon/istart-rails/compare/v0.0.3...v0.0.4)
8
+
9
+ * Enhancements
10
+ * Add Twitter Bootstrap 2 support to datatables
4
11
 
5
12
  ### 0.0.3 / 2012-04-17
6
13
 
data/README.md CHANGED
@@ -8,7 +8,7 @@ iStart-Rails is a set of common helpers to improve your app and speed up it's de
8
8
  * Open external links in new window (links must have the class name `external`)
9
9
  * Consider element with `data-link-url` as links (also support opening in new window with the class name `external`)
10
10
  * Init [Chosen](http://harvesthq.github.com/chosen/) if in use
11
- * Init [DataTables](http://github.com/rweng/jquery-datatables-rails) if in use
11
+ * Init [DataTables](http://github.com/rweng/jquery-datatables-rails) if in use. Add the class `.datatable` to any table to activate
12
12
 
13
13
  ## Requirements
14
14
 
@@ -27,12 +27,13 @@ Within `app/assets/javascripts/application.js` add the following
27
27
  ...
28
28
  //= require chosen-jquery (optional)
29
29
  //= require dataTables/jquery.dataTables (optional)
30
+ //= require dataTables/jquery.dataTables.bootstrap (optional)
30
31
  //= require istart
31
32
 
32
33
  Within `app/assets/stylesheets/application.css` add the following
33
34
 
34
35
  *= require_self
35
- *= require dataTables/jquery.dataTables (optional)
36
+ *= require dataTables/jquery.dataTables.bootstrap (optional)
36
37
  ...
37
38
 
38
39
  ## License
@@ -25,4 +25,7 @@ jQuery ->
25
25
  # DataTables: http://datatables.net/
26
26
  try
27
27
  $('.datatables').dataTable
28
- sPaginationType: 'full_numbers'
28
+ "sDom": "<'row-fluid'<'span6'l><'span6'f>r>t<'row-fluid'<'span6'i><'span6'p>>"
29
+ "sPaginationType": "bootstrap"
30
+ "oLanguage":
31
+ "sLengthMenu": "_MENU_ records per page"
@@ -1,5 +1,5 @@
1
1
  module Istart
2
2
  module Rails
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istart-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-04-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jquery-rails
16
- requirement: &70337754500760 !ruby/object:Gem::Requirement
16
+ requirement: &70177916762740 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70337754500760
24
+ version_requirements: *70177916762740
25
25
  description: iStart-Rails is a set of common helpers to improve your app and speed
26
26
  up it's development
27
27
  email: