activeadmin 1.4.3 → 2.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activeadmin might be problematic. Click here for more details.

Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +70 -10
  3. data/CONTRIBUTING.md +12 -11
  4. data/README.md +34 -8
  5. data/app/assets/javascripts/active_admin/base.es6 +23 -0
  6. data/app/assets/javascripts/active_admin/ext/jquery-ui.es6 +7 -0
  7. data/app/assets/javascripts/active_admin/ext/jquery.es6 +9 -0
  8. data/app/assets/javascripts/active_admin/initializers/datepicker.es6 +16 -0
  9. data/app/assets/javascripts/active_admin/initializers/filters.es6 +45 -0
  10. data/app/assets/javascripts/active_admin/initializers/tabs.es6 +6 -0
  11. data/app/assets/javascripts/active_admin/lib/active_admin.es6 +41 -0
  12. data/app/assets/javascripts/active_admin/lib/batch_actions.es6 +55 -0
  13. data/app/assets/javascripts/active_admin/lib/checkbox-toggler.es6 +49 -0
  14. data/app/assets/javascripts/active_admin/lib/dropdown-menu.es6 +123 -0
  15. data/app/assets/javascripts/active_admin/lib/has_many.es6 +95 -0
  16. data/app/assets/javascripts/active_admin/lib/modal_dialog.es6 +61 -0
  17. data/app/assets/javascripts/active_admin/lib/per_page.es6 +47 -0
  18. data/app/assets/javascripts/active_admin/lib/table-checkbox-toggler.es6 +36 -0
  19. data/app/assets/stylesheets/active_admin/_forms.scss +2 -14
  20. data/app/assets/stylesheets/active_admin/components/_status_tags.scss +0 -5
  21. data/app/assets/stylesheets/active_admin/components/_tabs.scss +1 -1
  22. data/app/assets/stylesheets/active_admin/mixins/_gradients.scss +1 -1
  23. data/app/views/active_admin/devise/confirmations/new.html.erb +1 -1
  24. data/app/views/active_admin/devise/passwords/edit.html.erb +1 -1
  25. data/app/views/active_admin/devise/passwords/new.html.erb +1 -1
  26. data/app/views/active_admin/devise/registrations/new.html.erb +1 -2
  27. data/app/views/active_admin/devise/shared/_error_messages.html.erb +15 -0
  28. data/app/views/active_admin/devise/unlocks/new.html.erb +1 -1
  29. data/app/views/layouts/active_admin_logged_out.html.erb +1 -1
  30. data/config/locales/bg.yml +0 -1
  31. data/config/locales/he.yml +0 -1
  32. data/config/locales/hu.yml +4 -0
  33. data/config/locales/lt.yml +2 -2
  34. data/config/locales/uk.yml +2 -0
  35. data/docs/0-installation.md +2 -2
  36. data/docs/13-authorization-adapter.md +4 -4
  37. data/docs/CNAME +1 -1
  38. data/docs/index.html +2 -2
  39. data/lib/active_admin.rb +9 -4
  40. data/lib/active_admin/application.rb +8 -14
  41. data/lib/active_admin/application_settings.rb +3 -0
  42. data/lib/active_admin/asset_registration.rb +0 -8
  43. data/lib/active_admin/base_controller.rb +6 -6
  44. data/lib/active_admin/base_controller/authorization.rb +2 -4
  45. data/lib/active_admin/batch_actions/controller.rb +1 -1
  46. data/lib/active_admin/batch_actions/resource_extension.rb +4 -4
  47. data/lib/active_admin/callbacks.rb +1 -1
  48. data/lib/active_admin/csv_builder.rb +1 -1
  49. data/lib/active_admin/dependency.rb +1 -77
  50. data/lib/active_admin/dsl.rb +1 -8
  51. data/lib/active_admin/error.rb +1 -1
  52. data/lib/active_admin/filters/active_filter.rb +3 -1
  53. data/lib/active_admin/filters/active_sidebar.rb +5 -1
  54. data/lib/active_admin/filters/forms.rb +2 -2
  55. data/lib/active_admin/filters/formtastic_addons.rb +1 -1
  56. data/lib/active_admin/filters/resource_extension.rb +3 -3
  57. data/lib/active_admin/form_builder.rb +3 -3
  58. data/lib/active_admin/generators/boilerplate.rb +1 -1
  59. data/lib/active_admin/helpers/scope_chain.rb +1 -0
  60. data/lib/active_admin/inputs/datepicker_input.rb +1 -1
  61. data/lib/active_admin/inputs/filters/base/search_method_select.rb +2 -2
  62. data/lib/active_admin/menu_item.rb +1 -1
  63. data/lib/active_admin/namespace.rb +2 -2
  64. data/lib/active_admin/namespace_settings.rb +7 -4
  65. data/lib/active_admin/orm/active_record/comments.rb +4 -4
  66. data/lib/active_admin/orm/active_record/comments/comment.rb +2 -2
  67. data/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +10 -5
  68. data/lib/active_admin/page_dsl.rb +1 -1
  69. data/lib/active_admin/pundit_adapter.rb +13 -4
  70. data/lib/active_admin/resource.rb +2 -2
  71. data/lib/active_admin/resource/action_items.rb +1 -1
  72. data/lib/active_admin/resource/attributes.rb +7 -4
  73. data/lib/active_admin/resource/menu.rb +3 -3
  74. data/lib/active_admin/resource/naming.rb +3 -3
  75. data/lib/active_admin/resource/routes.rb +9 -4
  76. data/lib/active_admin/resource/scopes.rb +3 -3
  77. data/lib/active_admin/resource/sidebars.rb +1 -1
  78. data/lib/active_admin/resource_collection.rb +2 -2
  79. data/lib/active_admin/resource_controller/action_builder.rb +10 -0
  80. data/lib/active_admin/resource_controller/resource_class_methods.rb +2 -0
  81. data/lib/active_admin/resource_dsl.rb +5 -3
  82. data/lib/active_admin/router.rb +1 -1
  83. data/lib/active_admin/scope.rb +4 -4
  84. data/lib/active_admin/settings_node.rb +1 -1
  85. data/lib/active_admin/version.rb +1 -1
  86. data/lib/active_admin/view_helpers.rb +1 -1
  87. data/lib/active_admin/view_helpers/display_helper.rb +10 -2
  88. data/lib/active_admin/view_helpers/download_format_links_helper.rb +1 -0
  89. data/lib/active_admin/view_helpers/method_or_proc_helper.rb +2 -0
  90. data/lib/active_admin/views.rb +1 -1
  91. data/lib/active_admin/views/components/active_admin_form.rb +7 -1
  92. data/lib/active_admin/views/components/attributes_table.rb +3 -3
  93. data/lib/active_admin/views/components/paginated_collection.rb +1 -1
  94. data/lib/active_admin/views/components/sidebar_section.rb +0 -3
  95. data/lib/active_admin/views/components/status_tag.rb +1 -18
  96. data/lib/active_admin/views/components/table_for.rb +2 -2
  97. data/lib/active_admin/views/components/tabs.rb +11 -2
  98. data/lib/active_admin/views/footer.rb +1 -1
  99. data/lib/active_admin/views/index_as_table.rb +5 -4
  100. data/lib/active_admin/views/pages/base.rb +3 -0
  101. data/lib/generators/active_admin/assets/assets_generator.rb +2 -2
  102. data/lib/generators/active_admin/assets/templates/active_admin.js +1 -0
  103. data/lib/generators/active_admin/install/install_generator.rb +6 -2
  104. data/lib/generators/active_admin/install/templates/active_admin.rb.erb +20 -1
  105. data/lib/generators/active_admin/install/templates/dashboard.rb +2 -3
  106. data/lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb.erb +1 -15
  107. data/lib/generators/active_admin/page/page_generator.rb +1 -1
  108. data/lib/generators/active_admin/resource/resource_generator.rb +1 -1
  109. data/lib/ransack_ext.rb +3 -3
  110. data/vendor/assets/javascripts/jquery-ui/form-reset-mixin.js +80 -0
  111. data/vendor/assets/javascripts/jquery-ui/form.js +22 -0
  112. data/vendor/assets/javascripts/jquery-ui/labels.js +65 -0
  113. data/vendor/assets/javascripts/jquery-ui/widgets/checkboxradio.js +274 -283
  114. metadata +107 -96
  115. data/.circleci/config.yml +0 -572
  116. data/.github/ISSUE_TEMPLATE.md +0 -20
  117. data/.gitignore +0 -16
  118. data/.mdlrc +0 -1
  119. data/.rspec +0 -1
  120. data/.rspec_parallel +0 -2
  121. data/.rubocop.yml +0 -99
  122. data/.simplecov +0 -9
  123. data/.yardopts +0 -7
  124. data/Gemfile +0 -30
  125. data/Gemfile.common +0 -26
  126. data/Gemfile.lock +0 -433
  127. data/Rakefile +0 -24
  128. data/activeadmin.gemspec +0 -32
  129. data/app/assets/javascripts/active_admin/base.js.coffee +0 -13
  130. data/app/assets/javascripts/active_admin/ext/jquery-ui.js.coffee +0 -6
  131. data/app/assets/javascripts/active_admin/ext/jquery.js.coffee +0 -7
  132. data/app/assets/javascripts/active_admin/initializers/batch_actions.js.coffee +0 -11
  133. data/app/assets/javascripts/active_admin/initializers/datepicker.js.coffee +0 -14
  134. data/app/assets/javascripts/active_admin/initializers/filters.js.coffee +0 -26
  135. data/app/assets/javascripts/active_admin/initializers/tabs.js.coffee +0 -7
  136. data/app/assets/javascripts/active_admin/lib/batch_actions.js.coffee +0 -42
  137. data/app/assets/javascripts/active_admin/lib/checkbox-toggler.js.coffee +0 -46
  138. data/app/assets/javascripts/active_admin/lib/dropdown-menu.js.coffee +0 -104
  139. data/app/assets/javascripts/active_admin/lib/flash.js.coffee +0 -19
  140. data/app/assets/javascripts/active_admin/lib/has_many.js.coffee +0 -79
  141. data/app/assets/javascripts/active_admin/lib/modal_dialog.js.coffee +0 -45
  142. data/app/assets/javascripts/active_admin/lib/per_page.js.coffee +0 -46
  143. data/app/assets/javascripts/active_admin/lib/table-checkbox-toggler.js.coffee +0 -22
  144. data/bin/install_chromedriver.sh +0 -17
  145. data/config/i18n-tasks.yml +0 -26
  146. data/config/mdl_style.rb +0 -11
  147. data/cucumber.yml +0 -7
  148. data/gemfiles/rails_42.gemfile +0 -10
  149. data/gemfiles/rails_42.gemfile.lock +0 -339
  150. data/gemfiles/rails_50.gemfile +0 -10
  151. data/gemfiles/rails_50.gemfile.lock +0 -353
  152. data/gemfiles/rails_51.gemfile +0 -10
  153. data/gemfiles/rails_51.gemfile.lock +0 -353
  154. data/lib/active_admin/event.rb +0 -24
  155. data/lib/active_admin/helpers/output_safety_helper.rb +0 -35
  156. data/lib/bug_report_templates/active_admin_master.rb +0 -111
  157. data/lib/generators/active_admin/assets/templates/active_admin.js.coffee +0 -1
  158. data/tasks/application_generator.rb +0 -50
  159. data/tasks/docs.rake +0 -64
  160. data/tasks/gemfiles.rake +0 -8
  161. data/tasks/lint.rake +0 -110
  162. data/tasks/local.rake +0 -27
  163. data/tasks/release.rake +0 -6
  164. data/tasks/test.rake +0 -42
