activeadmin 1.3.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +467 -0
  3. data/.gitignore +2 -5
  4. data/.rspec +1 -0
  5. data/.rspec_parallel +2 -0
  6. data/.rubocop.yml +25 -7
  7. data/.simplecov +4 -6
  8. data/CHANGELOG.md +175 -83
  9. data/CODE_OF_CONDUCT.md +64 -12
  10. data/CONTRIBUTING.md +77 -40
  11. data/Gemfile +7 -55
  12. data/Gemfile.common +53 -0
  13. data/Gemfile.lock +431 -0
  14. data/README.md +39 -18
  15. data/Rakefile +1 -32
  16. data/app/assets/stylesheets/active_admin/_forms.scss +1 -1
  17. data/app/assets/stylesheets/active_admin/components/_scopes.scss +3 -0
  18. data/app/views/active_admin/devise/confirmations/new.html.erb +1 -1
  19. data/app/views/active_admin/devise/passwords/edit.html.erb +1 -1
  20. data/app/views/active_admin/devise/passwords/new.html.erb +1 -1
  21. data/app/views/active_admin/devise/registrations/new.html.erb +1 -1
  22. data/app/views/active_admin/devise/sessions/new.html.erb +1 -1
  23. data/app/views/active_admin/devise/unlocks/new.html.erb +1 -1
  24. data/app/views/layouts/active_admin_logged_out.html.erb +1 -1
  25. data/bin/install_chromedriver.sh +17 -0
  26. data/config/locales/de.yml +10 -0
  27. data/config/locales/en.yml +19 -1
  28. data/config/locales/es.yml +20 -1
  29. data/config/locales/fi.yml +1 -1
  30. data/config/locales/it.yml +4 -0
  31. data/config/locales/nb.yml +15 -5
  32. data/config/locales/nl.yml +11 -0
  33. data/config/locales/pl.yml +71 -3
  34. data/config/locales/ru.yml +2 -0
  35. data/config/locales/tr.yml +9 -0
  36. data/config/locales/zh-CN.yml +33 -5
  37. data/config/mdl_style.rb +2 -0
  38. data/cucumber.yml +7 -3
  39. data/docs/.gitignore +1 -0
  40. data/docs/1-general-configuration.md +16 -1
  41. data/docs/10-custom-pages.md +14 -0
  42. data/docs/12-arbre-components.md +28 -1
  43. data/docs/13-authorization-adapter.md +36 -17
  44. data/docs/2-resource-customization.md +8 -3
  45. data/docs/3-index-pages.md +17 -0
  46. data/docs/3-index-pages/custom-index.md +1 -1
  47. data/docs/3-index-pages/index-as-blog.md +1 -1
  48. data/docs/3-index-pages/index-as-table.md +5 -5
  49. data/docs/5-forms.md +16 -2
  50. data/docs/8-custom-actions.md +11 -0
  51. data/docs/Gemfile +2 -0
  52. data/docs/Gemfile.lock +249 -0
  53. data/docs/_config.yml +1 -1
  54. data/docs/_includes/toc.html +1 -1
  55. data/docs/_includes/top-menu.html +9 -1
  56. data/docs/documentation.md +1 -1
  57. data/docs/images/tidelift.svg +14 -0
  58. data/docs/stylesheets/main.css +26 -2
  59. data/gemfiles/rails_42.gemfile +2 -2
  60. data/gemfiles/rails_42.gemfile.lock +410 -0
  61. data/gemfiles/rails_50.gemfile +2 -2
  62. data/gemfiles/rails_50.gemfile.lock +424 -0
  63. data/gemfiles/rails_51.gemfile +2 -2
  64. data/gemfiles/rails_51.gemfile.lock +423 -0
  65. data/lib/active_admin/abstract_view_factory.rb +13 -51
  66. data/lib/active_admin/application.rb +42 -142
  67. data/lib/active_admin/application_settings.rb +39 -0
  68. data/lib/active_admin/base_controller/authorization.rb +1 -2
  69. data/lib/active_admin/batch_actions/controller.rb +1 -1
  70. data/lib/active_admin/dependency.rb +8 -0
  71. data/lib/active_admin/deprecation.rb +0 -25
  72. data/lib/active_admin/dynamic_setting.rb +38 -0
  73. data/lib/active_admin/dynamic_settings_node.rb +28 -0
  74. data/lib/active_admin/engine.rb +5 -0
  75. data/lib/active_admin/filters/active_filter.rb +1 -1
  76. data/lib/active_admin/filters/resource_extension.rb +1 -1
  77. data/lib/active_admin/form_builder.rb +95 -60
  78. data/lib/active_admin/inputs/datepicker_input.rb +7 -0
  79. data/lib/active_admin/menu.rb +2 -8
  80. data/lib/active_admin/menu_item.rb +3 -31
  81. data/lib/active_admin/namespace.rb +18 -6
  82. data/lib/active_admin/namespace_settings.rb +107 -0
  83. data/lib/active_admin/orm/active_record/comments.rb +11 -0
  84. data/lib/active_admin/orm/active_record/comments/comment.rb +1 -1
  85. data/lib/active_admin/resource/action_items.rb +6 -1
  86. data/lib/active_admin/resource_controller/decorators.rb +3 -3
  87. data/lib/active_admin/resource_controller/scoping.rb +1 -1
  88. data/lib/active_admin/router.rb +89 -84
  89. data/lib/active_admin/scope.rb +5 -1
  90. data/lib/active_admin/settings_node.rb +19 -0
  91. data/lib/active_admin/version.rb +1 -1
  92. data/lib/active_admin/views/components/active_admin_form.rb +2 -3
  93. data/lib/active_admin/views/components/menu.rb +32 -0
  94. data/lib/active_admin/views/components/menu_item.rb +58 -0
  95. data/lib/active_admin/views/components/scopes.rb +11 -4
  96. data/lib/active_admin/views/components/sidebar.rb +13 -0
  97. data/lib/active_admin/views/components/site_title.rb +5 -6
  98. data/lib/active_admin/views/components/table_for.rb +1 -10
  99. data/lib/active_admin/views/components/tabs.rb +4 -1
  100. data/lib/active_admin/views/footer.rb +2 -6
  101. data/lib/active_admin/views/header.rb +3 -15
  102. data/lib/active_admin/views/index_as_blog.rb +1 -1
  103. data/lib/active_admin/views/index_as_grid.rb +25 -25
  104. data/lib/active_admin/views/index_as_table.rb +6 -6
  105. data/lib/active_admin/views/pages/base.rb +27 -53
  106. data/lib/active_admin/views/tabbed_navigation.rb +4 -59
  107. data/lib/bug_report_templates/active_admin_master.rb +2 -3
  108. data/tasks/application_generator.rb +48 -0
  109. data/tasks/gemfiles.rake +8 -0
  110. data/tasks/lint.rake +96 -7
  111. data/tasks/local.rake +10 -8
  112. data/tasks/test.rake +30 -16
  113. metadata +26 -440
  114. data/.travis.yml +0 -51
  115. data/features/action_item.feature +0 -73
  116. data/features/authorization.feature +0 -64
  117. data/features/authorization_cancan.feature +0 -52
  118. data/features/authorization_pundit.feature +0 -37
  119. data/features/belongs_to.feature +0 -124
  120. data/features/breadcrumb.feature +0 -75
  121. data/features/comments/commenting.feature +0 -178
  122. data/features/comments/viewing_index.feature +0 -19
  123. data/features/create_another.feature +0 -55
  124. data/features/dashboard.feature +0 -16
  125. data/features/decorators.feature +0 -43
  126. data/features/development_reloading.feature +0 -28
  127. data/features/edit_page.feature +0 -116
  128. data/features/favicon.feature +0 -20
  129. data/features/first_boot.feature +0 -16
  130. data/features/footer.feature +0 -28
  131. data/features/global_navigation.feature +0 -29
  132. data/features/i18n.feature +0 -55
  133. data/features/index/batch_actions.feature +0 -218
  134. data/features/index/filters.feature +0 -250
  135. data/features/index/format_as_csv.feature +0 -220
  136. data/features/index/formats.feature +0 -88
  137. data/features/index/index_as_block.feature +0 -15
  138. data/features/index/index_as_blog.feature +0 -69
  139. data/features/index/index_as_grid.feature +0 -45
  140. data/features/index/index_as_table.feature +0 -291
  141. data/features/index/index_blank_slate.feature +0 -83
  142. data/features/index/index_parameters.feature +0 -75
  143. data/features/index/index_scope_to.feature +0 -56
  144. data/features/index/index_scopes.feature +0 -285
  145. data/features/index/page_title.feature +0 -41
  146. data/features/index/pagination.feature +0 -63
  147. data/features/index/switch_index_view.feature +0 -73
  148. data/features/menu.feature +0 -72
  149. data/features/meta_tags.feature +0 -21
  150. data/features/new_page.feature +0 -136
  151. data/features/registering_assets.feature +0 -38
  152. data/features/registering_pages.feature +0 -237
  153. data/features/registering_resources.feature +0 -33
  154. data/features/renamed_resource.feature +0 -30
  155. data/features/root_to.feature +0 -17
  156. data/features/show/attributes_table_title.feature +0 -54
  157. data/features/show/columns.feature +0 -40
  158. data/features/show/default_content.feature +0 -44
  159. data/features/show/page_title.feature +0 -58
  160. data/features/show/tabs.feature +0 -33
  161. data/features/sidebar_sections.feature +0 -210
  162. data/features/site_title.feature +0 -47
  163. data/features/specifying_actions.feature +0 -118
  164. data/features/step_definitions/action_item_steps.rb +0 -7
  165. data/features/step_definitions/action_link_steps.rb +0 -19
  166. data/features/step_definitions/additional_web_steps.rb +0 -81
  167. data/features/step_definitions/asset_steps.rb +0 -15
  168. data/features/step_definitions/attribute_steps.rb +0 -18
  169. data/features/step_definitions/attributes_table_title_steps.rb +0 -11
  170. data/features/step_definitions/batch_action_steps.rb +0 -81
  171. data/features/step_definitions/blog_steps.rb +0 -3
  172. data/features/step_definitions/breadcrumb_steps.rb +0 -3
  173. data/features/step_definitions/column_steps.rb +0 -8
  174. data/features/step_definitions/comment_steps.rb +0 -32
  175. data/features/step_definitions/configuration_steps.rb +0 -100
  176. data/features/step_definitions/dashboard_steps.rb +0 -15
  177. data/features/step_definitions/factory_steps.rb +0 -35
  178. data/features/step_definitions/filter_steps.rb +0 -47
  179. data/features/step_definitions/flash_steps.rb +0 -11
  180. data/features/step_definitions/footer_steps.rb +0 -11
  181. data/features/step_definitions/format_steps.rb +0 -56
  182. data/features/step_definitions/i18n_steps.rb +0 -11
  183. data/features/step_definitions/index_scope_steps.rb +0 -29
  184. data/features/step_definitions/index_views_steps.rb +0 -3
  185. data/features/step_definitions/layout_steps.rb +0 -3
  186. data/features/step_definitions/member_link_steps.rb +0 -7
  187. data/features/step_definitions/menu_steps.rb +0 -11
  188. data/features/step_definitions/meta_tag_steps.rb +0 -3
  189. data/features/step_definitions/pagination_steps.rb +0 -15
  190. data/features/step_definitions/sidebar_steps.rb +0 -11
  191. data/features/step_definitions/site_title_steps.rb +0 -17
  192. data/features/step_definitions/tab_steps.rb +0 -8
  193. data/features/step_definitions/table_steps.rb +0 -116
  194. data/features/step_definitions/user_steps.rb +0 -52
  195. data/features/step_definitions/web_steps.rb +0 -86
  196. data/features/sti_resource.feature +0 -65
  197. data/features/strong_parameters.feature +0 -69
  198. data/features/support/env.rb +0 -122
  199. data/features/support/paths.rb +0 -73
  200. data/features/support/regular_env.rb +0 -7
  201. data/features/support/reload_env.rb +0 -7
  202. data/features/support/selectors.rb +0 -45
  203. data/features/users/logging_in.feature +0 -36
  204. data/features/users/logging_out.feature +0 -13
  205. data/features/users/resetting_password.feature +0 -34
  206. data/gemfiles/rails_52.gemfile +0 -11
  207. data/lib/active_admin/helpers/settings.rb +0 -114
  208. data/spec/bug_report_templates_spec.rb +0 -26
  209. data/spec/javascripts/coffeescripts/jquery.aa.checkbox-toggler-spec.js.coffee +0 -50
  210. data/spec/javascripts/coffeescripts/jquery.aa.flash.js.coffee +0 -25
  211. data/spec/javascripts/coffeescripts/jquery.aa.table-checkbox-toggler-spec.js.coffee +0 -34
  212. data/spec/javascripts/fixtures/checkboxes.html +0 -9
  213. data/spec/javascripts/fixtures/flashes.html +0 -2
  214. data/spec/javascripts/fixtures/table_checkboxes.html +0 -17
  215. data/spec/javascripts/helpers/SpecHelper.js +0 -3
  216. data/spec/javascripts/support/jasmine.yml +0 -74
  217. data/spec/javascripts/support/jasmine_runner.rb +0 -19
  218. data/spec/rails_helper.rb +0 -59
  219. data/spec/requests/default_namespace_spec.rb +0 -81
  220. data/spec/requests/memory_spec.rb +0 -25
  221. data/spec/requests/stylesheets_spec.rb +0 -18
  222. data/spec/spec_helper.rb +0 -1
  223. data/spec/support/active_admin_integration_spec_helper.rb +0 -73
  224. data/spec/support/active_admin_request_helpers.rb +0 -39
  225. data/spec/support/rails_template.rb +0 -153
  226. data/spec/support/rails_template_with_data.rb +0 -327
  227. data/spec/support/templates/admin/stores.rb +0 -7
  228. data/spec/support/templates/en.yml +0 -8
  229. data/spec/support/templates/manifest.js +0 -3
  230. data/spec/support/templates/policies/active_admin/comment_policy.rb +0 -9
  231. data/spec/support/templates/policies/active_admin/page_policy.rb +0 -18
  232. data/spec/support/templates/policies/admin_user_policy.rb +0 -11
  233. data/spec/support/templates/policies/application_policy.rb +0 -44
  234. data/spec/support/templates/policies/category_policy.rb +0 -7
  235. data/spec/support/templates/policies/post_policy.rb +0 -15
  236. data/spec/support/templates/policies/store_policy.rb +0 -11
  237. data/spec/support/templates/policies/user_policy.rb +0 -11
  238. data/spec/support/templates/post_decorator.rb +0 -24
  239. data/spec/unit/abstract_view_factory_spec.rb +0 -78
  240. data/spec/unit/action_builder_spec.rb +0 -158
  241. data/spec/unit/active_admin_spec.rb +0 -11
  242. data/spec/unit/application_spec.rb +0 -184
  243. data/spec/unit/asset_registration_spec.rb +0 -81
  244. data/spec/unit/authorization/authorization_adapter_spec.rb +0 -61
  245. data/spec/unit/authorization/controller_authorization_spec.rb +0 -43
  246. data/spec/unit/authorization/index_overriding_spec.rb +0 -23
  247. data/spec/unit/auto_link_spec.rb +0 -93
  248. data/spec/unit/batch_actions/resource_spec.rb +0 -84
  249. data/spec/unit/batch_actions/settings_spec.rb +0 -61
  250. data/spec/unit/belongs_to_spec.rb +0 -76
  251. data/spec/unit/cancan_adapter_spec.rb +0 -43
  252. data/spec/unit/comments_spec.rb +0 -176
  253. data/spec/unit/component_spec.rb +0 -18
  254. data/spec/unit/config_shared_examples.rb +0 -59
  255. data/spec/unit/controller_filters_spec.rb +0 -41
  256. data/spec/unit/csv_builder_spec.rb +0 -313
  257. data/spec/unit/dependency_spec.rb +0 -135
  258. data/spec/unit/devise_spec.rb +0 -110
  259. data/spec/unit/dsl_spec.rb +0 -120
  260. data/spec/unit/filters/active_filter_spec.rb +0 -189
  261. data/spec/unit/filters/active_spec.rb +0 -24
  262. data/spec/unit/filters/filter_form_builder_spec.rb +0 -524
  263. data/spec/unit/filters/resource_spec.rb +0 -128
  264. data/spec/unit/form_builder_spec.rb +0 -990
  265. data/spec/unit/generators/install_spec.rb +0 -31
  266. data/spec/unit/helpers/collection_spec.rb +0 -68
  267. data/spec/unit/helpers/output_safety_helper_spec.rb +0 -79
  268. data/spec/unit/helpers/scope_chain_spec.rb +0 -35
  269. data/spec/unit/helpers/settings_spec.rb +0 -30
  270. data/spec/unit/i18n_spec.rb +0 -29
  271. data/spec/unit/localizers/resource_localizer_spec.rb +0 -36
  272. data/spec/unit/menu_collection_spec.rb +0 -62
  273. data/spec/unit/menu_item_spec.rb +0 -141
  274. data/spec/unit/menu_spec.rb +0 -71
  275. data/spec/unit/namespace/authorization_spec.rb +0 -27
  276. data/spec/unit/namespace/register_page_spec.rb +0 -99
  277. data/spec/unit/namespace/register_resource_spec.rb +0 -162
  278. data/spec/unit/namespace_spec.rb +0 -124
  279. data/spec/unit/order_clause_spec.rb +0 -81
  280. data/spec/unit/page_controller_spec.rb +0 -5
  281. data/spec/unit/page_spec.rb +0 -128
  282. data/spec/unit/pretty_format_spec.rb +0 -82
  283. data/spec/unit/pundit_adapter_spec.rb +0 -98
  284. data/spec/unit/resource/action_items_spec.rb +0 -69
  285. data/spec/unit/resource/attributes_spec.rb +0 -49
  286. data/spec/unit/resource/includes_spec.rb +0 -21
  287. data/spec/unit/resource/menu_spec.rb +0 -18
  288. data/spec/unit/resource/naming_spec.rb +0 -122
  289. data/spec/unit/resource/ordering_spec.rb +0 -35
  290. data/spec/unit/resource/page_presenters_spec.rb +0 -44
  291. data/spec/unit/resource/pagination_spec.rb +0 -38
  292. data/spec/unit/resource/routes_spec.rb +0 -125
  293. data/spec/unit/resource/scopes_spec.rb +0 -50
  294. data/spec/unit/resource/sidebars_spec.rb +0 -43
  295. data/spec/unit/resource_collection_spec.rb +0 -175
  296. data/spec/unit/resource_controller/data_access_spec.rb +0 -234
  297. data/spec/unit/resource_controller/decorators_spec.rb +0 -94
  298. data/spec/unit/resource_controller/sidebars_spec.rb +0 -37
  299. data/spec/unit/resource_controller_spec.rb +0 -273
  300. data/spec/unit/resource_registration_spec.rb +0 -61
  301. data/spec/unit/resource_spec.rb +0 -320
  302. data/spec/unit/routing_spec.rb +0 -211
  303. data/spec/unit/scope_spec.rb +0 -209
  304. data/spec/unit/settings_spec.rb +0 -117
  305. data/spec/unit/view_factory_spec.rb +0 -19
  306. data/spec/unit/view_helpers/breadcrumbs_spec.rb +0 -253
  307. data/spec/unit/view_helpers/display_helper_spec.rb +0 -203
  308. data/spec/unit/view_helpers/download_format_links_helper_spec.rb +0 -39
  309. data/spec/unit/view_helpers/fields_for_spec.rb +0 -50
  310. data/spec/unit/view_helpers/flash_helper_spec.rb +0 -24
  311. data/spec/unit/view_helpers/form_helper_spec.rb +0 -42
  312. data/spec/unit/view_helpers/method_or_proc_helper_spec.rb +0 -138
  313. data/spec/unit/views/components/attributes_table_spec.rb +0 -271
  314. data/spec/unit/views/components/batch_action_selector_spec.rb +0 -43
  315. data/spec/unit/views/components/blank_slate_spec.rb +0 -27
  316. data/spec/unit/views/components/columns_spec.rb +0 -187
  317. data/spec/unit/views/components/index_list_spec.rb +0 -49
  318. data/spec/unit/views/components/index_table_for_spec.rb +0 -127
  319. data/spec/unit/views/components/paginated_collection_spec.rb +0 -249
  320. data/spec/unit/views/components/panel_spec.rb +0 -58
  321. data/spec/unit/views/components/sidebar_section_spec.rb +0 -68
  322. data/spec/unit/views/components/site_title_spec.rb +0 -76
  323. data/spec/unit/views/components/status_tag_spec.rb +0 -265
  324. data/spec/unit/views/components/table_for_spec.rb +0 -436
  325. data/spec/unit/views/components/tabs_spec.rb +0 -67
  326. data/spec/unit/views/components/unsupported_browser_spec.rb +0 -41
  327. data/spec/unit/views/index_as_blog_spec.rb +0 -76
  328. data/spec/unit/views/pages/form_spec.rb +0 -54
  329. data/spec/unit/views/pages/index_spec.rb +0 -60
  330. data/spec/unit/views/pages/layout_spec.rb +0 -59
  331. data/spec/unit/views/pages/show_spec.rb +0 -32
  332. data/spec/unit/views/tabbed_navigation_spec.rb +0 -158
  333. data/tasks/parallel_tests.rake +0 -66
