activeadmin_addons 1.6.0 → 1.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/Rakefile +29 -1
- data/app/assets/javascripts/activeadmin_addons/all.js +752 -13
- data/app/assets/stylesheets/activeadmin_addons/all.scss +3 -2
- data/app/assets/stylesheets/activeadmin_addons/imports/jquery-datepicker.scss +568 -0
- data/app/assets/stylesheets/activeadmin_addons/inputs/date-time-picker-filter.scss +11 -0
- data/{vendor/assets/jquery_palette_color_picker → app/assets/stylesheets/activeadmin_addons/vendor}/palette-color-picker.scss +0 -0
- data/app/inputs/active_admin/inputs/select_input.rb +15 -0
- data/app/inputs/date_range_input.rb +11 -0
- data/app/inputs/date_time_picker_filter_input.rb +26 -0
- data/app/inputs/date_time_picker_input.rb +1 -0
- data/app/inputs/nested_level_input.rb +1 -0
- data/app/inputs/nested_select_input.rb +3 -2
- data/app/{assets/javascripts → javascript}/activeadmin_addons/addons/interactive_select_tag.js +6 -2
- data/app/{assets/javascripts → javascript}/activeadmin_addons/addons/toggle_bool.js +6 -2
- data/app/javascript/activeadmin_addons/all.js +14 -0
- data/app/javascript/activeadmin_addons/config.js +10 -0
- data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/color-picker.js +5 -2
- data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/date-time-picker.js +5 -2
- data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/nested-select.js +11 -2
- data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/search-select.js +5 -2
- data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/select2.js +6 -3
- data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/selected-list.js +5 -2
- data/app/{assets/javascripts → javascript}/activeadmin_addons/inputs/tags.js +5 -2
- data/{vendor/assets → app/javascript/activeadmin_addons/vendor}/jquery_palette_color_picker/palette-color-picker.js +0 -0
- data/lib/activeadmin_addons/active_admin_config.rb +1 -0
- data/lib/activeadmin_addons/addons/attachment_builder.rb +1 -1
- data/lib/activeadmin_addons/addons/image_builder.rb +1 -1
- data/lib/activeadmin_addons/addons/toggle_bool_builder.rb +4 -1
- data/lib/activeadmin_addons/engine.rb +2 -2
- data/lib/activeadmin_addons/support/custom_builder.rb +21 -1
- data/lib/activeadmin_addons/support/input_base.rb +8 -1
- data/lib/activeadmin_addons/support/input_helpers/filter_input.rb +2 -0
- data/lib/activeadmin_addons/support/input_helpers/filter_input_methods.rb +2 -0
- data/lib/activeadmin_addons/support/input_helpers/input_methods.rb +2 -1
- data/lib/activeadmin_addons/version.rb +1 -1
- data/lib/generators/activeadmin_addons/assets/assets_generator.rb +53 -0
- data/lib/generators/activeadmin_addons/install/install_generator.rb +10 -41
- data/lib/generators/activeadmin_addons/webpacker/webpacker_generator.rb +35 -0
- data/vendor/assets/select2/select2.css +481 -0
- data/vendor/assets/select2/select2.full.js +6820 -0
- metadata +105 -647
- data/app/assets/javascripts/activeadmin_addons/config.js +0 -7
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/CHANGELOG.md +0 -298
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/CODE_OF_CONDUCT.md +0 -40
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/CONTRIBUTING.md +0 -203
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/Gemfile +0 -52
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/LICENSE +0 -20
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/README.md +0 -82
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/Rakefile +0 -55
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/activeadmin.gemspec +0 -64
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/images/active_admin/nested_menu_arrow.gif +0 -0
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/images/active_admin/nested_menu_arrow_dark.gif +0 -0
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/images/active_admin/orderable.png +0 -0
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/base.es6 +0 -23
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/ext/jquery-ui.es6 +0 -7
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/ext/jquery.es6 +0 -9
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/initializers/datepicker.es6 +0 -16
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/initializers/filters.es6 +0 -45
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/initializers/tabs.es6 +0 -6
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/active_admin.es6 +0 -41
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/batch_actions.es6 +0 -55
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/checkbox-toggler.es6 +0 -49
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/dropdown-menu.es6 +0 -123
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/has_many.es6 +0 -89
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/modal_dialog.es6 +0 -61
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/per_page.es6 +0 -47
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/javascripts/active_admin/lib/table-checkbox-toggler.es6 +0 -36
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/_base.scss +0 -41
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/_forms.scss +0 -338
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/_header.scss +0 -156
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/_mixins.scss +0 -1
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/_typography.scss +0 -100
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_batch_actions.scss +0 -6
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_blank_slates.scss +0 -30
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_breadcrumbs.scss +0 -20
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_buttons.scss +0 -6
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_columns.scss +0 -3
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_comments.scss +0 -41
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_date_picker.scss +0 -149
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_dropdown_menu.scss +0 -152
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_flash_messages.scss +0 -37
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_grid.scss +0 -9
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_index_list.scss +0 -12
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_links.scss +0 -5
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_modal_dialog.scss +0 -34
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_pagination.scss +0 -55
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_panels.scss +0 -6
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_scopes.scss +0 -10
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_status_tags.scss +0 -12
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_table_tools.scss +0 -67
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_tables.scss +0 -113
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_tabs.scss +0 -65
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/components/_unsupported_browser.scss +0 -16
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_all.scss +0 -8
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_buttons.scss +0 -65
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_gradients.scss +0 -28
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_rounded.scss +0 -22
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_sections.scss +0 -41
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_shadows.scss +0 -15
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_typography.scss +0 -3
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_utilities.scss +0 -17
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/mixins/_variables.scss +0 -34
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/pages/_logged_out.scss +0 -44
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/print.scss +0 -287
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/structure/_footer.scss +0 -14
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/structure/_main_structure.scss +0 -29
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/assets/stylesheets/active_admin/structure/_title_bar.scss +0 -41
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/confirmations/new.html.erb +0 -15
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/mailer/reset_password_instructions.html.erb +0 -8
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/mailer/unlock_instructions.html.erb +0 -7
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/passwords/edit.html.erb +0 -18
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/passwords/new.html.erb +0 -15
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/registrations/new.html.erb +0 -22
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/sessions/new.html.erb +0 -20
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/shared/_links.erb +0 -33
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/unlocks/new.html.erb +0 -15
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/page/index.html.arb +0 -1
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/resource/edit.html.arb +0 -1
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/resource/index.html.arb +0 -1
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/resource/new.html.arb +0 -1
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/resource/show.html.arb +0 -1
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_first_page.html.erb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_gap.html.erb +0 -8
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_last_page.html.erb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_next_page.html.erb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_page.html.erb +0 -12
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_paginator.html.erb +0 -25
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/kaminari/active_admin/_prev_page.html.erb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/layouts/active_admin.html.arb +0 -1
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/layouts/active_admin_logged_out.html.erb +0 -39
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/codecov.yml +0 -25
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/i18n-tasks.yml +0 -26
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/ar.yml +0 -134
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/bg.yml +0 -119
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/bs.yml +0 -120
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/ca.yml +0 -105
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/cs.yml +0 -108
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/da.yml +0 -136
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/de-CH.yml +0 -100
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/de.yml +0 -133
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/el.yml +0 -125
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/en-CA.yml +0 -138
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/en-GB.yml +0 -138
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/en.yml +0 -143
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/eo.yml +0 -144
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/es-MX.yml +0 -95
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/es.yml +0 -142
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/fa.yml +0 -118
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/fi.yml +0 -111
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/fr.yml +0 -140
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/he.yml +0 -141
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/hr.yml +0 -122
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/hu.yml +0 -97
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/id.yml +0 -134
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/it.yml +0 -139
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/ja.yml +0 -140
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/ko.yml +0 -119
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/lt.yml +0 -141
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/lv.yml +0 -91
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/nb.yml +0 -119
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/nl.yml +0 -132
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/pl.yml +0 -99
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/pt-BR.yml +0 -142
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/pt-PT.yml +0 -91
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/ro.yml +0 -95
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/ru.yml +0 -138
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/sk.yml +0 -108
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/sv-SE.yml +0 -134
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/tr.yml +0 -143
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/uk.yml +0 -135
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/vi.yml +0 -133
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/zh-CN.yml +0 -142
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/locales/zh-TW.yml +0 -134
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/config/mdl_style.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/cucumber.yml +0 -2
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/0-installation.md +0 -118
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/1-general-configuration.md +0 -189
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/10-custom-pages.md +0 -136
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/11-decorators.md +0 -59
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/12-arbre-components.md +0 -201
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/13-authorization-adapter.md +0 -266
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/14-gotchas.md +0 -138
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/2-resource-customization.md +0 -466
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/3-index-pages.md +0 -311
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/3-index-pages/custom-index.md +0 -35
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/3-index-pages/index-as-block.md +0 -19
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/3-index-pages/index-as-blog.md +0 -69
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/3-index-pages/index-as-grid.md +0 -27
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/3-index-pages/index-as-table.md +0 -229
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/4-csv-format.md +0 -74
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/5-forms.md +0 -218
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/6-show-pages.md +0 -81
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/7-sidebars.md +0 -75
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/8-custom-actions.md +0 -166
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/9-batch-actions.md +0 -237
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/CNAME +0 -1
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/Gemfile +0 -2
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/README.md +0 -24
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_config.yml +0 -2
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_includes/footer.html +0 -8
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_includes/google-analytics.html +0 -16
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_includes/head.html +0 -7
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_includes/toc.html +0 -98
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_includes/top-menu.html +0 -9
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/_layouts/default.html +0 -21
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/documentation.md +0 -60
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/images/activeadmin.png +0 -0
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/images/code-header.png +0 -0
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/images/divider.png +0 -0
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/images/features.png +0 -0
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/index.html +0 -125
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/docs/stylesheets/main.css +0 -1152
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/action_item.feature +0 -73
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/authorization.feature +0 -65
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/authorization_cancan.feature +0 -53
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/authorization_pundit.feature +0 -38
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/belongs_to.feature +0 -124
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/breadcrumb.feature +0 -75
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/comments/commenting.feature +0 -178
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/comments/viewing_index.feature +0 -19
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/create_another.feature +0 -55
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/dashboard.feature +0 -16
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/decorators.feature +0 -43
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/development_reloading.feature +0 -28
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/edit_page.feature +0 -116
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/favicon.feature +0 -20
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/first_boot.feature +0 -16
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/footer.feature +0 -28
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/global_navigation.feature +0 -29
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/i18n.feature +0 -55
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/batch_actions.feature +0 -224
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/filters.feature +0 -250
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/format_as_csv.feature +0 -220
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/formats.feature +0 -88
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_block.feature +0 -15
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_blog.feature +0 -69
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_grid.feature +0 -45
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_table.feature +0 -291
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_blank_slate.feature +0 -83
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_parameters.feature +0 -75
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_scope_to.feature +0 -56
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_scopes.feature +0 -285
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/page_title.feature +0 -41
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/pagination.feature +0 -63
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/switch_index_view.feature +0 -73
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/menu.feature +0 -72
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/meta_tags.feature +0 -21
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/new_page.feature +0 -136
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/registering_assets.feature +0 -38
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/registering_pages.feature +0 -237
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/registering_resources.feature +0 -33
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/renamed_resource.feature +0 -30
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/root_to.feature +0 -17
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/show/attributes_table_title.feature +0 -54
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/show/columns.feature +0 -40
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/show/default_content.feature +0 -44
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/show/page_title.feature +0 -58
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/show/tabs.feature +0 -32
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/sidebar_sections.feature +0 -210
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/site_title.feature +0 -47
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/specifying_actions.feature +0 -118
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/action_item_steps.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/action_link_steps.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/additional_web_steps.rb +0 -74
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/asset_steps.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/attribute_steps.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/attributes_table_title_steps.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/batch_action_steps.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/blog_steps.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/breadcrumb_steps.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/column_steps.rb +0 -8
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/comment_steps.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/configuration_steps.rb +0 -100
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/dashboard_steps.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/factory_steps.rb +0 -35
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/filter_steps.rb +0 -47
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/flash_steps.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/footer_steps.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/format_steps.rb +0 -56
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/i18n_steps.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/index_scope_steps.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/index_views_steps.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/layout_steps.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/member_link_steps.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/menu_steps.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/meta_tag_steps.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/pagination_steps.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/sidebar_steps.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/site_title_steps.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/tab_steps.rb +0 -8
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/table_steps.rb +0 -116
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/user_steps.rb +0 -51
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/web_steps.rb +0 -90
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/sti_resource.feature +0 -65
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/strong_parameters.feature +0 -69
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/support/env.rb +0 -122
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/support/paths.rb +0 -73
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/support/regular_env.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/support/reload_env.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/support/selectors.rb +0 -45
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/users/logging_in.feature +0 -36
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/users/logging_out.feature +0 -13
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/users/resetting_password.feature +0 -34
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/gemfiles/rails_42.gemfile +0 -10
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/gemfiles/rails_50.gemfile +0 -10
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/gemfiles/rails_51.gemfile +0 -10
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin.rb +0 -133
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/abstract_view_factory.rb +0 -47
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/application.rb +0 -235
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/application_settings.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/asset_registration.rb +0 -37
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/authorization_adapter.rb +0 -129
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/base_controller.rb +0 -81
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/base_controller/authorization.rb +0 -128
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/base_controller/menu.rb +0 -34
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/batch_actions.rb +0 -16
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/batch_actions/controller.rb +0 -40
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/batch_actions/resource_extension.rb +0 -151
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/batch_actions/views/batch_action_form.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/batch_actions/views/batch_action_selector.rb +0 -58
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/batch_actions/views/selection_cells.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/callbacks.rb +0 -88
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/cancan_adapter.rb +0 -36
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/component.rb +0 -5
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/controller_action.rb +0 -12
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/csv_builder.rb +0 -131
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/dependency.rb +0 -164
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/deprecation.rb +0 -10
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/devise.rb +0 -80
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/dsl.rb +0 -160
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/dynamic_setting.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/dynamic_settings_node.rb +0 -28
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/engine.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/error.rb +0 -62
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/active.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/active_filter.rb +0 -123
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/active_sidebar.rb +0 -50
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/dsl.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/forms.rb +0 -82
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/formtastic_addons.rb +0 -79
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/filters/resource_extension.rb +0 -155
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/form_builder.rb +0 -182
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/generators/boilerplate.rb +0 -45
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/helpers/collection.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/helpers/i18n.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/helpers/optional_display.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/helpers/output_safety_helper.rb +0 -35
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/helpers/routes/url_helpers.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/helpers/scope_chain.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/datepicker_input.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/base.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/base/search_method_select.rb +0 -75
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/boolean_input.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/check_boxes_input.rb +0 -50
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/date_picker_input.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/date_range_input.rb +0 -49
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/numeric_input.rb +0 -12
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/select_input.rb +0 -58
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/string_input.rb +0 -26
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/inputs/filters/text_input.rb +0 -25
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/localizers.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/localizers/resource_localizer.rb +0 -35
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/menu.rb +0 -102
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/menu_collection.rb +0 -91
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/menu_item.rb +0 -69
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/namespace.rb +0 -266
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/namespace_settings.rb +0 -107
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/order_clause.rb +0 -48
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record.rb +0 -5
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record/comments.rb +0 -90
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record/comments/comment.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record/comments/namespace_helper.rb +0 -14
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record/comments/resource_helper.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record/comments/show_page_helper.rb +0 -23
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/active_record/comments/views.rb +0 -2
- 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
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/orm/mongoid.rb +0 -1
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/page.rb +0 -111
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/page_controller.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/page_dsl.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/page_presenter.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/pundit_adapter.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/reloader.rb +0 -25
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource.rb +0 -206
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/action_items.rb +0 -115
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/attributes.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/belongs_to.rb +0 -48
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/controllers.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/includes.rb +0 -12
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/menu.rb +0 -67
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/naming.rb +0 -62
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/ordering.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/page_presenters.rb +0 -82
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/pagination.rb +0 -23
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/routes.rb +0 -139
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/scope_to.rb +0 -74
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/scopes.rb +0 -52
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource/sidebars.rb +0 -28
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_collection.rb +0 -72
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller.rb +0 -64
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/action_builder.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/data_access.rb +0 -322
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/decorators.rb +0 -102
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/resource_class_methods.rb +0 -26
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/scoping.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/sidebars.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_controller/streaming.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/resource_dsl.rb +0 -224
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/router.rb +0 -113
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/scope.rb +0 -56
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/settings_node.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/sidebar_section.rb +0 -37
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/version.rb +0 -3
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_factory.rb +0 -27
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/active_admin_application_helper.rb +0 -12
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/auto_link_helper.rb +0 -45
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/breadcrumb_helper.rb +0 -33
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/display_helper.rb +0 -95
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/download_format_links_helper.rb +0 -59
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/fields_for.rb +0 -50
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/flash_helper.rb +0 -14
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/form_helper.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/method_or_proc_helper.rb +0 -99
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/scope_name_helper.rb +0 -16
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/sidebar_helper.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/title_helper.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/view_helpers/view_factory_helper.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views.rb +0 -8
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/action_items.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/active_admin_form.rb +0 -149
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/attributes_table.rb +0 -94
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/blank_slate.rb +0 -17
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/columns.rb +0 -161
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/dropdown_menu.rb +0 -71
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/index_list.rb +0 -69
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/menu.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/menu_item.rb +0 -58
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/paginated_collection.rb +0 -159
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/panel.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/scopes.rb +0 -65
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/sidebar.rb +0 -13
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/sidebar_section.rb +0 -37
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/site_title.rb +0 -54
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/status_tag.rb +0 -71
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/table_for.rb +0 -218
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/tabs.rb +0 -28
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/components/unsupported_browser.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/footer.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/header.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/index_as_block.rb +0 -36
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/index_as_blog.rb +0 -155
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/index_as_grid.rb +0 -80
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/index_as_table.rb +0 -393
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/pages/base.rb +0 -124
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/pages/form.rb +0 -64
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/pages/index.rb +0 -163
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/pages/layout.rb +0 -26
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/pages/page.rb +0 -30
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/pages/show.rb +0 -65
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/tabbed_navigation.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/active_admin/views/title_bar.rb +0 -55
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/activeadmin.rb +0 -1
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/bug_report_templates/active_admin_master.rb +0 -110
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/assets/assets_generator.rb +0 -14
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/assets/templates/active_admin.js +0 -1
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/assets/templates/active_admin.scss +0 -17
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/devise/devise_generator.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/install/install_generator.rb +0 -49
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/install/templates/active_admin.rb.erb +0 -293
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/install/templates/admin_users.rb.erb +0 -28
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/install/templates/dashboard.rb +0 -33
- 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
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/page/USAGE +0 -8
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/page/page_generator.rb +0 -12
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/page/templates/page.rb +0 -5
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/resource/resource_generator.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/generators/active_admin/resource/templates/admin.rb.erb +0 -43
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/lib/ransack_ext.rb +0 -20
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/bug_report_templates_spec.rb +0 -26
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/coffeescripts/jquery.aa.checkbox-toggler-spec.js.coffee +0 -50
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/coffeescripts/jquery.aa.table-checkbox-toggler-spec.js.coffee +0 -34
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/fixtures/checkboxes.html +0 -9
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/fixtures/table_checkboxes.html +0 -17
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/helpers/SpecHelper.js +0 -3
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/support/jasmine.yml +0 -74
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/javascripts/support/jasmine_runner.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/rails_helper.rb +0 -59
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/requests/default_namespace_spec.rb +0 -81
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/requests/memory_spec.rb +0 -25
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/requests/stylesheets_spec.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/spec_helper.rb +0 -1
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/active_admin_integration_spec_helper.rb +0 -73
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/active_admin_request_helpers.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/rails_template.rb +0 -151
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/rails_template_with_data.rb +0 -327
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/admin/stores.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/en.yml +0 -8
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/manifest.js +0 -3
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/active_admin/comment_policy.rb +0 -9
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/active_admin/page_policy.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/admin_user_policy.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/application_policy.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/category_policy.rb +0 -7
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/post_policy.rb +0 -15
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/store_policy.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/user_policy.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/post_decorator.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/abstract_view_factory_spec.rb +0 -78
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/action_builder_spec.rb +0 -158
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/active_admin_spec.rb +0 -11
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/application_spec.rb +0 -180
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/asset_registration_spec.rb +0 -77
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/authorization/authorization_adapter_spec.rb +0 -61
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/authorization/controller_authorization_spec.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/authorization/index_overriding_spec.rb +0 -23
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/auto_link_spec.rb +0 -93
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/batch_actions/resource_spec.rb +0 -84
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/batch_actions/settings_spec.rb +0 -61
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/belongs_to_spec.rb +0 -76
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/cancan_adapter_spec.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/comments_spec.rb +0 -176
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/component_spec.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/config_shared_examples.rb +0 -59
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/controller_filters_spec.rb +0 -41
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/csv_builder_spec.rb +0 -313
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/dependency_spec.rb +0 -135
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/devise_spec.rb +0 -110
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/dsl_spec.rb +0 -104
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/dynamic_settings_spec.rb +0 -28
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/filters/active_filter_spec.rb +0 -189
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/filters/active_spec.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/filters/filter_form_builder_spec.rb +0 -524
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/filters/resource_spec.rb +0 -128
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/form_builder_spec.rb +0 -998
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/generators/install_spec.rb +0 -31
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/helpers/collection_spec.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/helpers/output_safety_helper_spec.rb +0 -79
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/helpers/scope_chain_spec.rb +0 -35
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/i18n_spec.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/localizers/resource_localizer_spec.rb +0 -36
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/menu_collection_spec.rb +0 -62
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/menu_item_spec.rb +0 -82
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/menu_spec.rb +0 -60
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/namespace/authorization_spec.rb +0 -27
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/namespace/register_page_spec.rb +0 -99
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/namespace/register_resource_spec.rb +0 -162
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/namespace_spec.rb +0 -126
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/order_clause_spec.rb +0 -81
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/page_controller_spec.rb +0 -5
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/page_spec.rb +0 -125
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/pretty_format_spec.rb +0 -82
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/pundit_adapter_spec.rb +0 -98
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/action_items_spec.rb +0 -69
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/attributes_spec.rb +0 -49
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/includes_spec.rb +0 -21
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/menu_spec.rb +0 -18
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/naming_spec.rb +0 -120
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/ordering_spec.rb +0 -35
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/page_presenters_spec.rb +0 -44
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/pagination_spec.rb +0 -38
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/routes_spec.rb +0 -133
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/scopes_spec.rb +0 -50
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource/sidebars_spec.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_collection_spec.rb +0 -175
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_controller/data_access_spec.rb +0 -234
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_controller/decorators_spec.rb +0 -94
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_controller/sidebars_spec.rb +0 -37
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_controller_spec.rb +0 -286
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_registration_spec.rb +0 -61
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/resource_spec.rb +0 -320
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/routing_spec.rb +0 -211
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/scope_spec.rb +0 -209
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/settings_node_spec.rb +0 -26
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_factory_spec.rb +0 -19
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/breadcrumbs_spec.rb +0 -253
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/display_helper_spec.rb +0 -203
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/download_format_links_helper_spec.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/fields_for_spec.rb +0 -50
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/flash_helper_spec.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/form_helper_spec.rb +0 -42
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/view_helpers/method_or_proc_helper_spec.rb +0 -138
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/attributes_table_spec.rb +0 -271
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/batch_action_selector_spec.rb +0 -43
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/blank_slate_spec.rb +0 -27
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/columns_spec.rb +0 -187
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/index_list_spec.rb +0 -49
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/index_table_for_spec.rb +0 -127
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/menu_item_spec.rb +0 -29
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/menu_spec.rb +0 -168
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/paginated_collection_spec.rb +0 -249
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/panel_spec.rb +0 -58
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/sidebar_section_spec.rb +0 -68
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/sidebar_spec.rb +0 -24
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/site_title_spec.rb +0 -82
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/status_tag_spec.rb +0 -225
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/table_for_spec.rb +0 -436
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/tabs_spec.rb +0 -67
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/components/unsupported_browser_spec.rb +0 -39
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/index_as_blog_spec.rb +0 -76
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/pages/base_spec.rb +0 -14
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/pages/form_spec.rb +0 -54
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/pages/index_spec.rb +0 -60
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/pages/layout_spec.rb +0 -63
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/views/pages/show_spec.rb +0 -32
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/tasks/docs.rake +0 -64
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/tasks/lint.rake +0 -15
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/tasks/local.rake +0 -25
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/tasks/parallel_tests.rake +0 -66
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/tasks/test.rake +0 -24
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/data.js +0 -41
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/disable-selection.js +0 -48
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/escape-selector.js +0 -23
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/focusable.js +0 -86
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/form-reset-mixin.js +0 -80
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/form.js +0 -22
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/ie.js +0 -17
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/keycode.js +0 -47
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/labels.js +0 -65
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/plugin.js +0 -46
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/position.js +0 -500
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/safe-active-element.js +0 -42
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/safe-blur.js +0 -23
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/scroll-parent.js +0 -47
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/tabbable.js +0 -38
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/unique-id.js +0 -51
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/version.js +0 -17
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widget.js +0 -735
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/button.js +0 -391
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/checkboxradio.js +0 -291
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/controlgroup.js +0 -300
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/datepicker.js +0 -2123
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/dialog.js +0 -954
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/draggable.js +0 -1259
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/mouse.js +0 -230
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/resizable.js +0 -1207
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/sortable.js +0 -1561
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/widgets/tabs.js +0 -931
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/stylesheets/active_admin/_normalize.scss +0 -447
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55def873497d38747a6897932970590af63bd4dd135293804d7b39a938fd082f
|
4
|
+
data.tar.gz: 7e544cbc4d57033643f9334d46c05769044423faca46b1a2ea3b8335340a4ecd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91987d8083fb82cfb200f87bd252ccaed20bbb7072be7ff9853d492e13baf089d6bd4e564996711f25f44f4105608de539e68dac4d17d918c0c74f3fb497577e
|
7
|
+
data.tar.gz: 770e27656a0ba98f37a32e449c35ed06a55d7cb9b07b090177bebcee25681b76d0c9c12f10507da31a068e7114ff76b9d5709a4e950867f5c2948d73225ca3e7
|
data/MIT-LICENSE
CHANGED
data/Rakefile
CHANGED
@@ -14,5 +14,33 @@ RDoc::Task.new(:rdoc) do |rdoc|
|
|
14
14
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
15
|
end
|
16
16
|
|
17
|
-
|
17
|
+
task :prepare_assets do
|
18
|
+
system "rm -rf spec/dummy/public/packs"
|
19
|
+
system "rm -rf spec/dummy/public/packs-test"
|
20
|
+
system "yarn install"
|
21
|
+
system "yarn build"
|
22
|
+
system "(cd spec/dummy && yarn install)"
|
23
|
+
end
|
24
|
+
|
25
|
+
task :tests do
|
26
|
+
system "rspec ./spec/lib"
|
27
|
+
end
|
28
|
+
|
29
|
+
task :sprockets_tests do
|
30
|
+
system "rake prepare_assets"
|
31
|
+
system "export SPROCKETS=true; rspec ./spec/features"
|
32
|
+
end
|
18
33
|
|
34
|
+
task :webpack_tests do
|
35
|
+
system "rake prepare_assets"
|
36
|
+
system "export SPROCKETS=false; rspec ./spec/features"
|
37
|
+
end
|
38
|
+
|
39
|
+
task :all_tests do
|
40
|
+
system "rake prepare_assets"
|
41
|
+
system "rake tests"
|
42
|
+
system "export SPROCKETS=true; rspec ./spec/features"
|
43
|
+
system "export SPROCKETS=false; rspec ./spec/features"
|
44
|
+
end
|
45
|
+
|
46
|
+
Bundler::GemHelper.install_tasks
|
@@ -1,14 +1,753 @@
|
|
1
|
-
|
1
|
+
/* eslint-disable */
|
2
|
+
/**
|
3
|
+
* Warning: This file is auto-generated, do not modify. Instead, make your changes in 'app/javascript/activeadmin_addons/' and run `yarn build`
|
4
|
+
*/
|
5
|
+
//= require select2.full
|
2
6
|
//= require jquery.xdan.datetimepicker.full
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
7
|
+
|
8
|
+
(function(factory) {
|
9
|
+
typeof define === "function" && define.amd ? define([ "select2", "jquery-datetimepicker" ], factory) : factory();
|
10
|
+
})(function() {
|
11
|
+
"use strict";
|
12
|
+
(function($) {
|
13
|
+
$.paletteColorPicker = function(el, options) {
|
14
|
+
var ns = "palette-color-picker", $el = $(el), plugin = this, current_value = $el.val(), target = $el.attr("name"), $button = $("<div>").addClass(ns + "-button").attr("data-target", target), $bubble = $("<div>").addClass(ns + "-bubble"), defaults = {
|
15
|
+
custom_class: null,
|
16
|
+
colors: null,
|
17
|
+
position: "upside",
|
18
|
+
insert: "before",
|
19
|
+
clear_btn: "first",
|
20
|
+
timeout: 2e3,
|
21
|
+
set_background: false,
|
22
|
+
close_all_but_this: false
|
23
|
+
}, click_handler = "ontouchstart" in document.documentElement ? "touchstart click" : "click";
|
24
|
+
plugin.init = function() {
|
25
|
+
plugin.settings = $.extend({}, defaults, options);
|
26
|
+
var val = $el.attr("value");
|
27
|
+
if (typeof val === typeof undefined || val === false) {
|
28
|
+
val = "";
|
29
|
+
$el.attr("value", val);
|
30
|
+
}
|
31
|
+
$el.attr("data-initialvalue", $el.attr("value"));
|
32
|
+
if (plugin.settings.colors === null) {
|
33
|
+
plugin.settings.colors = $el.data("palette");
|
34
|
+
}
|
35
|
+
if (typeof plugin.settings.colors[0] === "string") {
|
36
|
+
plugin.settings.colors = $.map(plugin.settings.colors, function(el, idx) {
|
37
|
+
var b = {};
|
38
|
+
b[el] = el;
|
39
|
+
return b;
|
40
|
+
});
|
41
|
+
}
|
42
|
+
plugin.settings.insert = plugin.settings.insert.charAt(0).toUpperCase() + plugin.settings.insert.slice(1);
|
43
|
+
if (plugin.settings.custom_class) {
|
44
|
+
$bubble.addClass(plugin.settings.custom_class);
|
45
|
+
}
|
46
|
+
$.each(plugin.settings.colors, function(idx, obj) {
|
47
|
+
var key = Object.keys(obj)[0], col = obj[key], $sw = $("<span>").addClass("swatch").attr({
|
48
|
+
title: key,
|
49
|
+
"data-color": col,
|
50
|
+
"data-name": key
|
51
|
+
}).css("background-color", col);
|
52
|
+
if (key === current_value) {
|
53
|
+
$sw.addClass("active");
|
54
|
+
$button.css("background", col);
|
55
|
+
}
|
56
|
+
$sw.appendTo($bubble);
|
57
|
+
});
|
58
|
+
if (plugin.settings.clear_btn !== null) {
|
59
|
+
var $clear_btn = $("<span>").addClass("swatch clear").attr("title", "Clear selection");
|
60
|
+
if (plugin.settings.clear_btn === "last") {
|
61
|
+
$clear_btn.addClass("last").appendTo($bubble);
|
62
|
+
} else {
|
63
|
+
$clear_btn.prependTo($bubble);
|
64
|
+
}
|
65
|
+
}
|
66
|
+
plugin.destroy = function() {
|
67
|
+
$button.remove();
|
68
|
+
$.removeData($el[0]);
|
69
|
+
};
|
70
|
+
plugin.clear = function() {
|
71
|
+
$bubble.find(".active").removeClass("active");
|
72
|
+
$button.removeAttr("style");
|
73
|
+
$el.val("");
|
74
|
+
};
|
75
|
+
plugin.reset = function() {
|
76
|
+
if ($el.attr("data-initialvalue") === "") {
|
77
|
+
plugin.clear();
|
78
|
+
} else {
|
79
|
+
var iv = $el.attr("data-initialvalue");
|
80
|
+
$bubble.find('[data-name="' + iv + '"]').trigger("click");
|
81
|
+
}
|
82
|
+
};
|
83
|
+
plugin.reload = function() {
|
84
|
+
var newVal = $el.val();
|
85
|
+
if (newVal === "" || typeof newVal === typeof undefined || newVal === false) {
|
86
|
+
plugin.reset();
|
87
|
+
} else {
|
88
|
+
if ($bubble.find('[data-name="' + newVal + '"]').length) {
|
89
|
+
$bubble.find('[data-name="' + newVal + '"]').trigger("click");
|
90
|
+
} else {
|
91
|
+
plugin.reset();
|
92
|
+
}
|
93
|
+
}
|
94
|
+
};
|
95
|
+
$button.append($bubble).on(click_handler, function(e) {
|
96
|
+
e.preventDefault();
|
97
|
+
e.stopPropagation();
|
98
|
+
var $b = $(this);
|
99
|
+
if (!$(e.target).hasClass(ns + "-bubble")) {
|
100
|
+
if (typeof plugin.settings.onbeforeshow_callback === "function") {
|
101
|
+
plugin.settings.onbeforeshow_callback(this);
|
102
|
+
}
|
103
|
+
$b.toggleClass("active");
|
104
|
+
var $current_bubble = $b.find("." + ns + "-bubble");
|
105
|
+
if (plugin.settings.close_all_but_this) {
|
106
|
+
$("." + ns + "-bubble").not($current_bubble).fadeOut();
|
107
|
+
}
|
108
|
+
$current_bubble.fadeToggle();
|
109
|
+
if ($b.hasClass("active")) {
|
110
|
+
clearTimeout(plugin.timer);
|
111
|
+
plugin.timer = setTimeout(function() {
|
112
|
+
$b.trigger("pcp.fadeout");
|
113
|
+
}, plugin.settings.timeout);
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}).on("pcp.fadeout", function() {
|
117
|
+
$(this).removeClass("active").find("." + ns + "-bubble").fadeOut();
|
118
|
+
}).on("mouseenter", "." + ns + "-bubble", function() {
|
119
|
+
clearTimeout(plugin.timer);
|
120
|
+
}).on("mouseleave", "." + ns + "-bubble", function() {
|
121
|
+
plugin.timer = setTimeout(function() {
|
122
|
+
$button.trigger("pcp.fadeout");
|
123
|
+
}, plugin.settings.timeout);
|
124
|
+
}).on(click_handler, "." + ns + "-bubble span.swatch", function(e) {
|
125
|
+
e.preventDefault();
|
126
|
+
e.stopPropagation();
|
127
|
+
var col = $(this).attr("data-color"), name = $(this).attr("data-name"), $button = $("." + ns + '-button[data-target="' + $(this).closest("." + ns + "-button").attr("data-target") + '"]'), $bubble = $(this).closest("." + ns + "-bubble");
|
128
|
+
$bubble.find(".active").removeClass("active");
|
129
|
+
if ($(e.target).is(".clear")) {
|
130
|
+
$button.removeAttr("style");
|
131
|
+
col = "";
|
132
|
+
} else {
|
133
|
+
$(this).addClass("active");
|
134
|
+
$button.css("background", col);
|
135
|
+
}
|
136
|
+
if (typeof plugin.settings.onchange_callback === "function") {
|
137
|
+
plugin.settings.onchange_callback(col);
|
138
|
+
}
|
139
|
+
if (plugin.settings.set_background === false) {
|
140
|
+
$('[name="' + $button.attr("data-target") + '"]').val(name);
|
141
|
+
} else {
|
142
|
+
$('[name="' + $button.attr("data-target") + '"]').css({
|
143
|
+
"background-color": col
|
144
|
+
});
|
145
|
+
}
|
146
|
+
})["insert" + plugin.settings.insert]($el);
|
147
|
+
if (plugin.settings.position === "downside" || $el.offset().top + 20 < $bubble.outerHeight()) {
|
148
|
+
$bubble.addClass("downside");
|
149
|
+
}
|
150
|
+
};
|
151
|
+
$("body").on(click_handler, function(event) {
|
152
|
+
if (!$(event.target).hasClass(ns + "-button")) {
|
153
|
+
$($button).removeClass("active").find("." + ns + "-bubble").fadeOut();
|
154
|
+
}
|
155
|
+
});
|
156
|
+
plugin.init();
|
157
|
+
};
|
158
|
+
$.fn.paletteColorPicker = function(options) {
|
159
|
+
return this.each(function() {
|
160
|
+
if (typeof $(this).data("paletteColorPickerPlugin") === "undefined") {
|
161
|
+
$(this).data("paletteColorPickerPlugin", new $.paletteColorPicker(this, options));
|
162
|
+
}
|
163
|
+
});
|
164
|
+
};
|
165
|
+
})(jQuery);
|
166
|
+
var initializer$9 = function() {
|
167
|
+
window.ActiveadminAddons = {
|
168
|
+
config: {
|
169
|
+
defaultSelect: $("body").data("default-select")
|
170
|
+
}
|
171
|
+
};
|
172
|
+
};
|
173
|
+
$(initializer$9);
|
174
|
+
$(document).on("turbolinks:load", initializer$9);
|
175
|
+
var initializer$8 = function() {
|
176
|
+
configureSelect2(document);
|
177
|
+
$(document).on("has_many_add:after", function(event, container) {
|
178
|
+
configureSelect2(container);
|
179
|
+
});
|
180
|
+
function configureSelect2(container) {
|
181
|
+
if (window.ActiveadminAddons.config.defaultSelect == "select2") {
|
182
|
+
$("select:not(.default-select)", container).each(function(i, el) {
|
183
|
+
setupSelect2(el);
|
184
|
+
});
|
185
|
+
}
|
186
|
+
$("select.select2", container).each(function(i, el) {
|
187
|
+
setupSelect2(el);
|
188
|
+
});
|
189
|
+
function setupSelect2(select) {
|
190
|
+
var selectConfig = {
|
191
|
+
placeholder: "",
|
192
|
+
width: "80%",
|
193
|
+
allowClear: true
|
194
|
+
};
|
195
|
+
function isFilter(path) {
|
196
|
+
return $(select).closest(path).length > 0;
|
197
|
+
}
|
198
|
+
if (isFilter(".select_and_search")) {
|
199
|
+
selectConfig.width = "resolve";
|
200
|
+
selectConfig.allowClear = false;
|
201
|
+
} else if (isFilter(".filter_select")) {
|
202
|
+
selectConfig.width = "resolve";
|
203
|
+
}
|
204
|
+
$(select).select2(selectConfig);
|
205
|
+
$(select).on("select2:unselecting", function() {
|
206
|
+
$(this).data("unselecting", true);
|
207
|
+
}).on("select2:open", function() {
|
208
|
+
if ($(this).data("unselecting")) {
|
209
|
+
$(this).select2("close").removeData("unselecting");
|
210
|
+
}
|
211
|
+
});
|
212
|
+
}
|
213
|
+
}
|
214
|
+
};
|
215
|
+
$(initializer$8);
|
216
|
+
$(document).on("turbolinks:load", initializer$8);
|
217
|
+
var initializer$7 = function() {
|
218
|
+
setupSearchSelect(document);
|
219
|
+
$(document).on("has_many_add:after", function(event, container) {
|
220
|
+
setupSearchSelect(container);
|
221
|
+
});
|
222
|
+
function setupSearchSelect(container) {
|
223
|
+
$(".search-select-input, .search-select-filter-input, ajax-filter-input", container).each(function(i, el) {
|
224
|
+
var element = $(el);
|
225
|
+
var url = element.data("url");
|
226
|
+
var fields = element.data("fields");
|
227
|
+
var predicate = element.data("predicate");
|
228
|
+
var displayName = element.data("display-name");
|
229
|
+
var width = element.data("width");
|
230
|
+
var responseRoot = element.data("response-root");
|
231
|
+
var minimumInputLength = element.data("minimum-input-length");
|
232
|
+
var order = element.data("order");
|
233
|
+
var selectOptions = {
|
234
|
+
width: width,
|
235
|
+
minimumInputLength: minimumInputLength,
|
236
|
+
placeholder: "",
|
237
|
+
allowClear: true,
|
238
|
+
ajax: {
|
239
|
+
url: url,
|
240
|
+
dataType: "json",
|
241
|
+
delay: 250,
|
242
|
+
cache: true,
|
243
|
+
data: function(params) {
|
244
|
+
var textQuery = {
|
245
|
+
m: "or"
|
246
|
+
};
|
247
|
+
fields.forEach(function(field) {
|
248
|
+
if (field == "id") {
|
249
|
+
textQuery[field + "_eq"] = params.term;
|
250
|
+
} else {
|
251
|
+
textQuery[field + "_" + predicate] = params.term;
|
252
|
+
}
|
253
|
+
});
|
254
|
+
var query = {
|
255
|
+
order: order,
|
256
|
+
q: {
|
257
|
+
groupings: [ textQuery ],
|
258
|
+
combinator: "and"
|
259
|
+
}
|
260
|
+
};
|
261
|
+
return query;
|
262
|
+
},
|
263
|
+
processResults: function(data) {
|
264
|
+
if (data.constructor == Object) {
|
265
|
+
data = data[responseRoot];
|
266
|
+
}
|
267
|
+
return {
|
268
|
+
results: jQuery.map(data, function(resource) {
|
269
|
+
if (!resource[displayName]) {
|
270
|
+
resource[displayName] = "No display name for id #" + resource.id.toString();
|
271
|
+
}
|
272
|
+
return {
|
273
|
+
id: resource.id,
|
274
|
+
text: resource[displayName].toString()
|
275
|
+
};
|
276
|
+
})
|
277
|
+
};
|
278
|
+
}
|
279
|
+
}
|
280
|
+
};
|
281
|
+
$(el).select2(selectOptions);
|
282
|
+
});
|
283
|
+
}
|
284
|
+
};
|
285
|
+
$(initializer$7);
|
286
|
+
$(document).on("turbolinks:load", initializer$7);
|
287
|
+
$.fn.select2.amd.define("select2/data/nestedCustomAdapter", [ "select2/data/array", "select2/utils" ], function(ArrayData, Utils) {
|
288
|
+
function CustomData($element, options) {
|
289
|
+
CustomData.__super__.constructor.call(this, $element, options);
|
290
|
+
}
|
291
|
+
Utils.Extend(CustomData, ArrayData);
|
292
|
+
CustomData.prototype.query = function(params, callback) {
|
293
|
+
var data = {
|
294
|
+
results: []
|
295
|
+
};
|
296
|
+
var element = this.$element;
|
297
|
+
var collection = element.data("collection");
|
298
|
+
var parent = element.data("parent");
|
299
|
+
var parentId = element.data("parent-id");
|
300
|
+
collection.forEach(function(record) {
|
301
|
+
var regex = new RegExp(params.term, "i");
|
302
|
+
var matched = !!record.text.match(regex);
|
303
|
+
if ((!parent || record[parent] == parentId) && matched) {
|
304
|
+
data.results.push(record);
|
305
|
+
}
|
306
|
+
});
|
307
|
+
callback(data);
|
308
|
+
};
|
309
|
+
CustomData.prototype.current = function(callback) {
|
310
|
+
var currentOption = null;
|
311
|
+
var element = this.$element;
|
312
|
+
var selectedOption = element.data("selected");
|
313
|
+
var collection = element.data("collection");
|
314
|
+
var data = [];
|
315
|
+
$.each(collection, function(index, option) {
|
316
|
+
if (!!selectedOption && option.id == selectedOption.id) {
|
317
|
+
currentOption = option;
|
318
|
+
element.data("selected", null);
|
319
|
+
return;
|
320
|
+
}
|
321
|
+
if (element.val() == option.id) {
|
322
|
+
currentOption = option;
|
323
|
+
return;
|
324
|
+
}
|
325
|
+
});
|
326
|
+
if (currentOption) {
|
327
|
+
data.push(currentOption);
|
328
|
+
}
|
329
|
+
callback(data);
|
330
|
+
};
|
331
|
+
return CustomData;
|
332
|
+
});
|
333
|
+
var initializer$6 = function() {
|
334
|
+
configureSelect2(document);
|
335
|
+
$(document).on("has_many_add:after", function(event, container) {
|
336
|
+
configureSelect2(container);
|
337
|
+
});
|
338
|
+
function configureSelect2(container) {
|
339
|
+
var INVALID_PARENT_ID = -1;
|
340
|
+
$(".nested-level-input", container).each(function(i, el) {
|
341
|
+
var element = $(el);
|
342
|
+
var url = element.data("url");
|
343
|
+
var fields = element.data("fields");
|
344
|
+
var predicate = element.data("predicate");
|
345
|
+
var filters = element.data("filters");
|
346
|
+
var displayName = element.data("display-name");
|
347
|
+
var parent = element.data("parent");
|
348
|
+
var width = element.data("width");
|
349
|
+
var model = element.data("model");
|
350
|
+
var responseRoot = element.data("response-root");
|
351
|
+
var collection = element.data("collection");
|
352
|
+
var minimumInputLength = element.data("minimum-input-length");
|
353
|
+
var order = element.data("order");
|
354
|
+
var parentId = element.data("parent-id");
|
355
|
+
var selectInstance;
|
356
|
+
var select2Config = {
|
357
|
+
width: width,
|
358
|
+
minimumInputLength: minimumInputLength,
|
359
|
+
placeholder: "",
|
360
|
+
allowClear: true
|
361
|
+
};
|
362
|
+
if (collection) {
|
363
|
+
select2Config.dataAdapter = $.fn.select2.amd.require("select2/data/nestedCustomAdapter");
|
364
|
+
} else {
|
365
|
+
var ajaxConfig = {
|
366
|
+
url: url,
|
367
|
+
dataType: "json",
|
368
|
+
delay: 250,
|
369
|
+
cache: true,
|
370
|
+
data: function(params) {
|
371
|
+
var textQuery = {
|
372
|
+
m: "or"
|
373
|
+
};
|
374
|
+
fields.forEach(function(field) {
|
375
|
+
if (field == "id") {
|
376
|
+
textQuery[field + "_eq"] = params.term;
|
377
|
+
} else {
|
378
|
+
textQuery[field + "_" + predicate] = params.term;
|
379
|
+
}
|
380
|
+
});
|
381
|
+
var query = {
|
382
|
+
order: order,
|
383
|
+
q: {
|
384
|
+
groupings: [ textQuery ],
|
385
|
+
combinator: "and"
|
386
|
+
}
|
387
|
+
};
|
388
|
+
if (!!parent) {
|
389
|
+
query.q[parent + "_eq"] = parentId;
|
390
|
+
}
|
391
|
+
Object.assign(query.q, filters);
|
392
|
+
return query;
|
393
|
+
},
|
394
|
+
processResults: function(data) {
|
395
|
+
if (data.constructor == Object) {
|
396
|
+
data = data[responseRoot];
|
397
|
+
}
|
398
|
+
return {
|
399
|
+
results: jQuery.map(data, function(resource) {
|
400
|
+
if (!resource[displayName]) {
|
401
|
+
resource[displayName] = "No display name for id #" + resource.id.toString();
|
402
|
+
}
|
403
|
+
return {
|
404
|
+
id: resource.id,
|
405
|
+
text: resource[displayName].toString()
|
406
|
+
};
|
407
|
+
})
|
408
|
+
};
|
409
|
+
}
|
410
|
+
};
|
411
|
+
select2Config.ajax = ajaxConfig;
|
412
|
+
}
|
413
|
+
selectInstance = element.select2(select2Config);
|
414
|
+
function setParentValue(e) {
|
415
|
+
selectInstance.val(null).trigger("select2:select").trigger("change");
|
416
|
+
parentId = e.params && e.params.data.id ? e.params.data.id : INVALID_PARENT_ID;
|
417
|
+
element.data("parent-id", parentId);
|
418
|
+
}
|
419
|
+
if (!!parent) {
|
420
|
+
var parentSelectorId = "#" + model + "_" + parent;
|
421
|
+
if (!$(parentSelectorId).length) {
|
422
|
+
parentSelectorId = $(container).find("*[id*=" + parent + "]")[0];
|
423
|
+
}
|
424
|
+
var parentSelector = $(parentSelectorId)[0];
|
425
|
+
$(parentSelector).on("select2:select", setParentValue);
|
426
|
+
$(parentSelector).on("select2:unselect", setParentValue);
|
427
|
+
}
|
428
|
+
});
|
429
|
+
}
|
430
|
+
};
|
431
|
+
$(initializer$6);
|
432
|
+
$(document).on("turbolinks:load", initializer$6);
|
433
|
+
var initializer$5 = function() {
|
434
|
+
setupTags(document);
|
435
|
+
$(document).on("has_many_add:after", function(event, container) {
|
436
|
+
setupTags(container);
|
437
|
+
});
|
438
|
+
function setupTags(container) {
|
439
|
+
$(".tags-input", container).each(function(i, el) {
|
440
|
+
var model = $(el).data("model");
|
441
|
+
var method = $(el).data("method");
|
442
|
+
var prefix = model + "_" + method;
|
443
|
+
var isRelation = !!$(el).data("relation");
|
444
|
+
var collection = $(el).data("collection");
|
445
|
+
var width = $(el).data("width");
|
446
|
+
var selectOptions = {
|
447
|
+
width: width,
|
448
|
+
multiple: true,
|
449
|
+
tags: true,
|
450
|
+
data: collection
|
451
|
+
};
|
452
|
+
if (!!isRelation) {
|
453
|
+
selectOptions.createTag = function() {
|
454
|
+
return undefined;
|
455
|
+
};
|
456
|
+
}
|
457
|
+
$(el).on("select2:select", onItemAdded);
|
458
|
+
$(el).on("select2:unselect", onItemRemoved);
|
459
|
+
$(el).select2(selectOptions);
|
460
|
+
function getSelectedItems() {
|
461
|
+
var choices = $(el).parent("li.input").find(".select2-selection__choice");
|
462
|
+
return $.map(choices, function(item) {
|
463
|
+
return $(item).attr("title");
|
464
|
+
});
|
465
|
+
}
|
466
|
+
function fillHiddenInput() {
|
467
|
+
var hiddenInput = $("#" + prefix);
|
468
|
+
hiddenInput.val(getSelectedItems().join());
|
469
|
+
}
|
470
|
+
function onItemRemoved(event) {
|
471
|
+
if (isRelation) {
|
472
|
+
var itemId = "[id='" + prefix + "_" + event.params.data.id + "']";
|
473
|
+
$(itemId).remove();
|
474
|
+
} else {
|
475
|
+
fillHiddenInput();
|
476
|
+
}
|
477
|
+
}
|
478
|
+
function onItemAdded(event) {
|
479
|
+
if (isRelation) {
|
480
|
+
var value = event.params.data.id;
|
481
|
+
var selectedItemsContainer = $("[id='" + prefix + "_selected_values']");
|
482
|
+
var itemName = model + "[" + method + "][]";
|
483
|
+
var itemId = prefix + "_" + value;
|
484
|
+
$("<input>").attr({
|
485
|
+
id: itemId,
|
486
|
+
name: itemName,
|
487
|
+
type: "hidden",
|
488
|
+
value: value
|
489
|
+
}).appendTo(selectedItemsContainer);
|
490
|
+
} else {
|
491
|
+
fillHiddenInput();
|
492
|
+
}
|
493
|
+
}
|
494
|
+
});
|
495
|
+
}
|
496
|
+
};
|
497
|
+
$(initializer$5);
|
498
|
+
$(document).on("turbolinks:load", initializer$5);
|
499
|
+
var initializer$4 = function() {
|
500
|
+
setupSelectedList(document);
|
501
|
+
$(document).on("has_many_add:after", function(event, container) {
|
502
|
+
setupSelectedList(container);
|
503
|
+
});
|
504
|
+
function setupSelectedList(container) {
|
505
|
+
$(".selected-list-container").click(function(event) {
|
506
|
+
var item = $(event.target);
|
507
|
+
if (item.hasClass("selected-item")) {
|
508
|
+
item.remove();
|
509
|
+
}
|
510
|
+
});
|
511
|
+
$(".selected-list-input", container).each(function(i, el) {
|
512
|
+
var element = $(el);
|
513
|
+
var url = element.data("url");
|
514
|
+
var fields = element.data("fields");
|
515
|
+
var predicate = element.data("predicate");
|
516
|
+
var displayName = element.data("display-name");
|
517
|
+
var method = element.data("method");
|
518
|
+
var model = element.data("model");
|
519
|
+
var prefix = model + "_" + method;
|
520
|
+
var responseRoot = element.data("response-root");
|
521
|
+
var minimumInputLength = element.data("minimum-input-length");
|
522
|
+
var order = element.data("order");
|
523
|
+
var selectOptions = {
|
524
|
+
minimumInputLength: minimumInputLength,
|
525
|
+
allowClear: true,
|
526
|
+
ajax: {
|
527
|
+
url: url,
|
528
|
+
dataType: "json",
|
529
|
+
delay: 250,
|
530
|
+
cache: true,
|
531
|
+
data: function(params) {
|
532
|
+
var textQuery = {
|
533
|
+
m: "or"
|
534
|
+
};
|
535
|
+
fields.forEach(function(field) {
|
536
|
+
textQuery[field + "_" + predicate] = params.term;
|
537
|
+
});
|
538
|
+
var query = {
|
539
|
+
order: order,
|
540
|
+
q: {
|
541
|
+
groupings: [ textQuery ],
|
542
|
+
combinator: "and"
|
543
|
+
}
|
544
|
+
};
|
545
|
+
return query;
|
546
|
+
},
|
547
|
+
processResults: function(data) {
|
548
|
+
if (data.constructor == Object) {
|
549
|
+
data = data[responseRoot];
|
550
|
+
}
|
551
|
+
return {
|
552
|
+
results: jQuery.map(data, function(resource) {
|
553
|
+
return {
|
554
|
+
id: resource.id,
|
555
|
+
text: resource[displayName].toString()
|
556
|
+
};
|
557
|
+
})
|
558
|
+
};
|
559
|
+
}
|
560
|
+
}
|
561
|
+
};
|
562
|
+
$(el).on("select2:select", onItemSelected);
|
563
|
+
$(el).on("select2:close", onSelectClosed);
|
564
|
+
$(el).select2(selectOptions);
|
565
|
+
function onItemSelected(event) {
|
566
|
+
var data = event.params.data;
|
567
|
+
var selectedItemsContainer = $("[id='" + prefix + "_selected_values']");
|
568
|
+
var itemName = model + "[" + method + "][]";
|
569
|
+
var itemId = prefix + "_" + data.id;
|
570
|
+
if ($("#" + itemId).length > 0) {
|
571
|
+
return;
|
572
|
+
}
|
573
|
+
var item = $("<div>" + data.text + "</div>").attr({
|
574
|
+
class: "selected-item",
|
575
|
+
id: itemId
|
576
|
+
});
|
577
|
+
var hiddenInput = $("<input>").attr({
|
578
|
+
name: itemName,
|
579
|
+
type: "hidden",
|
580
|
+
value: data.id
|
581
|
+
});
|
582
|
+
item.appendTo(selectedItemsContainer);
|
583
|
+
hiddenInput.appendTo(item);
|
584
|
+
}
|
585
|
+
function onSelectClosed() {
|
586
|
+
$(el).val(null).trigger("change");
|
587
|
+
}
|
588
|
+
});
|
589
|
+
}
|
590
|
+
};
|
591
|
+
$(initializer$4);
|
592
|
+
$(document).on("turbolinks:load", initializer$4);
|
593
|
+
var initializer$3 = function() {
|
594
|
+
setupDateTimePicker(document);
|
595
|
+
$(document).on("has_many_add:after", ".has_many_container", function(event, fieldset) {
|
596
|
+
return setupDateTimePicker(fieldset);
|
597
|
+
});
|
598
|
+
function setupDateTimePicker(container) {
|
599
|
+
var defaults = {
|
600
|
+
formatDate: "y-m-d",
|
601
|
+
format: "Y-m-d H:i",
|
602
|
+
allowBlank: true,
|
603
|
+
defaultSelect: false,
|
604
|
+
validateOnBlur: false,
|
605
|
+
scrollInput: false
|
606
|
+
};
|
607
|
+
var entries = $(container).find("input.date-time-picker-input");
|
608
|
+
return entries.each(function(index, entry) {
|
609
|
+
var options = $(entry).data("picker-options");
|
610
|
+
var mixedOptions = $.extend(defaults, options);
|
611
|
+
return $(entry).datetimepicker(mixedOptions);
|
612
|
+
});
|
613
|
+
}
|
614
|
+
};
|
615
|
+
$(initializer$3);
|
616
|
+
$(document).on("turbolinks:load", initializer$3);
|
617
|
+
var initializer$2 = function() {
|
618
|
+
setupColorPicker();
|
619
|
+
$(document).on("has_many_add:after", setupColorPicker);
|
620
|
+
function setupColorPicker() {
|
621
|
+
$(".color-picker-input").each(function(i, el) {
|
622
|
+
$(el).paletteColorPicker({
|
623
|
+
clear_btn: "last"
|
624
|
+
});
|
625
|
+
});
|
626
|
+
}
|
627
|
+
};
|
628
|
+
$(initializer$2);
|
629
|
+
$(document).on("turbolinks:load", initializer$2);
|
630
|
+
var initializer$1 = function() {
|
631
|
+
$(".toggle-bool-switch").click(function(e) {
|
632
|
+
var boolSwitch = $(e.target);
|
633
|
+
var objectId = boolSwitch.data("object_id");
|
634
|
+
var model = boolSwitch.data("model");
|
635
|
+
var field = boolSwitch.data("field");
|
636
|
+
var url = boolSwitch.data("url");
|
637
|
+
var value = boolSwitch.data("value");
|
638
|
+
var successMessage = boolSwitch.data("success_message");
|
639
|
+
var data = {
|
640
|
+
id: objectId
|
641
|
+
};
|
642
|
+
data[model] = {};
|
643
|
+
data[model][field] = !value;
|
644
|
+
$.ajax({
|
645
|
+
url: url,
|
646
|
+
data: data,
|
647
|
+
dataType: "json",
|
648
|
+
headers: {
|
649
|
+
"X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr("content")
|
650
|
+
},
|
651
|
+
error: function() {
|
652
|
+
var errorMsg = "Error: Update Unsuccessful";
|
653
|
+
alert(errorMsg);
|
654
|
+
},
|
655
|
+
success: function() {
|
656
|
+
boolSwitch.data("value", !value);
|
657
|
+
boolSwitch.toggleClass("on");
|
658
|
+
if (!boolSwitch.hasClass("notify-success")) return;
|
659
|
+
$(function() {
|
660
|
+
setTimeout(alert(successMessage), 500);
|
661
|
+
});
|
662
|
+
},
|
663
|
+
type: "PATCH"
|
664
|
+
});
|
665
|
+
});
|
666
|
+
};
|
667
|
+
$(initializer$1);
|
668
|
+
$(document).on("turbolinks:load", initializer$1);
|
669
|
+
var initializer = function() {
|
670
|
+
configureInteractiveSelect(document);
|
671
|
+
$(document).on("has_many_add:after", function(event, container) {
|
672
|
+
configureInteractiveSelect(container);
|
673
|
+
});
|
674
|
+
function configureInteractiveSelect(container) {
|
675
|
+
$(".interactive-tag-select select", container).each(function(i, el) {
|
676
|
+
setupSelect2(el);
|
677
|
+
});
|
678
|
+
function setupSelect2(select) {
|
679
|
+
var selectConfig = {
|
680
|
+
placeholder: "",
|
681
|
+
allowClear: false,
|
682
|
+
width: "125px"
|
683
|
+
};
|
684
|
+
$(select).select2(selectConfig);
|
685
|
+
$(select).on("select2:unselecting", function() {
|
686
|
+
$(this).data("unselecting", true);
|
687
|
+
}).on("select2:open", function() {
|
688
|
+
if ($(this).data("unselecting")) {
|
689
|
+
$(this).select2("close").removeData("unselecting");
|
690
|
+
}
|
691
|
+
});
|
692
|
+
}
|
693
|
+
}
|
694
|
+
$(".interactive-tag").click(function(e) {
|
695
|
+
var tag = $(e.target).parent();
|
696
|
+
var model = tag.data("model");
|
697
|
+
var objectId = tag.data("object_id");
|
698
|
+
var field = tag.data("field");
|
699
|
+
var selectTag = $("." + model + "-" + field + "-" + objectId + "-select");
|
700
|
+
selectTag.removeClass("select-container-hidden");
|
701
|
+
tag.addClass("interactive-tag-hidden");
|
702
|
+
selectTag.find("select").select2("open");
|
703
|
+
});
|
704
|
+
$(".interactive-tag-select").on("select2:close", function(e) {
|
705
|
+
var selectTag = $(e.target).parent();
|
706
|
+
var model = selectTag.data("model");
|
707
|
+
var objectId = selectTag.data("object_id");
|
708
|
+
var field = selectTag.data("field");
|
709
|
+
var tagContainer = $("." + model + "-" + field + "-" + objectId + "-tag");
|
710
|
+
var statusTag = tagContainer.find(".status_tag");
|
711
|
+
var newValue = e.target.value;
|
712
|
+
var newText = e.target.selectedOptions[0].text;
|
713
|
+
var oldValue = selectTag.data("value");
|
714
|
+
if (newValue === oldValue) {
|
715
|
+
selectTag.addClass("select-container-hidden");
|
716
|
+
tagContainer.removeClass("interactive-tag-hidden");
|
717
|
+
} else {
|
718
|
+
var url = tagContainer.data("url");
|
719
|
+
var data = {
|
720
|
+
id: objectId
|
721
|
+
};
|
722
|
+
data[model] = {};
|
723
|
+
data[model][field] = newValue;
|
724
|
+
$.ajax({
|
725
|
+
url: url,
|
726
|
+
data: data,
|
727
|
+
dataType: "json",
|
728
|
+
headers: {
|
729
|
+
"X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr("content")
|
730
|
+
},
|
731
|
+
error: function() {
|
732
|
+
var errorMsg = "Error: Update Unsuccessful";
|
733
|
+
console.log(errorMsg);
|
734
|
+
},
|
735
|
+
success: function() {
|
736
|
+
statusTag.text(newText);
|
737
|
+
statusTag.removeClass(oldValue);
|
738
|
+
statusTag.addClass(newValue);
|
739
|
+
tagContainer.data("value", newValue);
|
740
|
+
selectTag.data("value", newValue);
|
741
|
+
},
|
742
|
+
complete: function() {
|
743
|
+
selectTag.addClass("select-container-hidden");
|
744
|
+
tagContainer.removeClass("interactive-tag-hidden");
|
745
|
+
},
|
746
|
+
type: "PATCH"
|
747
|
+
});
|
748
|
+
}
|
749
|
+
});
|
750
|
+
};
|
751
|
+
$(initializer);
|
752
|
+
$(document).on("turbolinks:load", initializer);
|
753
|
+
});
|