metadata CHANGED
@@ -1,43 +1,42 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 2.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
+ - Charles Maresh
8
+ - David Rodríguez
7
9
  - Greg Bell
10
+ - Igor Fedoronchuk
11
+ - Javier Julio
12
+ - Piers C
13
+ - Sean Linsley
14
+ - Timo Schilling
8
15
  autorequire:
9
16
  bindir: bin
10
17
  cert_chain: []
11
- date: 2018-12-04 00:00:00.000000000 Z
18
+ date: 2019-03-23 00:00:00.000000000 Z
12
19
  dependencies:
13
20
  - !ruby/object:Gem::Dependency
14
21
  name: arbre
15
22
  requirement: !ruby/object:Gem::Requirement
16
23
  requirements:
17
- - - ">="
24
+ - - "~>"
18
25
  - !ruby/object:Gem::Version
19
- version: 1.1.1
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
26
+ version: '1.1'
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 1.1.1
27
- - !ruby/object:Gem::Dependency
28
- name: coffee-rails
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
30
  type: :runtime
35
31
  prerelease: false
36
32
  version_requirements: !ruby/object:Gem::Requirement
37
33
  requirements:
34
+ - - "~>"
35
+ - !ruby/object:Gem::Version
36
+ version: '1.1'
38
37
  - - ">="