@@ -1,22 +1,74 @@
1
- # Contributor Code of Conduct
1
+ # Contributor Covenant Code of Conduct
2
2
 
3
- As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
3
+ ## Our Pledge
4
4
 
5
- We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, sex characteristics, gender identity and expression,
9
+ level of experience, education, socio-economic status, nationality, personal
10
+ appearance, race, religion, or sexual identity and orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
6
22
 
7
23
  Examples of unacceptable behavior by participants include:
8
24
 
9
- * The use of sexualized language or imagery
10
- * Personal attacks
11
- * Trolling or insulting/derogatory comments
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
12
28
  * Public or private harassment
13
- * Publishing other's private information, such as physical or electronic addresses, without explicit permission
14
- * Other unethical or unprofessional conduct.
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting one or more of the project maintainers. All complaints
59
+ will be reviewed and investigated and will result in a response that is deemed
60
+ necessary and appropriate to the circumstances. The project team is obligated to
61
+ maintain confidentiality with regard to the reporter of an incident. Further
62
+ details of specific enforcement policies may be posted separately.
15
63
 
16
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect of managing this project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently removed from the project team.
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
17
67
 
18
- This code of conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
68
+ ## Attribution
19
69
 
20
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available [here][source].
21
72
 
22
- This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.2.0, available at [http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/)
73
+ [homepage]: https://www.contributor-covenant.org
74
+ [source]: https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
@@ -3,20 +3,17 @@
3
3
  First off, thank you for considering contributing to Active Admin. It's people
