activeadmin_addons 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/activeadmin_addons/inputs/date-time-picker.js +1 -0
- data/app/assets/javascripts/activeadmin_addons/inputs/nested-select.js +2 -1
- data/app/assets/javascripts/activeadmin_addons/inputs/search-select.js +10 -8
- data/app/assets/javascripts/activeadmin_addons/inputs/selected-list.js +11 -9
- data/app/inputs/nested_level_input.rb +1 -0
- data/app/inputs/search_select_input.rb +1 -0
- data/app/inputs/selected_list_input.rb +1 -0
- data/lib/activeadmin_addons/addons/toggle_bool_builder.rb +6 -6
- data/lib/activeadmin_addons/engine.rb +1 -0
- data/lib/activeadmin_addons/support/input_helpers/input_methods.rb +1 -1
- data/lib/activeadmin_addons/support/input_helpers/input_options_handler.rb +5 -1
- data/lib/activeadmin_addons/support/input_helpers/select_helpers.rb +8 -2
- data/lib/activeadmin_addons/version.rb +1 -1
- data/vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/activeadmin.gemspec +3 -3
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08a33abdff1547b97e6f23fc2c82fd0ca2a770a309ab842decb96de526091e48
|
4
|
+
data.tar.gz: b9e25201a1cf7addc0b95c46194a384ad9432ae62871e86527faec3fd24e5593
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf7cd5884e578d17cff96663940692afb8b0adb820cd688bc354e059de38971641ed8be70363d3fd157adc704e248a579412513a1eac59f6980b41c4447af3cd
|
7
|
+
data.tar.gz: 3ec47a81808c1f29987ee0ecbdaf9ec43d6dbbc0bd4ec2dc8146f17ec72b2f8baef3d35e396dee2be085f66b2545215cd1e13b870ec102ac8a78cac56022d2c1
|
@@ -68,6 +68,7 @@ $(function() {
|
|
68
68
|
var element = $(el);
|
69
69
|
var url = element.data('url');
|
70
70
|
var fields = element.data('fields');
|
71
|
+
var predicate = element.data('predicate');
|
71
72
|
var displayName = element.data('display-name');
|
72
73
|
var parent = element.data('parent');
|
73
74
|
var width = element.data('width');
|
@@ -100,7 +101,7 @@ $(function() {
|
|
100
101
|
if (field == 'id') {
|
101
102
|
textQuery[field + '_eq'] = params.term;
|
102
103
|
} else {
|
103
|
-
textQuery[field + '
|
104
|
+
textQuery[field + '_' + predicate] = params.term;
|
104
105
|
}
|
105
106
|
});
|
106
107
|
|
@@ -7,13 +7,15 @@ $(function() {
|
|
7
7
|
|
8
8
|
function setupSearchSelect(container) {
|
9
9
|
$('.search-select-input, .search-select-filter-input, ajax-filter-input', container).each(function(i, el) {
|
10
|
-
var
|
11
|
-
var
|
12
|
-
var
|
13
|
-
var
|
14
|
-
var
|
15
|
-
var
|
16
|
-
var
|
10
|
+
var element = $(el);
|
11
|
+
var url = element.data('url');
|
12
|
+
var fields = element.data('fields');
|
13
|
+
var predicate = element.data('predicate');
|
14
|
+
var displayName = element.data('display-name');
|
15
|
+
var width = element.data('width');
|
16
|
+
var responseRoot = element.data('response-root');
|
17
|
+
var minimumInputLength = element.data('minimum-input-length');
|
18
|
+
var order = element.data('order');
|
17
19
|
|
18
20
|
var selectOptions = {
|
19
21
|
width: width,
|
@@ -31,7 +33,7 @@ $(function() {
|
|
31
33
|
if (field == 'id') {
|
32
34
|
textQuery[field + '_eq'] = params.term;
|
33
35
|
} else {
|
34
|
-
textQuery[field + '
|
36
|
+
textQuery[field + '_' + predicate] = params.term;
|
35
37
|
}
|
36
38
|
});
|
37
39
|
|
@@ -14,15 +14,17 @@ $(function() {
|
|
14
14
|
});
|
15
15
|
|
16
16
|
$('.selected-list-input', container).each(function(i, el) {
|
17
|
-
var
|
18
|
-
var
|
19
|
-
var
|
20
|
-
var
|
21
|
-
var
|
17
|
+
var element = $(el);
|
18
|
+
var url = element.data('url');
|
19
|
+
var fields = element.data('fields');
|
20
|
+
var predicate = element.data('predicate');
|
21
|
+
var displayName = element.data('display-name');
|
22
|
+
var method = element.data('method');
|
23
|
+
var model = element.data('model');
|
22
24
|
var prefix = model + '_' + method;
|
23
|
-
var responseRoot =
|
24
|
-
var minimumInputLength =
|
25
|
-
var order =
|
25
|
+
var responseRoot = element.data('response-root');
|
26
|
+
var minimumInputLength = element.data('minimum-input-length');
|
27
|
+
var order = element.data('order');
|
26
28
|
|
27
29
|
var selectOptions = {
|
28
30
|
minimumInputLength: minimumInputLength,
|
@@ -35,7 +37,7 @@ $(function() {
|
|
35
37
|
data: function(params) {
|
36
38
|
var textQuery = { m: 'or' };
|
37
39
|
fields.forEach(function(field) {
|
38
|
-
textQuery[field + '
|
40
|
+
textQuery[field + '_' + predicate] = params.term;
|
39
41
|
});
|
40
42
|
|
41
43
|
var query = {
|
@@ -16,6 +16,7 @@ class NestedLevelInput < ActiveAdminAddons::InputBase
|
|
16
16
|
def load_control_attributes
|
17
17
|
load_class(@options[:class])
|
18
18
|
load_data_attr(:fields, default: ["name"], formatter: :to_json)
|
19
|
+
load_data_attr(:predicate, default: "contains")
|
19
20
|
load_data_attr(:model, value: model_name)
|
20
21
|
load_data_attr(:display_name, default: "name")
|
21
22
|
load_data_attr(:minimum_input_length, default: 1)
|
@@ -14,6 +14,7 @@ class SearchSelectInput < ActiveAdminAddons::InputBase
|
|
14
14
|
def load_control_attributes
|
15
15
|
load_class(@options[:class])
|
16
16
|
load_data_attr(:fields, default: ["name"], formatter: :to_json)
|
17
|
+
load_data_attr(:predicate, default: "contains")
|
17
18
|
load_data_attr(:url, default: url_from_method)
|
18
19
|
load_data_attr(:response_root, default: tableize_method)
|
19
20
|
load_data_attr(:display_name, default: "name")
|
@@ -11,6 +11,7 @@ class SelectedListInput < ActiveAdminAddons::InputBase
|
|
11
11
|
load_data_attr(:url, default: url_from_method)
|
12
12
|
load_data_attr(:response_root, default: tableize_method)
|
13
13
|
load_data_attr(:fields, default: ["name"], formatter: :to_json)
|
14
|
+
load_data_attr(:predicate, default: "contains")
|
14
15
|
load_data_attr(:display_name, default: "name")
|
15
16
|
load_data_attr(:minimum_input_length, default: 1)
|
16
17
|
load_data_attr(:width, default: "100%")
|
@@ -22,12 +22,12 @@ module ActiveAdminAddons
|
|
22
22
|
size: SWITCHES_IMAGES_SIZE,
|
23
23
|
id: "toggle-#{class_name}-#{model.id}-#{attribute}-#{value}",
|
24
24
|
class: img_tag_class,
|
25
|
-
'data-model'
|
26
|
-
'data-object_id'
|
27
|
-
'data-field'
|
28
|
-
'data-value'
|
29
|
-
'data-url'
|
30
|
-
'data-success_message'
|
25
|
+
'data-model' => class_name,
|
26
|
+
'data-object_id' => model.id,
|
27
|
+
'data-field' => attribute,
|
28
|
+
'data-value' => value,
|
29
|
+
'data-url' => context.resource_path(model),
|
30
|
+
'data-success_message' => options[:success_message]
|
31
31
|
)
|
32
32
|
end
|
33
33
|
|
@@ -69,7 +69,7 @@ module ActiveAdminAddons
|
|
69
69
|
def calculate_attr_value(attr_name, attr_options)
|
70
70
|
value = attr_options[:value] || @options[attr_name]
|
71
71
|
|
72
|
-
if value
|
72
|
+
if !empty_value?(value)
|
73
73
|
if value.is_a?(Proc)
|
74
74
|
return template.instance_eval(&value)
|
75
75
|
else
|
@@ -82,5 +82,9 @@ module ActiveAdminAddons
|
|
82
82
|
return default_value.call if default_value.is_a?(Proc)
|
83
83
|
default_value
|
84
84
|
end
|
85
|
+
|
86
|
+
def empty_value?(value)
|
87
|
+
value.nil? || value == ""
|
88
|
+
end
|
85
89
|
end
|
86
90
|
end
|
@@ -56,11 +56,17 @@ module ActiveAdminAddons
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def selected_collection
|
59
|
-
|
59
|
+
@selected_collection ||= begin
|
60
|
+
if active_record_relation?(collection)
|
61
|
+
collection.model.where(id: input_value)
|
62
|
+
else
|
63
|
+
method_model.where(id: input_value)
|
64
|
+
end
|
65
|
+
end
|
60
66
|
end
|
61
67
|
|
62
68
|
def selected_item
|
63
|
-
selected_collection.first
|
69
|
+
@selected_item ||= selected_collection.first
|
64
70
|
end
|
65
71
|
|
66
72
|
private
|
@@ -8,17 +8,17 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|
10
10
|
s.authors = ["Greg Bell".freeze]
|
11
|
-
s.date = "2018-
|
11
|
+
s.date = "2018-02-09"
|
12
12
|
s.description = "The administration framework for Ruby on Rails.".freeze
|
13
13
|
s.email = ["gregdbell@gmail.com".freeze]
|
14
14
|
s.files = [".codeclimate.yml".freeze, ".github/ISSUE_TEMPLATE.md".freeze, ".gitignore".freeze, ".mdlrc".freeze, ".rubocop.yml".freeze, ".simplecov".freeze, ".travis.yml".freeze, ".yardopts".freeze, "CHANGELOG.md".freeze, "CODE_OF_CONDUCT.md".freeze, "CONTRIBUTING.md".freeze, "Gemfile".freeze, "LICENSE".freeze, "README.md".freeze, "Rakefile".freeze, "activeadmin.gemspec".freeze, "app/assets/images/active_admin/nested_menu_arrow.gif".freeze, "app/assets/images/active_admin/nested_menu_arrow_dark.gif".freeze, "app/assets/images/active_admin/orderable.png".freeze, "app/assets/javascripts/active_admin/base.es6".freeze, "app/assets/javascripts/active_admin/ext/jquery-ui.es6".freeze, "app/assets/javascripts/active_admin/ext/jquery.es6".freeze, "app/assets/javascripts/active_admin/initializers/datepicker.es6".freeze, "app/assets/javascripts/active_admin/initializers/filters.es6".freeze, "app/assets/javascripts/active_admin/initializers/tabs.es6".freeze, "app/assets/javascripts/active_admin/lib/active_admin.es6".freeze, "app/assets/javascripts/active_admin/lib/batch_actions.es6".freeze, "app/assets/javascripts/active_admin/lib/checkbox-toggler.es6".freeze, "app/assets/javascripts/active_admin/lib/dropdown-menu.es6".freeze, "app/assets/javascripts/active_admin/lib/has_many.es6".freeze, "app/assets/javascripts/active_admin/lib/modal_dialog.es6".freeze, "app/assets/javascripts/active_admin/lib/per_page.es6".freeze, "app/assets/javascripts/active_admin/lib/table-checkbox-toggler.es6".freeze, "app/assets/stylesheets/active_admin/_base.scss".freeze, "app/assets/stylesheets/active_admin/_forms.scss".freeze, "app/assets/stylesheets/active_admin/_header.scss".freeze, "app/assets/stylesheets/active_admin/_mixins.scss".freeze, "app/assets/stylesheets/active_admin/_typography.scss".freeze, "app/assets/stylesheets/active_admin/components/_batch_actions.scss".freeze, "app/assets/stylesheets/active_admin/components/_blank_slates.scss".freeze, "app/assets/stylesheets/active_admin/components/_breadcrumbs.scss".freeze, "app/assets/stylesheets/active_admin/components/_buttons.scss".freeze, "app/assets/stylesheets/active_admin/components/_columns.scss".freeze, "app/assets/stylesheets/active_admin/components/_comments.scss".freeze, "app/assets/stylesheets/active_admin/components/_date_picker.scss".freeze, "app/assets/stylesheets/active_admin/components/_dropdown_menu.scss".freeze, "app/assets/stylesheets/active_admin/components/_flash_messages.scss".freeze, "app/assets/stylesheets/active_admin/components/_grid.scss".freeze, "app/assets/stylesheets/active_admin/components/_index_list.scss".freeze, "app/assets/stylesheets/active_admin/components/_links.scss".freeze, "app/assets/stylesheets/active_admin/components/_modal_dialog.scss".freeze, "app/assets/stylesheets/active_admin/components/_pagination.scss".freeze, "app/assets/stylesheets/active_admin/components/_panels.scss".freeze, "app/assets/stylesheets/active_admin/components/_scopes.scss".freeze, "app/assets/stylesheets/active_admin/components/_status_tags.scss".freeze, "app/assets/stylesheets/active_admin/components/_table_tools.scss".freeze, "app/assets/stylesheets/active_admin/components/_tables.scss".freeze, "app/assets/stylesheets/active_admin/components/_tabs.scss".freeze, "app/assets/stylesheets/active_admin/components/_unsupported_browser.scss".freeze, "app/assets/stylesheets/active_admin/mixins/_all.scss".freeze, "app/assets/stylesheets/active_admin/mixins/_buttons.scss".freeze, "app/assets/stylesheets/active_admin/mixins/_gradients.scss".freeze, "app/assets/stylesheets/active_admin/mixins/_rounded.scss".freeze, "app/assets/stylesheets/active_admin/mixins/_sections.scss".freeze, "app/assets/stylesheets/active_admin/mixins/_shadows.scss".freeze, "app/assets/stylesheets/active_admin/mixins/_typography.scss".freeze, "app/assets/stylesheets/active_admin/mixins/_utilities.scss".freeze, "app/assets/stylesheets/active_admin/mixins/_variables.scss".freeze, "app/assets/stylesheets/active_admin/pages/_logged_out.scss".freeze, "app/assets/stylesheets/active_admin/print.scss".freeze, "app/assets/stylesheets/active_admin/structure/_footer.scss".freeze, "app/assets/stylesheets/active_admin/structure/_main_structure.scss".freeze, "app/assets/stylesheets/active_admin/structure/_title_bar.scss".freeze, "app/views/active_admin/devise/confirmations/new.html.erb".freeze, "app/views/active_admin/devise/mailer/reset_password_instructions.html.erb".freeze, "app/views/active_admin/devise/mailer/unlock_instructions.html.erb".freeze, "app/views/active_admin/devise/passwords/edit.html.erb".freeze, "app/views/active_admin/devise/passwords/new.html.erb".freeze, "app/views/active_admin/devise/registrations/new.html.erb".freeze, "app/views/active_admin/devise/sessions/new.html.erb".freeze, "app/views/active_admin/devise/shared/_links.erb".freeze, "app/views/active_admin/devise/unlocks/new.html.erb".freeze, "app/views/active_admin/page/index.html.arb".freeze, "app/views/active_admin/resource/edit.html.arb".freeze, "app/views/active_admin/resource/index.html.arb".freeze, "app/views/active_admin/resource/new.html.arb".freeze, "app/views/active_admin/resource/show.html.arb".freeze, "app/views/kaminari/active_admin/_first_page.html.erb".freeze, "app/views/kaminari/active_admin/_gap.html.erb".freeze, "app/views/kaminari/active_admin/_last_page.html.erb".freeze, "app/views/kaminari/active_admin/_next_page.html.erb".freeze, "app/views/kaminari/active_admin/_page.html.erb".freeze, "app/views/kaminari/active_admin/_paginator.html.erb".freeze, "app/views/kaminari/active_admin/_prev_page.html.erb".freeze, "app/views/layouts/active_admin.html.arb".freeze, "app/views/layouts/active_admin_logged_out.html.erb".freeze, "codecov.yml".freeze, "config/i18n-tasks.yml".freeze, "config/locales/ar.yml".freeze, "config/locales/bg.yml".freeze, "config/locales/bs.yml".freeze, "config/locales/ca.yml".freeze, "config/locales/cs.yml".freeze, "config/locales/da.yml".freeze, "config/locales/de-CH.yml".freeze, "config/locales/de.yml".freeze, "config/locales/el.yml".freeze, "config/locales/en-CA.yml".freeze, "config/locales/en-GB.yml".freeze, "config/locales/en.yml".freeze, "config/locales/eo.yml".freeze, "config/locales/es-MX.yml".freeze, "config/locales/es.yml".freeze, "config/locales/fa.yml".freeze, "config/locales/fi.yml".freeze, "config/locales/fr.yml".freeze, "config/locales/he.yml".freeze, "config/locales/hr.yml".freeze, "config/locales/hu.yml".freeze, "config/locales/id.yml".freeze, "config/locales/it.yml".freeze, "config/locales/ja.yml".freeze, "config/locales/ko.yml".freeze, "config/locales/lt.yml".freeze, "config/locales/lv.yml".freeze, "config/locales/nb.yml".freeze, "config/locales/nl.yml".freeze, "config/locales/pl.yml".freeze, "config/locales/pt-BR.yml".freeze, "config/locales/pt-PT.yml".freeze, "config/locales/ro.yml".freeze, "config/locales/ru.yml".freeze, "config/locales/sk.yml".freeze, "config/locales/sv-SE.yml".freeze, "config/locales/tr.yml".freeze, "config/locales/uk.yml".freeze, "config/locales/vi.yml".freeze, "config/locales/zh-CN.yml".freeze, "config/locales/zh-TW.yml".freeze, "config/mdl_style.rb".freeze, "cucumber.yml".freeze, "docs/0-installation.md".freeze, "docs/1-general-configuration.md".freeze, "docs/10-custom-pages.md".freeze, "docs/11-decorators.md".freeze, "docs/12-arbre-components.md".freeze, "docs/13-authorization-adapter.md".freeze, "docs/14-gotchas.md".freeze, "docs/2-resource-customization.md".freeze, "docs/3-index-pages.md".freeze, "docs/3-index-pages/custom-index.md".freeze, "docs/3-index-pages/index-as-block.md".freeze, "docs/3-index-pages/index-as-blog.md".freeze, "docs/3-index-pages/index-as-grid.md".freeze, "docs/3-index-pages/index-as-table.md".freeze, "docs/4-csv-format.md".freeze, "docs/5-forms.md".freeze, "docs/6-show-pages.md".freeze, "docs/7-sidebars.md".freeze, "docs/8-custom-actions.md".freeze, "docs/9-batch-actions.md".freeze, "docs/CNAME".freeze, "docs/Gemfile".freeze, "docs/README.md".freeze, "docs/_config.yml".freeze, "docs/_includes/footer.html".freeze, "docs/_includes/google-analytics.html".freeze, "docs/_includes/head.html".freeze, "docs/_includes/toc.html".freeze, "docs/_includes/top-menu.html".freeze, "docs/_layouts/default.html".freeze, "docs/documentation.md".freeze, "docs/images/activeadmin.png".freeze, "docs/images/code-header.png".freeze, "docs/images/divider.png".freeze, "docs/images/features.png".freeze, "docs/index.html".freeze, "docs/stylesheets/main.css".freeze, "gemfiles/rails_42.gemfile".freeze, "gemfiles/rails_50.gemfile".freeze, "gemfiles/rails_51.gemfile".freeze, "lib/active_admin.rb".freeze, "lib/active_admin/abstract_view_factory.rb".freeze, "lib/active_admin/application.rb".freeze, "lib/active_admin/application_settings.rb".freeze, "lib/active_admin/asset_registration.rb".freeze, "lib/active_admin/authorization_adapter.rb".freeze, "lib/active_admin/base_controller.rb".freeze, "lib/active_admin/base_controller/authorization.rb".freeze, "lib/active_admin/base_controller/menu.rb".freeze, "lib/active_admin/batch_actions.rb".freeze, "lib/active_admin/batch_actions/controller.rb".freeze, "lib/active_admin/batch_actions/resource_extension.rb".freeze, "lib/active_admin/batch_actions/views/batch_action_form.rb".freeze, "lib/active_admin/batch_actions/views/batch_action_selector.rb".freeze, "lib/active_admin/batch_actions/views/selection_cells.rb".freeze, "lib/active_admin/callbacks.rb".freeze, "lib/active_admin/cancan_adapter.rb".freeze, "lib/active_admin/component.rb".freeze, "lib/active_admin/controller_action.rb".freeze, "lib/active_admin/csv_builder.rb".freeze, "lib/active_admin/dependency.rb".freeze, "lib/active_admin/deprecation.rb".freeze, "lib/active_admin/devise.rb".freeze, "lib/active_admin/dsl.rb".freeze, "lib/active_admin/dynamic_setting.rb".freeze, "lib/active_admin/dynamic_settings_node.rb".freeze, "lib/active_admin/engine.rb".freeze, "lib/active_admin/error.rb".freeze, "lib/active_admin/filters.rb".freeze, "lib/active_admin/filters/active.rb".freeze, "lib/active_admin/filters/active_filter.rb".freeze, "lib/active_admin/filters/active_sidebar.rb".freeze, "lib/active_admin/filters/dsl.rb".freeze, "lib/active_admin/filters/forms.rb".freeze, "lib/active_admin/filters/formtastic_addons.rb".freeze, "lib/active_admin/filters/resource_extension.rb".freeze, "lib/active_admin/form_builder.rb".freeze, "lib/active_admin/generators/boilerplate.rb".freeze, "lib/active_admin/helpers/collection.rb".freeze, "lib/active_admin/helpers/i18n.rb".freeze, "lib/active_admin/helpers/optional_display.rb".freeze, "lib/active_admin/helpers/output_safety_helper.rb".freeze, "lib/active_admin/helpers/routes/url_helpers.rb".freeze, "lib/active_admin/helpers/scope_chain.rb".freeze, "lib/active_admin/inputs.rb".freeze, "lib/active_admin/inputs/datepicker_input.rb".freeze, "lib/active_admin/inputs/filters/base.rb".freeze, "lib/active_admin/inputs/filters/base/search_method_select.rb".freeze, "lib/active_admin/inputs/filters/boolean_input.rb".freeze, "lib/active_admin/inputs/filters/check_boxes_input.rb".freeze, "lib/active_admin/inputs/filters/date_picker_input.rb".freeze, "lib/active_admin/inputs/filters/date_range_input.rb".freeze, "lib/active_admin/inputs/filters/numeric_input.rb".freeze, "lib/active_admin/inputs/filters/select_input.rb".freeze, "lib/active_admin/inputs/filters/string_input.rb".freeze, "lib/active_admin/inputs/filters/text_input.rb".freeze, "lib/active_admin/localizers.rb".freeze, "lib/active_admin/localizers/resource_localizer.rb".freeze, "lib/active_admin/menu.rb".freeze, "lib/active_admin/menu_collection.rb".freeze, "lib/active_admin/menu_item.rb".freeze, "lib/active_admin/namespace.rb".freeze, "lib/active_admin/namespace_settings.rb".freeze, "lib/active_admin/order_clause.rb".freeze, "lib/active_admin/orm/active_record.rb".freeze, "lib/active_admin/orm/active_record/comments.rb".freeze, "lib/active_admin/orm/active_record/comments/comment.rb".freeze, "lib/active_admin/orm/active_record/comments/namespace_helper.rb".freeze, "lib/active_admin/orm/active_record/comments/resource_helper.rb".freeze, "lib/active_admin/orm/active_record/comments/show_page_helper.rb".freeze, "lib/active_admin/orm/active_record/comments/views.rb".freeze, "lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb".freeze, "lib/active_admin/orm/mongoid.rb".freeze, "lib/active_admin/orm/mongoid/.gitkeep".freeze, "lib/active_admin/page.rb".freeze, "lib/active_admin/page_controller.rb".freeze, "lib/active_admin/page_dsl.rb".freeze, "lib/active_admin/page_presenter.rb".freeze, "lib/active_admin/pundit_adapter.rb".freeze, "lib/active_admin/reloader.rb".freeze, "lib/active_admin/resource.rb".freeze, "lib/active_admin/resource/action_items.rb".freeze, "lib/active_admin/resource/attributes.rb".freeze, "lib/active_admin/resource/belongs_to.rb".freeze, "lib/active_admin/resource/controllers.rb".freeze, "lib/active_admin/resource/includes.rb".freeze, "lib/active_admin/resource/menu.rb".freeze, "lib/active_admin/resource/naming.rb".freeze, "lib/active_admin/resource/ordering.rb".freeze, "lib/active_admin/resource/page_presenters.rb".freeze, "lib/active_admin/resource/pagination.rb".freeze, "lib/active_admin/resource/routes.rb".freeze, "lib/active_admin/resource/scope_to.rb".freeze, "lib/active_admin/resource/scopes.rb".freeze, "lib/active_admin/resource/sidebars.rb".freeze, "lib/active_admin/resource_collection.rb".freeze, "lib/active_admin/resource_controller.rb".freeze, "lib/active_admin/resource_controller/action_builder.rb".freeze, "lib/active_admin/resource_controller/data_access.rb".freeze, "lib/active_admin/resource_controller/decorators.rb".freeze, "lib/active_admin/resource_controller/resource_class_methods.rb".freeze, "lib/active_admin/resource_controller/scoping.rb".freeze, "lib/active_admin/resource_controller/sidebars.rb".freeze, "lib/active_admin/resource_controller/streaming.rb".freeze, "lib/active_admin/resource_dsl.rb".freeze, "lib/active_admin/router.rb".freeze, "lib/active_admin/scope.rb".freeze, "lib/active_admin/settings_node.rb".freeze, "lib/active_admin/sidebar_section.rb".freeze, "lib/active_admin/version.rb".freeze, "lib/active_admin/view_factory.rb".freeze, "lib/active_admin/view_helpers.rb".freeze, "lib/active_admin/view_helpers/active_admin_application_helper.rb".freeze, "lib/active_admin/view_helpers/auto_link_helper.rb".freeze, "lib/active_admin/view_helpers/breadcrumb_helper.rb".freeze, "lib/active_admin/view_helpers/display_helper.rb".freeze, "lib/active_admin/view_helpers/download_format_links_helper.rb".freeze, "lib/active_admin/view_helpers/fields_for.rb".freeze, "lib/active_admin/view_helpers/flash_helper.rb".freeze, "lib/active_admin/view_helpers/form_helper.rb".freeze, "lib/active_admin/view_helpers/method_or_proc_helper.rb".freeze, "lib/active_admin/view_helpers/scope_name_helper.rb".freeze, "lib/active_admin/view_helpers/sidebar_helper.rb".freeze, "lib/active_admin/view_helpers/title_helper.rb".freeze, "lib/active_admin/view_helpers/view_factory_helper.rb".freeze, "lib/active_admin/views.rb".freeze, "lib/active_admin/views/action_items.rb".freeze, "lib/active_admin/views/components/active_admin_form.rb".freeze, "lib/active_admin/views/components/attributes_table.rb".freeze, "lib/active_admin/views/components/blank_slate.rb".freeze, "lib/active_admin/views/components/columns.rb".freeze, "lib/active_admin/views/components/dropdown_menu.rb".freeze, "lib/active_admin/views/components/index_list.rb".freeze, "lib/active_admin/views/components/menu.rb".freeze, "lib/active_admin/views/components/menu_item.rb".freeze, "lib/active_admin/views/components/paginated_collection.rb".freeze, "lib/active_admin/views/components/panel.rb".freeze, "lib/active_admin/views/components/scopes.rb".freeze, "lib/active_admin/views/components/sidebar.rb".freeze, "lib/active_admin/views/components/sidebar_section.rb".freeze, "lib/active_admin/views/components/site_title.rb".freeze, "lib/active_admin/views/components/status_tag.rb".freeze, "lib/active_admin/views/components/table_for.rb".freeze, "lib/active_admin/views/components/tabs.rb".freeze, "lib/active_admin/views/components/unsupported_browser.rb".freeze, "lib/active_admin/views/footer.rb".freeze, "lib/active_admin/views/header.rb".freeze, "lib/active_admin/views/index_as_block.rb".freeze, "lib/active_admin/views/index_as_blog.rb".freeze, "lib/active_admin/views/index_as_grid.rb".freeze, "lib/active_admin/views/index_as_table.rb".freeze, "lib/active_admin/views/pages/base.rb".freeze, "lib/active_admin/views/pages/form.rb".freeze, "lib/active_admin/views/pages/index.rb".freeze, "lib/active_admin/views/pages/layout.rb".freeze, "lib/active_admin/views/pages/page.rb".freeze, "lib/active_admin/views/pages/show.rb".freeze, "lib/active_admin/views/tabbed_navigation.rb".freeze, "lib/active_admin/views/title_bar.rb".freeze, "lib/activeadmin.rb".freeze, "lib/bug_report_templates/active_admin_master.rb".freeze, "lib/generators/active_admin/assets/assets_generator.rb".freeze, "lib/generators/active_admin/assets/templates/active_admin.js".freeze, "lib/generators/active_admin/assets/templates/active_admin.scss".freeze, "lib/generators/active_admin/devise/devise_generator.rb".freeze, "lib/generators/active_admin/install/install_generator.rb".freeze, "lib/generators/active_admin/install/templates/active_admin.rb.erb".freeze, "lib/generators/active_admin/install/templates/admin_users.rb.erb".freeze, "lib/generators/active_admin/install/templates/dashboard.rb".freeze, "lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb.erb".freeze, "lib/generators/active_admin/page/USAGE".freeze, "lib/generators/active_admin/page/page_generator.rb".freeze, "lib/generators/active_admin/page/templates/page.rb".freeze, "lib/generators/active_admin/resource/resource_generator.rb".freeze, "lib/generators/active_admin/resource/templates/admin.rb.erb".freeze, "lib/ransack_ext.rb".freeze, "tasks/docs.rake".freeze, "tasks/lint.rake".freeze, "tasks/local.rake".freeze, "tasks/parallel_tests.rake".freeze, "tasks/test.rake".freeze, "vendor/assets/javascripts/jquery-ui/data.js".freeze, "vendor/assets/javascripts/jquery-ui/disable-selection.js".freeze, "vendor/assets/javascripts/jquery-ui/escape-selector.js".freeze, "vendor/assets/javascripts/jquery-ui/focusable.js".freeze, "vendor/assets/javascripts/jquery-ui/form-reset-mixin.js".freeze, "vendor/assets/javascripts/jquery-ui/form.js".freeze, "vendor/assets/javascripts/jquery-ui/ie.js".freeze, "vendor/assets/javascripts/jquery-ui/keycode.js".freeze, "vendor/assets/javascripts/jquery-ui/labels.js".freeze, "vendor/assets/javascripts/jquery-ui/plugin.js".freeze, "vendor/assets/javascripts/jquery-ui/position.js".freeze, "vendor/assets/javascripts/jquery-ui/safe-active-element.js".freeze, "vendor/assets/javascripts/jquery-ui/safe-blur.js".freeze, "vendor/assets/javascripts/jquery-ui/scroll-parent.js".freeze, "vendor/assets/javascripts/jquery-ui/tabbable.js".freeze, "vendor/assets/javascripts/jquery-ui/unique-id.js".freeze, "vendor/assets/javascripts/jquery-ui/version.js".freeze, "vendor/assets/javascripts/jquery-ui/widget.js".freeze, "vendor/assets/javascripts/jquery-ui/widgets/button.js".freeze, "vendor/assets/javascripts/jquery-ui/widgets/checkboxradio.js".freeze, "vendor/assets/javascripts/jquery-ui/widgets/controlgroup.js".freeze, "vendor/assets/javascripts/jquery-ui/widgets/datepicker.js".freeze, "vendor/assets/javascripts/jquery-ui/widgets/dialog.js".freeze, "vendor/assets/javascripts/jquery-ui/widgets/draggable.js".freeze, "vendor/assets/javascripts/jquery-ui/widgets/mouse.js".freeze, "vendor/assets/javascripts/jquery-ui/widgets/resizable.js".freeze, "vendor/assets/javascripts/jquery-ui/widgets/sortable.js".freeze, "vendor/assets/javascripts/jquery-ui/widgets/tabs.js".freeze, "vendor/assets/stylesheets/active_admin/_normalize.scss".freeze]
|
15
15
|
s.homepage = "http://activeadmin.info".freeze
|
16
16
|
s.licenses = ["MIT".freeze]
|
17
17
|
s.required_ruby_version = Gem::Requirement.new(">= 2.2".freeze)
|
18
|
-
s.rubygems_version = "2.7.
|
18
|
+
s.rubygems_version = "2.7.5".freeze
|
19
19
|
s.summary = "The administration framework for Ruby on Rails.".freeze
|
20
20
|
|
21
|
-
s.installed_by_version = "2.7.
|
21
|
+
s.installed_by_version = "2.7.5" if s.respond_to? :installed_by_version
|
22
22
|
|
23
23
|
if s.respond_to? :specification_version then
|
24
24
|
s.specification_version = 4
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin_addons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Platanus
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-
|
14
|
+
date: 2018-02-09 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: railties
|
@@ -27,6 +27,20 @@ dependencies:
|
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: sass-rails
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0'
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
30
44
|
- !ruby/object:Gem::Dependency
|
31
45
|
name: select2-rails
|
32
46
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1057,7 +1071,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1057
1071
|
version: '0'
|
1058
1072
|
requirements: []
|
1059
1073
|
rubyforge_project:
|
1060
|
-
rubygems_version: 2.7.
|
1074
|
+
rubygems_version: 2.7.5
|
1061
1075
|
signing_key:
|
1062
1076
|
specification_version: 4
|
1063
1077
|
summary: Set of addons to help with the activeadmin ui
|