39
38
  - !ruby/object:Gem::Version
40
- version: '0'
39
+ version: 1.1.1
41
40
  - !ruby/object:Gem::Dependency
42
41
  name: formtastic
43
42
  requirement: !ruby/object:Gem::Requirement
@@ -56,110 +55,125 @@ dependencies:
56
55
  name: formtastic_i18n
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
- - - ">="
58
+ - - "~>"
60
59
  - !ruby/object:Gem::Version
61
- version: '0'
60
+ version: '0.4'
62
61
  type: :runtime
63
62
  prerelease: false
64
63
  version_requirements: !ruby/object:Gem::Requirement
65
64
  requirements:
66
- - - ">="
65
+ - - "~>"
67
66
  - !ruby/object:Gem::Version
68
- version: '0'
67
+ version: '0.4'
69
68
  - !ruby/object:Gem::Dependency
70
69
  name: inherited_resources
71
70
  requirement: !ruby/object:Gem::Requirement
72
71
  requirements:
73
- - - ">="
72
+ - - "~>"
74
73
  - !ruby/object:Gem::Version
75
- version: 1.9.0
74
+ version: '1.7'
76
75
  type: :runtime
77
76
  prerelease: false
78
77
  version_requirements: !ruby/object:Gem::Requirement
79
78
  requirements:
80
- - - ">="
79
+ - - "~>"
81
80
  - !ruby/object:Gem::Version
82
- version: 1.9.0
81
+ version: '1.7'
83
82
  - !ruby/object:Gem::Dependency
84
83
  name: jquery-rails
85
84
  requirement: !ruby/object:Gem::Requirement
86
85
  requirements:
87
- - - ">="
86
+ - - "~>"
88
87
  - !ruby/object:Gem::Version
89
- version: 4.2.0
88
+ version: '4.2'
90
89
  type: :runtime
91
90
  prerelease: false
92
91
  version_requirements: !ruby/object:Gem::Requirement
93
92
  requirements:
94
- - - ">="
93
+ - - "~>"
95
94
  - !ruby/object:Gem::Version
96
- version: 4.2.0
95
+ version: '4.2'
97
96
  - !ruby/object:Gem::Dependency
98
97
  name: kaminari
99
98
  requirement: !ruby/object:Gem::Requirement
100
99
  requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '1.0'
101
103
  - - ">="
102
104
  - !ruby/object:Gem::Version
103
- version: '0.15'
105
+ version: 1.0.1
104
106
  type: :runtime
105
107
  prerelease: false
106
108
  version_requirements: !ruby/object:Gem::Requirement
107
109
  requirements:
110
+ - - "~>"
111
+ - !ruby/object:Gem::Version
112
+ version: '1.0'
108
113
  - - ">="
109
114
  - !ruby/object:Gem::Version
110
- version: '0.15'
115
+ version: 1.0.1
111
116
  - !ruby/object:Gem::Dependency
112
117
  name: railties
113
118
  requirement: !ruby/object:Gem::Requirement
114
119
  requirements:
115
120
  - - ">="
116
121
  - !ruby/object:Gem::Version
117
- version: '4.2'
122
+ version: '5.0'
118
123
  - - "<"
119
124
  - !ruby/object:Gem::Version
120
- version: '5.3'
125
+ version: '6.0'
121
126
  type: :runtime
122
127
  prerelease: false
123
128
  version_requirements: !ruby/object:Gem::Requirement
124
129
  requirements:
125
130
  - - ">="
126
131
  - !ruby/object:Gem::Version
127
- version: '4.2'
132
+ version: '5.0'
128
133
  - - "<"
129
134
  - !ruby/object:Gem::Version
130
- version: '5.3'
135
+ version: '6.0'
131
136
  - !ruby/object:Gem::Dependency
132
137
  name: ransack
133
138
  requirement: !ruby/object:Gem::Requirement
134
139
  requirements:
140
+ - - "~>"
141
+ - !ruby/object:Gem::Version
142
+ version: '2.1'
135
143
  - - ">="
136
144
  - !ruby/object:Gem::Version
137
- version: 1.8.7
145
+ version: 2.1.1
138
146
  type: :runtime
139
147
  prerelease: false
140
148
  version_requirements: !ruby/object:Gem::Requirement