4
4
  like you that make Active Admin such a great tool.
5
5
 
6
- ### 1. Where do I go from here?
6
+ ### Where do I go from here?
7
7
 
8
8
  If you've noticed a bug or have a question that doesn't belong on the
9
- [mailing list](http://groups.google.com/group/activeadmin) or
10
- [Stack Overflow](http://stackoverflow.com/questions/tagged/activeadmin),
11
- [search the issue tracker](https://github.com/activeadmin/activeadmin/issues?q=something)
12
- to see if someone else in the community has already created a ticket.
13
- If not, go ahead and [make one](https://github.com/activeadmin/activeadmin/issues/new)!
9
+ [mailing list][] or [Stack Overflow][], [search the issue tracker][] to see if
10
+ someone else in the community has already created a ticket. If not, go ahead and
11
+ [make one][new issue]!
14
12
 
15
- ### 2. Fork & create a branch
13
+ ### Fork & create a branch
16
14
 
17
- If this is something you think you can fix, then
18
- [fork Active Admin](https://help.github.com/articles/fork-a-repo)
19
- and create a branch with a descriptive name.
15
+ If this is something you think you can fix, then [fork Active Admin][] and
16
+ create a branch with a descriptive name.
20
17
 
21
18
  A good branch name would be (where issue #325 is the ticket you're working on):
22
19
 
@@ -24,16 +21,13 @@ A good branch name would be (where issue #325 is the ticket you're working on):
24
21
  git checkout -b 325-add-japanese-translations
25
22
  ```
26
23
 
27
- ### 3. Get the test suite running
24
+ ### Get the test suite running
28
25
 
29
26
  Make sure you're using a recent ruby and have the `bundler` gem installed, at
30
27
  least version `1.14.3`.
31
28
 
32
- Select the Gemfile for your preferred Rails version, preferably the latest:
33
-
34
- ```sh
35
- export BUNDLE_GEMFILE=gemfiles/rails_52.gemfile
36
- ```
29
+ You'll also need chrome and [chromedriver] installed in order to run cucumber
30
+ scenarios.
37
31
 
38
32
  Now install the development dependencies:
39
33
 
@@ -50,30 +44,39 @@ bundle exec rake
50
44
  The test run will generate a sample Rails application in `spec/rails` to run the
51
45
  tests against.
52
46
 
53
- If your tests are passing locally but they're failing on Travis, reset your test
54
- environment:
47
+ If your tests are passing locally but they're failing on CircleCI, it's probably
48
+ because of some breaking change or problem with the latest version of some
49
+ dependency. You should be able to reproduce the issue locally by:
50
+
51
+ * Removing the `Gemfile.lock` file.
52
+ * Running `bundle install`.
53
+ * Re-running the tests again like you did previously.
54
+
55
+ This is not your fault though, so if this happens feel free to investigate, but
56
+ also feel free to ping maintainers about the issue you just found.
57
+
58
+ If you want to test against a Rails version different from the latest, make sure
59
+ you use the correct Gemfile, for example:
55
60
 
56
61
  ```sh
57
- rm -rf spec/rails && bundle update
62
+ export BUNDLE_GEMFILE=gemfiles/rails_51.gemfile
58
63
  ```
59
64
 
60
- ### 4. Did you find a bug?
65
+ ### Did you find a bug?
61
66
 
62
- * **Ensure the bug was not already reported** by [searching all
63
- issues](https://github.com/activeadmin/activeadmin/issues?q=).
67
+ * **Ensure the bug was not already reported** by [searching all issues][].
64
68
 
65
- * If you're unable to find an open issue addressing the problem, [open a new
66
- one](https://github.com/activeadmin/activeadmin/issues/new). Be sure to
67
- include a **title and clear description**, as much relevant information as
68
- possible, and a **code sample** or an **executable test case** demonstrating
69
- the expected behavior that is not occurring.
69
+ * If you're unable to find an open issue addressing the problem,
70
+ [open a new one][new issue]. Be sure to include a **title and clear
71
+ description**, as much relevant information as possible, and a **code sample**
72
+ or an **executable test case** demonstrating the expected behavior that is not
73
+ occurring.
70
74
 
71
75
  * If possible, use the relevant bug report templates to create the issue.
72
76
  Simply copy the content of the appropriate template into a .rb file, make the
73
77
  necessary changes to demonstrate the issue, and **paste the content into the
74
78
  issue description**:
75
- * [**ActiveAdmin** master
76
- issues](https://github.com/activeadmin/activeadmin/blob/master/lib/bug_report_templates/active_admin_master.rb)
79
+ * [**ActiveAdmin** master issues][master template]
77
80
 
78
81
  ### 5. Implement your fix or feature
79
82
 
@@ -113,7 +116,14 @@ Or to migrate the database:
113
116
  bundle exec rake local db:migrate
114
117
  ```
115
118
 
116
- ### 7. Make a Pull Request
119
+ ### Get the style right
120
+
121
+ Your patch should follow the same conventions & pass the same code quality
122
+ checks as the rest of the project. `bundle exec rake lint` will give you
123
+ feedback in this regard. You can check & fix style issues by running each linter
124
+ individually. Run `bundle exec rake -T lint` to see the available linters.
125
+
126
+ ### Make a Pull Request
117
127
 
118
128
  At this point, you should switch back to your master branch and make sure it's
119
129
  up to date with Active Admin's master branch:
@@ -132,26 +142,22 @@ git rebase master
132
142
  git push --set-upstream origin 325-add-japanese-translations
133
143
  ```
134
144
 
135
- Finally, go to GitHub and
136
- [make a Pull Request](https://help.github.com/articles/creating-a-pull-request)
137
- :D
145
+ Finally, go to GitHub and [make a Pull Request][] :D
138
146
 
139
- Travis CI will run our test suite against all supported Rails versions. We care
147
+ CircleCI will run our test suite against all supported Rails versions. We care
140
148
  about quality, so your PR won't be merged until all tests pass. It's unlikely,
141
149
  but it's possible that your changes pass tests in one Rails version but fail in
142
150
  another. In that case, you'll have to setup your development environment (as
143
151
  explained in step 3) to use the problematic Rails version, and investigate
144
152
  what's going on!
145
153
 
146
- ### 8. Keeping your Pull Request updated
154
+ ### Keeping your Pull Request updated
147
155
 
148
156
  If a maintainer asks you to "rebase" your PR, they're saying that a lot of code
149
157
  has changed, and that you need to update your branch so it's easier to merge.
150
158
 
151
- To learn more about rebasing in Git, there are a lot of
152
- [good](http://git-scm.com/book/en/Git-Branching-Rebasing)
153
- [resources](https://help.github.com/articles/interactive-rebase),
154
- but here's the suggested workflow:
159
+ To learn more about rebasing in Git, there are a lot of [good][git rebasing]
160
+ [resources][interactive rebase] but here's the suggested workflow:
155
161
 
156
162
  ```sh
157
163
  git checkout 325-add-japanese-translations
@@ -159,7 +165,7 @@ git pull --rebase upstream master
159
165
  git push --force-with-lease 325-add-japanese-translations
160
166
  ```
161
167
 
162
- ### 9. Merging a PR (maintainers only)
168
+ ### Merging a PR (maintainers only)
163
169
 
164
170
  A PR can only be merged into master by a maintainer if:
165
171
 
@@ -171,3 +177,34 @@ A PR can only be merged into master by a maintainer if:
171
177
 
172
178
  Any maintainer is allowed to merge a PR if all of these conditions are
173
179
  met.
180
+
181
+ ### Shipping a release (maintainers only)
182
+
183
+ Maintainers need to do the following to push out a release:
184
+
185
+ * Make sure all pull requests are in and that changelog is current
186
+ * Update `version.rb` file and changelog with new version number
187
+ * Create a stable branch for that release:
188
+
189
+ ```sh
190
+ git checkout master
191
+ git fetch activeadmin
192
+ git rebase activeadmin/master
193
+ # If the release is 2.1.x then this should be: 2-1-stable
194
+ git checkout -b N-N-stable
195
+ git push activeadmin N-N-stable:N-N-stable
196
+ ```
197
+
198
+ * `bundle exec rake release`
199
+
200
+ [chromedriver]: https://sites.google.com/a/chromium.org/chromedriver/getting-started
201
+ [mailing list]: http://groups.google.com/group/activeadmin
202
+ [Stack Overflow]: http://stackoverflow.com/questions/tagged/activeadmin
203
+ [search the issue tracker]: https://github.com/activeadmin/activeadmin/issues?q=something
204
+ [new issue]: https://github.com/activeadmin/activeadmin/issues/new
205
+ [fork Active Admin]: https://help.github.com/articles/fork-a-repo
206
+ [searching all issues]: https://github.com/activeadmin/activeadmin/issues?q=
207
+ [master template]: https://github.com/activeadmin/activeadmin/blob/master/lib/bug_report_templates/active_admin_master.rb
208
+ [make a pull request]: https://help.github.com/articles/creating-a-pull-request
209
+ [git rebasing]: http://git-scm.com/book/en/Git-Branching-Rebasing
210
+ [interactive rebase]: https://help.github.com/articles/interactive-rebase
data/Gemfile CHANGED
@@ -1,58 +1,10 @@
1
- source 'https://rubygems.org'
1
+ source "https://rubygems.org"
2
2
 
3
- # Trick to use https without warnings and without having to specify full URLs
4
- # TODO: Can be removed when Bundler 2.x is released.
5
- git_source(:github) do |repo_name|
6
- repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
7
- "https://github.com/#{repo_name}.git"
8
- end
3
+ eval_gemfile(File.expand_path("Gemfile.common", __dir__))
9
4
 
10
- # Optional dependencies
11
- gem 'cancan'
12
- gem 'pundit'
5
+ gem "rails", "~> 5.2.x"
6
+ gem "devise", "~> 4.4"
7
+ gem "draper", "~> 3.0"
8
+ gem "activerecord-jdbcsqlite3-adapter", ">= 52.0", platforms: :jruby
13
9
 
14
- # Utility gems used in both development & test environments
15
- gem 'rake'
16
- gem 'parallel_tests'
17
-
18
- # Debugging
19
- gem 'pry' # Easily debug from your console with `binding.pry`
20
-
21
- # Code style
22
- gem 'rubocop', '0.49.1'
23
- gem 'mdl', '0.4.0'
24
-
25
- # Translations
26
- gem 'i18n-tasks'
27
-
28
- # Documentation
29
- gem 'yard' # Documentation generator
30
- gem 'redcarpet', platforms: :mri # Markdown implementation (for yard)
31
- gem 'kramdown', platforms: :jruby # Markdown implementation (for yard)
32
-
33
- group :development do
34
- # Debugging
35
- gem 'better_errors' # Web UI to debug exceptions. Go to /__better_errors to access the latest one
36
-
37
- gem 'binding_of_caller', platforms: :mri # Retrieve the binding of a method's caller
38
-
39
- # Performance
40
- gem 'rack-mini-profiler' # Inline app profiler. See ?pp=help for options.
41
- end
42
-
43
- group :test do
44
- gem 'capybara', '< 3.0'
45
- gem 'simplecov', require: false # Test coverage generator. Go to /coverage/ after running tests
46
- gem 'codecov', require: false # Test coverage website. Go to https://codecov.io
47
- gem 'cucumber-rails', '~> 1.5', require: false
48
- gem 'cucumber'
49
- gem 'database_cleaner'
50
- gem 'jasmine'
51
- gem 'launchy'
52
- gem 'rails-i18n' # Provides default i18n for many languages
53
- gem 'rspec-rails'
54
- gem 'i18n-spec'
55
- gem 'shoulda-matchers', '<= 2.8.0'
56
- gem 'sqlite3', platforms: :mri
57
- gem 'poltergeist'
58
- end
10
+ gemspec path: "."
@@ -0,0 +1,53 @@
1
+ # Optional dependencies
2
+ gem 'cancan'
3
+ gem 'pundit'
4
+ gem 'jruby-openssl', '~> 0.10.1', platforms: :jruby
5
+
6
+ # Utility gems used in both development & test environments
7
+ gem 'rake'
8
+ gem 'parallel_tests', '~> 2.26'
9
+
10
+ # Debugging
11
+ gem 'pry' # Easily debug from your console with `binding.pry`
12
+ gem 'pry-byebug', platforms: :mri
13
+
14
+ group :lint do
15
+ # Code style
16
+ gem 'rubocop', '0.59.2'
17
+ gem 'mdl', '0.4.0'
18
+
19
+ # Translations
20
+ gem 'i18n-tasks'
21
+ gem 'i18n-spec'
22
+ end
23
+
24
+ # Documentation
25
+ gem 'yard' # Documentation generator
26
+ gem 'redcarpet', platforms: :mri # Markdown implementation (for yard)
27
+ gem 'kramdown', platforms: :jruby # Markdown implementation (for yard)
28
+
29
+ group :development do
30
+ # Debugging
31
+ gem 'better_errors' # Web UI to debug exceptions. Go to /__better_errors to access the latest one
32
+
33
+ gem 'binding_of_caller', platforms: :mri # Retrieve the binding of a method's caller
34
+
35
+ # Performance
36
+ gem 'rack-mini-profiler', '>= 0.10.1' # Inline app profiler. See ?pp=help for options.
37
+ end
38
+
39
+ group :test do
40
+ gem 'capybara', '~> 3.10'
41
+ gem 'simplecov', require: false # Test coverage generator. Go to /coverage/ after running tests
42
+ gem 'codecov', require: false # Test coverage website. Go to https://codecov.io
43
+ gem 'cucumber-rails', '~> 1.5', require: false
44
+ gem 'cucumber'
45
+ gem 'database_cleaner'
46
+ gem 'jasmine'
47
+ gem 'jasmine-core', '2.9.1' # last release with Ruby 2.2 support.
48
+ gem 'launchy'
49
+ gem 'rails-i18n' # Provides default i18n for many languages
50
+ gem 'rspec-rails'
51
+ gem 'sqlite3', platforms: :mri
52
+ gem 'selenium-webdriver'
53
+ end
@@ -0,0 +1,431 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ activeadmin (1.4.0)
5
+ arbre (>= 1.1.1)
6
+ coffee-rails
7
+ formtastic (~> 3.1)
8
+ formtastic_i18n
9
+ inherited_resources (>= 1.9.0)
10
+ jquery-rails (>= 4.2.0)
11
+ kaminari (>= 0.15)
12
+ railties (>= 4.2, < 5.3)
13
+ ransack (>= 1.8.7)
14
+ sass (~> 3.1)
15
+ sprockets (< 4.1)
16
+
17
+ GEM
18
+ remote: https://rubygems.org/
19
+ specs:
20
+ actioncable (5.2.1)
21
+ actionpack (= 5.2.1)
22
+ nio4r (~> 2.0)
23
+ websocket-driver (>= 0.6.1)
24
+ actionmailer (5.2.1)
25
+ actionpack (= 5.2.1)
26
+ actionview (= 5.2.1)
27
+ activejob (= 5.2.1)
28
+ mail (~> 2.5, >= 2.5.4)
29
+ rails-dom-testing (~> 2.0)
30
+ actionpack (5.2.1)
31
+ actionview (= 5.2.1)
32
+ activesupport (= 5.2.1)
33
+ rack (~> 2.0)
34
+ rack-test (>= 0.6.3)
35
+ rails-dom-testing (~> 2.0)
36
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
37
+ actionview (5.2.1)
38
+ activesupport (= 5.2.1)
39
+ builder (~> 3.1)
40
+ erubi (~> 1.4)
41
+ rails-dom-testing (~> 2.0)
42
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
43
+ activejob (5.2.1)
44
+ activesupport (= 5.2.1)
45
+ globalid (>= 0.3.6)
46
+ activemodel (5.2.1)
47
+ activesupport (= 5.2.1)
48
+ activemodel-serializers-xml (1.0.2)
49
+ activemodel (> 5.x)
50
+ activesupport (> 5.x)
51
+ builder (~> 3.1)
52
+ activerecord (5.2.1)
53
+ activemodel (= 5.2.1)
54
+ activesupport (= 5.2.1)
55
+ arel (>= 9.0)
56
+ activerecord-jdbc-adapter (52.1-java)
57
+ activerecord (~> 5.2.0)
58
+ activerecord-jdbcsqlite3-adapter (52.1-java)
59
+ activerecord-jdbc-adapter (= 52.1)
60
+ jdbc-sqlite3 (~> 3.8, < 3.30)
61
+ activestorage (5.2.1)
62
+ actionpack (= 5.2.1)
63
+ activerecord (= 5.2.1)
64
+ marcel (~> 0.3.1)
65
+ activesupport (5.2.1)
66
+ concurrent-ruby (~> 1.0, >= 1.0.2)
67
+ i18n (>= 0.7, < 2)
68
+ minitest (~> 5.1)
69
+ tzinfo (~> 1.1)
70
+ addressable (2.5.2)
71
+ public_suffix (>= 2.0.2, < 4.0)
72
+ arbre (1.1.1)
73
+ activesupport (>= 3.0.0)
74
+ arel (9.0.0)
75
+ ast (2.4.0)
76
+ backports (3.11.4)
77
+ bcrypt (3.1.12)
78
+ bcrypt (3.1.12-java)
79
+ better_errors (2.5.0)
80
+ coderay (>= 1.0.0)
81
+ erubi (>= 1.0.0)
82
+ rack (>= 0.9.0)
83
+ binding_of_caller (0.8.0)
84
+ debug_inspector (>= 0.0.1)
85
+ builder (3.2.3)
86
+ byebug (10.0.2)
87
+ cancan (1.6.10)
88
+ capybara (3.10.0)
89
+ addressable
90
+ mini_mime (>= 0.1.3)
91
+ nokogiri (~> 1.8)
92
+ rack (>= 1.6.0)
93
+ rack-test (>= 0.6.3)
94
+ regexp_parser (~> 1.2)
95
+ xpath (~> 3.2)
96
+ childprocess (0.9.0)
97
+ ffi (~> 1.0, >= 1.0.11)
98
+ codecov (0.1.13)
99
+ json
100
+ simplecov
101
+ url
102
+ coderay (1.1.2)
103
+ coffee-rails (4.2.2)
104
+ coffee-script (>= 2.2.0)
105
+ railties (>= 4.0.0)
106
+ coffee-script (2.4.1)
107
+ coffee-script-source
108
+ execjs
109
+ coffee-script-source (1.12.2)
110
+ concurrent-ruby (1.1.3)
111
+ crass (1.0.4)
112
+ cucumber (3.1.2)
113
+ builder (>= 2.1.2)
114
+ cucumber-core (~> 3.2.0)
115
+ cucumber-expressions (~> 6.0.1)
116
+ cucumber-wire (~> 0.0.1)
117
+ diff-lcs (~> 1.3)
118
+ gherkin (~> 5.1.0)
119
+ multi_json (>= 1.7.5, < 2.0)
120
+ multi_test (>= 0.1.2)
121
+ cucumber-core (3.2.1)
122
+ backports (>= 3.8.0)
123
+ cucumber-tag_expressions (~> 1.1.0)
124
+ gherkin (~> 5.0)
125
+ cucumber-expressions (6.0.1)
126
+ cucumber-rails (1.6.0)
127
+ capybara (>= 1.1.2, < 4)
128
+ cucumber (>= 3.0.2, < 4)
129
+ mime-types (>= 1.17, < 4)
130
+ nokogiri (~> 1.8)
131
+ railties (>= 4, < 6)
132
+ cucumber-tag_expressions (1.1.1)
133
+ cucumber-wire (0.0.1)
134
+ database_cleaner (1.7.0)
135
+ debug_inspector (0.0.3)
136
+ devise (4.5.0)
137
+ bcrypt (~> 3.0)
138
+ orm_adapter (~> 0.1)
139
+ railties (>= 4.1.0, < 6.0)
140
+ responders
141
+ warden (~> 1.2.3)
142
+ diff-lcs (1.3)
143
+ docile (1.3.1)
144
+ draper (3.0.1)
145
+ actionpack (~> 5.0)
146
+ activemodel (~> 5.0)
147
+ activemodel-serializers-xml (~> 1.0)
148
+ activesupport (~> 5.0)
149
+ request_store (~> 1.0)
150
+ erubi (1.7.1)
151
+ execjs (2.7.0)
152
+ ffi (1.9.25)
153
+ ffi (1.9.25-java)
154
+ formtastic (3.1.5)
155
+ actionpack (>= 3.2.13)
156
+ formtastic_i18n (0.6.0)
157
+ gherkin (5.1.0)
158
+ globalid (0.4.1)
159
+ activesupport (>= 4.2.0)
160
+ has_scope (0.7.2)
161
+ actionpack (>= 4.1)
162
+ activesupport (>= 4.1)
163
+ highline (2.0.0)
164
+ i18n (1.1.1)
165
+ concurrent-ruby (~> 1.0)
166
+ i18n-spec (0.6.0)
167
+ iso
168
+ i18n-tasks (0.9.25)
169
+ activesupport (>= 4.0.2)
170
+ ast (>= 2.1.0)
171
+ erubi
172
+ highline (>= 2.0.0)
173
+ i18n
174
+ parser (>= 2.2.3.0)
175
+ rainbow (>= 2.2.2, < 4.0)
176
+ terminal-table (>= 1.5.1)
177
+ inherited_resources (1.9.0)
178
+ actionpack (>= 4.2, < 5.3)
179
+ has_scope (~> 0.6)
180
+ railties (>= 4.2, < 5.3)
181
+ responders
182
+ iso (0.2.2)
183
+ i18n
184
+ jaro_winkler (1.5.1)
185
+ jaro_winkler (1.5.1-java)
186
+ jasmine (2.9.0)
187
+ jasmine-core (>= 2.9.0, < 3.0.0)
188
+ phantomjs
189
+ rack (>= 1.2.1)
190
+ rake
191
+ jasmine-core (2.9.1)
192
+ jdbc-sqlite3 (3.20.1)
193
+ jquery-rails (4.3.3)
194
+ rails-dom-testing (>= 1, < 3)
195
+ railties (>= 4.2.0)
196
+ thor (>= 0.14, < 2.0)
197
+ jruby-openssl (0.10.1-java)
198
+ json (2.1.0)
199
+ json (2.1.0-java)
200
+ kaminari (1.1.1)
201
+ activesupport (>= 4.1.0)
202
+ kaminari-actionview (= 1.1.1)
203
+ kaminari-activerecord (= 1.1.1)
204
+ kaminari-core (= 1.1.1)
205
+ kaminari-actionview (1.1.1)
206
+ actionview
207
+ kaminari-core (= 1.1.1)
208
+ kaminari-activerecord (1.1.1)
209
+ activerecord
210
+ kaminari-core (= 1.1.1)
211
+ kaminari-core (1.1.1)
212
+ kramdown (1.17.0)
213
+ launchy (2.4.3)
214
+ addressable (~> 2.3)
215
+ launchy (2.4.3-java)
216
+ addressable (~> 2.3)
217
+ spoon (~> 0.0.1)
218
+ loofah (2.2.3)
219
+ crass (~> 1.0.2)
220
+ nokogiri (>= 1.5.9)
221
+ mail (2.7.1)
222
+ mini_mime (>= 0.1.1)
223
+ marcel (0.3.3)
224
+ mimemagic (~> 0.3.2)
225
+ mdl (0.4.0)
226
+ kramdown (~> 1.12, >= 1.12.0)
227
+ mixlib-cli (~> 1.7, >= 1.7.0)
228
+ mixlib-config (~> 2.2, >= 2.2.1)
229
+ method_source (0.9.0)
230
+ mime-types (3.2.2)
231
+ mime-types-data (~> 3.2015)
232
+ mime-types-data (3.2018.0812)
233
+ mimemagic (0.3.2)
234
+ mini_mime (1.0.1)
235
+ mini_portile2 (2.3.0)
236
+ minitest (5.11.3)
237
+ mixlib-cli (1.7.0)
238
+ mixlib-config (2.2.13)
239
+ tomlrb
240
+ multi_json (1.13.1)
241
+ multi_test (0.1.2)
242
+ nio4r (2.3.1)
243
+ nio4r (2.3.1-java)
244
+ nokogiri (1.8.5)
245
+ mini_portile2 (~> 2.3.0)
246
+ nokogiri (1.8.5-java)
247
+ orm_adapter (0.5.0)
248
+ parallel (1.12.1)
249
+ parallel_tests (2.26.0)
250
+ parallel
251
+ parser (2.5.1.2)
252
+ ast (~> 2.4.0)
253
+ phantomjs (2.1.1.0)
254
+ powerpack (0.1.2)
255
+ pry (0.11.3)
256
+ coderay (~> 1.1.0)
257
+ method_source (~> 0.9.0)
258
+ pry (0.11.3-java)
259
+ coderay (~> 1.1.0)
260
+ method_source (~> 0.9.0)
261
+ spoon (~> 0.0)
262
+ pry-byebug (3.6.0)
263
+ byebug (~> 10.0)
264
+ pry (~> 0.10)
265
+ public_suffix (3.0.3)
266
+ pundit (2.0.0)
267
+ activesupport (>= 3.0.0)
268
+ rack (2.0.5)
269
+ rack-mini-profiler (1.0.0)
270
+ rack (>= 1.2.0)
271
+ rack-test (1.1.0)
272
+ rack (>= 1.0, < 3)
273
+ rails (5.2.1)
274
+ actioncable (= 5.2.1)
275
+ actionmailer (= 5.2.1)
276
+ actionpack (= 5.2.1)
277
+ actionview (= 5.2.1)
278
+ activejob (= 5.2.1)
279
+ activemodel (= 5.2.1)
280
+ activerecord (= 5.2.1)
281
+ activestorage (= 5.2.1)
282
+ activesupport (= 5.2.1)
283
+ bundler (>= 1.3.0)
284
+ railties (= 5.2.1)
285
+ sprockets-rails (>= 2.0.0)
286
+ rails-dom-testing (2.0.3)
287
+ activesupport (>= 4.2.0)
288
+ nokogiri (>= 1.6)
289
+ rails-html-sanitizer (1.0.4)
290
+ loofah (~> 2.2, >= 2.2.2)
291
+ rails-i18n (5.1.1)
292
+ i18n (>= 0.7, < 2)
293
+ railties (>= 5.0, < 6)
294
+ railties (5.2.1)
295
+ actionpack (= 5.2.1)
296
+ activesupport (= 5.2.1)
297
+ method_source
298
+ rake (>= 0.8.7)
299
+ thor (>= 0.19.0, < 2.0)
300
+ rainbow (2.2.2)
301
+ rake
302
+ rake (12.3.1)
303
+ ransack (2.1.0)
304
+ actionpack (>= 5.0)
305
+ activerecord (>= 5.0)
306
+ activesupport (>= 5.0)
307
+ i18n
308
+ rb-fsevent (0.10.3)
309
+ rb-inotify (0.9.10)
310
+ ffi (>= 0.5.0, < 2)
311
+ redcarpet (3.4.0)
312
+ regexp_parser (1.2.0)
313
+ request_store (1.4.1)
314
+ rack (>= 1.4)
315
+ responders (2.4.0)
316
+ actionpack (>= 4.2.0, < 5.3)
317
+ railties (>= 4.2.0, < 5.3)
318
+ rspec-core (3.8.0)
319
+ rspec-support (~> 3.8.0)
320
+ rspec-expectations (3.8.2)
321
+ diff-lcs (>= 1.2.0, < 2.0)
322
+ rspec-support (~> 3.8.0)
323
+ rspec-mocks (3.8.0)
324
+ diff-lcs (>= 1.2.0, < 2.0)
325
+ rspec-support (~> 3.8.0)
326
+ rspec-rails (3.8.0)
327
+ actionpack (>= 3.0)
328
+ activesupport (>= 3.0)
329
+ railties (>= 3.0)
330
+ rspec-core (~> 3.8.0)
331
+ rspec-expectations (~> 3.8.0)
332
+ rspec-mocks (~> 3.8.0)
333
+ rspec-support (~> 3.8.0)
334
+ rspec-support (3.8.0)
335
+ rubocop (0.59.2)
336
+ jaro_winkler (~> 1.5.1)
337
+ parallel (~> 1.10)
338
+ parser (>= 2.5, != 2.5.1.1)
339
+ powerpack (~> 0.1)
340
+ rainbow (>= 2.2.2, < 4.0)
341
+ ruby-progressbar (~> 1.7)
342
+ unicode-display_width (~> 1.0, >= 1.0.1)
343
+ ruby-progressbar (1.10.0)
344
+ rubyzip (1.2.2)
345
+ sass (3.7.2)
346
+ sass-listen (~> 4.0.0)
347
+ sass-listen (4.0.0)
348
+ rb-fsevent (~> 0.9, >= 0.9.4)
349
+ rb-inotify (~> 0.9, >= 0.9.7)
350
+ selenium-webdriver (3.141.0)
351
+ childprocess (~> 0.5)
352
+ rubyzip (~> 1.2, >= 1.2.2)
353
+ simplecov (0.16.1)
354
+ docile (~> 1.1)
355
+ json (>= 1.8, < 3)
356
+ simplecov-html (~> 0.10.0)
357
+ simplecov-html (0.10.2)
358
+ spoon (0.0.6)
359
+ ffi
360
+ sprockets (3.7.2)
361
+ concurrent-ruby (~> 1.0)
362
+ rack (> 1, < 3)
363
+ sprockets-rails (3.2.1)
364
+ actionpack (>= 4.0)
365
+ activesupport (>= 4.0)
366
+ sprockets (>= 3.0.0)
367
+ sqlite3 (1.3.13)
368
+ terminal-table (1.8.0)
369
+ unicode-display_width (~> 1.1, >= 1.1.1)
370
+ thor (0.20.0)
371
+ thread_safe (0.3.6)
372
+ thread_safe (0.3.6-java)
373
+ tomlrb (1.2.7)
374
+ tzinfo (1.2.5)
375
+ thread_safe (~> 0.1)
376
+ unicode-display_width (1.4.0)
377
+ url (0.3.2)
378
+ warden (1.2.7)
379
+ rack (>= 1.0)
380
+ websocket-driver (0.7.0)
381
+ websocket-extensions (>= 0.1.0)
382
+ websocket-driver (0.7.0-java)
383
+ websocket-extensions (>= 0.1.0)
384
+ websocket-extensions (0.1.3)
385
+ xpath (3.2.0)
386
+ nokogiri (~> 1.8)
387
+ yard (0.9.16)
388
+
389
+ PLATFORMS
390
+ java
391
+ ruby
392
+
393
+ DEPENDENCIES
394
+ activeadmin!
395
+ activerecord-jdbcsqlite3-adapter (>= 52.0)
396
+ better_errors
397
+ binding_of_caller
398
+ cancan
399
+ capybara (~> 3.10)
400
+ codecov
401
+ cucumber
402
+ cucumber-rails (~> 1.5)
403
+ database_cleaner
404
+ devise (~> 4.4)
405
+ draper (~> 3.0)
406
+ i18n-spec
407
+ i18n-tasks
408
+ jasmine
409
+ jasmine-core (= 2.9.1)
410
+ jruby-openssl (~> 0.10.1)
411
+ kramdown
412
+ launchy
413
+ mdl (= 0.4.0)
414
+ parallel_tests (~> 2.26)
415
+ pry
416
+ pry-byebug
417
+ pundit
418
+ rack-mini-profiler (>= 0.10.1)
419
+ rails (~> 5.2.x)
420
+ rails-i18n
421
+ rake
422
+ redcarpet
423
+ rspec-rails
424
+ rubocop (= 0.59.2)
425
+ selenium-webdriver
426
+ simplecov
427
+ sqlite3
428
+ yard
429
+
430
+ BUNDLED WITH
431
+ 1.17.1