kadmin 0.4.2 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/javascripts/kadmin/select2.js +50 -0
  4. data/app/components/kadmin/form_builder.rb +3 -2
  5. data/app/components/kadmin/form_tags/inverted_check_box.rb +2 -2
  6. data/app/components/kadmin/navbar/link.rb +17 -9
  7. data/app/components/kadmin/pager/presenter.rb +3 -1
  8. data/app/components/kadmin/select2.rb +44 -1
  9. data/app/helpers/kadmin/application_helper.rb +3 -11
  10. data/lib/kadmin/presenter.rb +1 -0
  11. data/lib/kadmin/version.rb +1 -1
  12. data/test/dummy/config/initializers/kadmin.rb +4 -4
  13. data/test/dummy/log/development.log +76 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0r/0R1t4EI6-FNvZOA362lC6dH02FCLYcjz6EYDXADNNAE.cache +0 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2n/2nDrg_SvTWJqMT186D0khY5GvuAxqY8pm2wAdPJBqH0.cache +2 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9J/9JWZohD-yQUP_qqtToXTLa7UMogxA9QjQ9EX6VGbP9A.cache +1 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/AL/ALwH1K-JirknUnN6Ct_fioV-n3YlXpwZcKQnoKZ6qBQ.cache +0 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CV/CV48b5hcJ-3Wd0yiQIVhImvKJrBLCOLnutCPAAGS99U.cache +1 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ju/JU2uvgql9bnApgQSLgY3sDk6pfHu6QoYjf853mLf-8w.cache +0 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LJ/LjuGh0sOcqBa8FkH-p9s-eWyIOuNCjT6RN7bK2nIZJQ.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/MO/MOpl01yJefk2QqD3DjH_aeg7khgbH9EYovaDQV0lJZY.cache +2 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ON/ON1m6Ig7Ed0RVA2xa8SEr_CYLUYrxozmodIQ2LjR-ug.cache +1 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UK/UK_WE_HrCg1ixOz-5F0WvMMkjFZPRbbvK7CS7HXNCOQ.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/X_/X_DH0KNmnwBhGE63lGIgkmbSdYdE7otPZelVRGYqMwA.cache +1 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_d/_dSyQPD9Zee0-q1FwtVp-fIOZp2CEd2oB9eoLaH8vdo.cache +2 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bS/bsabzC31_RqIPO5kx7eDDQjehBMVbPdw1hsqAzziPtU.cache +0 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cw/cwwh78HI-SZdJAQod9RBC79NcdQFSkd-WqKWS6DX0WQ.cache +1 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/d6/d6xEPVvL1D1Y9Sa1oKSiantM10fTX69o3SWa6NHJ_s0.cache +0 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ev/evI1G5otHfFjK0YJojFe6vF3gU5wxlwC0K3mszBl278.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vK/vKh9S-ZjHGYu5VQDBTpOTMy7470rlEw1EW_6hhF17NA.cache +1 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wX/wXK7EqeJTajoHxtsSlQZvBpyMZVH0LraiYYBgSQAo_0.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xa/xa-5Cg_fBjBPaqbB0NU5eGQ2n52iEM6FOjDI7jmt60Y.cache +1 -0
  33. data/test/dummy/tmp/miniprofiler/mp_timers_41y9ejnclrwmef64k2gq +0 -0
  34. data/test/dummy/tmp/miniprofiler/mp_timers_4fhualqhfgg1g48xhdlh +0 -0
  35. data/test/dummy/tmp/miniprofiler/mp_timers_74uqoa6mlwblosnkfo0f +0 -0
  36. data/test/dummy/tmp/miniprofiler/mp_timers_f9l0jqq0ei3j1gds9ric +0 -0
  37. data/test/dummy/tmp/miniprofiler/mp_timers_kk60f6idm6hkr8najete +0 -0
  38. data/test/dummy/tmp/miniprofiler/mp_timers_ktamjxycimbgo6mendm1 +0 -0
  39. data/test/dummy/tmp/miniprofiler/mp_timers_ljb1e16m8zzg49k4ea69 +0 -0
  40. data/test/dummy/tmp/miniprofiler/mp_timers_yf9waqym4i5b7xi8zo1 +0 -0
  41. metadata +50 -5
  42. data/app/components/kadmin/select2/form_tag.rb +0 -22
  43. data/app/components/kadmin/select2/presenter.rb +0 -16
  44. data/app/views/kadmin/components/_select2.js.erb +0 -45
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 018573244c911921a329a7a215cee9a7c25be6a6
4
- data.tar.gz: ac207f0df477f8ee68aba6836396b89bd5608ff6
3
+ metadata.gz: b0fb31c352e1f325454f7cc1e5cfeaa4cfc50a1f
4
+ data.tar.gz: d24a85dee760be44a348c100950a0784a5f3135c
5
5
  SHA512:
6
- metadata.gz: 39f06928a95c5cb4f176ffa0bc1b6bf2b75c86c1ed0f96d1bdb727276c94b0c99ae147914278ef59f91c0d0bdd26ef678b8d87033e8da16caa06ba4767b1a72e
7
- data.tar.gz: d429f4ae04dd630055c317fd391adff725375e7b84af8a52a131bb8748c305168517753e2843f7647cf91c25164a01839a6c324c6133a48e227e92135d763d4b
6
+ metadata.gz: 61162a059b5c879bfb295f43d231150ee86267c3953b5bbcb43c7fe2a0dbcaaff257f440f4df2f5fad8e830bbb3d9789b515e998c485045f55db1b7389dc41df
7
+ data.tar.gz: 87b56fcee7aa9eb1ef37dc6e8131d3237940a86e6ae939bf9318741e2271e4fbb61834e0e484ac94c211a684e0bd9eee3dc3591624df7972a5735a1e39ecc6e1
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Kadmin
2
2
 