141
149
  requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '2.1'
142
153
  - - ">="
143
154
  - !ruby/object:Gem::Version
144
- version: 1.8.7
155
+ version: 2.1.1
145
156
  - !ruby/object:Gem::Dependency
146
157
  name: sass
147
158
  requirement: !ruby/object:Gem::Requirement
148
159
  requirements:
149
160
  - - "~>"
150
161
  - !ruby/object:Gem::Version
151
- version: '3.1'
162
+ version: '3.4'
152
163
  type: :runtime
153
164
  prerelease: false
154
165
  version_requirements: !ruby/object:Gem::Requirement
155
166
  requirements:
156
167
  - - "~>"
157
168
  - !ruby/object:Gem::Version
158
- version: '3.1'
169
+ version: '3.4'
159
170
  - !ruby/object:Gem::Dependency
160
171
  name: sprockets
161
172
  requirement: !ruby/object:Gem::Requirement
162
173
  requirements:
174
+ - - ">="
175
+ - !ruby/object:Gem::Version
176
+ version: '3.0'
163
177
  - - "<"
164
178
  - !ruby/object:Gem::Version
165
179
  version: '4.1'
@@ -167,53 +181,65 @@ dependencies:
167
181
  prerelease: false
168
182
  version_requirements: !ruby/object:Gem::Requirement
169
183
  requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '3.0'
170
187
  - - "<"
171
188
  - !ruby/object:Gem::Version
172
189
  version: '4.1'
190
+ - !ruby/object:Gem::Dependency
191
+ name: sprockets-es6
192
+ requirement: !ruby/object:Gem::Requirement
193
+ requirements:
194
+ - - "~>"
195
+ - !ruby/object:Gem::Version
196
+ version: '0.9'
197
+ - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: 0.9.2
200
+ type: :runtime
201
+ prerelease: false
202
+ version_requirements: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - "~>"
205
+ - !ruby/object:Gem::Version
206
+ version: '0.9'
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: 0.9.2
173
210
  description: The administration framework for Ruby on Rails.
174
211
  email:
175
- - gregdbell@gmail.com
212
+ - deivid.rodriguez@riseup.net
176
213
  executables: []
177
214
  extensions: []
178
- extra_rdoc_files: []
215
+ extra_rdoc_files:
216
+ - CHANGELOG.md
217
+ - CODE_OF_CONDUCT.md
218
+ - CONTRIBUTING.md
219
+ - README.md
179
220
  files:
180
- - ".circleci/config.yml"
181
- - ".github/ISSUE_TEMPLATE.md"
182
- - ".gitignore"
183
- - ".mdlrc"
184
- - ".rspec"
185
- - ".rspec_parallel"
186
- - ".rubocop.yml"
187
- - ".simplecov"
188
- - ".yardopts"
189
221
  - CHANGELOG.md
190
222
  - CODE_OF_CONDUCT.md
191
223
  - CONTRIBUTING.md
192
- - Gemfile
193
- - Gemfile.common
194
- - Gemfile.lock
195
224
  - LICENSE
196
225
  - README.md
197
- - Rakefile
198
- - activeadmin.gemspec
199
226
  - app/assets/images/active_admin/nested_menu_arrow.gif
200
227
  - app/assets/images/active_admin/nested_menu_arrow_dark.gif
201
228
  - app/assets/images/active_admin/orderable.png
202
- - app/assets/javascripts/active_admin/base.js.coffee
203
- - app/assets/javascripts/active_admin/ext/jquery-ui.js.coffee
204
- - app/assets/javascripts/active_admin/ext/jquery.js.coffee
205
- - app/assets/javascripts/active_admin/initializers/batch_actions.js.coffee
206
- - app/assets/javascripts/active_admin/initializers/datepicker.js.coffee
207
- - app/assets/javascripts/active_admin/initializers/filters.js.coffee
208
- - app/assets/javascripts/active_admin/initializers/tabs.js.coffee
209
- - app/assets/javascripts/active_admin/lib/batch_actions.js.coffee
210
- - app/assets/javascripts/active_admin/lib/checkbox-toggler.js.coffee
211
- - app/assets/javascripts/active_admin/lib/dropdown-menu.js.coffee
212
- - app/assets/javascripts/active_admin/lib/flash.js.coffee
213
- - app/assets/javascripts/active_admin/lib/has_many.js.coffee
214
- - app/assets/javascripts/active_admin/lib/modal_dialog.js.coffee
215
- - app/assets/javascripts/active_admin/lib/per_page.js.coffee
216
- - app/assets/javascripts/active_admin/lib/table-checkbox-toggler.js.coffee
229
+ - app/assets/javascripts/active_admin/base.es6
230
+ - app/assets/javascripts/active_admin/ext/jquery-ui.es6
231
+ - app/assets/javascripts/active_admin/ext/jquery.es6
232
+ - app/assets/javascripts/active_admin/initializers/datepicker.es6
233
+ - app/assets/javascripts/active_admin/initializers/filters.es6
234
+ - app/assets/javascripts/active_admin/initializers/tabs.es6
235
+ - app/assets/javascripts/active_admin/lib/active_admin.es6
236
+ - app/assets/javascripts/active_admin/lib/batch_actions.es6
237
+ - app/assets/javascripts/active_admin/lib/checkbox-toggler.es6
238
+ - app/assets/javascripts/active_admin/lib/dropdown-menu.es6
239
+ - app/assets/javascripts/active_admin/lib/has_many.es6
240
+ - app/assets/javascripts/active_admin/lib/modal_dialog.es6
241
+ - app/assets/javascripts/active_admin/lib/per_page.es6
242
+ - app/assets/javascripts/active_admin/lib/table-checkbox-toggler.es6
217
243
  - app/assets/stylesheets/active_admin/_base.scss
