activeadmin_addons 1.7.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (645) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/Rakefile +29 -1
  4. data/app/assets/javascripts/activeadmin_addons/all.js +752 -13
  5. data/app/assets/stylesheets/activeadmin_addons/all.scss +3 -2
  6. data/app/assets/stylesheets/activeadmin_addons/imports/jquery-datepicker.scss +568 -0
  7. data/app/assets/stylesheets/activeadmin_addons/inputs/date-time-picker-filter.scss +11 -0
  8. data/{vendor/assets/jquery_palette_color_picker → app/assets/stylesheets/activeadmin_addons/vendor}/palette-color-picker.scss +0 -0
  9. data/app/inputs/active_admin/inputs/select_input.rb +15 -0
  10. data/app/inputs/date_range_input.rb +11 -0
  11. data/app/inputs/date_time_picker_filter_input.rb +26 -0
  12. data/app/inputs/date_time_picker_input.rb +3 -3
  13. data/app/inputs/nested_level_input.rb +1 -0
  14. data/app/inputs/nested_select_input.rb +13 -3
  15. data/app/{assets/javascripts → javascript}/activeadmin_addons/addons/interactive_select_tag.js +1 -0
  16. data/app/{assets/javascripts → javascript}/activeadmin_addons/addons/toggle_bool.js +0 -0
  17. data/app/javascript/activeadmin_addons/all.js +14 -0
  18. data/app/{assets/javascripts → javascript}/activeadmin_addons/config.js +1 -1
  19. data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/color-picker.js +0 -0
  20. data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/date-time-picker.js +0 -0
  21. data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/nested-select.js +6 -0
  22. data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/search-select.js +0 -0
  23. data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/select2.js +1 -1
  24. data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/selected-list.js +0 -0
  25. data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/tags.js +0 -0
  26. data/{vendor/assets → app/javascript/activeadmin_addons/vendor}/jquery_palette_color_picker/palette-color-picker.js +0 -0
  27. data/lib/activeadmin_addons/active_admin_config.rb +1 -0
  28. data/lib/activeadmin_addons/addons/tag_builder.rb +1 -1
  29. data/lib/activeadmin_addons/addons/toggle_bool_builder.rb +4 -1
  30. data/lib/activeadmin_addons/engine.rb +2 -11
  31. data/lib/activeadmin_addons/support/custom_builder.rb +21 -1
  32. data/lib/activeadmin_addons/support/input_base.rb +8 -1
  33. data/lib/activeadmin_addons/support/input_helpers/filter_input.rb +2 -0
  34. data/lib/activeadmin_addons/support/input_helpers/filter_input_methods.rb +2 -0
  35. data/lib/activeadmin_addons/support/input_helpers/input_html_helpers.rb +1 -0
  36. data/lib/activeadmin_addons/support/input_helpers/input_methods.rb +9 -1
  37. data/lib/activeadmin_addons/support/input_helpers/input_options_handler.rb +5 -1
  38. data/lib/activeadmin_addons/support/input_helpers/select_helpers.rb +11 -3
  39. data/lib/activeadmin_addons/support/set_datepicker.rb +11 -1
  40. data/lib/activeadmin_addons/version.rb +1 -1
  41. data/lib/generators/activeadmin_addons/assets/assets_generator.rb +53 -0
  42. data/lib/generators/activeadmin_addons/install/install_generator.rb +10 -41
  43. data/lib/generators/activeadmin_addons/webpacker/webpacker_generator.rb +35 -0
  44. data/vendor/assets/select2/select2.css +481 -0
  45. data/vendor/assets/select2/select2.full.js +6820 -0
  46. metadata +98 -653
  47. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/CHANGELOG.md +0 -298
  48. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/CODE_OF_CONDUCT.md +0 -40
  49. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/CONTRIBUTING.md +0 -203
  50. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/Gemfile +0 -52
  51. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/LICENSE +0 -20
  52. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/README.md +0 -82
  53. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/Rakefile +0 -55
  54. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/activeadmin.gemspec +0 -64
  55. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/images/active_admin/nested_menu_arrow.gif +0 -0
  56. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/images/active_admin/nested_menu_arrow_dark.gif +0 -0
  57. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/images/active_admin/orderable.png +0 -0
  58. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/base.es6 +0 -23
  59. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/ext/jquery-ui.es6 +0 -7
  60. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/ext/jquery.es6 +0 -9
  61. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/initializers/datepicker.es6 +0 -16
  62. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/initializers/filters.es6 +0 -45
  63. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/initializers/tabs.es6 +0 -6
  64. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/active_admin.es6 +0 -41
  65. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/batch_actions.es6 +0 -55
  66. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/checkbox-toggler.es6 +0 -49
  67. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/dropdown-menu.es6 +0 -123
  68. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/has_many.es6 +0 -89
  69. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/modal_dialog.es6 +0 -61
  70. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/per_page.es6 +0 -47
  71. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/table-checkbox-toggler.es6 +0 -36
  72. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/_base.scss +0 -41
  73. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/_forms.scss +0 -338
  74. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/_header.scss +0 -156
  75. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/_mixins.scss +0 -1
  76. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/_typography.scss +0 -100
  77. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_batch_actions.scss +0 -6
  78. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_blank_slates.scss +0 -30
  79. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_breadcrumbs.scss +0 -20
  80. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_buttons.scss +0 -6
  81. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_columns.scss +0 -3
  82. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_comments.scss +0 -41
  83. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_date_picker.scss +0 -149
  84. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_dropdown_menu.scss +0 -152
  85. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_flash_messages.scss +0 -37
  86. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_grid.scss +0 -9
  87. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_index_list.scss +0 -12
  88. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_links.scss +0 -5
  89. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_modal_dialog.scss +0 -34
  90. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_pagination.scss +0 -55
  91. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_panels.scss +0 -6
  92. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_scopes.scss +0 -10
  93. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_status_tags.scss +0 -12
  94. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_table_tools.scss +0 -67
  95. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_tables.scss +0 -113
  96. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_tabs.scss +0 -65
  97. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_unsupported_browser.scss +0 -16
  98. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_all.scss +0 -8
  99. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_buttons.scss +0 -65
  100. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_gradients.scss +0 -28
  101. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_rounded.scss +0 -22
  102. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_sections.scss +0 -41
  103. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_shadows.scss +0 -15
  104. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_typography.scss +0 -3
  105. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_utilities.scss +0 -17
  106. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_variables.scss +0 -34
  107. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/pages/_logged_out.scss +0 -44
  108. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/print.scss +0 -287
  109. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/structure/_footer.scss +0 -14
  110. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/structure/_main_structure.scss +0 -29
  111. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/structure/_title_bar.scss +0 -41
  112. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/confirmations/new.html.erb +0 -15
  113. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/mailer/reset_password_instructions.html.erb +0 -8
  114. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/mailer/unlock_instructions.html.erb +0 -7
  115. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/passwords/edit.html.erb +0 -18
  116. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/passwords/new.html.erb +0 -15
  117. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/registrations/new.html.erb +0 -22
  118. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/sessions/new.html.erb +0 -20
  119. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/shared/_links.erb +0 -33
  120. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/unlocks/new.html.erb +0 -15
  121. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/page/index.html.arb +0 -1
  122. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/resource/edit.html.arb +0 -1
  123. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/resource/index.html.arb +0 -1
  124. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/resource/new.html.arb +0 -1
  125. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/resource/show.html.arb +0 -1
  126. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_first_page.html.erb +0 -11
  127. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_gap.html.erb +0 -8
  128. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_last_page.html.erb +0 -11
  129. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_next_page.html.erb +0 -11
  130. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_page.html.erb +0 -12
  131. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_paginator.html.erb +0 -25
  132. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_prev_page.html.erb +0 -11
  133. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/layouts/active_admin.html.arb +0 -1
  134. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/layouts/active_admin_logged_out.html.erb +0 -39
  135. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/codecov.yml +0 -25
  136. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/i18n-tasks.yml +0 -26
  137. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/ar.yml +0 -134
  138. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/bg.yml +0 -119
  139. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/bs.yml +0 -120
  140. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/ca.yml +0 -105
  141. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/cs.yml +0 -108
  142. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/da.yml +0 -136
  143. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/de-CH.yml +0 -100
  144. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/de.yml +0 -133
  145. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/el.yml +0 -125
  146. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/en-CA.yml +0 -138
  147. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/en-GB.yml +0 -138
  148. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/en.yml +0 -143
  149. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/eo.yml +0 -144
  150. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/es-MX.yml +0 -95
  151. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/es.yml +0 -142
  152. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/fa.yml +0 -118
  153. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/fi.yml +0 -111
  154. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/fr.yml +0 -140
  155. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/he.yml +0 -141
  156. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/hr.yml +0 -122
  157. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/hu.yml +0 -97
  158. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/id.yml +0 -134
  159. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/it.yml +0 -139
  160. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/ja.yml +0 -140
  161. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/ko.yml +0 -119
  162. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/lt.yml +0 -141
  163. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/lv.yml +0 -91
  164. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/nb.yml +0 -119
  165. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/nl.yml +0 -132
  166. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/pl.yml +0 -99
  167. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/pt-BR.yml +0 -142
  168. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/pt-PT.yml +0 -91
  169. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/ro.yml +0 -95
  170. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/ru.yml +0 -138
  171. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/sk.yml +0 -108
  172. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/sv-SE.yml +0 -134
  173. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/tr.yml +0 -143
  174. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/uk.yml +0 -135
  175. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/vi.yml +0 -133
  176. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/zh-CN.yml +0 -142
  177. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/zh-TW.yml +0 -134
  178. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/mdl_style.rb +0 -11
  179. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/cucumber.yml +0 -2
  180. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/0-installation.md +0 -118
  181. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/1-general-configuration.md +0 -189
  182. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/10-custom-pages.md +0 -136
  183. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/11-decorators.md +0 -59
  184. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/12-arbre-components.md +0 -201
  185. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/13-authorization-adapter.md +0 -266
  186. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/14-gotchas.md +0 -138
  187. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/2-resource-customization.md +0 -466
  188. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/3-index-pages/custom-index.md +0 -35
  189. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/3-index-pages/index-as-block.md +0 -19
  190. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/3-index-pages/index-as-blog.md +0 -69
  191. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/3-index-pages/index-as-grid.md +0 -27
  192. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/3-index-pages/index-as-table.md +0 -229
  193. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/3-index-pages.md +0 -311
  194. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/4-csv-format.md +0 -74
  195. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/5-forms.md +0 -218
  196. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/6-show-pages.md +0 -81
  197. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/7-sidebars.md +0 -75
  198. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/8-custom-actions.md +0 -166
  199. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/9-batch-actions.md +0 -237
  200. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/CNAME +0 -1
  201. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/Gemfile +0 -2
  202. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/README.md +0 -24
  203. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_config.yml +0 -2
  204. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_includes/footer.html +0 -8
  205. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_includes/google-analytics.html +0 -16
  206. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_includes/head.html +0 -7
  207. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_includes/toc.html +0 -98
  208. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_includes/top-menu.html +0 -9
  209. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_layouts/default.html +0 -21
  210. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/documentation.md +0 -60
  211. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/images/activeadmin.png +0 -0
  212. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/images/code-header.png +0 -0
  213. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/images/divider.png +0 -0
  214. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/images/features.png +0 -0
  215. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/index.html +0 -125
  216. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/stylesheets/main.css +0 -1152
  217. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/action_item.feature +0 -73
  218. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/authorization.feature +0 -65
  219. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/authorization_cancan.feature +0 -53
  220. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/authorization_pundit.feature +0 -38
  221. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/belongs_to.feature +0 -124
  222. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/breadcrumb.feature +0 -75
  223. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/comments/commenting.feature +0 -178
  224. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/comments/viewing_index.feature +0 -19
  225. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/create_another.feature +0 -55
  226. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/dashboard.feature +0 -16
  227. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/decorators.feature +0 -43
  228. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/development_reloading.feature +0 -28
  229. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/edit_page.feature +0 -116
  230. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/favicon.feature +0 -20
  231. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/first_boot.feature +0 -16
  232. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/footer.feature +0 -28
  233. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/global_navigation.feature +0 -29
  234. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/i18n.feature +0 -55
  235. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/batch_actions.feature +0 -224
  236. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/filters.feature +0 -250
  237. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/format_as_csv.feature +0 -220
  238. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/formats.feature +0 -88
  239. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_block.feature +0 -15
  240. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_blog.feature +0 -69
  241. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_grid.feature +0 -45
  242. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_table.feature +0 -291
  243. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_blank_slate.feature +0 -83
  244. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_parameters.feature +0 -75
  245. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_scope_to.feature +0 -56
  246. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_scopes.feature +0 -285
  247. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/page_title.feature +0 -41
  248. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/pagination.feature +0 -63
  249. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/switch_index_view.feature +0 -73
  250. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/menu.feature +0 -72
  251. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/meta_tags.feature +0 -21
  252. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/new_page.feature +0 -136
  253. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/registering_assets.feature +0 -38
  254. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/registering_pages.feature +0 -237
  255. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/registering_resources.feature +0 -33
  256. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/renamed_resource.feature +0 -30
  257. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/root_to.feature +0 -17
  258. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/show/attributes_table_title.feature +0 -54
  259. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/show/columns.feature +0 -40
  260. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/show/default_content.feature +0 -44
  261. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/show/page_title.feature +0 -58
  262. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/show/tabs.feature +0 -32
  263. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/sidebar_sections.feature +0 -210
  264. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/site_title.feature +0 -47
  265. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/specifying_actions.feature +0 -118
  266. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/action_item_steps.rb +0 -7
  267. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/action_link_steps.rb +0 -19
  268. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/additional_web_steps.rb +0 -74
  269. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/asset_steps.rb +0 -15
  270. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/attribute_steps.rb +0 -18
  271. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/attributes_table_title_steps.rb +0 -11
  272. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/batch_action_steps.rb +0 -68
  273. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/blog_steps.rb +0 -3
  274. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/breadcrumb_steps.rb +0 -3
  275. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/column_steps.rb +0 -8
  276. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/comment_steps.rb +0 -32
  277. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/configuration_steps.rb +0 -100
  278. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/dashboard_steps.rb +0 -15
  279. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/factory_steps.rb +0 -35
  280. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/filter_steps.rb +0 -47
  281. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/flash_steps.rb +0 -11
  282. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/footer_steps.rb +0 -11
  283. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/format_steps.rb +0 -56
  284. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/i18n_steps.rb +0 -11
  285. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/index_scope_steps.rb +0 -29
  286. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/index_views_steps.rb +0 -3
  287. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/layout_steps.rb +0 -3
  288. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/member_link_steps.rb +0 -7
  289. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/menu_steps.rb +0 -11
  290. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/meta_tag_steps.rb +0 -3
  291. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/pagination_steps.rb +0 -15
  292. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/sidebar_steps.rb +0 -11
  293. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/site_title_steps.rb +0 -17
  294. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/tab_steps.rb +0 -8
  295. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/table_steps.rb +0 -116
  296. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/user_steps.rb +0 -51
  297. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/web_steps.rb +0 -90
  298. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/sti_resource.feature +0 -65
  299. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/strong_parameters.feature +0 -69
  300. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/support/env.rb +0 -122
  301. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/support/paths.rb +0 -73
  302. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/support/regular_env.rb +0 -7
  303. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/support/reload_env.rb +0 -7
  304. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/support/selectors.rb +0 -45
  305. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/users/logging_in.feature +0 -36
  306. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/users/logging_out.feature +0 -13
  307. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/users/resetting_password.feature +0 -34
  308. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/gemfiles/rails_42.gemfile +0 -10
  309. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/gemfiles/rails_50.gemfile +0 -10
  310. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/gemfiles/rails_51.gemfile +0 -10
  311. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/abstract_view_factory.rb +0 -47
  312. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/application.rb +0 -235
  313. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/application_settings.rb +0 -39
  314. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/asset_registration.rb +0 -37
  315. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/authorization_adapter.rb +0 -129
  316. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/base_controller/authorization.rb +0 -128
  317. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/base_controller/menu.rb +0 -34
  318. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/base_controller.rb +0 -81
  319. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/batch_actions/controller.rb +0 -40
  320. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/batch_actions/resource_extension.rb +0 -151
  321. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/batch_actions/views/batch_action_form.rb +0 -38
  322. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/batch_actions/views/batch_action_selector.rb +0 -58
  323. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/batch_actions/views/selection_cells.rb +0 -38
  324. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/batch_actions.rb +0 -16
  325. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/callbacks.rb +0 -88
  326. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/cancan_adapter.rb +0 -36
  327. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/component.rb +0 -5
  328. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/controller_action.rb +0 -12
  329. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/csv_builder.rb +0 -131
  330. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/dependency.rb +0 -164
  331. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/deprecation.rb +0 -10
  332. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/devise.rb +0 -80
  333. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/dsl.rb +0 -160
  334. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/dynamic_setting.rb +0 -38
  335. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/dynamic_settings_node.rb +0 -28
  336. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/engine.rb +0 -21
  337. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/error.rb +0 -62
  338. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/active.rb +0 -29
  339. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/active_filter.rb +0 -123
  340. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/active_sidebar.rb +0 -50
  341. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/dsl.rb +0 -21
  342. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/forms.rb +0 -82
  343. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/formtastic_addons.rb +0 -79
  344. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/resource_extension.rb +0 -155
  345. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters.rb +0 -11
  346. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/form_builder.rb +0 -182
  347. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/generators/boilerplate.rb +0 -45
  348. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/helpers/collection.rb +0 -19
  349. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/helpers/i18n.rb +0 -7
  350. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/helpers/optional_display.rb +0 -38
  351. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/helpers/output_safety_helper.rb +0 -35
  352. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/helpers/routes/url_helpers.rb +0 -15
  353. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/helpers/scope_chain.rb +0 -24
  354. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/datepicker_input.rb +0 -20
  355. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/base/search_method_select.rb +0 -75
  356. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/base.rb +0 -44
  357. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/boolean_input.rb +0 -24
  358. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/check_boxes_input.rb +0 -50
  359. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/date_picker_input.rb +0 -13
  360. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/date_range_input.rb +0 -49
  361. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/numeric_input.rb +0 -12
  362. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/select_input.rb +0 -58
  363. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/string_input.rb +0 -26
  364. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/text_input.rb +0 -25
  365. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs.rb +0 -21
  366. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/localizers/resource_localizer.rb +0 -35
  367. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/localizers.rb +0 -11
  368. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/menu.rb +0 -102
  369. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/menu_collection.rb +0 -91
  370. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/menu_item.rb +0 -69
  371. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/namespace.rb +0 -266
  372. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/namespace_settings.rb +0 -107
  373. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/order_clause.rb +0 -48
  374. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record/comments/comment.rb +0 -31
  375. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record/comments/namespace_helper.rb +0 -14
  376. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record/comments/resource_helper.rb +0 -17
  377. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record/comments/show_page_helper.rb +0 -23
  378. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +0 -95
  379. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record/comments/views.rb +0 -2
  380. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record/comments.rb +0 -90
  381. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record.rb +0 -5
  382. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/mongoid.rb +0 -1
  383. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/page.rb +0 -111
  384. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/page_controller.rb +0 -29
  385. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/page_dsl.rb +0 -32
  386. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/page_presenter.rb +0 -32
  387. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/pundit_adapter.rb +0 -68
  388. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/reloader.rb +0 -25
  389. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/action_items.rb +0 -115
  390. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/attributes.rb +0 -44
  391. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/belongs_to.rb +0 -48
  392. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/controllers.rb +0 -19
  393. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/includes.rb +0 -12
  394. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/menu.rb +0 -67
  395. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/naming.rb +0 -62
  396. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/ordering.rb +0 -11
  397. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/page_presenters.rb +0 -82
  398. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/pagination.rb +0 -23
  399. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/routes.rb +0 -139
  400. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/scope_to.rb +0 -74
  401. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/scopes.rb +0 -52
  402. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/sidebars.rb +0 -28
  403. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource.rb +0 -206
  404. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_collection.rb +0 -72
  405. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/action_builder.rb +0 -31
  406. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/data_access.rb +0 -322
  407. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/decorators.rb +0 -102
  408. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/resource_class_methods.rb +0 -26
  409. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/scoping.rb +0 -31
  410. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/sidebars.rb +0 -18
  411. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/streaming.rb +0 -43
  412. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller.rb +0 -64
  413. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_dsl.rb +0 -224
  414. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/router.rb +0 -113
  415. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/scope.rb +0 -56
  416. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/settings_node.rb +0 -19
  417. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/sidebar_section.rb +0 -37
  418. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/version.rb +0 -3
  419. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_factory.rb +0 -27
  420. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/active_admin_application_helper.rb +0 -12
  421. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/auto_link_helper.rb +0 -45
  422. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/breadcrumb_helper.rb +0 -33
  423. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/display_helper.rb +0 -95
  424. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/download_format_links_helper.rb +0 -59
  425. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/fields_for.rb +0 -50
  426. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/flash_helper.rb +0 -14
  427. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/form_helper.rb +0 -20
  428. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/method_or_proc_helper.rb +0 -99
  429. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/scope_name_helper.rb +0 -16
  430. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/sidebar_helper.rb +0 -15
  431. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/title_helper.rb +0 -11
  432. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/view_factory_helper.rb +0 -11
  433. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers.rb +0 -20
  434. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/action_items.rb +0 -17
  435. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/active_admin_form.rb +0 -149
  436. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/attributes_table.rb +0 -94
  437. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/blank_slate.rb +0 -17
  438. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/columns.rb +0 -161
  439. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/dropdown_menu.rb +0 -71
  440. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/index_list.rb +0 -69
  441. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/menu.rb +0 -32
  442. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/menu_item.rb +0 -58
  443. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/paginated_collection.rb +0 -159
  444. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/panel.rb +0 -38
  445. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/scopes.rb +0 -65
  446. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/sidebar.rb +0 -13
  447. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/sidebar_section.rb +0 -37
  448. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/site_title.rb +0 -54
  449. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/status_tag.rb +0 -71
  450. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/table_for.rb +0 -218
  451. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/tabs.rb +0 -28
  452. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/unsupported_browser.rb +0 -11
  453. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/footer.rb +0 -30
  454. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/header.rb +0 -19
  455. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/index_as_block.rb +0 -36
  456. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/index_as_blog.rb +0 -155
  457. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/index_as_grid.rb +0 -80
  458. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/index_as_table.rb +0 -393
  459. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/pages/base.rb +0 -124
  460. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/pages/form.rb +0 -64
  461. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/pages/index.rb +0 -163
  462. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/pages/layout.rb +0 -26
  463. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/pages/page.rb +0 -30
  464. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/pages/show.rb +0 -65
  465. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/tabbed_navigation.rb +0 -11
  466. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/title_bar.rb +0 -55
  467. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views.rb +0 -8
  468. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin.rb +0 -133
  469. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/activeadmin.rb +0 -1
  470. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/bug_report_templates/active_admin_master.rb +0 -110
  471. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/assets/assets_generator.rb +0 -14
  472. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/assets/templates/active_admin.js +0 -1
  473. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/assets/templates/active_admin.scss +0 -17
  474. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/devise/devise_generator.rb +0 -68
  475. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/install/install_generator.rb +0 -49
  476. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/install/templates/active_admin.rb.erb +0 -293
  477. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/install/templates/admin_users.rb.erb +0 -28
  478. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/install/templates/dashboard.rb +0 -33
  479. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb.erb +0 -30
  480. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/page/USAGE +0 -8
  481. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/page/page_generator.rb +0 -12
  482. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/page/templates/page.rb +0 -5
  483. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/resource/resource_generator.rb +0 -20
  484. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/resource/templates/admin.rb.erb +0 -43
  485. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/ransack_ext.rb +0 -20
  486. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/bug_report_templates_spec.rb +0 -26
  487. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/coffeescripts/jquery.aa.checkbox-toggler-spec.js.coffee +0 -50
  488. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/coffeescripts/jquery.aa.table-checkbox-toggler-spec.js.coffee +0 -34
  489. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/fixtures/checkboxes.html +0 -9
  490. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/fixtures/table_checkboxes.html +0 -17
  491. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/helpers/SpecHelper.js +0 -3
  492. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/support/jasmine.yml +0 -74
  493. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/support/jasmine_runner.rb +0 -19
  494. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/rails_helper.rb +0 -59
  495. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/requests/default_namespace_spec.rb +0 -81
  496. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/requests/memory_spec.rb +0 -25
  497. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/requests/stylesheets_spec.rb +0 -18
  498. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/spec_helper.rb +0 -1
  499. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/active_admin_integration_spec_helper.rb +0 -73
  500. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/active_admin_request_helpers.rb +0 -39
  501. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/rails_template.rb +0 -151
  502. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/rails_template_with_data.rb +0 -327
  503. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/admin/stores.rb +0 -7
  504. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/en.yml +0 -8
  505. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/manifest.js +0 -3
  506. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/active_admin/comment_policy.rb +0 -9
  507. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/active_admin/page_policy.rb +0 -18
  508. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/admin_user_policy.rb +0 -11
  509. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/application_policy.rb +0 -44
  510. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/category_policy.rb +0 -7
  511. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/post_policy.rb +0 -15
  512. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/store_policy.rb +0 -11
  513. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/user_policy.rb +0 -11
  514. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/post_decorator.rb +0 -24
  515. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/abstract_view_factory_spec.rb +0 -78
  516. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/action_builder_spec.rb +0 -158
  517. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/active_admin_spec.rb +0 -11
  518. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/application_spec.rb +0 -180
  519. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/asset_registration_spec.rb +0 -77
  520. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/authorization/authorization_adapter_spec.rb +0 -61
  521. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/authorization/controller_authorization_spec.rb +0 -43
  522. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/authorization/index_overriding_spec.rb +0 -23
  523. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/auto_link_spec.rb +0 -93
  524. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/batch_actions/resource_spec.rb +0 -84
  525. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/batch_actions/settings_spec.rb +0 -61
  526. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/belongs_to_spec.rb +0 -76
  527. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/cancan_adapter_spec.rb +0 -43
  528. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/comments_spec.rb +0 -176
  529. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/component_spec.rb +0 -18
  530. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/config_shared_examples.rb +0 -59
  531. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/controller_filters_spec.rb +0 -41
  532. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/csv_builder_spec.rb +0 -313
  533. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/dependency_spec.rb +0 -135
  534. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/devise_spec.rb +0 -110
  535. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/dsl_spec.rb +0 -104
  536. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/dynamic_settings_spec.rb +0 -28
  537. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/filters/active_filter_spec.rb +0 -189
  538. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/filters/active_spec.rb +0 -24
  539. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/filters/filter_form_builder_spec.rb +0 -524
  540. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/filters/resource_spec.rb +0 -128
  541. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/form_builder_spec.rb +0 -998
  542. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/generators/install_spec.rb +0 -31
  543. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/helpers/collection_spec.rb +0 -68
  544. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/helpers/output_safety_helper_spec.rb +0 -79
  545. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/helpers/scope_chain_spec.rb +0 -35
  546. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/i18n_spec.rb +0 -29
  547. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/localizers/resource_localizer_spec.rb +0 -36
  548. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/menu_collection_spec.rb +0 -62
  549. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/menu_item_spec.rb +0 -82
  550. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/menu_spec.rb +0 -60
  551. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/namespace/authorization_spec.rb +0 -27
  552. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/namespace/register_page_spec.rb +0 -99
  553. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/namespace/register_resource_spec.rb +0 -162
  554. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/namespace_spec.rb +0 -126
  555. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/order_clause_spec.rb +0 -81
  556. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/page_controller_spec.rb +0 -5
  557. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/page_spec.rb +0 -125
  558. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/pretty_format_spec.rb +0 -82
  559. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/pundit_adapter_spec.rb +0 -98
  560. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/action_items_spec.rb +0 -69
  561. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/attributes_spec.rb +0 -49
  562. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/includes_spec.rb +0 -21
  563. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/menu_spec.rb +0 -18
  564. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/naming_spec.rb +0 -120
  565. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/ordering_spec.rb +0 -35
  566. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/page_presenters_spec.rb +0 -44
  567. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/pagination_spec.rb +0 -38
  568. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/routes_spec.rb +0 -133
  569. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/scopes_spec.rb +0 -50
  570. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/sidebars_spec.rb +0 -43
  571. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_collection_spec.rb +0 -175
  572. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_controller/data_access_spec.rb +0 -234
  573. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_controller/decorators_spec.rb +0 -94
  574. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_controller/sidebars_spec.rb +0 -37
  575. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_controller_spec.rb +0 -286
  576. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_registration_spec.rb +0 -61
  577. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_spec.rb +0 -320
  578. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/routing_spec.rb +0 -211
  579. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/scope_spec.rb +0 -209
  580. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/settings_node_spec.rb +0 -26
  581. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_factory_spec.rb +0 -19
  582. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/breadcrumbs_spec.rb +0 -253
  583. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/display_helper_spec.rb +0 -203
  584. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/download_format_links_helper_spec.rb +0 -39
  585. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/fields_for_spec.rb +0 -50
  586. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/flash_helper_spec.rb +0 -24
  587. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/form_helper_spec.rb +0 -42
  588. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/method_or_proc_helper_spec.rb +0 -138
  589. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/attributes_table_spec.rb +0 -271
  590. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/batch_action_selector_spec.rb +0 -43
  591. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/blank_slate_spec.rb +0 -27
  592. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/columns_spec.rb +0 -187
  593. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/index_list_spec.rb +0 -49
  594. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/index_table_for_spec.rb +0 -127
  595. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/menu_item_spec.rb +0 -29
  596. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/menu_spec.rb +0 -168
  597. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/paginated_collection_spec.rb +0 -249
  598. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/panel_spec.rb +0 -58
  599. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/sidebar_section_spec.rb +0 -68
  600. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/sidebar_spec.rb +0 -24
  601. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/site_title_spec.rb +0 -82
  602. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/status_tag_spec.rb +0 -225
  603. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/table_for_spec.rb +0 -436
  604. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/tabs_spec.rb +0 -67
  605. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/unsupported_browser_spec.rb +0 -39
  606. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/index_as_blog_spec.rb +0 -76
  607. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/pages/base_spec.rb +0 -14
  608. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/pages/form_spec.rb +0 -54
  609. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/pages/index_spec.rb +0 -60
  610. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/pages/layout_spec.rb +0 -63
  611. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/pages/show_spec.rb +0 -32
  612. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/tasks/docs.rake +0 -64
  613. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/tasks/lint.rake +0 -15
  614. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/tasks/local.rake +0 -25
  615. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/tasks/parallel_tests.rake +0 -66
  616. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/tasks/test.rake +0 -24
  617. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/data.js +0 -41
  618. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/disable-selection.js +0 -48
  619. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/escape-selector.js +0 -23
  620. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/focusable.js +0 -86
  621. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/form-reset-mixin.js +0 -80
  622. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/form.js +0 -22
  623. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/ie.js +0 -17
  624. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/keycode.js +0 -47
  625. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/labels.js +0 -65
  626. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/plugin.js +0 -46
  627. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/position.js +0 -500
  628. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/safe-active-element.js +0 -42
  629. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/safe-blur.js +0 -23
  630. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/scroll-parent.js +0 -47
  631. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/tabbable.js +0 -38
  632. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/unique-id.js +0 -51
  633. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/version.js +0 -17
  634. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widget.js +0 -735
  635. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/button.js +0 -391
  636. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/checkboxradio.js +0 -291
  637. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/controlgroup.js +0 -300
  638. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/datepicker.js +0 -2123
  639. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/dialog.js +0 -954
  640. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/draggable.js +0 -1259
  641. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/mouse.js +0 -230
  642. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/resizable.js +0 -1207
  643. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/sortable.js +0 -1561
  644. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/tabs.js +0 -931
  645. data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/stylesheets/active_admin/_normalize.scss +0 -447
