istart-rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog.md +14 -2
- data/README.md +10 -1
- data/app/assets/javascripts/istart.js.coffee +7 -1
- data/lib/istart/rails/version.rb +1 -1
- metadata +4 -4
data/Changelog.md
CHANGED
@@ -1,10 +1,22 @@
|
|
1
1
|
### Dev
|
2
2
|
|
3
|
-
[full changelog](http://github.com/ZenCocoon/istart-rails/compare/v0.0.
|
3
|
+
[full changelog](http://github.com/ZenCocoon/istart-rails/compare/v0.0.3...master)
|
4
|
+
|
5
|
+
### 0.0.3 / 2012-04-17
|
6
|
+
|
7
|
+
[full changelog](http://github.com/ZenCocoon/istart-rails/compare/v0.0.2...v0.0.3)
|
8
|
+
|
9
|
+
* Enhancements
|
10
|
+
* Add datatables support
|
11
|
+
* Fix
|
12
|
+
* Make chosen optional
|
4
13
|
|
5
14
|
### 0.0.2 / 2012-02-26
|
6
15
|
|
7
|
-
|
16
|
+
[full changelog](http://github.com/ZenCocoon/istart-rails/compare/v0.0.1...v0.0.2)
|
17
|
+
|
18
|
+
* Enhancements
|
19
|
+
* Replace submit's inputs values with data-loading-text when submitted
|
8
20
|
|
9
21
|
### 0.0.1 / 2012-02-25
|
10
22
|
|
data/README.md
CHANGED
@@ -8,11 +8,12 @@ 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
12
|
|
12
13
|
## Requirements
|
13
14
|
|
14
|
-
jquery-rails
|
15
15
|
rails >= 3.1 (with Asset Pipeline)
|
16
|
+
jquery-rails
|
16
17
|
|
17
18
|
## Install
|
18
19
|
|
@@ -24,8 +25,16 @@ Within `app/assets/javascripts/application.js` add the following
|
|
24
25
|
|
25
26
|
//= require jquery
|
26
27
|
...
|
28
|
+
//= require chosen-jquery (optional)
|
29
|
+
//= require dataTables/jquery.dataTables (optional)
|
27
30
|
//= require istart
|
28
31
|
|
32
|
+
Within `app/assets/stylesheets/application.css` add the following
|
33
|
+
|
34
|
+
*= require_self
|
35
|
+
*= require dataTables/jquery.dataTables (optional)
|
36
|
+
...
|
37
|
+
|
29
38
|
## License
|
30
39
|
|
31
40
|
MIT License. Copyright 2011 Sébastien Grosjean, sponsored by [BookingSync, Vacation Rental's Booking Calendar Software](http://www.bookingsync.com)
|
@@ -19,4 +19,10 @@ jQuery ->
|
|
19
19
|
window.location = url
|
20
20
|
|
21
21
|
# Chosen: http://harvesthq.github.com/chosen/
|
22
|
-
|
22
|
+
try
|
23
|
+
$(".chzn-select").chosen()
|
24
|
+
|
25
|
+
# DataTables: http://datatables.net/
|
26
|
+
try
|
27
|
+
$('.datatables').dataTable
|
28
|
+
sPaginationType: 'full_numbers'
|
data/lib/istart/rails/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-17 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jquery-rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70337754500760 !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: *
|
24
|
+
version_requirements: *70337754500760
|
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:
|