218
244
  - app/assets/stylesheets/active_admin/_forms.scss
219
245
  - app/assets/stylesheets/active_admin/_header.scss
@@ -261,6 +287,7 @@ files:
261
287
  - app/views/active_admin/devise/passwords/new.html.erb
262
288
  - app/views/active_admin/devise/registrations/new.html.erb
263
289
  - app/views/active_admin/devise/sessions/new.html.erb
290
+ - app/views/active_admin/devise/shared/_error_messages.html.erb
264
291
  - app/views/active_admin/devise/shared/_links.erb
265
292
  - app/views/active_admin/devise/unlocks/new.html.erb
266
293
  - app/views/active_admin/page/index.html.arb
@@ -277,8 +304,6 @@ files:
277
304
  - app/views/kaminari/active_admin/_prev_page.html.erb
278
305
  - app/views/layouts/active_admin.html.arb
279
306
  - app/views/layouts/active_admin_logged_out.html.erb
280
- - bin/install_chromedriver.sh
281
- - config/i18n-tasks.yml
282
307
  - config/locales/ar.yml
283
308
  - config/locales/bg.yml
284
309
  - config/locales/bs.yml
@@ -320,8 +345,6 @@ files:
320
345
  - config/locales/vi.yml
321
346
  - config/locales/zh-CN.yml
322
347
  - config/locales/zh-TW.yml
323
- - config/mdl_style.rb
324
- - cucumber.yml
325
348
  - docs/.gitignore
326
349
  - docs/0-installation.md
327
350
  - docs/1-general-configuration.md
@@ -362,12 +385,6 @@ files:
362
385
  - docs/images/tidelift.svg
363
386
  - docs/index.html
364
387
  - docs/stylesheets/main.css
365
- - gemfiles/rails_42.gemfile
366
- - gemfiles/rails_42.gemfile.lock
367
- - gemfiles/rails_50.gemfile
368
- - gemfiles/rails_50.gemfile.lock
369
- - gemfiles/rails_51.gemfile
370
- - gemfiles/rails_51.gemfile.lock
371
388
  - lib/active_admin.rb
372
389
  - lib/active_admin/abstract_view_factory.rb
373
390
  - lib/active_admin/application.rb
@@ -396,7 +413,6 @@ files:
396
413
  - lib/active_admin/dynamic_settings_node.rb
397
414
  - lib/active_admin/engine.rb
398
415
  - lib/active_admin/error.rb
399
- - lib/active_admin/event.rb
400
416
  - lib/active_admin/filters.rb
401
417
  - lib/active_admin/filters/active.rb
402
418
  - lib/active_admin/filters/active_filter.rb
@@ -410,7 +426,6 @@ files:
410
426
  - lib/active_admin/helpers/collection.rb
411
427
  - lib/active_admin/helpers/i18n.rb
412
428
  - lib/active_admin/helpers/optional_display.rb
413
- - lib/active_admin/helpers/output_safety_helper.rb
414
429
  - lib/active_admin/helpers/routes/url_helpers.rb
415
430
  - lib/active_admin/helpers/scope_chain.rb
416
431
  - lib/active_admin/inputs.rb
@@ -529,9 +544,8 @@ files:
529
544
  - lib/active_admin/views/tabbed_navigation.rb
530
545
  - lib/active_admin/views/title_bar.rb
531
546
  - lib/activeadmin.rb
532
- - lib/bug_report_templates/active_admin_master.rb
533
547
  - lib/generators/active_admin/assets/assets_generator.rb
534
- - lib/generators/active_admin/assets/templates/active_admin.js.coffee
548
+ - lib/generators/active_admin/assets/templates/active_admin.js
535
549
  - lib/generators/active_admin/assets/templates/active_admin.scss
536
550
  - lib/generators/active_admin/devise/devise_generator.rb
537
551
  - lib/generators/active_admin/install/install_generator.rb
@@ -545,19 +559,15 @@ files:
545
559
  - lib/generators/active_admin/resource/resource_generator.rb
546
560
  - lib/generators/active_admin/resource/templates/admin.rb.erb
547
561
  - lib/ransack_ext.rb
548
- - tasks/application_generator.rb
549
- - tasks/docs.rake
550
- - tasks/gemfiles.rake
551
- - tasks/lint.rake
552
- - tasks/local.rake
553
- - tasks/release.rake
554
- - tasks/test.rake
555
562
  - vendor/assets/javascripts/jquery-ui/data.js
556
563
  - vendor/assets/javascripts/jquery-ui/disable-selection.js
557
564
  - vendor/assets/javascripts/jquery-ui/escape-selector.js
558
565
  - vendor/assets/javascripts/jquery-ui/focusable.js
566
+ - vendor/assets/javascripts/jquery-ui/form-reset-mixin.js
567
+ - vendor/assets/javascripts/jquery-ui/form.js
559
568
  - vendor/assets/javascripts/jquery-ui/ie.js
560
569
  - vendor/assets/javascripts/jquery-ui/keycode.js
570
+ - vendor/assets/javascripts/jquery-ui/labels.js
561
571
  - vendor/assets/javascripts/jquery-ui/plugin.js
562
572
  - vendor/assets/javascripts/jquery-ui/position.js
563
573
  - vendor/assets/javascripts/jquery-ui/safe-active-element.js
@@ -578,7 +588,7 @@ files:
578
588
  - vendor/assets/javascripts/jquery-ui/widgets/sortable.js
579
589
  - vendor/assets/javascripts/jquery-ui/widgets/tabs.js
580
590
  - vendor/assets/stylesheets/active_admin/_normalize.scss
581
- homepage: http://activeadmin.info
591
+ homepage: https://activeadmin.info
582
592
  licenses:
583
593
  - MIT
584
594
  metadata: {}
