wice_grid 3.6.2 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (332) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +41 -0
  3. data/.circleci/run-build-locally.sh +7 -0
  4. data/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
  5. data/.gitignore +5 -2
  6. data/Appraisals +11 -0
  7. data/CHANGELOG.md +38 -1
  8. data/Gemfile.lock +299 -0
  9. data/README.md +77 -34
  10. data/config/locales/ja.yml +3 -3
  11. data/gemfiles/rails_5.0.gemfile +7 -0
  12. data/gemfiles/rails_5.0.gemfile.lock +291 -0
  13. data/gemfiles/rails_5.1.gemfile +7 -0
  14. data/gemfiles/rails_5.1.gemfile.lock +291 -0
  15. data/gemfiles/rails_5.2.gemfile +7 -0
  16. data/gemfiles/rails_5.2.gemfile.lock +299 -0
  17. data/lib/wice/columns.rb +13 -6
  18. data/lib/wice/columns/column_integer.rb +11 -1
  19. data/lib/wice/columns/column_rails_datetime_helper.rb +3 -2
  20. data/lib/wice/columns/column_range.rb +6 -4
  21. data/lib/wice/grid_renderer.rb +23 -7
  22. data/lib/wice/helpers/bs_calendar_helpers.rb +9 -1
  23. data/lib/wice/helpers/wice_grid_view_helpers.rb +6 -6
  24. data/lib/wice/wice_grid_controller.rb +7 -5
  25. data/lib/wice/wice_grid_core_ext.rb +5 -1
  26. data/lib/wice/wice_grid_misc.rb +1 -1
  27. data/lib/wice_grid.rb +86 -59
  28. data/spec/acceptance_helper.rb +58 -0
  29. data/spec/features/action_column_request_spec.rb +280 -0
  30. data/spec/features/adding_rows_request_spec.rb +21 -0
  31. data/spec/features/all_records_request_spec.rb +18 -0
  32. data/spec/features/auto_reloads2_request_spec.rb +349 -0
  33. data/spec/features/auto_reloads3_request_spec.rb +130 -0
  34. data/spec/features/auto_reloads_request_spec.rb +348 -0
  35. data/spec/features/basics1_request_spec.rb +11 -0
  36. data/spec/features/basics2_request_spec.rb +10 -0
  37. data/spec/features/basics3_request_spec.rb +29 -0
  38. data/spec/features/basics4_request_spec.rb +19 -0
  39. data/spec/features/basics5_request_spec.rb +13 -0
  40. data/spec/features/basics6_request_spec.rb +22 -0
  41. data/spec/features/blockless_column_definition_spec.rb +27 -0
  42. data/spec/features/buttons_request_spec.rb +172 -0
  43. data/spec/features/csv_and_detached_filters_spec.rb +10 -0
  44. data/spec/features/csv_export_request_spec.rb +13 -0
  45. data/spec/features/custom_filter_params_request_spec.rb +29 -0
  46. data/spec/features/custom_filters1_request_spec.rb +155 -0
  47. data/spec/features/custom_filters2_request_spec.rb +53 -0
  48. data/spec/features/custom_filters3_request_spec.rb +50 -0
  49. data/spec/features/custom_filters4_request_spec.rb +13 -0
  50. data/spec/features/custom_ordering_on_calculated_request_spec.rb +30 -0
  51. data/spec/features/custom_ordering_request_spec.rb +36 -0
  52. data/spec/features/custom_ordering_with_arel_request_spec.rb +36 -0
  53. data/spec/features/custom_ordering_with_proc_request_spec.rb +44 -0
  54. data/spec/features/custom_ordering_with_ruby_request_spec.rb +30 -0
  55. data/spec/features/dates_request_spec.rb +56 -0
  56. data/spec/features/detached_filters_spec.rb +10 -0
  57. data/spec/features/detached_filters_two_grids_spec.rb +127 -0
  58. data/spec/features/disable_all_filters_spec.rb +22 -0
  59. data/spec/features/hiding_checkboxes_in_action_column_request_spec.rb +294 -0
  60. data/spec/features/integration_with_application_view_request_spec.rb +43 -0
  61. data/spec/features/integration_with_forms_request_spec.rb +141 -0
  62. data/spec/features/joining_tables_spec.rb +40 -0
  63. data/spec/features/localization_request_spec.rb +24 -0
  64. data/spec/features/many_grids_on_page_request_spec.rb +104 -0
  65. data/spec/features/negation_request_spec.rb +25 -0
  66. data/spec/features/no_records_request_spec.rb +26 -0
  67. data/spec/features/numeric_filters_request_spec.rb +10 -0
  68. data/spec/features/resultset_processings2_request_spec.rb +27 -0
  69. data/spec/features/resultset_processings_request_spec.rb +30 -0
  70. data/spec/features/saved_queries_request_spec.rb +120 -0
  71. data/spec/features/shared.rb +1005 -0
  72. data/spec/features/shared_detached_filters.rb +158 -0
  73. data/spec/features/styling_spec.rb +15 -0
  74. data/spec/features/two_associations_spec.rb +48 -0
  75. data/spec/features/upper_pagination_panel_request_spec.rb +23 -0
  76. data/spec/features/when_filtered_spec.rb +209 -0
  77. data/spec/fixtures/.gitkeep +0 -0
  78. data/spec/fixtures/companies.yml +21 -0
  79. data/spec/fixtures/priorities.yml +31 -0
  80. data/spec/fixtures/project_roles.yml +25 -0
  81. data/spec/fixtures/projects.yml +22 -0
  82. data/spec/fixtures/statuses.yml +55 -0
  83. data/spec/fixtures/tasks.yml +751 -0
  84. data/spec/fixtures/tasks_users.yml +2089 -0
  85. data/spec/fixtures/users.yml +61 -0
  86. data/spec/fixtures/versions.yml +78 -0
  87. data/spec/models/company_spec.rb +6 -0
  88. data/spec/models/priority_spec.rb +6 -0
  89. data/spec/models/project_spec.rb +11 -0
  90. data/spec/models/status_spec.rb +6 -0
  91. data/spec/models/task_spec.rb +12 -0
  92. data/spec/models/user_project_participation_spec.rb +7 -0
  93. data/spec/models/user_spec.rb +12 -0
  94. data/spec/models/version_spec.rb +5 -0
  95. data/spec/rails_helper.rb +15 -0
  96. data/spec/spec_helper.rb +10 -9
  97. data/spec/support/test_app/Rakefile +3 -0
  98. data/spec/support/test_app/app/assets/javascripts/application.js +20 -0
  99. data/spec/support/test_app/app/assets/javascripts/common.js.coffee +6 -0
  100. data/spec/support/test_app/app/assets/javascripts/jquery.ui.datepicker.locales.js +56 -0
  101. data/spec/support/test_app/app/assets/stylesheets/adding_rows.scss +3 -0
  102. data/spec/support/test_app/app/assets/stylesheets/application.scss +46 -0
  103. data/spec/support/test_app/app/assets/stylesheets/csv_and_detached_filters.scss +3 -0
  104. data/spec/support/test_app/app/assets/stylesheets/many_grids_on_page.scss +3 -0
  105. data/spec/support/test_app/app/controllers/action_column_controller.rb +15 -0
  106. data/spec/support/test_app/app/controllers/adding_rows_controller.rb +14 -0
  107. data/spec/support/test_app/app/controllers/all_records_controller.rb +14 -0
  108. data/spec/support/test_app/app/controllers/application_controller.rb +99 -0
  109. data/spec/support/test_app/app/controllers/auto_reloads2_controller.rb +14 -0
  110. data/spec/support/test_app/app/controllers/auto_reloads3_controller.rb +20 -0
  111. data/spec/support/test_app/app/controllers/auto_reloads_controller.rb +14 -0
  112. data/spec/support/test_app/app/controllers/basics1_controller.rb +6 -0
  113. data/spec/support/test_app/app/controllers/basics2_controller.rb +6 -0
  114. data/spec/support/test_app/app/controllers/basics3_controller.rb +6 -0
  115. data/spec/support/test_app/app/controllers/basics4_controller.rb +6 -0
  116. data/spec/support/test_app/app/controllers/basics5_controller.rb +6 -0
  117. data/spec/support/test_app/app/controllers/basics6_controller.rb +11 -0
  118. data/spec/support/test_app/app/controllers/blockless_column_definition_controller.rb +6 -0
  119. data/spec/support/test_app/app/controllers/buttons_controller.rb +6 -0
  120. data/spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb +13 -0
  121. data/spec/support/test_app/app/controllers/csv_export_controller.rb +28 -0
  122. data/spec/support/test_app/app/controllers/custom_filter_params_controller.rb +6 -0
  123. data/spec/support/test_app/app/controllers/custom_filters1_controller.rb +9 -0
  124. data/spec/support/test_app/app/controllers/custom_filters2_controller.rb +14 -0
  125. data/spec/support/test_app/app/controllers/custom_filters3_controller.rb +12 -0
  126. data/spec/support/test_app/app/controllers/custom_filters4_controller.rb +12 -0
  127. data/spec/support/test_app/app/controllers/custom_ordering_controller.rb +18 -0
  128. data/spec/support/test_app/app/controllers/custom_ordering_on_calculated_controller.rb +6 -0
  129. data/spec/support/test_app/app/controllers/custom_ordering_with_arel_controller.rb +18 -0
  130. data/spec/support/test_app/app/controllers/custom_ordering_with_proc_controller.rb +11 -0
  131. data/spec/support/test_app/app/controllers/custom_ordering_with_ruby_controller.rb +6 -0
  132. data/spec/support/test_app/app/controllers/dates_controller.rb +8 -0
  133. data/spec/support/test_app/app/controllers/detached_filters_controller.rb +6 -0
  134. data/spec/support/test_app/app/controllers/detached_filters_two_grids_controller.rb +7 -0
  135. data/spec/support/test_app/app/controllers/disable_all_filters_controller.rb +6 -0
  136. data/spec/support/test_app/app/controllers/hiding_checkboxes_in_action_column_controller.rb +13 -0
  137. data/spec/support/test_app/app/controllers/home_controller.rb +3 -0
  138. data/spec/support/test_app/app/controllers/integration_with_application_view_controller.rb +16 -0
  139. data/spec/support/test_app/app/controllers/integration_with_forms_controller.rb +11 -0
  140. data/spec/support/test_app/app/controllers/joining_tables_controller.rb +11 -0
  141. data/spec/support/test_app/app/controllers/localization_controller.rb +26 -0
  142. data/spec/support/test_app/app/controllers/many_grids_on_page_controller.rb +7 -0
  143. data/spec/support/test_app/app/controllers/negation_controller.rb +14 -0
  144. data/spec/support/test_app/app/controllers/no_records_controller.rb +8 -0
  145. data/spec/support/test_app/app/controllers/null_values_controller.rb +10 -0
  146. data/spec/support/test_app/app/controllers/numeric_filters_controller.rb +6 -0
  147. data/spec/support/test_app/app/controllers/queries_controller.rb +4 -0
  148. data/spec/support/test_app/app/controllers/resultset_processings2_controller.rb +29 -0
  149. data/spec/support/test_app/app/controllers/resultset_processings_controller.rb +30 -0
  150. data/spec/support/test_app/app/controllers/saved_queries_controller.rb +14 -0
  151. data/spec/support/test_app/app/controllers/styling_controller.rb +7 -0
  152. data/spec/support/test_app/app/controllers/tasks_controller.rb +14 -0
  153. data/spec/support/test_app/app/controllers/two_associations_controller.rb +6 -0
  154. data/spec/support/test_app/app/controllers/upper_pagination_panel_controller.rb +6 -0
  155. data/spec/support/test_app/app/controllers/when_filtered_controller.rb +6 -0
  156. data/spec/support/test_app/app/helpers/application_helper.rb +82 -0
  157. data/spec/support/test_app/app/mailers/.gitkeep +0 -0
  158. data/spec/support/test_app/app/models/.gitkeep +0 -0
  159. data/spec/support/test_app/app/models/company.rb +5 -0
  160. data/spec/support/test_app/app/models/populate.rb +84 -0
  161. data/spec/support/test_app/app/models/priority.rb +10 -0
  162. data/spec/support/test_app/app/models/project.rb +14 -0
  163. data/spec/support/test_app/app/models/project_role.rb +3 -0
  164. data/spec/support/test_app/app/models/status.rb +10 -0
  165. data/spec/support/test_app/app/models/task.rb +11 -0
  166. data/spec/support/test_app/app/models/to_dropdown_mixin.rb +16 -0
  167. data/spec/support/test_app/app/models/user.rb +8 -0
  168. data/spec/support/test_app/app/models/user_project_participation.rb +6 -0
  169. data/spec/support/test_app/app/models/version.rb +6 -0
  170. data/spec/support/test_app/app/views/action_column/_grid.html.erb +35 -0
  171. data/spec/support/test_app/app/views/action_column/index.html.haml +45 -0
  172. data/spec/support/test_app/app/views/adding_rows/_grid.html.erb +58 -0
  173. data/spec/support/test_app/app/views/adding_rows/index.html.haml +37 -0
  174. data/spec/support/test_app/app/views/all_records/_grid.html.erb +30 -0
  175. data/spec/support/test_app/app/views/all_records/index.html.haml +12 -0
  176. data/spec/support/test_app/app/views/auto_reloads/_grid.html.erb +32 -0
  177. data/spec/support/test_app/app/views/auto_reloads/index.html.haml +15 -0
  178. data/spec/support/test_app/app/views/auto_reloads2/_grid.html.erb +32 -0
  179. data/spec/support/test_app/app/views/auto_reloads2/index.html.haml +65 -0
  180. data/spec/support/test_app/app/views/auto_reloads3/_grid.html.erb +25 -0
  181. data/spec/support/test_app/app/views/auto_reloads3/index.html.haml +78 -0
  182. data/spec/support/test_app/app/views/basics1/_grid.html.erb +26 -0
  183. data/spec/support/test_app/app/views/basics1/index.html.haml +13 -0
  184. data/spec/support/test_app/app/views/basics2/_grid.html.erb +27 -0
  185. data/spec/support/test_app/app/views/basics2/index.html.haml +12 -0
  186. data/spec/support/test_app/app/views/basics3/_grid.html.erb +28 -0
  187. data/spec/support/test_app/app/views/basics3/index.html.haml +13 -0
  188. data/spec/support/test_app/app/views/basics4/_grid.html.erb +21 -0
  189. data/spec/support/test_app/app/views/basics4/index.html.haml +12 -0
  190. data/spec/support/test_app/app/views/basics5/_grid.html.erb +19 -0
  191. data/spec/support/test_app/app/views/basics5/index.html.haml +12 -0
  192. data/spec/support/test_app/app/views/basics6/_grid.html.erb +19 -0
  193. data/spec/support/test_app/app/views/basics6/index.html.haml +23 -0
  194. data/spec/support/test_app/app/views/blockless_column_definition/_grid.html.erb +19 -0
  195. data/spec/support/test_app/app/views/blockless_column_definition/index.html.haml +15 -0
  196. data/spec/support/test_app/app/views/buttons/_grid.html.erb +20 -0
  197. data/spec/support/test_app/app/views/buttons/index.html.haml +30 -0
  198. data/spec/support/test_app/app/views/csv_and_detached_filters/_grid.html.erb +23 -0
  199. data/spec/support/test_app/app/views/csv_and_detached_filters/index.html.haml +58 -0
  200. data/spec/support/test_app/app/views/csv_export/_projects_grid.html.erb +17 -0
  201. data/spec/support/test_app/app/views/csv_export/_tasks_grid.html.erb +43 -0
  202. data/spec/support/test_app/app/views/csv_export/index.html.haml +90 -0
  203. data/spec/support/test_app/app/views/custom_filter_params/_grid.html.erb +12 -0
  204. data/spec/support/test_app/app/views/custom_filter_params/index.html.haml +12 -0
  205. data/spec/support/test_app/app/views/custom_filters1/_g1.html.erb +8 -0
  206. data/spec/support/test_app/app/views/custom_filters1/_g2.html.erb +9 -0
  207. data/spec/support/test_app/app/views/custom_filters1/_g3.html.erb +9 -0
  208. data/spec/support/test_app/app/views/custom_filters1/_g4.html.erb +8 -0
  209. data/spec/support/test_app/app/views/custom_filters1/index.html.haml +30 -0
  210. data/spec/support/test_app/app/views/custom_filters2/_grid.html.erb +30 -0
  211. data/spec/support/test_app/app/views/custom_filters2/index.html.haml +41 -0
  212. data/spec/support/test_app/app/views/custom_filters3/_grid.html.erb +18 -0
  213. data/spec/support/test_app/app/views/custom_filters3/index.html.haml +16 -0
  214. data/spec/support/test_app/app/views/custom_filters4/_grid.html.erb +20 -0
  215. data/spec/support/test_app/app/views/custom_filters4/index.html.haml +12 -0
  216. data/spec/support/test_app/app/views/custom_ordering/_grid.html.erb +10 -0
  217. data/spec/support/test_app/app/views/custom_ordering/index.html.haml +24 -0
  218. data/spec/support/test_app/app/views/custom_ordering_on_calculated/_grid.html.erb +14 -0
  219. data/spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml +23 -0
  220. data/spec/support/test_app/app/views/custom_ordering_with_arel/_grid.html.erb +10 -0
  221. data/spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml +24 -0
  222. data/spec/support/test_app/app/views/custom_ordering_with_proc/_grid.html.erb +10 -0
  223. data/spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml +21 -0
  224. data/spec/support/test_app/app/views/custom_ordering_with_ruby/_grid.html.erb +10 -0
  225. data/spec/support/test_app/app/views/custom_ordering_with_ruby/index.html.haml +23 -0
  226. data/spec/support/test_app/app/views/dates/_grid.html.erb +25 -0
  227. data/spec/support/test_app/app/views/dates/index.html.haml +52 -0
  228. data/spec/support/test_app/app/views/detached_filters/_grid.html.erb +23 -0
  229. data/spec/support/test_app/app/views/detached_filters/index.html.haml +79 -0
  230. data/spec/support/test_app/app/views/detached_filters_two_grids/_grid.html.erb +23 -0
  231. data/spec/support/test_app/app/views/detached_filters_two_grids/index.html.haml +85 -0
  232. data/spec/support/test_app/app/views/disable_all_filters/_grid.html.erb +21 -0
  233. data/spec/support/test_app/app/views/disable_all_filters/index.html.haml +14 -0
  234. data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/_grid.html.erb +34 -0
  235. data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/index.html.haml +32 -0
  236. data/spec/support/test_app/app/views/integration_with_application_view/_grid.html.erb +27 -0
  237. data/spec/support/test_app/app/views/integration_with_application_view/index.html.haml +33 -0
  238. data/spec/support/test_app/app/views/integration_with_forms/_grid.html.erb +23 -0
  239. data/spec/support/test_app/app/views/integration_with_forms/index.html.haml +18 -0
  240. data/spec/support/test_app/app/views/joining_tables/_grid.html.erb +23 -0
  241. data/spec/support/test_app/app/views/joining_tables/index.html.haml +26 -0
  242. data/spec/support/test_app/app/views/layouts/application.html.haml +61 -0
  243. data/spec/support/test_app/app/views/localization/_grid.html.erb +36 -0
  244. data/spec/support/test_app/app/views/localization/index.html.haml +20 -0
  245. data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid1.html.erb +12 -0
  246. data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid2.html.erb +12 -0
  247. data/spec/support/test_app/app/views/many_grids_on_page/index.html.haml +26 -0
  248. data/spec/support/test_app/app/views/negation/_grid.html.erb +30 -0
  249. data/spec/support/test_app/app/views/negation/index.html.haml +15 -0
  250. data/spec/support/test_app/app/views/no_records/_empty_grid.html.haml +1 -0
  251. data/spec/support/test_app/app/views/no_records/_grid1.html.erb +11 -0
  252. data/spec/support/test_app/app/views/no_records/_grid2.html.erb +9 -0
  253. data/spec/support/test_app/app/views/no_records/_grid3.html.erb +9 -0
  254. data/spec/support/test_app/app/views/no_records/index.html.haml +24 -0
  255. data/spec/support/test_app/app/views/null_values/_grid.html.erb +17 -0
  256. data/spec/support/test_app/app/views/null_values/index.html.haml +21 -0
  257. data/spec/support/test_app/app/views/numeric_filters/_grid.html.erb +19 -0
  258. data/spec/support/test_app/app/views/numeric_filters/index.html.haml +12 -0
  259. data/spec/support/test_app/app/views/resultset_processings/_grid.html.erb +27 -0
  260. data/spec/support/test_app/app/views/resultset_processings/index.html.haml +50 -0
  261. data/spec/support/test_app/app/views/resultset_processings2/_grid.html.erb +27 -0
  262. data/spec/support/test_app/app/views/resultset_processings2/index.html.haml +48 -0
  263. data/spec/support/test_app/app/views/saved_queries/_grid.html.erb +30 -0
  264. data/spec/support/test_app/app/views/saved_queries/index.html.haml +15 -0
  265. data/spec/support/test_app/app/views/styling/_grid1.html.erb +12 -0
  266. data/spec/support/test_app/app/views/styling/_grid2.html.erb +31 -0
  267. data/spec/support/test_app/app/views/styling/index.html.haml +65 -0
  268. data/spec/support/test_app/app/views/tasks/_grid.html.erb +19 -0
  269. data/spec/support/test_app/app/views/tasks/index.html.haml +1 -0
  270. data/spec/support/test_app/app/views/two_associations/_grid.html.erb +13 -0
  271. data/spec/support/test_app/app/views/two_associations/index.html.haml +13 -0
  272. data/spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb +27 -0
  273. data/spec/support/test_app/app/views/upper_pagination_panel/index.html.haml +14 -0
  274. data/spec/support/test_app/app/views/when_filtered/_grid.html.erb +19 -0
  275. data/spec/support/test_app/app/views/when_filtered/index.html.haml +15 -0
  276. data/spec/support/test_app/bin/rails +4 -0
  277. data/spec/support/test_app/bin/rake +4 -0
  278. data/spec/support/test_app/config.ru +5 -0
  279. data/spec/support/test_app/config/application.rb +70 -0
  280. data/spec/support/test_app/config/boot.rb +7 -0
  281. data/spec/support/test_app/config/database.travis.yml +27 -0
  282. data/spec/support/test_app/config/database.yml +16 -0
  283. data/spec/support/test_app/config/database.yml.mysql +19 -0
  284. data/spec/support/test_app/config/database.yml.postgresql +18 -0
  285. data/spec/support/test_app/config/environment.rb +6 -0
  286. data/spec/support/test_app/config/environments/development.rb +34 -0
  287. data/spec/support/test_app/config/environments/production.rb +66 -0
  288. data/spec/support/test_app/config/environments/test.rb +34 -0
  289. data/spec/support/test_app/config/initializers/backtrace_silencers.rb +8 -0
  290. data/spec/support/test_app/config/initializers/inflections.rb +16 -0
  291. data/spec/support/test_app/config/initializers/mime_types.rb +6 -0
  292. data/spec/support/test_app/config/initializers/secret_token.rb +12 -0
  293. data/spec/support/test_app/config/initializers/session_store.rb +9 -0
  294. data/spec/support/test_app/config/initializers/wice_grid_config.rb +163 -0
  295. data/spec/support/test_app/config/initializers/wrap_parameters.rb +15 -0
  296. data/spec/support/test_app/config/locales/en.yml +5 -0
  297. data/spec/support/test_app/config/locales/wice_grid.yml +550 -0
  298. data/spec/support/test_app/config/puma.rb +15 -0
  299. data/spec/support/test_app/config/routes.rb +125 -0
  300. data/spec/support/test_app/db/migrate/20120224193505_create_tasks.rb +27 -0
  301. data/spec/support/test_app/db/migrate/20120224193517_create_users.rb +12 -0
  302. data/spec/support/test_app/db/migrate/20120224193522_create_projects.rb +14 -0
  303. data/spec/support/test_app/db/migrate/20120224193529_create_priorities.rb +13 -0
  304. data/spec/support/test_app/db/migrate/20120224193537_create_statuses.rb +13 -0
  305. data/spec/support/test_app/db/migrate/20120224193543_create_versions.rb +15 -0
  306. data/spec/support/test_app/db/migrate/20120224193550_create_project_roles.rb +12 -0
  307. data/spec/support/test_app/db/migrate/20120224193610_create_companies.rb +12 -0
  308. data/spec/support/test_app/db/migrate/20120224195351_create_user_project_participations.rb +16 -0
  309. data/spec/support/test_app/db/migrate/20120224195521_add_tasks_users.rb +11 -0
  310. data/spec/support/test_app/db/migrate/20120610091944_create_wice_grid_serialized_queries.rb +14 -0
  311. data/spec/support/test_app/db/schema.rb +139 -0
  312. data/spec/support/test_app/db/seeds.rb +10 -0
  313. data/spec/support/test_app/lib/ar_fixtures.rb +100 -0
  314. data/spec/support/test_app/lib/assets/.gitkeep +0 -0
  315. data/spec/support/test_app/lib/tasks/.gitkeep +0 -0
  316. data/spec/support/test_app/lib/tasks/ar_fixtures.rake +45 -0
  317. data/spec/support/test_app/public/404.html +26 -0
  318. data/spec/support/test_app/public/422.html +26 -0
  319. data/spec/support/test_app/public/500.html +25 -0
  320. data/spec/support/test_app/public/favicon.ico +0 -0
  321. data/spec/support/test_app/public/robots.txt +5 -0
  322. data/spec/wice/grid_output_buffer_spec.rb +2 -2
  323. data/spec/wice/table_column_matrix_spec.rb +1 -1
  324. data/vendor/assets/javascripts/wice_grid_init.js.coffee +16 -4
  325. data/vendor/assets/javascripts/wice_grid_saved_queries_init.js.coffee +1 -0
  326. data/wice_grid.gemspec +29 -9
  327. metadata +606 -62
  328. data/release_notes/RELEASE_NOTES_3.2.pre1.rdoc +0 -81
  329. data/release_notes/RELEASE_NOTES_3.2.pre2.rdoc +0 -6
  330. data/release_notes/RELEASE_NOTES_3.3.0.rdoc +0 -21
  331. data/spec/support/wice_grid_test_config.rb +0 -173
  332. data/test/readme.txt +0 -1
