smart_table 0.0.5 → 0.0.6
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 +4 -4
- data/app/helpers/smart_table/smart_table_helper.rb +2 -1
- data/lib/smart_table/version.rb +1 -1
- data/smart_table-0.0.5.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b9580e5cd19fa52e7a9ee8644c0c01317ee3da2e1dd3fe36f8ea49e947859791
|
|
4
|
+
data.tar.gz: e407570cff3a6f620b302babd89ecfa14b67c3a5863b2f6884a2f908a9bd521f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e04715bee3e791045aa175039b1a4da8986c1f071766bd80a44ba6aa2c10f0492b7b4bae07172663cc88671c68464089b572b1364d4c8dae0742606f438664e7
|
|
7
|
+
data.tar.gz: 1ccaefb74058377dacf9c8ab970dafdc81df29c2cec42e7f897212b1e97e75cf4221b01853f7b5bec1ed8c572d3d307463ec426b7a54190dbbfd389ea04ad523
|
|
@@ -109,7 +109,8 @@ module SmartTable
|
|
|
109
109
|
|
|
110
110
|
page_sizes = PAGE_SIZES.dup
|
|
111
111
|
page_sizes << get_cached_smart_table_params.page_size.to_i if get_cached_smart_table_params.page_size
|
|
112
|
-
page_sizes.uniq
|
|
112
|
+
page_sizes.uniq!
|
|
113
|
+
page_sizes.sort!
|
|
113
114
|
|
|
114
115
|
if page_sizes.last >= total_records_count || get_cached_smart_table_params.page_size.nil?
|
|
115
116
|
page_sizes.reject! {|size| size > total_records_count}
|
data/lib/smart_table/version.rb
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smart_table
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Henrique Gubert
|
|
@@ -190,6 +190,7 @@ files:
|
|
|
190
190
|
- "./smart_table-0.0.2.gem"
|
|
191
191
|
- "./smart_table-0.0.3.gem"
|
|
192
192
|
- "./smart_table-0.0.4.gem"
|
|
193
|
+
- "./smart_table-0.0.5.gem"
|
|
193
194
|
- "./smart_table.gemspec"
|
|
194
195
|
- "./spec/dummy_app/Rakefile"
|
|
195
196
|
- "./spec/dummy_app/app/assets/config/manifest.js"
|