jquery-datatables 1.10.19 → 1.10.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/datatables/extensions/RowGroup/dataTables.rowGroup.js +3 -3
- data/app/assets/stylesheets/datatables/dataTables.foundation.scss +5 -5
- data/app/assets/stylesheets/datatables/dataTables.material.scss +1 -1
- data/app/assets/stylesheets/datatables/jquery.dataTables.scss +5 -5
- data/jquery-datatables.gemspec +0 -3
- data/lib/generators/jquery/datatables/templates/stylesheets/foundation.scss.tt +0 -18
- data/lib/generators/jquery/datatables/templates/stylesheets/regular.scss.tt +0 -18
- data/lib/generators/jquery/datatables/templates/views/index.json.jbuilder +2 -2
- data/lib/jquery-datatables.rb +3 -8
- data/lib/jquery-datatables/engine.rb +0 -2
- data/lib/jquery-datatables/version.rb +1 -1
- metadata +2 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3936ef3777916cd9d6f39a22d8aad261d824f2d02d7f025a27f8b8e9926a6347
|
4
|
+
data.tar.gz: a33031ddbfebb05c0ec78bc71182c2fff3388dcb01f2ee81ecbfad4ecf6152b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0b8f22bd0015e55a98639b3fdc10e253d8047b53b18d2c41b3bc83fb3a4f011632a00273c66592d0d202bff2d19a400d3b92bc1d8716af8c6a7700dec19fdd0
|
7
|
+
data.tar.gz: 30d04d5649f00140fb4d22e242f38cebcec62c21787a50e7916d2176e90186a48a37725794c1b6987ae3420cd8c528bdae7a24203ad9cd53dcb2cf94089f1c31
|
@@ -1,11 +1,11 @@
|
|
1
|
-
/*! RowGroup 1.0.
|
1
|
+
/*! RowGroup 1.0.4
|
2
2
|
* ©2017-2018 SpryMedia Ltd - datatables.net/license
|
3
3
|
*/
|
4
4
|
|
5
5
|
/**
|
6
6
|
* @summary RowGroup
|
7
7
|
* @description RowGrouping for DataTables
|
8
|
-
* @version 1.0.
|
8
|
+
* @version 1.0.4
|
9
9
|
* @file dataTables.rowGroup.js
|
10
10
|
* @author SpryMedia Ltd (www.sprymedia.co.uk)
|
11
11
|
* @contact datatables.net
|
@@ -355,7 +355,7 @@ RowGroup.defaults = {
|
|
355
355
|
};
|
356
356
|
|
357
357
|
|
358
|
-
RowGroup.version = "1.0.
|
358
|
+
RowGroup.version = "1.0.4";
|
359
359
|
|
360
360
|
|
361
361
|
$.fn.dataTable.RowGroup = RowGroup;
|
@@ -111,19 +111,19 @@ table.dataTable thead {
|
|
111
111
|
}
|
112
112
|
|
113
113
|
.sorting {
|
114
|
-
background-image: url(
|
114
|
+
background-image: image-url("datatables/sort_both.png");
|
115
115
|
}
|
116
116
|
.sorting_asc {
|
117
|
-
background-image: url(
|
117
|
+
background-image: image-url("datatables/sort_asc.png");
|
118
118
|
}
|
119
119
|
.sorting_desc {
|
120
|
-
background-image: url(
|
120
|
+
background-image: image-url("datatables/sort_desc.png");
|
121
121
|
}
|
122
122
|
.sorting_asc_disabled {
|
123
|
-
background-image: url(
|
123
|
+
background-image: image-url("datatables/sort_asc_disabled.png");
|
124
124
|
}
|
125
125
|
.sorting_desc_disabled {
|
126
|
-
background-image: url(
|
126
|
+
background-image: image-url("datatables/sort_desc_disabled.png");
|
127
127
|
}
|
128
128
|
}
|
129
129
|
|
@@ -114,19 +114,19 @@ table.dataTable {
|
|
114
114
|
}
|
115
115
|
|
116
116
|
.sorting {
|
117
|
-
background-image: url(
|
117
|
+
background-image: image-url("datatables/sort_both.png");
|
118
118
|
}
|
119
119
|
.sorting_asc {
|
120
|
-
background-image: url(
|
120
|
+
background-image: image-url("datatables/sort_asc.png");
|
121
121
|
}
|
122
122
|
.sorting_desc {
|
123
|
-
background-image: url(
|
123
|
+
background-image: image-url("datatables/sort_desc.png");
|
124
124
|
}
|
125
125
|
.sorting_asc_disabled {
|
126
|
-
background-image: url(
|
126
|
+
background-image: image-url("datatables/sort_asc_disabled.png");
|
127
127
|
}
|
128
128
|
.sorting_desc_disabled {
|
129
|
-
background-image: url(
|
129
|
+
background-image: image-url("datatables/sort_desc_disabled.png");
|
130
130
|
}
|
131
131
|
}
|
132
132
|
}
|
data/jquery-datatables.gemspec
CHANGED
@@ -18,9 +18,6 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_runtime_dependency 'sass', '>= 3.5.2'
|
22
|
-
spec.add_runtime_dependency 'autoprefixer-rails', '>= 6.0.3'
|
23
|
-
|
24
21
|
spec.add_development_dependency 'jquery-rails', '~> 3.1'
|
25
22
|
spec.add_development_dependency 'bundler', '~> 1.7'
|
26
23
|
spec.add_development_dependency 'rake', '~> 10.0'
|
@@ -13,21 +13,3 @@
|
|
13
13
|
//@import 'datatables/extensions/RowReorder/rowReorder.foundation';
|
14
14
|
//@import 'datatables/extensions/Scroller/scroller.foundation';
|
15
15
|
//@import 'datatables/extensions/Select/select.foundation';
|
16
|
-
|
17
|
-
|
18
|
-
// fix image asset url
|
19
|
-
table.dataTable thead .sorting {
|
20
|
-
background-image: image-url("datatables/sort_both.png");
|
21
|
-
}
|
22
|
-
table.dataTable thead .sorting_asc {
|
23
|
-
background-image: image-url("datatables/sort_asc.png");
|
24
|
-
}
|
25
|
-
table.dataTable thead .sorting_desc {
|
26
|
-
background-image: image-url("datatables/sort_desc.png");
|
27
|
-
}
|
28
|
-
table.dataTable thead .sorting_asc_disabled {
|
29
|
-
background-image: image-url("datatables/sort_asc_disabled.png");
|
30
|
-
}
|
31
|
-
table.dataTable thead .sorting_desc_disabled {
|
32
|
-
background-image: image-url("datatables/sort_desc_disabled.png");
|
33
|
-
}
|
@@ -13,21 +13,3 @@
|
|
13
13
|
//@import 'datatables/extensions/RowReorder/rowReorder.dataTables';
|
14
14
|
//@import 'datatables/extensions/Scroller/scroller.dataTables';
|
15
15
|
//@import 'datatables/extensions/Select/select.dataTables';
|
16
|
-
|
17
|
-
|
18
|
-
// fix image asset url
|
19
|
-
table.dataTable thead .sorting {
|
20
|
-
background-image: image-url("datatables/sort_both.png");
|
21
|
-
}
|
22
|
-
table.dataTable thead .sorting_asc {
|
23
|
-
background-image: image-url("datatables/sort_asc.png");
|
24
|
-
}
|
25
|
-
table.dataTable thead .sorting_desc {
|
26
|
-
background-image: image-url("datatables/sort_desc.png");
|
27
|
-
}
|
28
|
-
table.dataTable thead .sorting_asc_disabled {
|
29
|
-
background-image: image-url("datatables/sort_asc_disabled.png");
|
30
|
-
}
|
31
|
-
table.dataTable thead .sorting_desc_disabled {
|
32
|
-
background-image: image-url("datatables/sort_desc_disabled.png");
|
33
|
-
}
|
@@ -2,9 +2,9 @@ json.set! :data do
|
|
2
2
|
json.array! @<%= plural_table_name %> do |<%= singular_table_name %>|
|
3
3
|
json.partial! '<%= plural_table_name %>/<%= singular_table_name %>', <%= singular_table_name %>: <%= singular_table_name %>
|
4
4
|
json.url "
|
5
|
-
#{link_to 'Show', <%=
|
5
|
+
#{link_to 'Show', <%= singular_table_name %> }
|
6
6
|
#{link_to 'Edit', edit_<%= singular_route_name %>_path(<%= singular_table_name %>)}
|
7
|
-
#{link_to 'Destroy', <%=
|
7
|
+
#{link_to 'Destroy', <%= singular_table_name %>, method: :delete, data: { confirm: 'Are you sure?' }}
|
8
8
|
"
|
9
9
|
end
|
10
10
|
end
|
data/lib/jquery-datatables.rb
CHANGED
@@ -12,9 +12,10 @@ module Jquery
|
|
12
12
|
register_hanami
|
13
13
|
elsif sprockets?
|
14
14
|
register_sprockets
|
15
|
+
elsif defined?(::Sass) && ::Sass.respond_to?(:load_paths)
|
16
|
+
# The deprecated `sass` gem:
|
17
|
+
::Sass.load_paths << stylesheets_path
|
15
18
|
end
|
16
|
-
|
17
|
-
configure_sass
|
18
19
|
end
|
19
20
|
|
20
21
|
# Paths
|
@@ -49,12 +50,6 @@ module Jquery
|
|
49
50
|
|
50
51
|
private
|
51
52
|
|
52
|
-
def configure_sass
|
53
|
-
require 'sass'
|
54
|
-
|
55
|
-
::Sass.load_paths << stylesheets_path
|
56
|
-
end
|
57
|
-
|
58
53
|
def register_rails_engine
|
59
54
|
require 'jquery-datatables/engine'
|
60
55
|
end
|
metadata
CHANGED
@@ -1,43 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-datatables
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.19
|
4
|
+
version: 1.10.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mkhairi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: sass
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 3.5.2
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 3.5.2
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: autoprefixer-rails
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 6.0.3
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 6.0.3
|
41
13
|
- !ruby/object:Gem::Dependency
|
42
14
|
name: jquery-rails
|
43
15
|
requirement: !ruby/object:Gem::Requirement
|