@@ -593,13 +603,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
593
603
  version: '2.3'
594
604
  required_rubygems_version: !ruby/object:Gem::Requirement
595
605
  requirements:
596
- - - ">="
606
+ - - ">"
597
607
  - !ruby/object:Gem::Version
598
- version: '0'
608
+ version: 1.3.1
599
609
  requirements: []
600
- rubyforge_project:
601
- rubygems_version: 2.7.8
610
+ rubygems_version: 3.0.3
602
611
  signing_key:
603
612
  specification_version: 4
604
- summary: The administration framework for Ruby on Rails.
613
+ summary: Active Admin is a Ruby on Rails plugin for generating administration style
614
+ interfaces. It abstracts common business application patterns to make it simple
615
+ for developers to implement beautiful and elegant interfaces with very little effort.
605
616
  test_files: []
@@ -1,572 +0,0 @@
1
- ---
2
-
3
- version: 2.1
4
-
5
- .install_bundler: &install_bundler
6
- run:
7
- name: Install a specific bundler version
8
- command: gem install bundler -v 1.17.1
9
-
10
- .copy_current_gemfile: &copy_current_gemfile
11
- run:
12
- name: Cat current Gemfile to a specific file so caching works
13
- command: cat "$BUNDLE_GEMFILE.lock" > current_gemfile.lock
14
-
15
- .restore_cache: &restore_cache
16
- restore_cache:
17
- keys:
18
- - bundler-dependencies-{{ checksum "current_gemfile.lock" }}-{{ .Environment.CIRCLE_JOB }}
19
-
20
- .install_dependencies: &install_dependencies
21
- run:
22
- name: Install dependencies
23
- command: bundle install --path /home/circleci/project/vendor/bundle --retry 3 --jobs 3
24
-
25
- .install_chromedriver: &install_chromedriver
26
- run:
27
- name: Install chromedriver
28
- command: bin/install_chromedriver.sh
29
-
30
- .save_cache: &save_cache
31
- save_cache:
32
- key: bundler-dependencies-{{ checksum "current_gemfile.lock" }}-{{ .Environment.CIRCLE_JOB }}
33
- paths:
34
- - vendor/bundle
35
-
36
- .create_test_app: &create_test_app
37
- run:
38
- name: Create test app
39
- command: PARALLEL_TEST_PROCESSORS=4 bundle exec rake setup
40
-
41
- .restore_coverage: &restore_coverage
42
- attach_workspace:
43
- at: tmp
44
-
45
- .format_coverage: &format_coverage
46
- run:
47
- name: Format coverage
48
- command: tmp/test-reporter format-coverage --input-type simplecov --output tmp/codeclimate.$CIRCLE_JOB.json
49
-
50
- .save_coverage: &save_coverage
51
- persist_to_workspace:
52
- root: tmp
53
- paths:
54
- - codeclimate.*.json
55
-
56
- .submit_coverage: &submit_coverage
57
- run:
58
- name: Upload coverage results to Code Climate
59
- command: |
60
- tmp/test-reporter sum-coverage tmp/codeclimate.*.json --parts 21 --output tmp/codeclimate.total.json
61
- tmp/test-reporter upload-coverage --input tmp/codeclimate.total.json
62
-
63
- .save_test_app_to_workspace: &save_test_app_to_workspace
64
- persist_to_workspace:
65
- root: spec/rails
66
- paths:
67
- - rails-*
68
-
69
- .restore_test_app_from_workspace: &restore_test_app_from_workspace
70
- attach_workspace:
71
- at: spec/rails
72
-
73
- .restore_test_times: &restore_test_times
74
- restore_cache:
75
- keys:
76
- - testtime-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}
77
- - testtime-master-{{ .Environment.CIRCLE_JOB }}
78
-
79
- .run_tests: &run_tests
80
- run:
81
- name: Run tests
82
- command: COVERAGE=true PARALLEL_TEST_PROCESSORS=4 bundle exec rake test
83
-
84
- .save_test_times: &save_test_times
85
- save_cache:
86
- key: testtime-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}
87
- paths:
88
- - tmp/parallel_runtime_rspec.log
89
- - tmp/parallel_runtime_cucumber.log
90
-
91
- .generate_docs: &generate_docs
92
- run:
93
- name: Generate docs
94
- command: bundle exec rake docs:build
95
-
96
- .run_lints: &run_lints
97
- run:
98
- name: Run lints
99
- command: bundle exec rake lint
100
-
101
- .run_bug_report_template: &run_bug_report_template
102
- run:
103
- name: Run bug report template
104
- command: ACTIVE_ADMIN_PATH=. ruby lib/bug_report_templates/active_admin_master.rb
105
-
106
- .test_steps: &test_steps
107
- - checkout
108
- - *install_bundler
109
- - *copy_current_gemfile
110
- - *restore_cache
111
- - *install_dependencies
112
- - *install_chromedriver
113
- - *save_cache
114
- - *restore_test_app_from_workspace
115
- - *restore_test_times
116
- - *restore_coverage
117
- - *run_tests
118
- - *format_coverage
119
- - *save_coverage
120
- - *save_test_times
121
-
122
- .test_app_steps: &test_app_steps
123
- - checkout
124
- - *install_bundler
125
- - *copy_current_gemfile
126
- - *restore_cache
127
- - *install_dependencies
128
- - *save_cache
129
- - *create_test_app
130
- - *save_test_app_to_workspace
131
-
132
- jobs:
133
- setup_coverage:
134
- docker:
135
- - image: circleci/ruby:2.5.3
136
-
137
- steps:
138
- - run:
139
- name: Download Code Climate test-reporter
140
- command: |
141
- mkdir tmp
142
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-0.6.3-linux-amd64 > tmp/test-reporter
143
- chmod +x tmp/test-reporter
144
-
145
- - persist_to_workspace:
146
- root: tmp
147
- paths:
148
- - test-reporter
149
-
150
- upload_coverage:
151
- docker:
152
- - image: circleci/ruby:2.5.3
153
- environment:
154
- CC_TEST_REPORTER_ID: 8d5fcf7abea6d56c625104a9d1a81140a588a7f546f4fa9de9bc6ffc8feaaf70
155
-
156
- steps:
157
- - *restore_coverage
158
- - *submit_coverage
159
-
160
- testapp42:
161
- docker:
162
- - image: circleci/ruby:2.5.3-node
163
-
164
- environment:
165
- BUNDLE_GEMFILE: gemfiles/rails_42.gemfile
166
-
167
- steps:
168
- *test_app_steps
169
-
170
- testapp50:
171
- docker:
172
- - image: circleci/ruby:2.5.3-node
173
-
174
- environment:
175
- BUNDLE_GEMFILE: gemfiles/rails_50.gemfile
176
-
177
- steps:
178
- *test_app_steps
179
-
180
- testapp51:
181
- docker:
182
- - image: circleci/ruby:2.5.3-node
183
-
184
- environment:
185
- BUNDLE_GEMFILE: gemfiles/rails_51.gemfile
186
-
187
- steps:
188
- *test_app_steps
189
-
190
- testapp52:
191
- docker:
192
- - image: circleci/ruby:2.5.3-node
193
-
194
- environment:
195
- BUNDLE_GEMFILE: Gemfile
196
-
197
- steps:
198
- *test_app_steps
199
-
200
- lint_and_docs:
201
- docker:
202
- - image: circleci/ruby:2.5.3-node
203
-
204
- environment:
205
- BUNDLE_GEMFILE: Gemfile
206
-
207
- steps:
208
- - checkout
209
- - *install_bundler
210
- - *copy_current_gemfile
211
- - *restore_cache
212
- - *install_dependencies
213
- - *save_cache
214
- - *generate_docs
215
- - *restore_coverage
216
- - *run_lints
217
- - *run_bug_report_template
218
- - *format_coverage
219
- - *save_coverage
220
-
221
- ruby23rails42:
222
- docker:
223
- - image: circleci/ruby:2.3.7-node-browsers
224
-
225
- environment:
226
- BUNDLE_GEMFILE: gemfiles/rails_42.gemfile
227
-
228
- steps:
229
- *test_steps
230
-
231
- ruby23rails50:
232
- docker:
233
- - image: circleci/ruby:2.3.8-node-browsers
234
-
235
- environment:
236
- BUNDLE_GEMFILE: gemfiles/rails_50.gemfile
237
-
238
- steps:
239
- *test_steps
240
-
241
- ruby23rails51:
242
- docker:
243
- - image: circleci/ruby:2.3.8-node-browsers
244
-
245
- environment:
246
- BUNDLE_GEMFILE: gemfiles/rails_51.gemfile
247
-
248
- steps:
249
- *test_steps
250
-
251
- ruby23rails52:
252
- docker:
253
- - image: circleci/ruby:2.3.8-node-browsers
254
-
255
- environment:
256
- BUNDLE_GEMFILE: Gemfile
257
-
258
- steps:
259
- *test_steps
260
-
261
- ruby24rails42:
262
- docker:
263
- - image: circleci/ruby:2.4.4-node-browsers
264
-
265
- environment:
266
- BUNDLE_GEMFILE: gemfiles/rails_42.gemfile
267
-
268
- steps:
269
- *test_steps
270
-
271
- ruby24rails50:
272
- docker:
273
- - image: circleci/ruby:2.4.5-node-browsers
274
-
275
- environment:
276
- BUNDLE_GEMFILE: gemfiles/rails_50.gemfile
277
-
278
- steps:
279
- *test_steps
280
-
281
- ruby24rails51:
282
- docker:
283
- - image: circleci/ruby:2.4.5-node-browsers
284
-
285
- environment:
286
- BUNDLE_GEMFILE: gemfiles/rails_51.gemfile
287
-
288
- steps:
289
- *test_steps
290
-
291
- ruby24rails52:
292
- docker:
293
- - image: circleci/ruby:2.4.5-node-browsers
294
-
295
- environment:
296
- BUNDLE_GEMFILE: Gemfile
297
-
298
- steps:
299
- *test_steps
300
-
301
- ruby25rails42:
302
- docker:
303
- - image: circleci/ruby:2.5.3-node-browsers
304
-
305
- environment:
306
- BUNDLE_GEMFILE: gemfiles/rails_42.gemfile
307
-
308
- steps:
309
- *test_steps
310
-
311
- ruby25rails50:
312
- docker:
313
- - image: circleci/ruby:2.5.3-node-browsers
314
-
315
- environment:
316
- BUNDLE_GEMFILE: gemfiles/rails_50.gemfile
317
-
318
- steps:
319
- *test_steps
320
-
321
- ruby25rails51:
322
- docker:
323
- - image: circleci/ruby:2.5.3-node-browsers
324
-
325
- environment:
326
- BUNDLE_GEMFILE: gemfiles/rails_51.gemfile
327
-
328
- steps:
329
- *test_steps
330
-
331
- ruby25rails52:
332
- docker:
333
- - image: circleci/ruby:2.5.3-node-browsers
334
-
335
- environment:
336
- BUNDLE_GEMFILE: Gemfile
337
-
338
- steps:
339
- *test_steps
340
-
341
- jruby91rails42:
342
- docker:
343
- - image: ccistaging/jruby:9.1.17.0-node-browsers
344
-
345
- environment:
346
- BUNDLE_GEMFILE: gemfiles/rails_42.gemfile
347
- JRUBY_OPTS: -J-Xmx1024m --dev --debug
348
-
349
- steps:
350
- *test_steps
351
-
352
- jruby91rails50:
353
- docker:
354
- - image: circleci/jruby:9.1.17.0-node-browsers
355
-
356
- environment:
357
- BUNDLE_GEMFILE: gemfiles/rails_50.gemfile
358
- JRUBY_OPTS: -J-Xmx1024m --dev --debug
359
-
360
- steps:
361
- *test_steps
362
-
363
- jruby91rails51:
364
- docker:
365
- - image: circleci/jruby:9.1.17.0-node-browsers
366
-
367
- environment:
368
- BUNDLE_GEMFILE: gemfiles/rails_51.gemfile
369
- JRUBY_OPTS: -J-Xmx1024m --dev --debug
370
-
371
- steps:
372
- *test_steps
373
-
374
- jruby91rails52:
375
- docker:
376
- - image: circleci/jruby:9.1.17.0-node-browsers
377
-
378
- environment:
379
- BUNDLE_GEMFILE: Gemfile
380
- JRUBY_OPTS: -J-Xmx1024m --dev --debug
381
-
382
- steps:
383
- *test_steps
384
-
385
- jruby92rails42:
386
- docker:
387
- - image: ccistaging/jruby:9.2.0.0-node-browsers
388
-
389
- environment:
390
- BUNDLE_GEMFILE: gemfiles/rails_42.gemfile
391
- JRUBY_OPTS: -J-Xmx1024m --dev --debug
392
-
393
- steps:
394
- *test_steps
395
-
396
- jruby92rails50:
397
- docker:
398
- - image: circleci/jruby:9.2.3.0-node-browsers
399
-
400
- environment:
401
- BUNDLE_GEMFILE: gemfiles/rails_50.gemfile
402
- JRUBY_OPTS: -J-Xmx1024m --dev --debug
403
-
404
- steps:
405
- *test_steps
406
-
407
- jruby92rails51:
408
- docker:
409
- - image: circleci/jruby:9.2.3.0-node-browsers
410
-
411
- environment:
412
- BUNDLE_GEMFILE: gemfiles/rails_51.gemfile
413
- JRUBY_OPTS: -J-Xmx1024m --dev --debug
414
-
415
- steps:
416
- *test_steps
417
-
418
- jruby92rails52:
419
- docker:
420
- - image: circleci/jruby:9.2.3.0-node-browsers
421
-
422
- environment:
423
- BUNDLE_GEMFILE: Gemfile
424
- JRUBY_OPTS: -J-Xmx1024m --dev --debug
425
-
426
- steps:
427
- *test_steps
428
-
429
- workflows:
430
- version: 2
431
-
432
- #
433
- # The workflow has three types of jobs:
434
- #
435
- # * A lint job to run style checks.
436
- # * Jobs that create test apps for each supported rails version.
437
- # * Jobs that run tests, one for each supported [ruby_version, rails_version]
438
- # combination. Every test job for a specific rails version reuses the test
439
- # app created for that specific rails version.
440
- #
441
- build:
442
- jobs:
443
- - setup_coverage
444
-
445
- - lint_and_docs:
446
- requires:
447
- - setup_coverage
448
-
449
- - testapp42:
450
- requires:
451
- - setup_coverage
452
-
453
- - testapp50:
454
- requires:
455
- - setup_coverage
456
-
457
- - testapp51:
458
- requires:
459
- - setup_coverage
460
-
461
- - testapp52:
462
- requires:
463
- - setup_coverage
464
-
465
- - ruby23rails42:
466
- requires:
467
- - testapp42
468
-
469
- - ruby23rails50:
470
- requires:
471
- - testapp50
472
-
473
- - ruby23rails51:
474
- requires:
475
- - testapp51
476
-
477
- - ruby23rails52:
478
- requires:
479
- - testapp52
480
-
481
- - ruby24rails42:
482
- requires:
483
- - testapp42
484
-
485
- - ruby24rails50:
486
- requires:
487
- - testapp50
488
-
489
- - ruby24rails51:
490
- requires:
491
- - testapp51
492
-
493
- - ruby24rails52:
494
- requires:
495
- - testapp52
496
-
497
- - ruby25rails42:
498
- requires:
499
- - testapp50
500
-
501
- - ruby25rails50:
502
- requires:
503
- - testapp50
504
-
505
- - ruby25rails51:
506
- requires:
507
- - testapp51
508
-
509
- - ruby25rails52:
510
- requires:
511
- - testapp52
512
-
513
- - jruby91rails42:
514
- requires:
515
- - testapp42
516
-
517
- - jruby91rails50:
518
- requires:
519
- - testapp50
520
-
521
- - jruby91rails51:
522
- requires:
523
- - testapp51
524
-
525
- - jruby91rails52:
526
- requires:
527
- - testapp52
528
-
529
- - jruby92rails42:
530
- requires:
531
- - testapp42
532
-
533
- - jruby92rails50:
534
- requires:
535
- - testapp50
536
-
537
- - jruby92rails51:
538
- requires:
539
- - testapp51
540
-
541
- - jruby92rails52:
542
- requires:
543
- - testapp52
544
-
545
- - upload_coverage:
546
- requires:
547
- - lint_and_docs
548
-
549
- - ruby23rails42
550
- - ruby23rails50
551
- - ruby23rails51
552
- - ruby23rails52
553
-
554
- - ruby24rails42
555
- - ruby24rails50
556
- - ruby24rails51
557
- - ruby24rails52
558
-
559
- - ruby25rails42
560
- - ruby25rails50
561
- - ruby25rails51
562
- - ruby25rails52
563
-
564
- - jruby91rails42
565
- - jruby91rails50
566
- - jruby91rails51
567
- - jruby91rails52
568
-
569
- - jruby92rails42
570
- - jruby92rails50
571
- - jruby92rails51
572
- - jruby92rails52