wice_grid 3.6.0 → 3.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +8 -3
  3. data/Gemfile +0 -1
  4. data/Rakefile +1 -11
  5. data/config/locales/uk.yml +29 -29
  6. data/lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb +0 -1
  7. data/lib/generators/wice_grid/install_generator.rb +0 -1
  8. data/lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb +0 -1
  9. data/lib/generators/wice_grid/templates/wice_grid_config.rb +3 -4
  10. data/lib/wice/active_record_column_wrapper.rb +1 -2
  11. data/lib/wice/columns.rb +9 -10
  12. data/lib/wice/columns/column_action.rb +0 -1
  13. data/lib/wice/columns/column_boolean.rb +0 -1
  14. data/lib/wice/columns/column_bootstrap_datepicker.rb +0 -1
  15. data/lib/wice/columns/column_custom_dropdown.rb +0 -1
  16. data/lib/wice/columns/column_float.rb +0 -1
  17. data/lib/wice/columns/column_html5_datepicker.rb +0 -1
  18. data/lib/wice/columns/column_integer.rb +0 -1
  19. data/lib/wice/columns/column_jquery_datepicker.rb +0 -1
  20. data/lib/wice/columns/column_processor_index.rb +0 -1
  21. data/lib/wice/columns/column_rails_date_helper.rb +0 -1
  22. data/lib/wice/columns/column_rails_datetime_helper.rb +0 -1
  23. data/lib/wice/columns/column_range.rb +0 -1
  24. data/lib/wice/columns/column_string.rb +0 -1
  25. data/lib/wice/columns/common_date_datetime_mixin.rb +0 -1
  26. data/lib/wice/columns/common_js_date_datetime_conditions_generator_mixin.rb +0 -1
  27. data/lib/wice/columns/common_js_date_datetime_mixin.rb +0 -1
  28. data/lib/wice/columns/common_rails_date_datetime_conditions_generator_mixin.rb +0 -1
  29. data/lib/wice/columns/common_standard_helper_date_datetime_mixin.rb +0 -1
  30. data/lib/wice/grid_output_buffer.rb +3 -4
  31. data/lib/wice/grid_renderer.rb +11 -12
  32. data/lib/wice/helpers/bs_calendar_helpers.rb +2 -3
  33. data/lib/wice/helpers/js_calendar_helpers.rb +1 -2
  34. data/lib/wice/helpers/wice_grid_misc_view_helpers.rb +2 -3
  35. data/lib/wice/helpers/wice_grid_serialized_queries_view_helpers.rb +4 -5
  36. data/lib/wice/helpers/wice_grid_view_helpers.rb +12 -11
  37. data/lib/wice/kaminari_monkey_patching.rb +0 -2
  38. data/lib/wice/table_column_matrix.rb +1 -2
  39. data/lib/wice/wice_grid_controller.rb +4 -5
  40. data/lib/wice/wice_grid_core_ext.rb +0 -1
  41. data/lib/wice/wice_grid_misc.rb +4 -5
  42. data/lib/wice/wice_grid_serialized_queries_controller.rb +0 -1
  43. data/lib/wice/wice_grid_serialized_query.rb +0 -1
  44. data/lib/wice/wice_grid_spreadsheet.rb +0 -1
  45. data/lib/wice_grid.rb +16 -17
  46. data/spec/schema.rb +0 -1
  47. data/spec/spec_helper.rb +0 -1
  48. data/spec/support/active_record.rb +0 -1
  49. data/spec/support/wice_grid_test_config.rb +0 -2
  50. data/spec/wice/grid_output_buffer_spec.rb +0 -2
  51. data/spec/wice/table_column_matrix_spec.rb +0 -2
  52. data/spec/wice/wice_grid_misc_spec.rb +0 -2
  53. data/spec/wice/wice_grid_spreadsheet_spec.rb +0 -2
  54. data/wice_grid.gemspec +3 -5
  55. metadata +37 -51
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  context 'assoc_list_to_hash' do
4
2
  it 'many elements in assocs' do
5
3
  assocs = [:foo1, :foo2, :foo3, :foo4, :foo5]
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  describe Wice::Spreadsheet do
4
2
  let(:spreadsheet){Wice::Spreadsheet.new('hello', ';')}
5
3
 
@@ -1,8 +1,7 @@
1
- # encoding: utf-8
2
1
  Gem::Specification.new do |s|
3
2
  s.name = 'wice_grid'
4
- s.version = '3.6.0'
5
- s.authors = ['Yuri Leikind']
3
+ s.version = '3.6.2'
4
+ s.authors = ['Yuri Leikind and contributors']
6
5
  s.email = ['yuri.leikind@gmail.com']
7
6
  s.homepage = 'https://github.com/leikind/wice_grid'
8
7
  s.summary = 'A Rails grid plugin to quickly create grids with sorting, pagination, and filters.'
@@ -14,7 +13,7 @@ Gem::Specification.new do |s|
14
13
  s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
15
14
  s.license = 'MIT'
16
15
  s.require_paths = ['lib']
17
- s.date = '2015-04-17'
16
+ s.date = '2016-06-15'
18
17
 
19
18
  s.add_dependency 'activerecord', ['> 3.2']
20
19
  s.add_dependency 'kaminari', ['~> 0.16']
@@ -25,7 +24,6 @@ Gem::Specification.new do |s|
25
24
 
26
25
  s.add_development_dependency('bundler', '~> 1.3')