3
- [![GitHub release](https://img.shields.io/badge/release-0.4.2-blue.png)](https://github.com/barcoo/kadmin/releases/tag/0.4.2)
3
+ [![GitHub release](https://img.shields.io/badge/release-0.5.6-blue.png)](https://github.com/barcoo/kadmin/releases/tag/0.5.6)
4
4
 
5
5
  Collection of utility, configuration, etc., for admin areas in different projects.
6
6
  Theme based on [Modular Admin](https://github.com/modularcode/modular-admin-html)
@@ -1,4 +1,54 @@
1
1
  //= require select2
2
2
  $(document).ready(function() {
3
3
  $.fn.select2.defaults.set("theme", "bootstrap");
4
+ $.fn.select2.defaults.set("ajax", {
5
+ cache: true,
6
+ dataType: "json",
7
+ delay: 300,
8
+ data: transformRequest,
9
+ processResults: transformResponse
10
+ });
11
+ $.fn.select2.defaults.set("minimumInputLength", 2);
12
+ $.fn.select2.defaults.set("allowClear", true);
13
+
14
+ function transformRequest(params) {
15
+ var page = params.page || 0;
16
+ var page_size = this.data('kadmin--page-size') || 10;
17
+ var filter_param = this.data('kadmin--filter-param') || null;
18
+ var options = {
19
+ page_offset: page * page_size,
20
+ page_size: page_size
21
+ };
22
+
23
+ if (filter_param) {
24
+ options[filter_param] = params.term;
25
+ }
26
+
27
+ return options;
28
+ }
29
+
30
+ function transformResponse(data, params) {
31
+ var items = data.data || data.items;
32
+ var options = this.options.options.kadmin || {}; // weird but it is what it is
33
+ var displayProperty = options.displayProperty || 'text';
34
+ var valueProperty = options.valueProperty || 'id';
35
+
36
+ var results = [];
37
+ $(items).each(function(index, item) {
38
+ results.push({ text: item[displayProperty], id: item[valueProperty] });
39
+ });
40
+
41
+ return {
42
+ results: results,
43
+ pagination: { more: data.more }
44
+ };
45
+ }
46
+
47
+ // Need to delay a bit otherwise we have issues
48
+ // TODO: Figure out why this happens?
49
+ setTimeout(function() {
50
+ $('select.kadmin-select2').each(function() {
51
+ $(this).select2();
52
+ });
53
+ }, 300);
4
54
  });
@@ -8,9 +8,10 @@ module Kadmin
8
8
 
9
9
  # Creates a Select2 enabled tag, along with the necessary Javascript
10
10
  # NOTE: Meant to be used with a Finder object in the controller
11
- # @return [ActiveSupport::SafeBuffer] see Kadmin::Select2::FormTag
11
+ # @return [ActiveSupport::SafeBuffer]
12
12
  def select2(method, choices, options = {}, html_options = {}, &block)
13
- Kadmin::Select2::FormTag.new(@object_name, method, @template, choices, options, html_options, &block).render
13
+ options, html_options = Kadmin::Select2.prepare_form_tag_options(options.dup, html_options.dup)
14
+ return ActionView::Helpers::Tags::Select.new(@object_name, method, @template, choices, options, html_options, &block).render
14
15
  end
15
16
  end
16
17
  end
@@ -1,6 +1,6 @@
1
1
  module Kadmin
2
- module Forms
3
- class InvertedCheckBoxTag < ActionView::Helpers::Tags::CheckBox
2
+ module FormTags
3
+ class InvertedCheckBox < ActionView::Helpers::Tags::CheckBox
4
4
  # Overload how it gets the value and return the invert
5
5
  def value(*args)
6
6
  return !super
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Kadmin
3
+ # TODO: Figure out how to have access to a properly scoped routing proxy
3
4
  module Navbar
4
5
  # A navigation link for use with the navbar items
5
6
  class Link
@@ -14,19 +15,18 @@ module Kadmin
14
15
  # @return [Array<String>] list of additional CSS classes
15
16
  attr_reader :css_classes
16
17
 
18
+ # @return [Rails::Engine] only pass if you want to access engine routes
19
+ attr_reader :engine
20
+
17
21
  # @param [String] text the link text; can be HTML
18
22
  # @param [String, Proc] path the linked path; if a Proc, will get evaluated everytime when calling the reader
19
23
  # @param [Array<String>] css_classes list of additional CSS classes
20
- def initialize(text:, path:, css_classes: [])
24
+ # @return [Rails::Application] app application providing URL helpers; if you're in an engine, pass your engine
25
+ def initialize(text:, path:, engine: nil, css_classes: [])
21
26
  @text = text.freeze
22
27
  @path = path.freeze
23
28
  @css_classes = Array.wrap(css_classes).dup.freeze
24
- end
25
-
26
- # Supports dynamic paths by setting the base property as a Proc
27
- # @return [String] path for the given link
28
- def path
29
- return @path.respond_to?(:call) ? @path.call : @path
29
+ @engine = engine || Rails.application
30
30
  end
31
31
 
32
32
  # Generates HTML for use in the main Kadmin layout to build the navigation sidebar
@@ -34,9 +34,17 @@ module Kadmin
34
34
  # Generates HTML to present the section
35
35
  # @return [ActiveSupport::SafeBuffer] safe HTML to display
36
36
  def generate(captured, **)
37
+ path = self.path
38
+
39
+ if self.path.respond_to?(:call)
40
+ router = self.engine.routes.url_helpers
41
+ path = self.path.call(router)
42
+ end
43
+
37
44
  css_classes = self.css_classes
38
- css_classes = self.css_classes.dup << 'active' if @view.controller.request.path == self.path
39
- contents = @view.link_to(self.text.to_s.html_safe, self.path)
45
+ css_classes = self.css_classes.dup << 'active' if @view.controller.request.path == path
46
+
47
+ contents = @view.link_to(self.text.to_s.html_safe, path)
40
48
  contents << captured unless captured.blank?
41
49
 
42
50
  return %(<li class="#{css_classes.join(' ')}">#{contents}</li>).html_safe
@@ -27,8 +27,10 @@ module Kadmin
27
27
  def generate(captured, page_sizes: DEFAULT_SIZES, **)
28
28
  navigation = page_list
29
29
  controls = size_list(page_sizes)
30
+ contents = navigation + controls
31
+ contents << captured unless captured.nil?
30
32
 
31
- return "<div class='btn-toolbar'>#{navigation + controls + captured}</div>".html_safe
33
+ return "<div class='btn-toolbar'>#{contents}</div>".html_safe
32
34
  end
33
35
 
34
36
  def page_list
@@ -3,6 +3,12 @@ module Kadmin
3
3
  class Select2
4
4
  include Kadmin::Presentable
5
5
 
6
+ CSS_CLASS_MARKER = 'kadmin-select2'
7
+
8
+ DATA_ATTRIBUTES = [
9
+ :placeholder, :data_url, :filter_param, :display_property, :value_property, :page_size
10
+ ].freeze
11
+
6
12
  # @return [String] will be used as a placeholder if given
7
13
  attr_reader :placeholder
8
14
 
@@ -20,6 +26,9 @@ module Kadmin
20
26
  # @return [String] the name of the property used as the selected value
21
27
  attr_reader :value_property
22
28
 
29
+ # @return [Integer] the page size value to fetch on each select2 remote fetch
30
+ attr_reader :page_size
31
+
23
32
  def initialize(options = {})
24
33
  @placeholder = options[:placeholder].to_s.freeze
25
34
  extract_ajax_options!(options).freeze unless options.blank?
@@ -29,10 +38,44 @@ module Kadmin
29
38
  @data_url = options[:data_url]
30
39
  @filter_param = options[:filter_param]
31
40
  @display_property = options.fetch(:display_property, 'text')
32
- @value_property = options.fetch(:value_property, 'value')
41
+ @value_property = options.fetch(:value_property, 'id')
42
+ @page_size = options.fetch(:page_size, 10)
33
43
 
34
44
  raise ArgumentError, 'missing data URL for remote fetching' if @data_url.blank?
35
45
  end
36
46
  private :extract_ajax_options!
47
+
48
+ def to_data
49
+ {
50
+ 'placeholder' => placeholder,
51
+ 'ajax--url' => data_url,
52
+ 'kadmin--filter-param' => filter_param,
53
+ 'kadmin--display-property' => display_property,
54
+ 'kadmin--value-property' => value_property,
55
+ 'kadmin--page-size' => page_size
56
+ }
57
+ end
58
+
59
+ class << self
60
+ def prepare_form_tag_options(options = {}, html_options = {})
61
+ options = options.dup
62
+ select2_options = options.extract!(*DATA_ATTRIBUTES)
63
+
64
+ select2 = new(select2_options)
65
+
66
+ html_options = { data: {}, class: '' }.merge(html_options)
67
+ html_options[:data].merge!(select2.to_data)
68
+ mark_tag_as_select2!(html_options)
69
+
70
+ return options, html_options
71
+ end
72
+
73
+ def mark_tag_as_select2!(html_options)
74
+ css_classes = Array.wrap(html_options[:class])
75
+ css_classes << CSS_CLASS_MARKER
76
+ html_options[:class] = css_classes.join(' ')
77
+ end
78
+ private :mark_tag_as_select2!
79
+ end
37
80
  end
38
81
  end
@@ -22,17 +22,9 @@ module Kadmin
22
22
  return "#{REDMINE_URL}?#{{ issue: issue }.to_param}"
23
23
  end
24
24
 
25
- def select2_tag(name, option_tags = nil, options = {})
26
- id = sanitize_to_id(name)
27
- options = options.dup
28
- select2_options = options.extract!(:placeholder, :data_url, :filter_param, :display_property, :value_property)
29
- select2_options = options.delete(:prompt) if options[:prompt].present?
30
-
31
- content_for(:javascripts) do
32
- javascript_tag(Kadmin::Select2.new(select2_options).present(self).render(id: id), defer: true)
33
- end
34
-
35
- return select_tag(name, option_tags, options)
25
+ def select2_tag(name, option_tags = nil, options = {}, html_options = {})
26
+ _, html_options = Kadmin::Select2.prepare_form_tag_options(options.dup, html_options.dup)
27
+ return select_tag(name, option_tags, html_options)
36
28
  end
37
29
  end
38
30
  end
@@ -16,6 +16,7 @@ module Kadmin
16
16
  def render(view: nil, **options, &block)
17
17
  previous_view = @view
18
18
  rendered = nil
19
+ captured = ''
19
20
 
20
21
  begin
21
22
  @view = view unless view.nil?
@@ -1,3 +1,3 @@
1
1
  module Kadmin
2
- VERSION = '0.4.2'.freeze
2
+ VERSION = '0.5.6'.freeze
3
3
  end
@@ -32,16 +32,16 @@ Kadmin.config.add_navbar_items(
32
32
  id: Admin::PeopleController,
33
33
  text: 'People',
34
34
  links: [
35
- Kadmin::Navbar::Link.new(text: 'People list', path: -> { Rails.application.routes.url_helpers.admin_people_path }),
36
- Kadmin::Navbar::Link.new(text: 'Register new person', path: -> { Rails.application.routes.url_helpers.new_admin_person_path })
35
+ Kadmin::Navbar::Link.new(text: 'People list', path: -> (router) { router.admin_people_path }),
36
+ Kadmin::Navbar::Link.new(text: 'Register new person', path: -> (router) { router.new_admin_person_path })
37
37
  ]
38
38
  ),
39
39
  Kadmin::Navbar::Section.new(
40
40
  id: Admin::GroupsController,
41
41
  text: 'Groups',
42
42
  links: [
43
- Kadmin::Navbar::Link.new(text: 'Groups list', path: -> { Rails.application.routes.url_helpers.admin_groups_path }),
44
- Kadmin::Navbar::Link.new(text: 'Add group', path: -> { Rails.application.routes.url_helpers.new_admin_group_path })
43
+ Kadmin::Navbar::Link.new(text: 'Groups list', path: -> (router) { router.admin_groups_path }),
44
+ Kadmin::Navbar::Link.new(text: 'Add group', path: -> (router) { router.new_admin_group_path })
45
45
  ]
46
46
  )
47
47
  )
@@ -35663,3 +35663,79 @@ Processing by Admin::PeopleController#index as JSON
35663
35663
  SQL (0.2ms) SELECT DISTINCT "people"."id" FROM "people" LEFT OUTER JOIN "group_people" ON "group_people"."person_id" = "people"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_people"."group_id" LEFT OUTER JOIN "groups" "owned_groups_people" ON "owned_groups_people"."owner_id" = "people"."id" WHERE (`people`.`first_name` LIKE '%sa%' OR `people`.`last_name` LIKE '%sa%') ORDER BY "people"."created_at" DESC LIMIT 10 OFFSET 0
35664
35664
  SQL (0.2ms) SELECT "people"."id" AS t0_r0, "people"."first_name" AS t0_r1, "people"."last_name" AS t0_r2, "people"."gender" AS t0_r3, "people"."date_of_birth" AS t0_r4, "people"."created_at" AS t0_r5, "people"."updated_at" AS t0_r6, "groups"."id" AS t1_r0, "groups"."name" AS t1_r1, "groups"."owner_id" AS t1_r2, "groups"."created_at" AS t1_r3, "groups"."updated_at" AS t1_r4, "owned_groups_people"."id" AS t2_r0, "owned_groups_people"."name" AS t2_r1, "owned_groups_people"."owner_id" AS t2_r2, "owned_groups_people"."created_at" AS t2_r3, "owned_groups_people"."updated_at" AS t2_r4 FROM "people" LEFT OUTER JOIN "group_people" ON "group_people"."person_id" = "people"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_people"."group_id" LEFT OUTER JOIN "groups" "owned_groups_people" ON "owned_groups_people"."owner_id" = "people"."id" WHERE (`people`.`first_name` LIKE '%sa%' OR `people`.`last_name` LIKE '%sa%') AND "people"."id" IN (2) ORDER BY "people"."created_at" DESC
35665
35665
  Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.7ms)
35666
+
35667
+
35668
+ Started GET "/admin" for 127.0.0.1 at 2016-11-28 18:00:46 +0100
35669
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
35670
+ Processing by Kadmin::DashController#index as HTML
35671
+ Redirected to http://0.0.0.0:3000/admin/auth/login?origin=%2Fadmin%2F
35672
+ Filter chain halted as :authorize rendered or redirected
35673
+ Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
35674
+
35675
+
35676
+ Started GET "/admin/auth/login?origin=%2Fadmin%2F" for 127.0.0.1 at 2016-11-28 18:00:47 +0100
35677
+ Processing by Kadmin::AuthController#login as HTML
35678
+ Parameters: {"origin"=>"/admin/"}
35679
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/auth/login.html.erb within layouts/kadmin/application (5.1ms)
35680
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/helpers/_alerts.html.erb (0.6ms)
35681
+ Completed 200 OK in 725ms (Views: 724.9ms | ActiveRecord: 0.0ms)
35682
+
35683
+
35684
+ Started GET "/admin/auth/developer?origin=%2Fadmin%2F" for 127.0.0.1 at 2016-11-28 18:00:51 +0100
35685
+ (developer) Request phase initiated.
35686
+
35687
+
35688
+ Started POST "/admin/auth/developer/callback" for 127.0.0.1 at 2016-11-28 18:00:53 +0100
35689
+ (developer) Callback phase initiated.
35690
+ Processing by Kadmin::AuthController#save as HTML
35691
+ Parameters: {"email"=>"n.pepinpe@gmail.com", "provider"=>"developer"}
35692
+ Redirected to http://0.0.0.0:3000/admin/
35693
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
35694
+
35695
+
35696
+ Started GET "/admin/" for 127.0.0.1 at 2016-11-28 18:00:53 +0100
35697
+ Processing by Kadmin::DashController#index as HTML
35698
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/dash/index.html.erb within layouts/kadmin/application (0.7ms)
35699
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/helpers/_alerts.html.erb (0.2ms)
35700
+ Completed 200 OK in 39ms (Views: 38.7ms | ActiveRecord: 0.0ms)
35701
+
35702
+
35703
+ Started GET "/admin/people" for 127.0.0.1 at 2016-11-28 18:00:55 +0100
35704
+ Processing by Admin::PeopleController#index as HTML
35705
+  (0.2ms) SELECT COUNT(DISTINCT "people"."id") FROM "people" LEFT OUTER JOIN "group_people" ON "group_people"."person_id" = "people"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_people"."group_id" LEFT OUTER JOIN "groups" "owned_groups_people" ON "owned_groups_people"."owner_id" = "people"."id"
35706
+ SQL (0.1ms) SELECT DISTINCT "people"."id" FROM "people" LEFT OUTER JOIN "group_people" ON "group_people"."person_id" = "people"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_people"."group_id" LEFT OUTER JOIN "groups" "owned_groups_people" ON "owned_groups_people"."owner_id" = "people"."id" ORDER BY "people"."created_at" DESC LIMIT 50 OFFSET 0
35707
+ SQL (0.3ms) SELECT "people"."id" AS t0_r0, "people"."first_name" AS t0_r1, "people"."last_name" AS t0_r2, "people"."gender" AS t0_r3, "people"."date_of_birth" AS t0_r4, "people"."created_at" AS t0_r5, "people"."updated_at" AS t0_r6, "groups"."id" AS t1_r0, "groups"."name" AS t1_r1, "groups"."owner_id" AS t1_r2, "groups"."created_at" AS t1_r3, "groups"."updated_at" AS t1_r4, "owned_groups_people"."id" AS t2_r0, "owned_groups_people"."name" AS t2_r1, "owned_groups_people"."owner_id" AS t2_r2, "owned_groups_people"."created_at" AS t2_r3, "owned_groups_people"."updated_at" AS t2_r4 FROM "people" LEFT OUTER JOIN "group_people" ON "group_people"."person_id" = "people"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_people"."group_id" LEFT OUTER JOIN "groups" "owned_groups_people" ON "owned_groups_people"."owner_id" = "people"."id" WHERE "people"."id" IN (2, 1) ORDER BY "people"."created_at" DESC
35708
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/components/finder/_form.html.erb (1.8ms)
35709
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/components/finder/_header.html.erb (5.5ms)
35710
+ Rendered admin/people/_table.html.erb (3.4ms)
35711
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/components/_finder.html.erb (12.6ms)
35712
+ Rendered admin/people/index.html.erb within layouts/kadmin/application (94.9ms)
35713
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/helpers/_alerts.html.erb (0.1ms)
35714
+ Completed 200 OK in 359ms (Views: 132.0ms | ActiveRecord: 1.2ms)
35715
+
35716
+
35717
+ Started GET "/admin/groups" for 127.0.0.1 at 2016-11-28 18:00:57 +0100
35718
+ Processing by Admin::GroupsController#index as HTML
35719
+  (0.3ms) SELECT COUNT(DISTINCT "groups"."id") FROM "groups" LEFT OUTER JOIN "group_people" ON "group_people"."group_id" = "groups"."id" LEFT OUTER JOIN "people" ON "people"."id" = "group_people"."person_id" LEFT OUTER JOIN "people" "owners_groups" ON "owners_groups"."id" = "groups"."owner_id"
35720
+ SQL (0.2ms) SELECT DISTINCT "groups"."id" FROM "groups" LEFT OUTER JOIN "group_people" ON "group_people"."group_id" = "groups"."id" LEFT OUTER JOIN "people" ON "people"."id" = "group_people"."person_id" LEFT OUTER JOIN "people" "owners_groups" ON "owners_groups"."id" = "groups"."owner_id" ORDER BY "groups"."created_at" DESC LIMIT 50 OFFSET 0
35721
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/components/finder/_form.html.erb (0.5ms)
35722
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/components/finder/_header.html.erb (2.7ms)
35723
+ Rendered admin/groups/_table.html.erb (0.9ms)
35724
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/components/_finder.html.erb (6.5ms)
35725
+ Rendered admin/groups/index.html.erb within layouts/kadmin/application (19.7ms)
35726
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/helpers/_alerts.html.erb (0.2ms)
35727
+ Completed 200 OK in 71ms (Views: 60.0ms | ActiveRecord: 0.4ms)
35728
+
35729
+
35730
+ Started GET "/admin/people" for 127.0.0.1 at 2016-11-28 18:01:00 +0100
35731
+ Processing by Admin::PeopleController#index as HTML
35732
+  (0.2ms) SELECT COUNT(DISTINCT "people"."id") FROM "people" LEFT OUTER JOIN "group_people" ON "group_people"."person_id" = "people"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_people"."group_id" LEFT OUTER JOIN "groups" "owned_groups_people" ON "owned_groups_people"."owner_id" = "people"."id"
35733
+ SQL (0.1ms) SELECT DISTINCT "people"."id" FROM "people" LEFT OUTER JOIN "group_people" ON "group_people"."person_id" = "people"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_people"."group_id" LEFT OUTER JOIN "groups" "owned_groups_people" ON "owned_groups_people"."owner_id" = "people"."id" ORDER BY "people"."created_at" DESC LIMIT 50 OFFSET 0
35734
+ SQL (0.3ms) SELECT "people"."id" AS t0_r0, "people"."first_name" AS t0_r1, "people"."last_name" AS t0_r2, "people"."gender" AS t0_r3, "people"."date_of_birth" AS t0_r4, "people"."created_at" AS t0_r5, "people"."updated_at" AS t0_r6, "groups"."id" AS t1_r0, "groups"."name" AS t1_r1, "groups"."owner_id" AS t1_r2, "groups"."created_at" AS t1_r3, "groups"."updated_at" AS t1_r4, "owned_groups_people"."id" AS t2_r0, "owned_groups_people"."name" AS t2_r1, "owned_groups_people"."owner_id" AS t2_r2, "owned_groups_people"."created_at" AS t2_r3, "owned_groups_people"."updated_at" AS t2_r4 FROM "people" LEFT OUTER JOIN "group_people" ON "group_people"."person_id" = "people"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_people"."group_id" LEFT OUTER JOIN "groups" "owned_groups_people" ON "owned_groups_people"."owner_id" = "people"."id" WHERE "people"."id" IN (2, 1) ORDER BY "people"."created_at" DESC
35735
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/components/finder/_form.html.erb (0.6ms)
35736
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/components/finder/_header.html.erb (2.4ms)
35737
+ Rendered admin/people/_table.html.erb (2.2ms)
35738
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/components/_finder.html.erb (7.1ms)
35739
+ Rendered admin/people/index.html.erb within layouts/kadmin/application (23.3ms)
35740
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/helpers/_alerts.html.erb (0.2ms)
35741
+ Completed 200 OK in 75ms (Views: 67.3ms | ActiveRecord: 0.7ms)
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"[processors:type=application/javascript&file_type=application/javascript&pipeline=debug;TTI"efile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts/kadmin/select2.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"afile-digest:///Users/npepinpe/work/github/barcoo/kadmin/vendor/assets/javascripts/select2.js;TTI"$file-digest://app/assets/images;TTI",file-digest://app/assets/images/select2;TTI")file-digest://app/assets/javascripts;TTI"1file-digest://app/assets/javascripts/select2;TTI")file-digest://app/assets/stylesheets;TTI"1file-digest://app/assets/stylesheets/select2;TTI"Mfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/fonts;TTI"Ufile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/fonts/select2;TTI"Nfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/images;TTI"Vfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/images/select2;TTI"Sfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts;TTI"[file-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts/select2;TTI"Sfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/stylesheets;TTI"[file-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/stylesheets/select2;TTI"Vfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/vendor/assets/javascripts;TTI"^file-digest:///Users/npepinpe/work/github/barcoo/kadmin/vendor/assets/javascripts/select2;TTF
@@ -0,0 +1 @@
1
+ I"�/Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts/kadmin/select2.js?type=application/javascript&id=54be8f8a502241d1f90148a79e31430286f1763b132741e54bdbd2e02873202a:ET
@@ -0,0 +1 @@
1
+ I"�/Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts/kadmin/select2.js?type=application/javascript&pipeline=self&id=6ef17cc5cb6ba6ad25f39dda6c8afd0e23b5598050f8f1db8b1aec5fa49ebcd5:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"efile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts/kadmin/select2.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"afile-digest:///Users/npepinpe/work/github/barcoo/kadmin/vendor/assets/javascripts/select2.js;TTI"$file-digest://app/assets/images;TTI",file-digest://app/assets/images/select2;TTI")file-digest://app/assets/javascripts;TTI"1file-digest://app/assets/javascripts/select2;TTI")file-digest://app/assets/stylesheets;TTI"1file-digest://app/assets/stylesheets/select2;TTI"Mfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/fonts;TTI"Ufile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/fonts/select2;TTI"Nfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/images;TTI"Vfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/images/select2;TTI"Sfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts;TTI"[file-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts/select2;TTI"Sfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/stylesheets;TTI"[file-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/stylesheets/select2;TTI"Vfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/vendor/assets/javascripts;TTI"^file-digest:///Users/npepinpe/work/github/barcoo/kadmin/vendor/assets/javascripts/select2;TTF
@@ -0,0 +1 @@
1
+ I"�/Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts/kadmin/application.js?type=application/javascript&id=2ca7b188eeeb0d7212a42cfc05eeb1f258a52d5fae46e1f248acc4c4e8c9e159:ET
@@ -0,0 +1 @@
1
+ I"�/Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts/kadmin/application.js?type=application/javascript&pipeline=self&id=8efa2b836eb4f9f14ae3479103726f00af2e020afd4bf0a3c0fb4e41897e54c3:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"efile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts/kadmin/select2.js;TTI"$file-digest://app/assets/images;TTI",file-digest://app/assets/images/select2;TTI")file-digest://app/assets/javascripts;TTI"1file-digest://app/assets/javascripts/select2;TTI")file-digest://app/assets/stylesheets;TTI"1file-digest://app/assets/stylesheets/select2;TTI"Mfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/fonts;TTI"Ufile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/fonts/select2;TTI"Nfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/images;TTI"Vfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/images/select2;TTI"Sfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts;TTI"[file-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts/select2;TTI"Sfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/stylesheets;TTI"[file-digest:///Users/npepinpe/work/github/barcoo/kadmin/app/assets/stylesheets/select2;TTI"Vfile-digest:///Users/npepinpe/work/github/barcoo/kadmin/vendor/assets/javascripts;TTI"^file-digest:///Users/npepinpe/work/github/barcoo/kadmin/vendor/assets/javascripts/select2;TTI"afile-digest:///Users/npepinpe/work/github/barcoo/kadmin/vendor/assets/javascripts/select2.js;TTF
@@ -0,0 +1 @@
1
+ I"�/Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts/kadmin/application.js?type=application/javascript&pipeline=debug&id=989421cdb3fd8e3ded385771db4fe71441831669d974c605a4d3b91742f74a8e:ET
@@ -0,0 +1 @@
1
+ I"�/Users/npepinpe/work/github/barcoo/kadmin/app/assets/javascripts/kadmin/select2.js?type=application/javascript&pipeline=debug&id=ab151f433c2a3d3ff9009ff806aee80992404a50fc31b999b5015466b49c88d7:ET
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Pepin-Perreault
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-11-28 00:00:00.000000000 Z
13
+ date: 2016-11-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -114,8 +114,6 @@ files:
114
114
  - app/components/kadmin/pager.rb
115
115
  - app/components/kadmin/pager/presenter.rb
116
116
  - app/components/kadmin/select2.rb
117
- - app/components/kadmin/select2/form_tag.rb
118
- - app/components/kadmin/select2/presenter.rb
119
117
  - app/controllers/kadmin/application_controller.rb
120
118
  - app/controllers/kadmin/auth_controller.rb
121
119
  - app/controllers/kadmin/concerns/authorized_user.rb
@@ -125,7 +123,6 @@ files:
125
123
  - app/helpers/kadmin/bootstrap_helper.rb
126
124
  - app/views/kadmin/auth/login.html.erb
127
125
  - app/views/kadmin/components/_finder.html.erb
128
- - app/views/kadmin/components/_select2.js.erb
129
126
  - app/views/kadmin/components/finder/_form.html.erb
130
127
  - app/views/kadmin/components/finder/_header.html.erb
131
128
  - app/views/kadmin/dash/index.html.erb
@@ -262,6 +259,7 @@ files:
262
259
  - test/dummy/tmp/cache/assets/sprockets/v3.0/0h/0hlU_9u3244srcgFGcCeEdEbxinDO7uTAksu_KANv3c.cache
263
260
  - test/dummy/tmp/cache/assets/sprockets/v3.0/0n/0n6SGYdqNeEUJSsu-imL90L-yIUKPi_NDSkmMySPdWQ.cache
264
261
  - test/dummy/tmp/cache/assets/sprockets/v3.0/0o/0o3c_QWFNOJOVHYKkzNfi5J7yZDcL7OAq3iaL-tXllE.cache
262
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/0r/0R1t4EI6-FNvZOA362lC6dH02FCLYcjz6EYDXADNNAE.cache
265
263
  - test/dummy/tmp/cache/assets/sprockets/v3.0/0r/0rOZiXQhDxGlPozB0TkRpZI8BjZ57zvJgxNWJXTs6X4.cache
266
264
  - test/dummy/tmp/cache/assets/sprockets/v3.0/0t/0tn2q8esWnF5fEcbJLYg62c_FP9JanA9PSXdq_tYLYY.cache
267
265
  - test/dummy/tmp/cache/assets/sprockets/v3.0/11/11SrJ22TDT3o5ArL97bHJR-ITSG0RNL-Ea36RCQV0XQ.cache
@@ -283,6 +281,7 @@ files:
283
281
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2J/2JVDRZ9rv7kK6_56h-WJp7Vi3lU7ILSeJpKsPbz1XjU.cache
284
282
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2K/2KhQXXk-PWH5n-9_NGKx8Kr8PY_J5rTKFa1hSJOtfUc.cache
285
283
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2m/2m5_oALaPon3aBTKiv8wrDjT6jFBEC9Idvn5VAaf7xQ.cache
284
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/2n/2nDrg_SvTWJqMT186D0khY5GvuAxqY8pm2wAdPJBqH0.cache
286
285
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2r/2rNvDvuvJrgiQ2FxmcjNQimUrFItlifW4CAJnHGvu2Y.cache
287
286
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2s/2sVTd1nKsaR-7m5pzHtnsBcqN-fv-WUSpz0T0rH7oAg.cache
288
287
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2s/2ssZnWcMW1tE0tgPx8B2t27a1HUuDSmhZlt3pEz0PiY.cache
@@ -361,6 +360,7 @@ files:
361
360
  - test/dummy/tmp/cache/assets/sprockets/v3.0/8v/8v3HUrggYouCOdFFSOnPQeeJB-Xw50TGMmz3P-5rp-w.cache
362
361
  - test/dummy/tmp/cache/assets/sprockets/v3.0/8v/8vxeTCSGkLgONjPIOnm_JOCk1yB4ztTO1KjOCOZ7qE0.cache
363
362
  - test/dummy/tmp/cache/assets/sprockets/v3.0/8w/8wsSjrmK5oGJpz7HQLbYA_u8i6SSOW20QdMjI9rXdCY.cache
363
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/9J/9JWZohD-yQUP_qqtToXTLa7UMogxA9QjQ9EX6VGbP9A.cache
364
364
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9L/9LEx970_JauYhUWfuivS75eV0Iyfbt9ubccTHIsAfYw.cache
365
365
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9_/9_pVK00xoiNV1Rlusq__AhBd-RI2wkk8CYsmetStEr0.cache
366
366
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9i/9iGRQcoqgnuCMi556DlNc2yAUu1O4jzOEnggImOnmy4.cache
@@ -398,6 +398,7 @@ files:
398
398
  - test/dummy/tmp/cache/assets/sprockets/v3.0/C4/C4zgubDcNRIHcuELdLmIn5dzwSUvhe5iCzdiIV0ApVA.cache
399
399
  - test/dummy/tmp/cache/assets/sprockets/v3.0/C5/C5SIAgSORFlvPpiX-I-1JPzeTMCCVrBzr9_IouBFwE8.cache
400
400
  - test/dummy/tmp/cache/assets/sprockets/v3.0/CD/CD9gffDM4E98omhQJsjzg6xRRk6_fs-R56iZ2sQ4vL8.cache
401
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/CV/CV48b5hcJ-3Wd0yiQIVhImvKJrBLCOLnutCPAAGS99U.cache
401
402
  - test/dummy/tmp/cache/assets/sprockets/v3.0/C_/C__hHTHHWik7PYcBVBF2Dzbf2SxU44DAuyrxOqODnUY.cache
402
403
  - test/dummy/tmp/cache/assets/sprockets/v3.0/C_/C_apQOWNpEW8SnzKgrc57IADlEkNTHj8h_oDFtY9064.cache
403
404
  - test/dummy/tmp/cache/assets/sprockets/v3.0/C_/C_qme5ZIsOxcxT7egM2uaUZq5sKZ3vpifRfr3NdQmgE.cache
@@ -483,6 +484,7 @@ files:
483
484
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Jc/JcSljJd7QjwNSL4TRtvRNz65r3PiRZ8VJ_itLYWgiw0.cache
484
485
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Je/Je2odU6RuxXpO5e6xD_7Vm3_QKBj21A4Eb5Xe_3tcmE.cache
485
486
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Jf/Jf8eGGgzDrZIH9psuQTMsOXOfSnfXnkuFyWLTd2TbEk.cache
487
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Ju/JU2uvgql9bnApgQSLgY3sDk6pfHu6QoYjf853mLf-8w.cache
486
488
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ju/JuLeGTL8JaG5D9cyywHhb6IGinsNbD8yY6rbHWarK0Q.cache
487
489
  - test/dummy/tmp/cache/assets/sprockets/v3.0/K4/K49hR-dFmquTHaSdRsmOfVI3dvVCRo_4b5sSNEN7lTg.cache
488
490
  - test/dummy/tmp/cache/assets/sprockets/v3.0/KM/KM9biR7CwnS-iyvtFSieT4mpV0Yq3PAzDPh4BkBuitk.cache
@@ -499,6 +501,7 @@ files:
499
501
  - test/dummy/tmp/cache/assets/sprockets/v3.0/L8/L88CHXoOVM-rgK33W0WiquqWq4DU9ZnngUlbj8DfAD8.cache
500
502
  - test/dummy/tmp/cache/assets/sprockets/v3.0/LI/LIoeJIW8eJRjhaysD1W9c7B_J0j95kTmKbRWsTYp3L8.cache
501
503
  - test/dummy/tmp/cache/assets/sprockets/v3.0/LJ/LJN964xN-evJQCr_R906196saBvCUBqdNEo1HbeKoqo.cache
504
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/LJ/LjuGh0sOcqBa8FkH-p9s-eWyIOuNCjT6RN7bK2nIZJQ.cache
502
505
  - test/dummy/tmp/cache/assets/sprockets/v3.0/LQ/LQQpyHh13e4USpEnBqBFSMcX5qJKHqe_4q0WU4VOtpo.cache
503
506
  - test/dummy/tmp/cache/assets/sprockets/v3.0/LU/LUtgCslJQspV1kEmCn_syNPA4ufxPaN6hMtWohaXsnw.cache
504
507
  - test/dummy/tmp/cache/assets/sprockets/v3.0/LU/lUq0r6fdSX67R3L3fN37itzZ8ThNiKY2pSz4mt0hhHQ.cache
@@ -516,6 +519,7 @@ files:
516
519
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ll/LlQSxuhG7t39ctOtpX2wZU4W90L7bxSJS7bEVMcRLCE.cache
517
520
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ll/lLu2UGBIBkK10mi85MOpIny3fTnHut2s9oQDOlkn0nw.cache
518
521
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ln/Lnfq5j_dOByDX6HFfH6v4CKkXwkD0y8rDlbKuSbI9v0.cache
522
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/MO/MOpl01yJefk2QqD3DjH_aeg7khgbH9EYovaDQV0lJZY.cache
519
523
  - test/dummy/tmp/cache/assets/sprockets/v3.0/MV/MVS7QtpvTjyoJJsF6RFO90pdqypkHzHF3_n8nXdUTlc.cache
520
524
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Mb/Mb7pXLMzExYwwSQ-xFTNmalQB_e8zZgcAZyAB3w4jxc.cache
521
525
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Mm/MmRLyp5ob0kAOOol3dke-QxaW1tZq82VX3dThG6IuwA.cache
@@ -535,6 +539,7 @@ files:
535
539
  - test/dummy/tmp/cache/assets/sprockets/v3.0/O5/O58F1Dd7YiTaokjZvjkZ7BWfJQXiVD02iHOmA8B0xUY.cache
536
540
  - test/dummy/tmp/cache/assets/sprockets/v3.0/OF/OFU_37H7M33hEEuzcANwdQAGfkk90oPeGIJwIHf5Xzw.cache
537
541
  - test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
542
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ON/ON1m6Ig7Ed0RVA2xa8SEr_CYLUYrxozmodIQ2LjR-ug.cache
538
543
  - test/dummy/tmp/cache/assets/sprockets/v3.0/OT/OT3iuD45e5zx2BTZS-R-L2FGLuslfG_tZ2p4nfpXzPE.cache
539
544
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Oa/OapAMrcZkBv9dLJhxgol12PGJlB-v4DSru76zGDKYEM.cache
540
545
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Oe/Oe-3DQv4rb1wBwCSKfPxsFWLQEG2uwzsN3r1NlhUtGg.cache
@@ -600,6 +605,7 @@ files:
600
605
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Tz/Tzhb2W4vxJ2j-oKPAmu0R9sUP2XrsrZ1DYbbeJt7xCo.cache
601
606
  - test/dummy/tmp/cache/assets/sprockets/v3.0/UB/UBqrW0q1xgxd0LgpdhEN2rIkgx311VLn1E4J8xTehS8.cache
602
607
  - test/dummy/tmp/cache/assets/sprockets/v3.0/UG/UGW_N3c5WIGHIsGBAlRBI-sD2QLfW6LMGFiCsdfC2xE.cache
608
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/UK/UK_WE_HrCg1ixOz-5F0WvMMkjFZPRbbvK7CS7HXNCOQ.cache
603
609
  - test/dummy/tmp/cache/assets/sprockets/v3.0/UK/UKcBMf5abrxrnMlrpKafAGXneRlyn_tRb25FwbiPMuE.cache
604
610
  - test/dummy/tmp/cache/assets/sprockets/v3.0/UK/UKk4VLLLR7q9NN5ese2d_ncL-x9qK7UGBEgA5feD9lw.cache
605
611
  - test/dummy/tmp/cache/assets/sprockets/v3.0/UL/ULGQjDQ7vIjPJiy0juphBEWNRAgIAjImzIUyHT5hZH0.cache
@@ -646,6 +652,7 @@ files:
646
652
  - test/dummy/tmp/cache/assets/sprockets/v3.0/XP/XpPk1I9tnm8SkuYy7XEb-UxZPMrZcjMqkfBYD_w1EwA.cache
647
653
  - test/dummy/tmp/cache/assets/sprockets/v3.0/XX/XX3hVVDnv-sSVE7ZICha6u0NA3Ppl7l9JMSxEiPHaro.cache
648
654
  - test/dummy/tmp/cache/assets/sprockets/v3.0/X_/X_8kAzLdAuIIE06x9RzFo6ZRCxuR6SBC3YcbGtmSel4.cache
655
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/X_/X_DH0KNmnwBhGE63lGIgkmbSdYdE7otPZelVRGYqMwA.cache
649
656
  - test/dummy/tmp/cache/assets/sprockets/v3.0/X_/x_ocdNMbswM_QSPcMA3rCY6Pxc7oS6Su7URUZI-TfGw.cache
650
657
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Xd/XDL5HGq0QRG8qEMjnfwd7KudUcAQ1gcfExvWOncMRw4.cache
651
658
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Xd/Xds81p3ZkxCM7EL8FE-LA9pEP-vt1os11SHAUoQDRDU.cache
@@ -690,6 +697,7 @@ files:
690
697
  - test/dummy/tmp/cache/assets/sprockets/v3.0/_K/_KPYz8yTnsAYMrbiykI1TAEiANITutVerCn8TeNhyqw.cache
691
698
  - test/dummy/tmp/cache/assets/sprockets/v3.0/_U/_Uj4WfSjcwp3Y4FaJyfTdk2YrFxpSn3PDfkTeHjdjYg.cache
692
699
  - test/dummy/tmp/cache/assets/sprockets/v3.0/_c/_chctmRf-pIheCJNY7hl-Sx59opmqdxFL2PevfZwq2o.cache
700
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/_d/_dSyQPD9Zee0-q1FwtVp-fIOZp2CEd2oB9eoLaH8vdo.cache
693
701
  - test/dummy/tmp/cache/assets/sprockets/v3.0/_z/_z32ICcgsTGhMat-hSNJ1Zs_Z1mn-WcPlWanTuz4Mow.cache
694
702
  - test/dummy/tmp/cache/assets/sprockets/v3.0/a2/a2cuBhgUfDqIn_cESf3bZCYgOfUL1pr90zUxIqJ9kKk.cache
695
703
  - test/dummy/tmp/cache/assets/sprockets/v3.0/aN/aNimJLtSY63ODDn-MAiEwDQxeCSpYMQZqMDCHqwcOO0.cache
@@ -709,6 +717,7 @@ files:
709
717
  - test/dummy/tmp/cache/assets/sprockets/v3.0/bS/bSWPZWaX_LMyjPPEDMvIm_U4gWLzdLBTF8rVIKTUI0U.cache
710
718
  - test/dummy/tmp/cache/assets/sprockets/v3.0/bS/bSbK37tGgKxfP0a1NUZ1rrBd-dZuK-CF2XGDZth1oQQ.cache
711
719
  - test/dummy/tmp/cache/assets/sprockets/v3.0/bS/bSgsBjtu-Y7WrxesKqith5xy2XjVTuWXEGghmr4rivk.cache
720
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/bS/bsabzC31_RqIPO5kx7eDDQjehBMVbPdw1hsqAzziPtU.cache
712
721
  - test/dummy/tmp/cache/assets/sprockets/v3.0/bU/bUemwoC2FRRGQ5hnuBdGPwcFa4vL137ofOg_fALohLU.cache
713
722
  - test/dummy/tmp/cache/assets/sprockets/v3.0/bW/bWuyUVYXv1UBBeiimOQiJPa-Vll9LubPtXwDlinEcRk.cache
714
723
  - test/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_h5wd9cmA7lm2QtIpoROQFWn_iS_2ADBVZ7b22gbCQ.cache
@@ -732,7 +741,9 @@ files:
732
741
  - test/dummy/tmp/cache/assets/sprockets/v3.0/cp/cpltkoEnlCxGELgo5pzYraQtUFtncB66ULMh61y9UmU.cache
733
742
  - test/dummy/tmp/cache/assets/sprockets/v3.0/ct/ctE1aQULS9C0J9LB59jpqNJfxmYJGXrq6ANE_tmcP4w.cache
734
743
  - test/dummy/tmp/cache/assets/sprockets/v3.0/cw/cweN3KcnQijlcP_HtorKQLZ0hl6PzjUmG6VZUak8aq0.cache
744
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/cw/cwwh78HI-SZdJAQod9RBC79NcdQFSkd-WqKWS6DX0WQ.cache
735
745
  - test/dummy/tmp/cache/assets/sprockets/v3.0/d2/d2pyKhpApMC_82fcSpBr3rJiQi0GXmd5nAxW4gjjbqI.cache
746
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/d6/d6xEPVvL1D1Y9Sa1oKSiantM10fTX69o3SWa6NHJ_s0.cache
736
747
  - test/dummy/tmp/cache/assets/sprockets/v3.0/d9/d9pGcUDD76ptYKxZvDIbWC71ZeGPc3vgbW8CECfeOwQ.cache
737
748
  - test/dummy/tmp/cache/assets/sprockets/v3.0/dG/DgWTCx-Rb2jbSHoEnFqjHWsBClV-3r80EPU7mB2IOlg.cache
738
749
  - test/dummy/tmp/cache/assets/sprockets/v3.0/dG/dGYZEYroVgmnLBXQCYz9zNmGxHkxAVAlVFzGz7jsx3c.cache
@@ -932,6 +943,7 @@ files:
932
943
  - test/dummy/tmp/cache/assets/sprockets/v3.0/up/upMD1ist5W8gp4776NeCoxzyRgvcqtSLFP5F0iaAeCY.cache
933
944
  - test/dummy/tmp/cache/assets/sprockets/v3.0/us/ussAwL2ajmojZ85JTPXbHkJd2NYeaFoqYB2mOoNXdlg.cache
934
945
  - test/dummy/tmp/cache/assets/sprockets/v3.0/uv/uvI03YUp_MDd8eFLwe7HY-cX9TBcml6QBWA37eoQRkg.cache
946
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/vK/vKh9S-ZjHGYu5VQDBTpOTMy7470rlEw1EW_6hhF17NA.cache
935
947
  - test/dummy/tmp/cache/assets/sprockets/v3.0/vQ/vQtYbe1XWQpkoH7AsCmn3Vg90HK8gBHJWMr-OE_Yzbg.cache
936
948
  - test/dummy/tmp/cache/assets/sprockets/v3.0/vR/vRQEBFDblB8DqJlP4ra3e_FkUFOYdE5vTvsRAU6lZRk.cache
937
949
  - test/dummy/tmp/cache/assets/sprockets/v3.0/vS/vS-R7H8uC9hGIOhBinggXYEeAoiRk26NG574uhYOpZM.cache
@@ -966,6 +978,7 @@ files:
966
978
  - test/dummy/tmp/cache/assets/sprockets/v3.0/xO/Xo09pxGgVy-sTQtvtZIffoNA857k9X97DJhenr-0pWw.cache
967
979
  - test/dummy/tmp/cache/assets/sprockets/v3.0/xO/xOHSvfsoDwJ31vBs7MeJSpnZXhYmahjbpoBruNFMSTw.cache
968
980
  - test/dummy/tmp/cache/assets/sprockets/v3.0/xR/xRo_XLPpPL6rw8FynKSmB1jbUF4U4sdFfa9qlFEaV-M.cache
981
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/xa/xa-5Cg_fBjBPaqbB0NU5eGQ2n52iEM6FOjDI7jmt60Y.cache
969
982
  - test/dummy/tmp/cache/assets/sprockets/v3.0/xb/XB6BuL_-MlRJw35sb8y-MuMukKnImXWF3tM7s5NXTCs.cache
970
983
  - test/dummy/tmp/cache/assets/sprockets/v3.0/xb/xbDqy_ABKyvnDx5qFb7bOefr2mRNtkJS6jxgaK2mymE.cache
971
984
  - test/dummy/tmp/cache/assets/sprockets/v3.0/xm/xmEgJ3zvOBWhOUjyfZPy6Ok5Myii1JVgZiy7kH3hfEQ.cache
@@ -995,13 +1008,20 @@ files:
995
1008
  - test/dummy/tmp/miniprofiler/mp_timers_2zya0i2rr22vyy5q3k2y
996
1009
  - test/dummy/tmp/miniprofiler/mp_timers_33tlodmz9yy5hzreil68
997
1010
  - test/dummy/tmp/miniprofiler/mp_timers_3m0i6t5qpgdfagg7zqqd
1011
+ - test/dummy/tmp/miniprofiler/mp_timers_41y9ejnclrwmef64k2gq
1012
+ - test/dummy/tmp/miniprofiler/mp_timers_4fhualqhfgg1g48xhdlh
998
1013
  - test/dummy/tmp/miniprofiler/mp_timers_4ltu6c8pjiexqzf9awhp
999
1014
  - test/dummy/tmp/miniprofiler/mp_timers_6s0hxpf2zgqyu7ixsnqe
1015
+ - test/dummy/tmp/miniprofiler/mp_timers_74uqoa6mlwblosnkfo0f
1000
1016
  - test/dummy/tmp/miniprofiler/mp_timers_8gq3j8nfw7t2jwot9i19
1001
1017
  - test/dummy/tmp/miniprofiler/mp_timers_92s6prb0nci1j0vwvoo8
1002
1018
  - test/dummy/tmp/miniprofiler/mp_timers_ejh7vfxw8nwbbqdlle78
1019
+ - test/dummy/tmp/miniprofiler/mp_timers_f9l0jqq0ei3j1gds9ric
1003
1020
  - test/dummy/tmp/miniprofiler/mp_timers_hsbxjh6g1gaqfxh4tzpc
1021
+ - test/dummy/tmp/miniprofiler/mp_timers_kk60f6idm6hkr8najete
1022
+ - test/dummy/tmp/miniprofiler/mp_timers_ktamjxycimbgo6mendm1
1004
1023
  - test/dummy/tmp/miniprofiler/mp_timers_lb76m6idre869f3elg1w
1024
+ - test/dummy/tmp/miniprofiler/mp_timers_ljb1e16m8zzg49k4ea69
1005
1025
  - test/dummy/tmp/miniprofiler/mp_timers_nm0h4ktkj32vevbzcv30
1006
1026
  - test/dummy/tmp/miniprofiler/mp_timers_pavhpninhre1xnuks5px
1007
1027
  - test/dummy/tmp/miniprofiler/mp_timers_syv37it8c96qgs0reajs
@@ -1011,6 +1031,7 @@ files:
1011
1031
  - test/dummy/tmp/miniprofiler/mp_timers_v85h7gzu8j5iiqal7hj6
1012
1032
  - test/dummy/tmp/miniprofiler/mp_timers_w2qp9zdzgrgxnttq8kmm
1013
1033
  - test/dummy/tmp/miniprofiler/mp_timers_wuqypi49rrbb3x6w02ne
1034
+ - test/dummy/tmp/miniprofiler/mp_timers_yf9waqym4i5b7xi8zo1
1014
1035
  - test/dummy/tmp/miniprofiler/mp_views_127.0.0.1
1015
1036
  - test/test_helper.rb
1016
1037
  - vendor/assets/javascripts/modular.js
@@ -1156,6 +1177,7 @@ test_files:
1156
1177
  - test/dummy/tmp/cache/assets/sprockets/v3.0/0L/0LdADeV9yNZiNnMLW4lkIYU8Bdq7gs9gMLULcBVYv4A.cache
1157
1178
  - test/dummy/tmp/cache/assets/sprockets/v3.0/0n/0n6SGYdqNeEUJSsu-imL90L-yIUKPi_NDSkmMySPdWQ.cache
1158
1179
  - test/dummy/tmp/cache/assets/sprockets/v3.0/0o/0o3c_QWFNOJOVHYKkzNfi5J7yZDcL7OAq3iaL-tXllE.cache
1180
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/0r/0R1t4EI6-FNvZOA362lC6dH02FCLYcjz6EYDXADNNAE.cache
1159
1181
  - test/dummy/tmp/cache/assets/sprockets/v3.0/0r/0rOZiXQhDxGlPozB0TkRpZI8BjZ57zvJgxNWJXTs6X4.cache
1160
1182
  - test/dummy/tmp/cache/assets/sprockets/v3.0/0t/0tn2q8esWnF5fEcbJLYg62c_FP9JanA9PSXdq_tYLYY.cache
1161
1183
  - test/dummy/tmp/cache/assets/sprockets/v3.0/0Y/0YtkWfu59rp5r6oxeykvg4RWWpfBOhbz_obbDadPK1k.cache
@@ -1178,6 +1200,7 @@ test_files:
1178
1200
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2J/2JVDRZ9rv7kK6_56h-WJp7Vi3lU7ILSeJpKsPbz1XjU.cache
1179
1201
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2K/2KhQXXk-PWH5n-9_NGKx8Kr8PY_J5rTKFa1hSJOtfUc.cache
1180
1202
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2m/2m5_oALaPon3aBTKiv8wrDjT6jFBEC9Idvn5VAaf7xQ.cache
1203
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/2n/2nDrg_SvTWJqMT186D0khY5GvuAxqY8pm2wAdPJBqH0.cache
1181
1204
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2r/2rNvDvuvJrgiQ2FxmcjNQimUrFItlifW4CAJnHGvu2Y.cache
1182
1205
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2s/2ssZnWcMW1tE0tgPx8B2t27a1HUuDSmhZlt3pEz0PiY.cache
1183
1206
  - test/dummy/tmp/cache/assets/sprockets/v3.0/2s/2sVTd1nKsaR-7m5pzHtnsBcqN-fv-WUSpz0T0rH7oAg.cache
@@ -1258,6 +1281,7 @@ test_files:
1258
1281
  - test/dummy/tmp/cache/assets/sprockets/v3.0/8w/8wsSjrmK5oGJpz7HQLbYA_u8i6SSOW20QdMjI9rXdCY.cache
1259
1282
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9_/9_pVK00xoiNV1Rlusq__AhBd-RI2wkk8CYsmetStEr0.cache
1260
1283
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9i/9iGRQcoqgnuCMi556DlNc2yAUu1O4jzOEnggImOnmy4.cache
1284
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/9J/9JWZohD-yQUP_qqtToXTLa7UMogxA9QjQ9EX6VGbP9A.cache
1261
1285
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9L/9LEx970_JauYhUWfuivS75eV0Iyfbt9ubccTHIsAfYw.cache
1262
1286
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9o/9oIxll7PXfYv4jiluNBnwS5uN6CD2VTOS2pE3X-wRAI.cache
1263
1287
  - test/dummy/tmp/cache/assets/sprockets/v3.0/9p/9pjK5EwJ_5LzyMfd-jWQ9TcMXKcth-0dxjvV9qrx6L0.cache
@@ -1268,6 +1292,7 @@ test_files:
1268
1292
  - test/dummy/tmp/cache/assets/sprockets/v3.0/_4/_4h5qjhHIUztlyUYQsptOlVYO6AT1vzKPPD4HrwooyI.cache
1269
1293
  - test/dummy/tmp/cache/assets/sprockets/v3.0/_9/_9G3bzAjv8L-5IO_zWzLO6TJ1LvBw-WCTrHLuupoJEI.cache
1270
1294
  - test/dummy/tmp/cache/assets/sprockets/v3.0/_c/_chctmRf-pIheCJNY7hl-Sx59opmqdxFL2PevfZwq2o.cache
1295
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/_d/_dSyQPD9Zee0-q1FwtVp-fIOZp2CEd2oB9eoLaH8vdo.cache
1271
1296
  - test/dummy/tmp/cache/assets/sprockets/v3.0/_F/_Fcpl3RSroaXu9IDnJGlMrTl1BDe553XdvAABWAXPQw.cache
1272
1297
  - test/dummy/tmp/cache/assets/sprockets/v3.0/_K/_KPYz8yTnsAYMrbiykI1TAEiANITutVerCn8TeNhyqw.cache
1273
1298
  - test/dummy/tmp/cache/assets/sprockets/v3.0/_U/_Uj4WfSjcwp3Y4FaJyfTdk2YrFxpSn3PDfkTeHjdjYg.cache
@@ -1314,6 +1339,7 @@ test_files:
1314
1339
  - test/dummy/tmp/cache/assets/sprockets/v3.0/br/br7hrpCNcrm7KR7vVkj13rI-f1RiauXbXgD9VbBI6RE.cache
1315
1340
  - test/dummy/tmp/cache/assets/sprockets/v3.0/br/BRgaKx5w_y5SAfZ01RZMdp6Z7-ggaICbwPGgGGYnMvo.cache
1316
1341
  - test/dummy/tmp/cache/assets/sprockets/v3.0/br/brn0WV626bUtP2mU86iYCgWpaHzMFJQ13RgmXaDjeq4.cache
1342
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/bS/bsabzC31_RqIPO5kx7eDDQjehBMVbPdw1hsqAzziPtU.cache
1317
1343
  - test/dummy/tmp/cache/assets/sprockets/v3.0/bS/bSbK37tGgKxfP0a1NUZ1rrBd-dZuK-CF2XGDZth1oQQ.cache
1318
1344
  - test/dummy/tmp/cache/assets/sprockets/v3.0/bS/bSgsBjtu-Y7WrxesKqith5xy2XjVTuWXEGghmr4rivk.cache
1319
1345
  - test/dummy/tmp/cache/assets/sprockets/v3.0/bS/bSWPZWaX_LMyjPPEDMvIm_U4gWLzdLBTF8rVIKTUI0U.cache
@@ -1348,9 +1374,12 @@ test_files:
1348
1374
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Cs/cssh8LbSeozd9EbLHLlTSUpZTJSfpY2vFuYuGvvN6yE.cache
1349
1375
  - test/dummy/tmp/cache/assets/sprockets/v3.0/ct/ctE1aQULS9C0J9LB59jpqNJfxmYJGXrq6ANE_tmcP4w.cache
1350
1376
  - test/dummy/tmp/cache/assets/sprockets/v3.0/cU/cUlig-jrG9uwR-i0O9do0RNbLTkb3Hs0o7euvxMZqp4.cache
1377
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/CV/CV48b5hcJ-3Wd0yiQIVhImvKJrBLCOLnutCPAAGS99U.cache
1351
1378
  - test/dummy/tmp/cache/assets/sprockets/v3.0/cw/cweN3KcnQijlcP_HtorKQLZ0hl6PzjUmG6VZUak8aq0.cache
1379
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/cw/cwwh78HI-SZdJAQod9RBC79NcdQFSkd-WqKWS6DX0WQ.cache
1352
1380
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Cy/Cy_UGoqxMmEq4sj5RxYjcR-aIdYvnjZvP_Pnrz1_9e8.cache
1353
1381
  - test/dummy/tmp/cache/assets/sprockets/v3.0/d2/d2pyKhpApMC_82fcSpBr3rJiQi0GXmd5nAxW4gjjbqI.cache
1382
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/d6/d6xEPVvL1D1Y9Sa1oKSiantM10fTX69o3SWa6NHJ_s0.cache
1354
1383
  - test/dummy/tmp/cache/assets/sprockets/v3.0/d9/d9pGcUDD76ptYKxZvDIbWC71ZeGPc3vgbW8CECfeOwQ.cache
1355
1384
  - test/dummy/tmp/cache/assets/sprockets/v3.0/DA/DAe7BiguyhnkSf_gIbD_EFR6HXwGvycafxpI7i3cDwo.cache
1356
1385
  - test/dummy/tmp/cache/assets/sprockets/v3.0/DB/DB6KPRX1iQ2XDWGaBue1A5o49fGacU0mQAvBpHGvf3w.cache
@@ -1512,6 +1541,7 @@ test_files:
1512
1541
  - test/dummy/tmp/cache/assets/sprockets/v3.0/JR/JRLYN2dARxj66xZ7WU5-LfR8WCTxOw21DHHpwVNlu8k.cache
1513
1542
  - test/dummy/tmp/cache/assets/sprockets/v3.0/JS/Js2t5-HJb663F-jJ2RW0q5ePPWpWu99pmDJSBwlyD6g.cache
1514
1543
  - test/dummy/tmp/cache/assets/sprockets/v3.0/JS/JSRw0yJsR_08VdCluQlAhgkgqPG6nlcciBhXPcxke20.cache
1544
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Ju/JU2uvgql9bnApgQSLgY3sDk6pfHu6QoYjf853mLf-8w.cache
1515
1545
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ju/JuLeGTL8JaG5D9cyywHhb6IGinsNbD8yY6rbHWarK0Q.cache
1516
1546
  - test/dummy/tmp/cache/assets/sprockets/v3.0/jw/jw64rIhCrdvowVxQ3lSeqlBy9KNUZti1emiuiVLaD6I.cache
1517
1547
  - test/dummy/tmp/cache/assets/sprockets/v3.0/jx/jxARMi9zR6X9fqfCe-BQU9fA-EmhMtgNB0g3SwJak6s.cache
@@ -1548,6 +1578,7 @@ test_files:
1548
1578
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Lh/LhQIyRiNL4CrTN4Yb3VyyDyWzA85wrtKWGNgC8fTxJo.cache
1549
1579
  - test/dummy/tmp/cache/assets/sprockets/v3.0/LI/LIoeJIW8eJRjhaysD1W9c7B_J0j95kTmKbRWsTYp3L8.cache
1550
1580
  - test/dummy/tmp/cache/assets/sprockets/v3.0/LJ/LJN964xN-evJQCr_R906196saBvCUBqdNEo1HbeKoqo.cache
1581
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/LJ/LjuGh0sOcqBa8FkH-p9s-eWyIOuNCjT6RN7bK2nIZJQ.cache
1551
1582
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ll/LLq1WYD_nqreza16xV0nSwNrSsJOy2brE9v9a55mJPE.cache
1552
1583
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ll/LlQSxuhG7t39ctOtpX2wZU4W90L7bxSJS7bEVMcRLCE.cache
1553
1584
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ll/lLu2UGBIBkK10mi85MOpIny3fTnHut2s9oQDOlkn0nw.cache
@@ -1573,6 +1604,7 @@ test_files:
1573
1604
  - test/dummy/tmp/cache/assets/sprockets/v3.0/mh/mhsOcogM2sJjF4Ah1NW631RRPZnar3gygZqAZKUO2go.cache
1574
1605
  - test/dummy/tmp/cache/assets/sprockets/v3.0/mh/MHYfDflgCUyhJkpvMBfvJAcFginXCLUCLnzC_A8xfDc.cache
1575
1606
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Mm/MmRLyp5ob0kAOOol3dke-QxaW1tZq82VX3dThG6IuwA.cache
1607
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/MO/MOpl01yJefk2QqD3DjH_aeg7khgbH9EYovaDQV0lJZY.cache
1576
1608
  - test/dummy/tmp/cache/assets/sprockets/v3.0/mp/mpRg8Z_NZBThXR48E9i0YrfZfzDzhaJaTisvH-HGj5U.cache
1577
1609
  - test/dummy/tmp/cache/assets/sprockets/v3.0/mq/mqXDp-fAKgt19ulbEzOXo6DdsDq2Sq8mUjERjj_ubeY.cache
1578
1610
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Mr/MrTfw8APk-gyKkw845UfDSHEmjSmlyecpb4qghVCsJc.cache
@@ -1609,6 +1641,7 @@ test_files:
1609
1641
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Og/OgaMU4CNALgWmoD3psV4iD5JTmMxGGpfdcLkEDBrdKE.cache
1610
1642
  - test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
1611
1643
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ol/OlTbAJQvBjcy3wv3CtTxLwTUCh23FReSq6n1cUQo7fU.cache
1644
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ON/ON1m6Ig7Ed0RVA2xa8SEr_CYLUYrxozmodIQ2LjR-ug.cache
1612
1645
  - test/dummy/tmp/cache/assets/sprockets/v3.0/oQ/oQR-sMjs3iwi4o4OZbR-1szNyMyoCKtUsvMx2X8Oqrs.cache
1613
1646
  - test/dummy/tmp/cache/assets/sprockets/v3.0/OT/OT3iuD45e5zx2BTZS-R-L2FGLuslfG_tZ2p4nfpXzPE.cache
1614
1647
  - test/dummy/tmp/cache/assets/sprockets/v3.0/oX/oX6o-19Y6MZIzE5WBT20iflpYRQ5lxqOP46WbSkrswk.cache
@@ -1744,6 +1777,7 @@ test_files:
1744
1777
  - test/dummy/tmp/cache/assets/sprockets/v3.0/UG/UGW_N3c5WIGHIsGBAlRBI-sD2QLfW6LMGFiCsdfC2xE.cache
1745
1778
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Ui/Uia1HDgohXH_cHmTRWM3z3ir3CLyZP0TohQOblE9tHI.cache
1746
1779
  - test/dummy/tmp/cache/assets/sprockets/v3.0/uj/ujUd589FZzzl2D1H3Nser3N2qm_NAQLb3k5wbRn_8xM.cache
1780
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/UK/UK_WE_HrCg1ixOz-5F0WvMMkjFZPRbbvK7CS7HXNCOQ.cache
1747
1781
  - test/dummy/tmp/cache/assets/sprockets/v3.0/UK/UKcBMf5abrxrnMlrpKafAGXneRlyn_tRb25FwbiPMuE.cache
1748
1782
  - test/dummy/tmp/cache/assets/sprockets/v3.0/UK/UKk4VLLLR7q9NN5ese2d_ncL-x9qK7UGBEgA5feD9lw.cache
1749
1783
  - test/dummy/tmp/cache/assets/sprockets/v3.0/UL/ULGQjDQ7vIjPJiy0juphBEWNRAgIAjImzIUyHT5hZH0.cache
@@ -1764,6 +1798,7 @@ test_files:
1764
1798
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Vf/VfINGTKLbtdIVYbXXOzSaUNZZchgZzHXiE6aKb6yr7Y.cache
1765
1799
  - test/dummy/tmp/cache/assets/sprockets/v3.0/vi/vikgCXTfdSo0-dQ8npKdHUscpgFEvOuH8yl4kh8sg1g.cache
1766
1800
  - test/dummy/tmp/cache/assets/sprockets/v3.0/vi/vIyGQDoERyJ225GP4GkfWASbORY6dlitIXc0ZDcDMVA.cache
1801
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/vK/vKh9S-ZjHGYu5VQDBTpOTMy7470rlEw1EW_6hhF17NA.cache
1767
1802
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Vl/VlYR5kkdZIwurc2yI1qUiTeidJyRLJ6kONXC3ZYbcmE.cache
1768
1803
  - test/dummy/tmp/cache/assets/sprockets/v3.0/vQ/vQtYbe1XWQpkoH7AsCmn3Vg90HK8gBHJWMr-OE_Yzbg.cache
1769
1804
  - test/dummy/tmp/cache/assets/sprockets/v3.0/vR/vRQEBFDblB8DqJlP4ra3e_FkUFOYdE5vTvsRAU6lZRk.cache
@@ -1809,7 +1844,9 @@ test_files:
1809
1844
  - test/dummy/tmp/cache/assets/sprockets/v3.0/x3/x3ugZrAsFu-SoYrFZ3QESK2Bv-n0twnYh7MfrC2ei5A.cache
1810
1845
  - test/dummy/tmp/cache/assets/sprockets/v3.0/X9/X9q2gGamGd5n5DLvpqdgA0yXRVz9_DWFChihiNYYFMo.cache
1811
1846
  - test/dummy/tmp/cache/assets/sprockets/v3.0/X_/X_8kAzLdAuIIE06x9RzFo6ZRCxuR6SBC3YcbGtmSel4.cache
1847
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/X_/X_DH0KNmnwBhGE63lGIgkmbSdYdE7otPZelVRGYqMwA.cache
1812
1848
  - test/dummy/tmp/cache/assets/sprockets/v3.0/X_/x_ocdNMbswM_QSPcMA3rCY6Pxc7oS6Su7URUZI-TfGw.cache
1849
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/xa/xa-5Cg_fBjBPaqbB0NU5eGQ2n52iEM6FOjDI7jmt60Y.cache
1813
1850
  - test/dummy/tmp/cache/assets/sprockets/v3.0/xb/XB6BuL_-MlRJw35sb8y-MuMukKnImXWF3tM7s5NXTCs.cache
1814
1851
  - test/dummy/tmp/cache/assets/sprockets/v3.0/xb/xbDqy_ABKyvnDx5qFb7bOefr2mRNtkJS6jxgaK2mymE.cache
1815
1852
  - test/dummy/tmp/cache/assets/sprockets/v3.0/XC/XChYcAX9JXGubiTRSqiIF0mGStUWvLdmnrLUdo3Wy4I.cache
@@ -1890,13 +1927,20 @@ test_files:
1890
1927
  - test/dummy/tmp/miniprofiler/mp_timers_2zya0i2rr22vyy5q3k2y
1891
1928
  - test/dummy/tmp/miniprofiler/mp_timers_33tlodmz9yy5hzreil68
1892
1929
  - test/dummy/tmp/miniprofiler/mp_timers_3m0i6t5qpgdfagg7zqqd
1930
+ - test/dummy/tmp/miniprofiler/mp_timers_41y9ejnclrwmef64k2gq
1931
+ - test/dummy/tmp/miniprofiler/mp_timers_4fhualqhfgg1g48xhdlh
1893
1932
  - test/dummy/tmp/miniprofiler/mp_timers_4ltu6c8pjiexqzf9awhp
1894
1933
  - test/dummy/tmp/miniprofiler/mp_timers_6s0hxpf2zgqyu7ixsnqe
1934
+ - test/dummy/tmp/miniprofiler/mp_timers_74uqoa6mlwblosnkfo0f
1895
1935
  - test/dummy/tmp/miniprofiler/mp_timers_8gq3j8nfw7t2jwot9i19
1896
1936
  - test/dummy/tmp/miniprofiler/mp_timers_92s6prb0nci1j0vwvoo8
1897
1937
  - test/dummy/tmp/miniprofiler/mp_timers_ejh7vfxw8nwbbqdlle78
1938
+ - test/dummy/tmp/miniprofiler/mp_timers_f9l0jqq0ei3j1gds9ric
1898
1939
  - test/dummy/tmp/miniprofiler/mp_timers_hsbxjh6g1gaqfxh4tzpc
1940
+ - test/dummy/tmp/miniprofiler/mp_timers_kk60f6idm6hkr8najete
1941
+ - test/dummy/tmp/miniprofiler/mp_timers_ktamjxycimbgo6mendm1
1899
1942
  - test/dummy/tmp/miniprofiler/mp_timers_lb76m6idre869f3elg1w
1943
+ - test/dummy/tmp/miniprofiler/mp_timers_ljb1e16m8zzg49k4ea69
1900
1944
  - test/dummy/tmp/miniprofiler/mp_timers_nm0h4ktkj32vevbzcv30
1901
1945
  - test/dummy/tmp/miniprofiler/mp_timers_pavhpninhre1xnuks5px
1902
1946
  - test/dummy/tmp/miniprofiler/mp_timers_syv37it8c96qgs0reajs
@@ -1906,5 +1950,6 @@ test_files:
1906
1950
  - test/dummy/tmp/miniprofiler/mp_timers_v85h7gzu8j5iiqal7hj6
1907
1951
  - test/dummy/tmp/miniprofiler/mp_timers_w2qp9zdzgrgxnttq8kmm
1908
1952
  - test/dummy/tmp/miniprofiler/mp_timers_wuqypi49rrbb3x6w02ne
1953
+ - test/dummy/tmp/miniprofiler/mp_timers_yf9waqym4i5b7xi8zo1
1909
1954
  - test/dummy/tmp/miniprofiler/mp_views_127.0.0.1
1910
1955
  - test/test_helper.rb
@@ -1,22 +0,0 @@
1
- module Kadmin
2
- class Select2
3
- # Integrates the Select2 presenter with Rails form tag helpers/form builder
4
- class FormTag < ActionView::Helpers::Tags::Select
5
- def add_default_name_and_id(options)
6
- super
7
- @html_id = options['id']
8
- end
9
-
10
- def render
11
- rendered = super
12
- select2 = Kadmin::Select2.new(@options)
13
-
14
- @template_object.content_for(:javascripts) do
15
- @template_object.javascript_tag(select2.present(@template_object).render(id: @html_id), defer: true)
16
- end
17
-
18
- return rendered
19
- end
20
- end
21
- end
22
- end
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
- module Kadmin
3
- class Select2
4
- class Presenter < Kadmin::Presenter
5
- def generate(captured, id:, **)
6
- return @view.render(partial: 'kadmin/components/select2', formats: 'js', locals: {
7
- selector: "##{id}",
8
- placeholder: self.placeholder,
9
- display_property: self.display_property,
10
- data_url: self.data_url,
11
- filter_param: self.filter_param
12
- }) + captured
13
- end
14
- end
15
- end
16
- end
@@ -1,45 +0,0 @@
1
- $(document).ready(function() {
2
- var page_size = <%= local_assigns.fetch(:page_size, 10).to_i %>;
3
- var options = {};
4
-
5
- <% if local_assigns[:placeholder].present? %>
6
- options.placeholder = "<%= placeholder %>";
7
- <% end %>
8
-
9
- var formatModel = function(object) {
10
- <% if local_assigns[:display_property].present? %>
11
- return object.<%= display_property %> || object.text;
12
- <% else %>
13
- return object.text;
14
- <% end %>
15
- };
16
- options.templateResult = formatModel;
17
- options.templateSelection = formatModel;
18
-
19
- <% if local_assigns[:data_url].present? %>
20
- var ajax = {}
21
- options.ajax = {
22
- url: "<%= data_url %>",
23
- dataType: 'json',
24
- delay: 250,
25
- data: function (params) {
26
- var page = params.page || 0;
27
- var options = {
28
- <% if filter_param.present? %> <%= filter_param %>: params.term, <% end %>
29
- page_offset: page * page_size,
30
- page_size: page_size
31
- };
32
- return options;
33
- },
34
- processResults: function (data, params) {
35
- return {
36
- results: data.items,
37
- pagination: { more: data.more }
38
- };
39
- },
40
- cache: true
41
- };
42
- <% end %>
43
-
44
- $("<%= selector %>").select2(options);
45
- });