@@ -1,998 +0,0 @@
1
- require 'rails_helper'
2
- require "rspec/mocks/standalone"
3
-
4
- RSpec.describe ActiveAdmin::FormBuilder do
5
- # Setup an ActionView::Base object which can be used for
6
- # generating the form for.
7
- let(:helpers) do
8
- view = action_view
9
- def view.posts_path
10
- "/posts"
11
- end
12
-
13
- def view.protect_against_forgery?
14
- false
15
- end
16
-
17
- def view.url_for(*args)
18
- if args.first == {action: "index"}
19
- posts_path
20
- else
21
- super
22
- end
23
- end
24
-
25
- def view.a_helper_method
26
- "A Helper Method"
27
- end
28
-
29
- def view.fa_icon(*args)
30
- args.inspect
31
- end
32
-
33
- def view.action_name
34
- 'edit'
35
- end
36
-
37
- view
38
- end
39
-
40
- def form_html(options = {}, form_object = Post.new, &block)
41
- options = {url: helpers.posts_path}.merge(options)
42
-
43
- form = render_arbre_component({form_object: form_object, form_options: options, form_block: block}, helpers) do
44
- active_admin_form_for(assigns[:form_object], assigns[:form_options], &assigns[:form_block])
45
- end.to_s
46
- end
47
-
48
- def build_form(options = {}, form_object = Post.new, &block)
49
- form = form_html(options, form_object, &block)
50
- Capybara.string(form)
51
- end
52
-
53
- context "in general" do
54
- context "it without custom settings" do
55
- let :body do
56
- build_form do |f|
57
- f.inputs do
58
- f.input :title
59
- f.input :body
60
- end
61
- end
62
- end
63
-
64
- it "should generate a fieldset with a inputs class" do
65
- expect(body).to have_selector("fieldset.inputs")
66
- end
67
- end
68
-
69
- context "it with custom settings" do
70
- let :body do
71
- build_form do |f|
72
- f.inputs class: "custom_class", name: 'custom_name', custom_attr: 'custom_attr' do
73
- f.input :title
74
- f.input :body
75
- end
76
- end
77
- end
78
-
79
- it "should generate a fieldset with a inputs and custom class" do
80
- expect(body).to have_selector("fieldset.custom_class")
81
- end
82
-
83
- it "should generate a fieldset with a custom legend" do
84
- expect(body).to have_css("legend", text: 'custom_name')
85
- end
86
-
87
- it "should generate a fieldset with a custom attributes" do
88
- expect(body).to have_selector("fieldset[custom_attr='custom_attr']")
89
- end
90
- end
91
- end
92
-
93
- context "in general with actions" do
94
- let :body do
95
- build_form do |f|
96
- f.inputs do
97
- f.input :title
98
- f.input :body
99
- end
100
- f.actions do
101
- f.action :submit, label: "Submit Me"
102
- f.action :submit, label: "Another Button"
103
- end
104
- end
105
- end
106
-
107
- it "should generate a text input" do
108
- expect(body).to have_selector("input[type=text][name='post[title]']")
109
- end
110
- it "should generate a textarea" do
111
- expect(body).to have_selector("textarea[name='post[body]']")
112
- end
113
- it "should only generate the form once" do
114
- expect(body).to have_selector("form", count: 1)
115
- end
116
- it "should generate actions" do
117
- expect(body).to have_selector("input[type=submit][value='Submit Me']")
118
- expect(body).to have_selector("input[type=submit][value='Another Button']")
119
- end
120
- end
121
-
122
- context "when polymorphic relationship" do
123
- it "should raise error" do
124
- expect {
125
- comment = ActiveAdmin::Comment.new
126
- build_form({url: "admins/comments"}, comment) do |f|
127
- f.inputs :resource
128
- end
129
- }.to raise_error(Formtastic::PolymorphicInputWithoutCollectionError)
130
- end
131
- end
132
-
133
- describe "passing in options with actions" do
134
- let :body do
135
- build_form html: { multipart: true } do |f|
136
- f.inputs :title
137
- f.actions
138
- end
139
- end
140
- it "should pass the options on to the form" do
141
- expect(body).to have_selector("form[enctype='multipart/form-data']")
142
- end
143
- end
144
-
145
- context "file input present" do
146
- let :body do
147
- build_form do |f|
148
- f.input :body, as: :file
149
- end
150
- end
151
-
152
- it "adds multipart attribute automatically" do
153
- expect(body).to have_selector("form[enctype='multipart/form-data']")
154
- end
155
- end
156
-
157
- context "with actions" do
158
- it "should generate the form once" do
159
- body = build_form do |f|
160
- f.inputs do
161
- f.input :title
162
- end
163
- f.actions
164
- end
165
- expect(body).to have_selector("[id=post_title]", count: 1)
166
- end
167
-
168
- context "create another checkbox" do
169
- subject do
170
- build_form do |f|
171
- f.actions
172
- end
173
- end
174
-
175
- %w(new create).each do |action_name|
176
- it "generates create another checkbox on #{action_name} page" do
177
- expect(helpers).to receive(:action_name) { action_name }
178
- allow(helpers).to receive(:active_admin_config) { instance_double(ActiveAdmin::Resource, create_another: true) }
179
-
180
- is_expected.to have_selector("[type=checkbox]", count: 1)
181
- .and have_selector("[name=create_another]", count: 1)
182
- end
183
- end
184
-
185
- %w(show edit update).each do |action_name|
186
- it "doesn't generate create another checkbox on #{action_name} page" do
187
- is_expected.not_to have_selector("[name=create_another]", count: 1)
188
- end
189
- end
190
- end
191
-
192
- it "should generate one button create another checkbox and a cancel link" do
193
- body = build_form do |f|
194
- f.actions
195
- end
196
- expect(body).to have_selector("[type=submit]", count: 1)
197
- expect(body).to have_selector("[class=cancel]", count: 1)
198
- end
199
-
200
- it "should generate multiple actions" do
201
- body = build_form do |f|
202
- f.actions do
203
- f.action :submit, label: "Create & Continue"
204
- f.action :submit, label: "Create & Edit"
205
- end
206
- end
207
- expect(body).to have_selector("[type=submit]", count: 2)
208
- expect(body).to have_selector("[class=cancel]", count: 0)
209
- end
210
-
211
- end
212
-
213
- context "with Arbre inside" do
214
- it "should render the Arbre in the expected place" do
215
- body = build_form do |f|
216
- div do
217
- h1 'Heading'
218
- end
219
- f.inputs do
220
- span 'Top note'
221
- f.input :title
222
- span 'Bottom note'
223
- end
224
- h3 'Footer'
225
- f.actions
226
- end
227
-
228
- expect(body).to have_selector("div > h1")
229
- expect(body).to have_selector("h1", count: 1)
230
- expect(body).to have_selector(".inputs > ol > span")
231
- expect(body).to have_selector("span", count: 2)
232
- end
233
- it "should allow a simplified syntax" do
234
- body = build_form do |f|
235
- div do
236
- h1 'Heading'
237
- end
238
- inputs do
239
- span 'Top note'
240
- input :title
241
- span 'Bottom note'
242
- end
243
- h3 'Footer'
244
- actions
245
- end
246
-
247
- expect(body).to have_selector("div > h1")
248
- expect(body).to have_selector("h1", count: 1)
249
- expect(body).to have_selector(".inputs > ol > span")
250
- expect(body).to have_selector("span", count: 2)
251
- end
252
- end
253
-
254
- context "without passing a block to inputs" do
255
- let :body do
256
- build_form do |f|
257
- f.inputs :title, :body
258
- end
259
- end
260
- it "should have a title input" do
261
- expect(body).to have_selector("input[type=text][name='post[title]']")
262
- end
263
- it "should have a body textarea" do
264
- expect(body).to have_selector("textarea[name='post[body]']")
265
- end
266
- end
267
-
268
- context "with semantic fields for" do
269
- let :body do
270
- build_form do |f|
271
- f.inputs do
272
- f.input :title
273
- f.input :body
274
- end
275
- f.form_builder.instance_eval do
276
- @object.author = User.new
277
- end
278
- f.semantic_fields_for :author do |author|
279
- author.inputs :first_name, :last_name
280
- end
281
- end
282
- end
283
- it "should generate a nested text input once" do
284
- expect(body).to have_selector("[id=post_author_attributes_first_name_input]", count: 1)
285
- end
286
- end
287
-
288
- context "with collection inputs" do
289
- before do
290
- User.create first_name: "John", last_name: "Doe"
291
- User.create first_name: "Jane", last_name: "Doe"
292
- end
293
-
294
- describe "as select" do
295
- let :body do
296
- build_form do |f|
297
- f.input :author, include_blank: false
298
- end
299
- end
300
- it "should create 2 options" do
301
- expect(body).to have_selector("option", count: 2)
302
- end
303
- end
304
-
305
- describe "as radio buttons" do
306
- let :body do
307
- build_form do |f|
308
- f.input :author, as: :radio
309
- end
310
- end
311
- it "should create 2 radio buttons" do
312
- expect(body).to have_selector("[type=radio]", count: 2)
313
- end
314
- end
315
-
316
- end
317
-
318
- context "with inputs component inside has_many" do
319
-
320
- def user
321
- u = User.new
322
- u.profile = Profile.new(bio: 'bio')
323
- u
324
- end
325
-
326
- let :body do
327
- author = user()
328
- build_form do |f|
329
- f.form_builder.instance_eval do
330
- @object.author = author
331
- end
332
- f.inputs name: 'Author', for: :author do |author|
333
- author.has_many :profile, allow_destroy: true do |profile|
334
- profile.inputs "inputs for profile #{profile.object.bio}" do
335
- profile.input :bio
336
- end
337
- end
338
- end
339
- end
340
- end
341
-
342
- it "should see the profile fields for an existing profile" do
343
- expect(body).to have_selector("[id='post_author_attributes_profile_attributes_bio']", count: 1)
344
- expect(body).to have_selector("textarea[name='post[author_attributes][profile_attributes][bio]']")
345
- end
346
- end
347
-
348
- context "with a has_one relation on an author's profile" do
349
- let :body do
350
- author = user()
351
- build_form do |f|
352
- f.inputs do
353
- f.input :title
354
- f.input :body
355
- end
356
- f.form_builder.instance_eval do
357
- @object.author = author
358
- end
359
- f.inputs name: 'Author', for: :author do |author|
360
- author.has_many :profile, allow_destroy: true do |profile|
361
- profile.input :bio
362
- end
363
- end
364
- end
365
- end
366
-
367
- it "should see the button to add profile" do
368
- def user
369
- User.new
370
- end
371
- expect(body).to have_selector("a[contains(data-html,'post[author_attributes][profile_attributes][bio]')]")
372
- end
373
-
374
- it "should see the profile fields for an existing profile" do
375
- def user
376
- u = User.new
377
- u.profile = Profile.new
378
- u
379
- end
380
- expect(body).to have_selector("[id='post_author_attributes_profile_attributes_bio']", count: 1)
381
- expect(body).to have_selector("textarea[name='post[author_attributes][profile_attributes][bio]']")
382
- end
383
- end
384
-
385
- shared_examples :inputs_with_for_expectation do
386
- it "should generate a nested text input once" do
387
- expect(body).to have_selector("[id=post_author_attributes_first_name_input]", count: 1)
388
- expect(body).to have_selector("[id=post_author_attributes_last_name_input]", count: 1)
389
- end
390
- it "should add author first and last name fields" do
391
- expect(body).to have_selector("input[name='post[author_attributes][first_name]']")
392
- expect(body).to have_selector("input[name='post[author_attributes][last_name]']")
393
- end
394
- end
395
-
396
- context "with inputs 'for'" do
397
- let :body do
398
- build_form do |f|
399
- f.inputs do
400
- f.input :title
401
- f.input :body
402
- end
403
- f.form_builder.instance_eval do
404
- @object.author = User.new
405
- end
406
- f.inputs name: 'Author', for: :author do |author|
407
- author.inputs :first_name, :last_name
408
- end
409
- end
410
- end
411
-
412
- include_examples :inputs_with_for_expectation
413
- end
414
-
415
- context "with two input fields 'for' at the end of block" do
416
- let :body do
417
- build_form do |f|
418
- f.inputs do
419
- f.input :title
420
- f.input :body
421
- end
422
- f.form_builder.instance_eval do
423
- @object.author = User.new
424
- end
425
- f.inputs name: 'Author', for: :author do |author|
426
- author.input :first_name
427
- author.input :last_name
428
- end
429
- end
430
- end
431
-
432
- include_examples :inputs_with_for_expectation
433
- end
434
-
435
- context "with two input fields 'for' at the beginning of block" do
436
- let :body do
437
- build_form do |f|
438
- f.form_builder.instance_eval do
439
- @object.author = User.new
440
- end
441
- f.inputs name: 'Author', for: :author do |author|
442
- author.input :first_name
443
- author.input :last_name
444
- end
445
- f.inputs do
446
- f.input :title
447
- f.input :body
448
- end
449
- end
450
- end
451
-
452
- include_examples :inputs_with_for_expectation
453
- end
454
-
455
- context "with wrapper html" do
456
- it "should set a class" do
457
- body = build_form do |f|
458
- f.input :title, wrapper_html: { class: "important" }
459
- end
460
- expect(body).to have_selector("li[class='important string input optional stringish']")
461
- end
462
- end
463
-
464
- context "with inputs twice" do
465
- let :body do
466
- build_form do |f|
467
- f.inputs do
468
- f.input :title
469
- f.input :body
470
- end
471
- f.inputs do
472
- f.input :author
473
- f.input :created_at
474
- end
475
- end
476
- end
477
- it "should render four inputs" do
478
- expect(body).to have_selector("input[name='post[title]']", count: 1)
479
- expect(body).to have_selector("textarea[name='post[body]']", count: 1)
480
- expect(body).to have_selector("select[name='post[author_id]']", count: 1)
481
- expect(body).to have_selector("select[name='post[created_at(1i)]']", count: 1)
482
- expect(body).to have_selector("select[name='post[created_at(2i)]']", count: 1)
483
- expect(body).to have_selector("select[name='post[created_at(3i)]']", count: 1)
484
- expect(body).to have_selector("select[name='post[created_at(4i)]']", count: 1)
485
- end
486
- end
487
-
488
- context "with has many inputs" do
489
- describe "with simple block" do
490
- let :body do
491
- build_form({url: '/categories'}, Category.new) do |f|
492
- f.object.posts.build
493
- f.has_many :posts do |p|
494
- p.input :title
495
- p.input :body
496
- end
497
- f.inputs
498
- end
499
- end
500
-
501
- let(:valid_html_id) { /^[A-Za-z]+[\w\-\:\.]*$/ }
502
-
503
- it "should translate the association name in header" do
504
- with_translation activerecord: {models: {post: {one: 'Blog Post', other: 'Blog Posts'}}} do
505
- expect(body).to have_selector("h3", text: "Blog Posts")
506
- end
507
- end
508
-
509
- it "should use model name when there is no translation for given model in header" do
510
- expect(body).to have_selector("h3", text: "Post")
511
- end
512
-
513
- it "should translate the association name in has many new button" do
514
- with_translation activerecord: {models: {post: {one: 'Blog Post', other: 'Blog Posts'}}} do
515
- expect(body).to have_selector("a", text: "Add New Blog Post")
516
- end
517
- end
518
-
519
- it "should translate the attribute name" do
520
- with_translation activerecord: {attributes: {post: {title: 'A very nice title'}}} do
521
- expect(body).to have_selector("label", text: "A very nice title")
522
- end
523
- end
524
-
525
- it "should use model name when there is no translation for given model in has many new button" do
526
- expect(body).to have_selector("a", text: "Add New Post")
527
- end
528
-
529
- it "should render the nested form" do
530
- expect(body).to have_selector("input[name='category[posts_attributes][0][title]']")
531
- expect(body).to have_selector("textarea[name='category[posts_attributes][0][body]']")
532
- end
533
-
534
- it "should add a link to remove new nested records" do
535
- expect(body).to have_selector(".has_many_container > fieldset > ol > li > a.button.has_many_remove[href='#']", text: "Remove")
536
- end
537
-
538
- it "should add a link to add new nested records" do
539
- expect(body).to have_selector(".has_many_container > a.button.has_many_add[href='#']", text: "Add New Post")
540
- end
541
-
542
- it "should set an HTML-id valid placeholder" do
543
- link = body.find('.has_many_container > a.button.has_many_add')
544
- expect(link[:'data-placeholder']).to match valid_html_id
545
- end
546
-
547
- describe "with namespaced model" do
548
- it "should set an HTML-id valid placeholder" do
549
- allow(Post).to receive(:name).and_return "ActiveAdmin::Post"
550
- link = body.find('.has_many_container > a.button.has_many_add')
551
- expect(link[:'data-placeholder']).to match valid_html_id
552
- end
553
- end
554
- end
555
-
556
- describe "with complex block" do
557
- let :body do
558
- build_form({url: '/categories'}, Category.new) do |f|
559
- f.object.posts.build
560
- f.has_many :posts do |p, i|
561
- p.input :title, label: "Title #{i}"
562
- end
563
- end
564
- end
565
-
566
- it "should accept a block with a second argument" do
567
- expect(body).to have_selector("label", text: "Title 1")
568
- end
569
-
570
- it "should add a custom header" do
571
- expect(body).to have_selector("h3", text: "Post")
572
- end
573
- end
574
-
575
- describe "without heading and new record link" do
576
- let :body do
577
- build_form({url: '/categories'}, Category.new) do |f|
578
- f.object.posts.build
579
- f.has_many :posts, heading: false, new_record: false do |p|
580
- p.input :title
581
- end
582
- end
583
- end
584
-
585
- it "should not add a header" do
586
- expect(body).not_to have_selector("h3", text: "Post")
587
- end
588
-
589
- it "should not add link to new nested records" do
590
- expect(body).not_to have_selector("a", text: "Add New Post")
591
- end
592
-
593
- it "should render the nested form" do
594
- expect(body).to have_selector("input[name='category[posts_attributes][0][title]']")
595
- end
596
- end
597
-
598
- describe "with custom heading" do
599
- let :body do
600
- build_form({url: '/categories'}, Category.new) do |f|
601
- f.object.posts.build
602
- f.has_many :posts, heading: "Test heading" do |p|
603
- p.input :title
604
- end
605
- end
606
- end
607
-
608
- it "should add a custom header" do
609
- expect(body).to have_selector("h3", text: "Test heading")
610
- end
611
- end
612
-
613
- describe "with custom new record link" do
614
- let :body do
615
- build_form({url: '/categories'}, Category.new) do |f|
616
- f.object.posts.build
617
- f.has_many :posts, new_record: 'My Custom New Post' do |p|
618
- p.input :title
619
- end
620
- end
621
- end
622
-
623
- it "should add a custom new record link" do
624
- expect(body).to have_selector("a", text: "My Custom New Post")
625
- end
626
- end
627
-
628
- describe "with allow destroy" do
629
- shared_examples_for "has many with allow_destroy = true" do |child_num|
630
- it "should render the nested form" do
631
- expect(body).to have_selector("input[name='category[posts_attributes][#{child_num}][title]']")
632
- end
633
-
634
- it "should include a boolean field for _destroy" do
635
- expect(body).to have_selector("input[name='category[posts_attributes][#{child_num}][_destroy]']")
636
- end
637
-
638
- it "should have a check box with 'Remove' as its label" do
639
- expect(body).to have_selector("label[for=category_posts_attributes_#{child_num}__destroy]", text: "Delete")
640
- end
641
-
642
- it "should wrap the destroy field in an li with class 'has_many_delete'" do
643
- expect(body).to have_selector(".has_many_container > fieldset > ol > li.has_many_delete > input", count: 1, visible: false)
644
- end
645
- end
646
-
647
- shared_examples_for "has many with allow_destroy = false" do |child_num|
648
- it "should render the nested form" do
649
- expect(body).to have_selector("input[name='category[posts_attributes][#{child_num}][title]']")
650
- end
651
-
652
- it "should not have a boolean field for _destroy" do
653
- expect(body).not_to have_selector("input[name='category[posts_attributes][#{child_num}][_destroy]']", visible: :all)
654
- end
655
-
656
- it "should not have a check box with 'Remove' as its label" do
657
- expect(body).not_to have_selector("label[for=category_posts_attributes_#{child_num}__destroy]", text: "Remove")
658
- end
659
- end
660
-
661
- shared_examples_for "has many with allow_destroy as String, Symbol or Proc" do |allow_destroy_option|
662
- let :body do
663
- s = self
664
- build_form({url: '/categories'}, Category.new) do |f|
665
- s.instance_exec do
666
- allow(f.object.posts.build).to receive(:foo?).and_return(true)
667
- allow(f.object.posts.build).to receive(:foo?).and_return(false)
668
-
669
- f.object.posts.each do |post|
670
- allow(post).to receive(:new_record?).and_return(false)
671
- end
672
- end
673
- f.has_many :posts, allow_destroy: allow_destroy_option do |p|
674
- p.input :title
675
- end
676
- end
677
- end
678
-
679
- context 'for the child that responds with true' do
680
- it_behaves_like "has many with allow_destroy = true", 0
681
- end
682
-
683
- context 'for the child that responds with false' do
684
- it_behaves_like "has many with allow_destroy = false", 1
685
- end
686
- end
687
-
688
- context "with an existing post" do
689
- context "with allow_destroy = true" do
690
- let :body do
691
- s = self
692
- build_form({url: '/categories'}, Category.new) do |f|
693
- s.instance_exec do
694
- allow(f.object.posts.build).to receive(:new_record?).and_return(false)
695
- end
696
- f.has_many :posts, allow_destroy: true do |p|
697
- p.input :title
698
- end
699
- end
700
- end
701
-
702
- it_behaves_like "has many with allow_destroy = true", 0
703
- end
704
-
705
- context "with allow_destroy = false" do
706
- let :body do
707
- s = self
708
- build_form({url: '/categories'}, Category.new) do |f|
709
- s.instance_exec do
710
- allow(f.object.posts.build).to receive(:new_record?).and_return(false)
711
- end
712
- f.has_many :posts, allow_destroy: false do |p|
713
- p.input :title
714
- end
715
- end
716
- end
717
-
718
- it_behaves_like "has many with allow_destroy = false", 0
719
- end
720
-
721
- context "with allow_destroy = nil" do
722
- let :body do
723
- s = self
724
- build_form({url: '/categories'}, Category.new) do |f|
725
- s.instance_exec do
726
- allow(f.object.posts.build).to receive(:new_record?).and_return(false)
727
- end
728
- f.has_many :posts, allow_destroy: nil do |p|
729
- p.input :title
730
- end
731
- end
732
- end
733
-
734
- it_behaves_like "has many with allow_destroy = false", 0
735
- end
736
-
737
- context "with allow_destroy as Symbol" do
738
- it_behaves_like("has many with allow_destroy as String, Symbol or Proc", :foo?)
739
- end
740
-
741
- context "with allow_destroy as String" do
742
- it_behaves_like("has many with allow_destroy as String, Symbol or Proc", "foo?")
743
- end
744
-
745
- context "with allow_destroy as proc" do
746
- it_behaves_like("has many with allow_destroy as String, Symbol or Proc",
747
- Proc.new { |child| child.foo? })
748
- end
749
-
750
- context "with allow_destroy as lambda" do
751
- it_behaves_like("has many with allow_destroy as String, Symbol or Proc",
752
- lambda { |child| child.foo? })
753
- end
754
-
755
- context "with allow_destroy as any other expression that evaluates to true" do
756
- let :body do
757
- s = self
758
- build_form({url: '/categories'}, Category.new) do |f|
759
- s.instance_exec do
760
- allow(f.object.posts.build).to receive(:new_record?).and_return(false)
761
- end
762
- f.has_many :posts, allow_destroy: Object.new do |p|
763
- p.input :title
764
- end
765
- end
766
- end
767
-
768
- it_behaves_like "has many with allow_destroy = true", 0
769
- end
770
- end
771
-
772
- context "with a new post" do
773
- context "with allow_destroy = true" do
774
- let :body do
775
- build_form({url: '/categories'}, Category.new) do |f|
776
- f.object.posts.build
777
- f.has_many :posts, allow_destroy: true do |p|
778
- p.input :title
779
- end
780
- end
781
- end
782
-
783
- it_behaves_like "has many with allow_destroy = false", 0
784
- end
785
- end
786
- end
787
-
788
- describe "sortable" do
789
- # TODO: it doesn't make any sense to use your foreign key as something that's sortable (and therefore editable)
790
- context "with a new post" do
791
- let :body do
792
- build_form({url: '/categories'}, Category.new) do |f|
793
- f.object.posts.build
794
- f.has_many :posts, sortable: :position do |p|
795
- p.input :title
796
- end
797
- end
798
- end
799
-
800
- it "shows the nested fields for unsaved records" do
801
- expect(body).to have_selector("fieldset.inputs.has_many_fields")
802
- end
803
-
804
- end
805
-
806
- context "with post returning nil for the sortable attribute" do
807
- let :body do
808
- build_form({url: '/categories'}, Category.new) do |f|
809
- f.object.posts.build position: 3
810
- f.object.posts.build
811
- f.has_many :posts, sortable: :position do |p|
812
- p.input :title
813
- end
814
- end
815
- end
816
-
817
- it "shows the nested fields for unsaved records" do
818
- expect(body).to have_selector("fieldset.inputs.has_many_fields")
819
- end
820
-
821
- end
822
-
823
- context "with existing and new posts" do
824
- let! :category do
825
- Category.create name: 'Name'
826
- end
827
- let! :post do
828
- category.posts.create
829
- end
830
- let :body do
831
- build_form({url: '/categories'}, category) do |f|
832
- f.object.posts.build
833
- f.has_many :posts, sortable: :position do |p|
834
- p.input :title
835
- end
836
- end
837
- end
838
-
839
- it "shows the nested fields for saved and unsaved records" do
840
- expect(body).to have_selector("fieldset.inputs.has_many_fields")
841
- end
842
- end
843
-
844
- context "without sortable_start set" do
845
- let :body do
846
- build_form({url: '/categories'}, Category.new) do |f|
847
- f.object.posts.build
848
- f.has_many :posts, sortable: :position do |p|
849
- p.input :title
850
- end
851
- end
852
- end
853
-
854
- it "defaults to 0" do
855
- expect(body).to have_selector("div.has_many_container[data-sortable-start='0']")
856
- end
857
- end
858
-
859
- context "with sortable_start set" do
860
- let :body do
861
- build_form({url: '/categories'}, Category.new) do |f|
862
- f.object.posts.build
863
- f.has_many :posts, sortable: :position, sortable_start: 15 do |p|
864
- p.input :title
865
- end
866
- end
867
- end
868
-
869
- it "sets the data attribute" do
870
- expect(body).to have_selector("div.has_many_container[data-sortable-start='15']")
871
- end
872
- end
873
- end
874
-
875
- describe "with nesting" do
876
- context "in an inputs block" do
877
- let :body do
878
- build_form({url: '/categories'}, Category.new) do |f|
879
- f.inputs "Field Wrapper" do
880
- f.object.posts.build
881
- f.has_many :posts do |p|
882
- p.input :title
883
- end
884
- end
885
- end
886
- end
887
-
888
- it "should wrap the has_many fieldset in an li" do
889
- expect(body).to have_selector("ol > li.has_many_container")
890
- end
891
-
892
- it "should have a direct fieldset child" do
893
- expect(body).to have_selector("li.has_many_container > fieldset")
894
- end
895
-
896
- it "should not contain invalid li children" do
897
- expect(body).not_to have_selector("div.has_many_container > li")
898
- end
899
- end
900
-
901
- context "in another has_many block" do
902
- let :body_html do
903
- form_html({url: '/categories'}, Category.new) do |f|
904
- f.object.posts.build
905
- f.has_many :posts do |p|
906
- p.object.taggings.build
907
- p.input :title
908
-
909
- p.has_many :taggings do |t|
910
- t.input :tag
911
- t.input :position
912
- end
913
- end
914
- end
915
- end
916
- let(:body) { Capybara.string body_html }
917
-
918
- it "displays the input between the outer and inner has_many" do
919
- expect(body).to have_selector(".has_many_container ol > li:first-child input#category_posts_attributes_0_title")
920
- expect(body).to have_selector(".has_many_container ol > li:nth-child(2).has_many_container > fieldset")
921
- end
922
-
923
- it "should not contain invalid li children" do
924
- expect(body).not_to have_selector(".has_many_container div.has_many_container > li")
925
- end
926
- end
927
- end
928
-
929
- it "should render the block if it returns nil" do
930
- body = build_form({url: '/categories'}, Category.new) do |f|
931
- f.object.posts.build
932
- f.has_many :posts do |p|
933
- p.input :title
934
- nil
935
- end
936
- end
937
-
938
- expect(body).to have_selector("input[name='category[posts_attributes][0][title]']")
939
- end
940
- end
941
-
942
- { # Testing that the same input can be used multiple times
943
- "f.input :title, as: :string" => "post_title",
944
- "f.input :title, as: :text" => "post_title",
945
- "f.input :created_at, as: :time_select" => "post_created_at_2i",
946
- "f.input :created_at, as: :datetime_select" => "post_created_at_2i",
947
- "f.input :created_at, as: :date_select" => "post_created_at_2i",
948
- # Testing that return values don't screw up the form
949
- "f.input :title; nil" => "post_title",
950
- "f.input :title; []" => "post_title",
951
- "[:title].each{ |r| f.input r }" => "post_title",
952
- "[:title].map { |r| f.input r }" => "post_title",
953
- }.each do |source, selector|
954
- it "should properly buffer `#{source}`" do
955
- body = build_form do |f|
956
- f.inputs do
957
- eval source
958
- eval source
959
- end
960
- end
961
- expect(body).to have_selector("[id=#{selector}]", count: 2, visible: :all)
962
- end
963
- end
964
-
965
- describe "datepicker input" do
966
- context 'with default options' do
967
- let :body do
968
- build_form do |f|
969
- f.inputs do
970
- f.input :created_at, as: :datepicker
971
- end
972
- end
973
- end
974
- it "should generate a text input with the class of datepicker" do
975
- expect(body).to have_selector("input.datepicker[type=text][name='post[created_at]']")
976
- end
977
- end
978
-
979
- context 'with date range options' do
980
- let :body do
981
- build_form do |f|
982
- f.inputs do
983
- f.input :created_at, as: :datepicker,
984
- datepicker_options: {
985
- min_date: Date.new(2013, 10, 18),
986
- max_date: "2013-12-31" }
987
- end
988
- end
989
- end
990
-
991
- it 'should generate a datepicker text input with data min and max dates' do
992
- selector = "input.datepicker[type=text][name='post[created_at]']"
993
- expect(body).to have_selector(selector)
994
- expect(body.find(selector)["data-datepicker-options"]).to eq({ minDate: '2013-10-18', maxDate: '2013-12-31' }.to_json)
995
- end
996
- end
997
- end
998
- end