27
26
  s.add_development_dependency('simplecov', '~> 0.7')
28
- s.add_development_dependency('rubocop', '~> 0.33')
29
27
  s.add_development_dependency('coveralls', '~> 0.8.2')
30
28
  s.add_development_dependency('codeclimate-test-reporter', '~> 0.4.7')
31
29
  s.add_development_dependency('sqlite3', '~> 1.3')
metadata CHANGED
@@ -1,209 +1,195 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wice_grid
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.0
4
+ version: 3.6.2
5
5
  platform: ruby
6
6
  authors:
7
- - Yuri Leikind
7
+ - Yuri Leikind and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-17 00:00:00.000000000 Z
11
+ date: 2016-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">"
17
+ - - '>'
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">"
24
+ - - '>'
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: kaminari
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.16'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.16'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: coffee-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">"
45
+ - - '>'
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.2'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">"
52
+ - - '>'
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.2'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '10.1'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '10.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: 3.2.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: 3.2.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
89
  version: '1.3'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.3'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: simplecov
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0.7'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ~>
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.7'
111
- - !ruby/object:Gem::Dependency
112
- name: rubocop
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '0.33'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '0.33'
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: coveralls
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
- - - "~>"
115
+ - - ~>
130
116
  - !ruby/object:Gem::Version
131
117
  version: 0.8.2
132
118
  type: :development
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
- - - "~>"
122
+ - - ~>
137
123
  - !ruby/object:Gem::Version
138
124
  version: 0.8.2
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: codeclimate-test-reporter
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
- - - "~>"
129
+ - - ~>
144
130
  - !ruby/object:Gem::Version
145
131
  version: 0.4.7
146
132
  type: :development
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
135
  requirements:
150
- - - "~>"
136
+ - - ~>
151
137
  - !ruby/object:Gem::Version
152
138
  version: 0.4.7
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: sqlite3
155
141
  requirement: !ruby/object:Gem::Requirement
156
142
  requirements:
157
- - - "~>"
143
+ - - ~>
158
144
  - !ruby/object:Gem::Version
159
145
  version: '1.3'
160
146
  type: :development
161
147
  prerelease: false
162
148
  version_requirements: !ruby/object:Gem::Requirement
163
149
  requirements:
164
- - - "~>"
150
+ - - ~>
165
151
  - !ruby/object:Gem::Version
166
152
  version: '1.3'
167
153
  - !ruby/object:Gem::Dependency
168
154
  name: yard
169
155
  requirement: !ruby/object:Gem::Requirement
170
156
  requirements:
171
- - - "~>"
157
+ - - ~>
172
158
  - !ruby/object:Gem::Version
173
159
  version: '0.8'
174
160
  type: :development
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
- - - "~>"
164
+ - - ~>
179
165
  - !ruby/object:Gem::Version
180
166
  version: '0.8'
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: inch
183
169
  requirement: !ruby/object:Gem::Requirement
184
170
  requirements:
185
- - - "~>"
171
+ - - ~>
186
172
  - !ruby/object:Gem::Version
187
173
  version: 0.6.4
188
174
  type: :development
189
175
  prerelease: false
190
176
  version_requirements: !ruby/object:Gem::Requirement
191
177
  requirements:
192
- - - "~>"
178
+ - - ~>
193
179
  - !ruby/object:Gem::Version
194
180
  version: 0.6.4
195
181
  - !ruby/object:Gem::Dependency
196
182
  name: rdoc
197
183
  requirement: !ruby/object:Gem::Requirement
198
184
  requirements:
199
- - - "~>"
185
+ - - ~>
200
186
  - !ruby/object:Gem::Version
201
187
  version: 4.2.0
202
188
  type: :development
203
189
  prerelease: false
204
190
  version_requirements: !ruby/object:Gem::Requirement
205
191
  requirements:
206
- - - "~>"
192
+ - - ~>
207
193
  - !ruby/object:Gem::Version
208
194
  version: 4.2.0
209
195
  description: A Rails grid plugin to create grids with sorting, pagination, and filters
@@ -217,11 +203,11 @@ executables: []
217
203
  extensions: []
218
204
  extra_rdoc_files: []
219
205
  files:
220
- - ".gitignore"
221
- - ".inch.yml"
222
- - ".rspec"
223
- - ".rubocop.yml"
224
- - ".travis.yml"
206
+ - .gitignore
207
+ - .inch.yml
208
+ - .rspec
209
+ - .rubocop.yml
210
+ - .travis.yml
225
211
  - CHANGELOG.md
226
212
  - Gemfile
227
213
  - MIT-LICENSE
@@ -317,17 +303,17 @@ require_paths:
317
303
  - lib
318
304
  required_ruby_version: !ruby/object:Gem::Requirement
319
305
  requirements:
320
- - - ">="
306
+ - - '>='
321
307
  - !ruby/object:Gem::Version
322
308
  version: '0'
323
309
  required_rubygems_version: !ruby/object:Gem::Requirement
324
310
  requirements:
325
- - - ">="
311
+ - - '>='
326
312
  - !ruby/object:Gem::Version
327
313
  version: '0'
328
314
  requirements: []
329
315
  rubyforge_project:
330
- rubygems_version: 2.4.5.1
316
+ rubygems_version: 2.0.14.1
331
317
  signing_key:
332
318
  specification_version: 4
333
319
  summary: A Rails grid plugin to quickly create grids with sorting, pagination, and