data/README.md CHANGED
@@ -1,22 +1,13 @@
1
1
  [![Version](http://img.shields.io/gem/v/wice_grid.svg)](https://rubygems.org/gems/wice_grid)
2
- [![Build](https://travis-ci.org/leikind/wice_grid.svg)](https://travis-ci.org/leikind/wice_grid)
3
- [![Inline docs](http://inch-ci.org/github/leikind/wice_grid.svg?branch=rails3)](http://inch-ci.org/github/leikind/wice_grid/branch/rails3)
2
+ [![CircleCI](https://circleci.com/gh/patricklindsay/wice_grid.svg?style=svg)](https://circleci.com/gh/patricklindsay/wice_grid)
3
+ [![Inline docs](http://inch-ci.org/github/patricklindsay/wice_grid.svg)](http://inch-ci.org/github/patricklindsay/wice_grid)
4
4
  [![License](http://img.shields.io/badge/license-MIT-yellowgreen.svg)](#license)
5
5
 
6
- <!-- let's disable for a while ;-)
7
- [![Coverage Status](https://coveralls.io/repos/leikind/wice_grid/badge.svg?branch=development&service=github)](https://coveralls.io/github/leikind/wice_grid?branch=development)
8
- -->
9
-
10
- THE PROJECT IS LOOKING FOR CONTRIBUTORS. THE AUTHOR WILL NOT WORK ON IT ANYMORE!
11
-
12
- * Yuri Leikind, yuri.leikind at gmail dot com
13
- * Version 3.6.0.pre3; [What's New In 3.6.0](https://github.com/leikind/wice_grid/wiki/What's-New-In-3.6.0)
14
- * This tutorial is accompanied by a sample application with WiceGrid examples which you can browse online:
15
- http://wicegrid.herokuapp.com, or just view the code: https://github.com/leikind/wice_grid_testbed.
16
-
6
+ # WiceGrid
17
7
 
8
+ THE PROJECT IS LOOKING FOR CONTRIBUTORS.
18
9
 
19
- # WiceGrid
10
+ Check out this [sample application](http://wicegrid.herokuapp.com) which demos all features & includes code samples.
20
11
 
21
12
  - [Intro](#intro)
22
13
  - [Requirements and Rails versions](#requirements-and-rails-versions)
@@ -30,12 +21,14 @@ http://wicegrid.herokuapp.com, or just view the code: https://github.com/leikind
30
21
  - [Joined associations referring to the same table](#joined-associations-referring-to-the-same-table)
31
22
  - [More than one grid on a page](#more-than-one_grid-on-a-page)
32
23
  - [Custom Ordering](#custom-ordering)
24
+ - [Custom Sorting](#custom-sorting)
33
25
  - [Filters](#filters)
34
26
  - [Custom dropdown filters](#custom-dropdown-filters)
35
27
  - [Numeric Filters](#numeric-filters)
36
28
  - [Date and DateTime Filters](#date-and-datetime-filters)
37
29
  - [Detached Filters](#detached-filters)
38
30
  - [Defaults](#defaults)
31
+ - [Testing](#testing)
39
32
  - [Bug reports](#bug-reports)
40
33
 
41
34
 
@@ -71,15 +64,18 @@ WiceGrid views do not contain forms so you can include it in your own forms.
71
64
 
72
65
  WiceGrid is known to work with MySQL, Postgres, and Oracle.
73
66
 
67
+ Continue reading for more information or check out our [CHANGELOG](https://github.com/patricklindsay/wice_grid/blob/master/CHANGELOG.md) to find out whats been going on.
74
68
 
75
- ## Requirements and Rails versions
76
69
 
77
- For rails 2 use version 0.6 in [the master branch](https://github.com/leikind/wice_grid/tree/master).
78
- That branch is hardly supported.
70
+ ## Requirements and Rails versions
79
71
 
80
- The main supported branch is `rails3`. Latest Rails 3.2.x and Rails 4.x.x are supported in this branch.
72
+ ```
73
+ # Rails => 5
74
+ gem 'wice_grid'
81
75
 
82
- If you need to use the plugin in with Rails 3.0.x and 3.1.x versions, please use WiceGrid version 3.0.4.
76
+ # Rails 4
77
+ gem 'wice_grid', '3.6.2'
78
+ ```
83
79
 
84
80
  WiceGrid relies on jQuery.
85
81
 
@@ -93,14 +89,14 @@ WARNING: Since 3.2.pre2 WiceGrid is not compatible with `will_paginate` because
93
89
 
94
90
  ## Installation
95
91
 
96
- Add the following to your Gemfile:
92
+ Add the following to your Gemfile & run `bundle`:
97
93
 
98
94
  ```ruby
99
- gem "wice_grid", '3.6.0.pre4'
95
+ gem "wice_grid"
100
96
  gem 'font-awesome-sass', '~> 4.3'
101
97
  ```
102
98
 
103
- and run the `bundle` command. `font-awesome-sass` is not a dependency of WiceGrid in case you decide to style WiceGrid icons differently.
99
+ Note: `font-awesome-sass` is not a dependency of WiceGrid in case you decide to style WiceGrid icons differently.
104
100
 
105
101
  Run the generator:
106
102
 
@@ -109,7 +105,7 @@ rails g wice_grid:install
109
105
  ```
110
106
 
111
107
  This adds the following file:
112
- * config/initializers/wice_grid_config.rb
108
+ * `config/initializers/wice_grid_config.rb`
113
109
 
114
110
 
115
111
  Require WiceGrid javascript in your js index file:
@@ -550,37 +546,71 @@ The name can only contain alphanumeric characters.
550
546
  It is possible to change the way results are ordered injecting a chunk of SQL code, for example, use
551
547
  `ORDER BY INET_ATON(ip_address)` instead of `ORDER BY ip_address`.
552
548
 
553
- To do so, provide parameter `:custom_order` in the initialization of the grid with a hash where
554
- keys are fully qualified names of database columns, and values the required chunks of SQL to use in the
555
- `ORDER BY` clause.
549
+ To do so, provide parameter `:custom_order` in the initialization of the grid with a `Hash` where
550
+ keys are fully qualified names of database columns, and values are anything that can be passed to ActiveRecord's
551
+ `order` method (without specifying `ASC` or `DESC`.)
556
552
 
557
- For example:
553
+ #### String
554
+
555
+ Starting in Rails 5.2, you may need to whitelist `String` values with `Arel.sql`
556
+ to avoid a warning or error.
558
557
 
559
558
  ```ruby
560
559
  @hosts_grid = initialize_grid(Host,
561
560
  custom_order: {
562
- 'hosts.ip_address' => 'INET_ATON(hosts.ip_address)'
561
+ 'hosts.ip_address' => Arel.sql('INET_ATON(hosts.ip_address)')
563
562
  })
564
563
  ```
565
564
 
566
- It is possible to use the '?' character instead of the name of the column in the hash value:
565
+ It is possible to use `?` instead of the name of the column in the `Hash` value:
567
566
 
568
567
  ```ruby
569
568
  @hosts_grid = initialize_grid(Host,
570
569
  custom_order: {
571
- 'hosts.ip_address' => 'INET_ATON( ? )'
570
+ 'hosts.ip_address' => Arel.sql('INET_ATON( ? )')
572
571
  })
573
572
  ```
574
573
 
575
- Values can also be Proc objects. The parameter supplied to such a Proc object is the name of the column:
574
+ #### Arel::Attributes::Attribute
575
+
576
+ Assuming you wish to display `hosts.ip_address` but sort by another column named `hosts.ip_address_number`:
576
577
 
577
578
  ```ruby
578
579
  @hosts_grid = initialize_grid(Host,
579
580
  custom_order: {
580
- 'hosts.ip_address' => lambda{|f| "INET_ATON( #{f} )"}
581
+ 'hosts.ip_address' => Arel::Table.new(:hosts)[:ip_address_number]
581
582
  })
582
583
  ```
583
584
 
585
+ #### Proc
586
+
587
+ You can use a `Proc` to return a `String` or `Arel::Attributes::Attribute` as above.
588
+
589
+ ```ruby
590
+ @hosts_grid = initialize_grid(Host,
591
+ custom_order: {
592
+ 'hosts.ip_address' => lambda{|f| Arel.sql(request[:numeric_sorting] ? "INET_ATON( #{f} )" : f) }
593
+ })
594
+ ```
595
+
596
+ ### Custom Sorting
597
+
598
+ While `:custom_order` lets you define SQL that determines the results order, you may want to sort the result by arbritrary Ruby code. The `:sort_by` option on columns lets you define a `Proc` that determines the sorting on that column. This `Proc` is passed to Ruby's `Enumerable#sort_by`.
599
+
600
+ ```ruby
601
+ grid.column name: 'Status Name', attribute: 'name', sort_by: ->(status) { [status.number_of_vowels, status] }
602
+ ```
603
+
604
+ You can also use `:sort_by` to add sorting on values that are not columns in the database. In this case, you must also define an arbitrary `:attribute` option that serves as the request's sort key parameter.
605
+
606
+ ```ruby
607
+ grid.column name: 'Task Count', attribute: 'task_count', sort_by: ->(status) { status.tasks.count } do |status|
608
+ status.tasks.count
609
+ end
610
+ ```
611
+
612
+ Note that `sort_by` will load all records into memory to sort them (even the ones not on the current page), so it may not be appropriate for use with a large number of results.
613
+
584
614
  ## Filters
585
615
 
586
616
  Each column filter type is supported by a `column processor`. Each `column processor` is
@@ -1512,7 +1542,20 @@ def index
1512
1542
  end
1513
1543
  ```
1514
1544
 
1545
+ ## Testing
1546
+
1547
+ To run tests:
1548
+
1549
+ 1. `git clone https://github.com/patricklindsay/wice_grid.git`
1550
+ 2. `cd wice_grid`
1551
+ 3. `bundle`
1552
+ 4. Install phantomjs (e.g. `brew install phantomjs` or `apt-get install phantomjs` or something else)
1553
+ 5. `bundle exec appraisal rspec`
1554
+
1555
+ Tests against Rails 5.0, 5.1 & 5.2. To test against a specific version, for example Rails 5.2 run `bundle exec appraisal rails-5.2 rspec`
1556
+
1557
+ This repository contains a Rails application for testing purposes. To fire up this application manually, run `cd spec/support/test_app/bin; RAILS_ENV=test rails s`.
1558
+
1515
1559
  ## Bug reports
1516
1560
 
1517
- The author of the plugin welcomes any contribution.
1518
- Please follow [these guidelines](https://github.com/leikind/wice_grid/wiki/How-to-submit-a-bug-report-or-a-question) when submitting a bug report.
1561
+ If you discover a problem with Wicegrid, we would love to know about it. Please use the [GitHub issue tracker](https://github.com/patricklindsay/wice_grid/issues)
@@ -1,9 +1,9 @@
1
1
  ja:
2
2
  date:
3
3
  order:
4
- - :年
5
- - :月
6
- - :日
4
+ - ":年"
5
+ - ":月"
6
+ - ":日"
7
7
  wice_grid:
8
8
  show_filter_tooltip: フィルタ表示
9
9
  hide_filter_tooltip: フィルタ非表示
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 5.0.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,291 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ wice_grid (4.0.1)
5
+ coffee-rails (> 3.2)
6
+ kaminari (~> 0.16)
7
+ rails (~> 5.0, < 5.3)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actioncable (5.0.7)
13
+ actionpack (= 5.0.7)
14
+ nio4r (>= 1.2, < 3.0)
15
+ websocket-driver (~> 0.6.1)
16
+ actionmailer (5.0.7)
17
+ actionpack (= 5.0.7)
18
+ actionview (= 5.0.7)
19
+ activejob (= 5.0.7)
20
+ mail (~> 2.5, >= 2.5.4)
21
+ rails-dom-testing (~> 2.0)
22
+ actionpack (5.0.7)
23
+ actionview (= 5.0.7)
24
+ activesupport (= 5.0.7)
25
+ rack (~> 2.0)
26
+ rack-test (~> 0.6.3)
27
+ rails-dom-testing (~> 2.0)
28
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
+ actionview (5.0.7)
30
+ activesupport (= 5.0.7)
31
+ builder (~> 3.1)
32
+ erubis (~> 2.7.0)
33
+ rails-dom-testing (~> 2.0)
34
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
35
+ activejob (5.0.7)
36
+ activesupport (= 5.0.7)
37
+ globalid (>= 0.3.6)
38
+ activemodel (5.0.7)
39
+ activesupport (= 5.0.7)
40
+ activerecord (5.0.7)
41
+ activemodel (= 5.0.7)
42
+ activesupport (= 5.0.7)
43
+ arel (~> 7.0)
44
+ activesupport (5.0.7)
45
+ concurrent-ruby (~> 1.0, >= 1.0.2)
46
+ i18n (>= 0.7, < 2)
47
+ minitest (~> 5.1)
48
+ tzinfo (~> 1.1)
49
+ addressable (2.5.2)
50
+ public_suffix (>= 2.0.2, < 4.0)
51
+ appraisal (2.2.0)
52
+ bundler
53
+ rake
54
+ thor (>= 0.14.0)
55
+ arel (7.1.4)
56
+ bootstrap-sass (3.1.1.1)
57
+ sass (~> 3.2)
58
+ builder (3.2.3)
59
+ byebug (10.0.2)
60
+ capybara (2.2.1)
61
+ mime-types (>= 1.16)
62
+ nokogiri (>= 1.3.3)
63
+ rack (>= 1.0.0)
64
+ rack-test (>= 0.5.4)
65
+ xpath (~> 2.0)
66
+ capybara-screenshot (1.0.21)
67
+ capybara (>= 1.0, < 4)
68
+ launchy
69
+ childprocess (0.9.0)
70
+ ffi (~> 1.0, >= 1.0.11)
71
+ cliver (0.3.2)
72
+ coderay (1.1.2)
73
+ coffee-rails (4.2.2)
74
+ coffee-script (>= 2.2.0)
75
+ railties (>= 4.0.0)
76
+ coffee-script (2.4.1)
77
+ coffee-script-source
78
+ execjs
79
+ coffee-script-source (1.12.2)
80
+ concurrent-ruby (1.0.5)
81
+ crass (1.0.4)
82
+ diff-lcs (1.3)
83
+ docile (1.1.5)
84
+ erubis (2.7.0)
85
+ execjs (2.7.0)
86
+ faker (1.8.7)
87
+ i18n (>= 0.7)
88
+ ffi (1.9.25)
89
+ font-awesome-sass (4.4.0)
90
+ sass (>= 3.2)
91
+ globalid (0.4.1)
92
+ activesupport (>= 4.2.0)
93
+ haml (5.0.4)
94
+ temple (>= 0.8.0)
95
+ tilt
96
+ httparty (0.16.2)
97
+ multi_xml (>= 0.5.2)
98
+ i18n (1.0.1)
99
+ concurrent-ruby (~> 1.0)
100
+ inch (0.6.4)
101
+ pry
102
+ sparkr (>= 0.2.0)
103
+ term-ansicolor
104
+ yard (~> 0.8.7.5)
105
+ jquery-rails (4.3.3)
106
+ rails-dom-testing (>= 1, < 3)
107
+ railties (>= 4.2.0)
108
+ thor (>= 0.14, < 2.0)
109
+ jquery-ui-rails (5.0.5)
110
+ railties (>= 3.2.16)
111
+ jquery-ui-themes (0.0.12)
112
+ httparty
113
+ json (1.8.6)
114
+ kaminari (0.17.0)
115
+ actionpack (>= 3.0.0)
116
+ activesupport (>= 3.0.0)
117
+ launchy (2.4.3)
118
+ addressable (~> 2.3)
119
+ libv8 (3.16.14.19)
120
+ loofah (2.2.2)
121
+ crass (~> 1.0.2)
122
+ nokogiri (>= 1.5.9)
123
+ mail (2.7.0)
124
+ mini_mime (>= 0.1.1)
125
+ method_source (0.9.0)
126
+ mime-types (3.1)
127
+ mime-types-data (~> 3.2015)
128
+ mime-types-data (3.2016.0521)
129
+ mini_mime (1.0.0)
130
+ mini_portile2 (2.3.0)
131
+ minitest (5.11.3)
132
+ multi_json (1.13.1)
133
+ multi_xml (0.6.0)
134
+ nio4r (2.3.1)
135
+ nokogiri (1.8.2)
136
+ mini_portile2 (~> 2.3.0)
137
+ poltergeist (1.9.0)
138
+ capybara (~> 2.1)
139
+ cliver (~> 0.3.1)
140
+ multi_json (~> 1.0)
141
+ websocket-driver (>= 0.2.0)
142
+ pry (0.11.3)
143
+ coderay (~> 1.1.0)
144
+ method_source (~> 0.9.0)
145
+ public_suffix (3.0.2)
146
+ rack (2.0.5)
147
+ rack-test (0.6.3)
148
+ rack (>= 1.0)
149
+ rails (5.0.7)
150
+ actioncable (= 5.0.7)
151
+ actionmailer (= 5.0.7)
152
+ actionpack (= 5.0.7)
153
+ actionview (= 5.0.7)
154
+ activejob (= 5.0.7)
155
+ activemodel (= 5.0.7)
156
+ activerecord (= 5.0.7)
157
+ activesupport (= 5.0.7)
158
+ bundler (>= 1.3.0)
159
+ railties (= 5.0.7)
160
+ sprockets-rails (>= 2.0.0)
161
+ rails-dom-testing (2.0.3)
162
+ activesupport (>= 4.2.0)
163
+ nokogiri (>= 1.6)
164
+ rails-html-sanitizer (1.0.4)
165
+ loofah (~> 2.2, >= 2.2.2)
166
+ railties (5.0.7)
167
+ actionpack (= 5.0.7)
168
+ activesupport (= 5.0.7)
169
+ method_source
170
+ rake (>= 0.8.7)
171
+ thor (>= 0.18.1, < 2.0)
172
+ rake (10.5.0)
173
+ rb-fsevent (0.10.3)
174
+ rb-inotify (0.9.10)
175
+ ffi (>= 0.5.0, < 2)
176
+ rdoc (4.2.2)
177
+ json (~> 1.4)
178
+ ref (2.0.0)
179
+ rspec (3.6.0)
180
+ rspec-core (~> 3.6.0)
181
+ rspec-expectations (~> 3.6.0)
182
+ rspec-mocks (~> 3.6.0)
183
+ rspec-core (3.6.0)
184
+ rspec-support (~> 3.6.0)
185
+ rspec-expectations (3.6.0)
186
+ diff-lcs (>= 1.2.0, < 2.0)
187
+ rspec-support (~> 3.6.0)
188
+ rspec-mocks (3.6.0)
189
+ diff-lcs (>= 1.2.0, < 2.0)
190
+ rspec-support (~> 3.6.0)
191
+ rspec-rails (3.6.1)
192
+ actionpack (>= 3.0)
193
+ activesupport (>= 3.0)
194
+ railties (>= 3.0)
195
+ rspec-core (~> 3.6.0)
196
+ rspec-expectations (~> 3.6.0)
197
+ rspec-mocks (~> 3.6.0)
198
+ rspec-support (~> 3.6.0)
199
+ rspec-support (3.6.0)
200
+ rubyzip (1.2.1)
201
+ sass (3.5.6)
202
+ sass-listen (~> 4.0.0)
203
+ sass-listen (4.0.0)
204
+ rb-fsevent (~> 0.9, >= 0.9.4)
205
+ rb-inotify (~> 0.9, >= 0.9.7)
206
+ sass-rails (5.0.7)
207
+ railties (>= 4.0.0, < 6)
208
+ sass (~> 3.1)
209
+ sprockets (>= 2.8, < 4.0)
210
+ sprockets-rails (>= 2.0, < 4.0)
211
+ tilt (>= 1.1, < 3)
212
+ selenium-webdriver (2.51.0)
213
+ childprocess (~> 0.5)
214
+ multi_json (~> 1.0)
215
+ rubyzip (~> 1.0)
216
+ websocket (~> 1.0)
217
+ shoulda-matchers (2.8.0)
218
+ activesupport (>= 3.0.0)
219
+ simplecov (0.14.1)
220
+ docile (~> 1.1.0)
221
+ json (>= 1.8, < 3)
222
+ simplecov-html (~> 0.10.0)
223
+ simplecov-html (0.10.2)
224
+ sparkr (0.4.1)
225
+ sprockets (3.7.1)
226
+ concurrent-ruby (~> 1.0)
227
+ rack (> 1, < 3)
228
+ sprockets-rails (3.2.1)
229
+ actionpack (>= 4.0)
230
+ activesupport (>= 4.0)
231
+ sprockets (>= 3.0.0)
232
+ sqlite3 (1.3.13)
233
+ temple (0.8.0)
234
+ term-ansicolor (1.6.0)
235
+ tins (~> 1.0)
236
+ therubyracer (0.12.3)
237
+ libv8 (~> 3.16.14.15)
238
+ ref
239
+ thor (0.19.4)
240
+ thread_safe (0.3.6)
241
+ tilt (2.0.8)
242
+ tins (1.16.3)
243
+ turbolinks (5.1.1)
244
+ turbolinks-source (~> 5.1)
245
+ turbolinks-source (5.1.0)
246
+ tzinfo (1.2.5)
247
+ thread_safe (~> 0.1)
248
+ websocket (1.2.8)
249
+ websocket-driver (0.6.5)
250
+ websocket-extensions (>= 0.1.0)
251
+ websocket-extensions (0.1.3)
252
+ xpath (2.1.0)
253
+ nokogiri (~> 1.3)
254
+ yard (0.8.7.6)
255
+
256
+ PLATFORMS
257
+ ruby
258
+
259
+ DEPENDENCIES
260
+ appraisal
261
+ bootstrap-sass (= 3.1.1.1)
262
+ bundler (~> 1.3)
263
+ byebug
264
+ capybara (~> 2.2.0)
265
+ capybara-screenshot (~> 1.0.11)
266
+ coderay (~> 1.1.0)
267
+ faker (~> 1.8.7)
268
+ font-awesome-sass (= 4.4.0)
269
+ haml (~> 5.0.4)
270
+ inch (~> 0.6.4)
271
+ jquery-rails (~> 4.3.3)
272
+ jquery-ui-rails (~> 5.0.5)
273
+ jquery-ui-themes (~> 0.0.11)
274
+ poltergeist (~> 1.9.0)
275
+ rails (~> 5.0.0)
276
+ rake (~> 10.1)
277
+ rdoc (~> 4.2.0)
278
+ rspec (~> 3.6.0)
279
+ rspec-rails (~> 3.6.0)
280
+ sass-rails (>= 3.2)
281
+ selenium-webdriver (~> 2.51.0)
282
+ shoulda-matchers (= 2.8.0)
283
+ simplecov (~> 0.7)
284
+ sqlite3 (~> 1.3)
285
+ therubyracer
286
+ turbolinks (~> 5.1.1)
287
+ wice_grid!
288
+ yard (~> 0.8)
289
+
290
+ BUNDLED WITH
291
+ 1.16.2