bimbamboom_search 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: bb8eb0a094fe9230f9b71eb9d4b6f393dd7cf809b7cadb625aeb3fe2e8226366
4
+ data.tar.gz: fd665f7d73f6526f3a7e7c4f3ee2a9c1e11d7a691a8578dbdbafcc42e9bc48cf
5
+ SHA512:
6
+ metadata.gz: adc494b7b1af23d960f5073c02f0d8aa6ed088f8c5ffadd2b8c85e7b668a9bc6ed4f889ab5afeb4ccfc35e6e045fab112b3ddf4901c499dfdf387fee786731fb
7
+ data.tar.gz: 0aa958f5aa67f2b831c00f4857720121d4ad263a0ebaab487d2b5073926982c5eb50e4ef485f444db6d7aef4a9100dd8bba605e29118fce2b33a7ac56e7f83bf
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
@@ -0,0 +1,38 @@
1
+ Rails:
2
+ Enabled: true
3
+
4
+ Metrics/LineLength:
5
+ Max: 120
6
+ Metrics/MethodLength:
7
+ Max: 20
8
+ Metrics/ClassLength:
9
+ Max: 220
10
+
11
+ Metrics/AbcSize:
12
+ Max: 35
13
+
14
+ Documentation:
15
+ Enabled: false
16
+
17
+ Style/FrozenStringLiteralComment:
18
+ Enabled: false
19
+
20
+ # allow multiline `expect { ... }.to do_something`
21
+ Style/BlockDelimiters:
22
+ Exclude:
23
+ - 'spec/**/*'
24
+
25
+ # specs tend to get long
26
+ Metrics/BlockLength:
27
+ Exclude:
28
+ - 'spec/**/*'
29
+
30
+ Rails/ApplicationRecord:
31
+ Exclude:
32
+ - 'spec/**/*'
33
+
34
+ Style/TrailingCommaInHashLiteral:
35
+ EnforcedStyleForMultiline: comma
36
+
37
+ Style/TrailingCommaInArrayLiteral:
38
+ EnforcedStyleForMultiline: comma
@@ -0,0 +1,11 @@
1
+ SimpleCov.start 'rails' do
2
+ add_group 'app', 'app'
3
+ add_group 'lib', 'lib'
4
+
5
+ refuse_coverage_drop
6
+
7
+ formatter SimpleCov::Formatter::MultiFormatter.new([
8
+ SimpleCov::Formatter::HTMLFormatter,
9
+ Coveralls::SimpleCov::Formatter
10
+ ])
11
+ end
@@ -0,0 +1,10 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.5.1
4
+ - 2.4.1
5
+ - 2.3.4
6
+ cache: bundler
7
+ install: bundle install
8
+ script:
9
+ - bundle exec rubocop -D
10
+ - bundle exec rake
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at vincent.viricel@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in bimbamboom_search.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 HHGB12
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,43 @@
1
+ # BimbamboomSearch
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/bimbamboom_search`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'bimbamboom_search'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install bimbamboom_search
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/bimbamboom_search. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the BimbamboomSearch project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/bimbamboom_search/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env rake
2
+
3
+ begin
4
+ require 'bundler/setup'
5
+ rescue LoadError
6
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
7
+ end
8
+
9
+ require 'bundler/gem_tasks'
10
+
11
+ ##
12
+ # Configure the test suite.
13
+ ##
14
+ require 'rspec/core'
15
+ require 'rspec/core/rake_task'
16
+
17
+ RSpec::Core::RakeTask.new
18
+
19
+ ##
20
+ # By default, just run the tests.
21
+ ##
22
+ task default: :spec
@@ -0,0 +1,12 @@
1
+ // belongs_to form
2
+ $(function() {
3
+ $(".field-unit--belongs-to-search select").each(function initializeSelectize(index, element) {
4
+ var $element = $(element);
5
+ $element.selectize({
6
+ valueField: 'id',
7
+ labelField: 'dashboard_display_name',
8
+ searchField: 'dashboard_display_name',
9
+ create: false,
10
+ });
11
+ });
12
+ });
@@ -0,0 +1,23 @@
1
+ # ## Index
2
+ #
3
+ # This view is the template for the index page.
4
+ #
5
+ # ## Local variables:
6
+ #
7
+ # - `page`:
8
+ # An instance of [Administrate::Page::Collection][1].
9
+ # Contains helper methods to help display a table,
10
+ # and knows which attributes should be displayed in the resource's table.
11
+ # - `resources`:
12
+ # An instance of `ActiveRecord::Relation` containing the resources
13
+ # that match the user's search criteria.
14
+ # By default, these resources are passed to the table partial to be displayed.
15
+ # - `search_term`:
16
+ # A string containing the term the user has searched for, if any.
17
+ #
18
+ # [1]: http://www.rubydoc.info/gems/administrate/Administrate/Page/Collection
19
+
20
+ json.resources resources do |resource|
21
+ json.id resource.id
22
+ json.dashboard_display_name @dashboard.display_resource(resource)
23
+ end
@@ -0,0 +1,27 @@
1
+ <%#
2
+ # BelongsToSearch Form Partial
3
+
4
+ This partial renders an search input element for belongs_to relationships.
5
+ By default, the input is a collection select box
6
+ that displays all possible records to associate with.
7
+
8
+ ## Local variables:
9
+
10
+ - `f`:
11
+ A Rails form generator, used to help create the appropriate input fields.
12
+ - `field`:
13
+ An instance of [BelongsToWithSearchField].
14
+ Contains helper methods for displaying a collection select box.
15
+ %>
16
+
17
+ <div class="field-unit__label">
18
+ <%= f.label field.permitted_attribute %>
19
+ </div>
20
+ <div class="field-unit__field">
21
+ <%= f.select(field.permitted_attribute,
22
+ nil,
23
+ {},
24
+ 'data-url': polymorphic_url([namespace, field.associated_class], format: :json)) do %>
25
+ <%= options_for_select(field.associated_resource_options, field.selected_option) %>
26
+ <% end %>
27
+ </div>
@@ -0,0 +1,21 @@
1
+ <%#
2
+ # BelongsToSearch Index Partial
3
+
4
+ This partial renders a belongs_to relationship,
5
+ to be displayed on a resource's index page.
6
+
7
+ By default, the relationship is rendered as a link to the associated object.
8
+
9
+ ## Local variables:
10
+
11
+ - `field`:
12
+ An instance of Administrate::Field::BelongsToSearch.
13
+ A wrapper around the belongs_to relationship pulled from the database.
14
+ %>
15
+
16
+ <% if field.data %>
17
+ <%= link_to(
18
+ field.display_associated_resource,
19
+ [namespace, field.data],
20
+ ) %>
21
+ <% end %>
@@ -0,0 +1,21 @@
1
+ <%#
2
+ # BelongsToSearch Show Partial
3
+
4
+ This partial renders a belongs_to relationship,
5
+ to be displayed on a resource's show page.
6
+
7
+ By default, the relationship is rendered as a link to the associated object.
8
+
9
+ ## Local variables:
10
+
11
+ - `field`:
12
+ An instance of Administrate::Field::BelongsToSearch.
13
+ A wrapper around the belongs_to relationship pulled from the database.
14
+ %>
15
+
16
+ <% if field.data %>
17
+ <%= link_to(
18
+ field.display_associated_resource,
19
+ [namespace, field.data],
20
+ ) %>
21
+ <% end %>
@@ -0,0 +1,46 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "bimbamboom_search/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "bimbamboom_search"
8
+ spec.version = BimbamboomSearch::VERSION
9
+ spec.authors = ["HHGB12"]
10
+ spec.email = ["vincent.viricel@gmail.com"]
11
+
12
+ spec.summary = 'Plugin that adds search capabilities to belongs_to associations for Administrate'
13
+ spec.description = <<-DESCRIPTION
14
+ Add support to search through (potentially large) belongs_to associations in your Administrate dashboards.
15
+ DESCRIPTION
16
+ spec.homepage = 'https://github.com/HHGB12/bimbamboom_search'
17
+ spec.license = "MIT"
18
+
19
+
20
+ # spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
21
+ # `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
+ # end
23
+ # spec.bindir = "exe"
24
+ # spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
+ # spec.require_paths = ["lib"]
26
+ #
27
+ # spec.add_development_dependency "bundler", "~> 2.0"
28
+ # spec.add_development_dependency "rake", "~> 10.0"
29
+
30
+ spec.require_paths = %w[lib]
31
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
32
+ spec.test_files = `git ls-files -z -- {spec}/*`.split("\x0")
33
+
34
+ spec.add_dependency 'administrate', '>= 0.3', '< 1.0'
35
+ spec.add_dependency 'jbuilder', '~> 2'
36
+ spec.add_dependency 'rails', '>= 4.2', '< 6.0'
37
+ spec.add_dependency 'selectize-rails', '~> 0.6'
38
+
39
+ spec.add_development_dependency 'coveralls', '~> 0'
40
+ spec.add_development_dependency 'factory_girl', '~> 4.8'
41
+ spec.add_development_dependency 'rake', '~> 12.0'
42
+ spec.add_development_dependency 'rspec', '~> 3.4'
43
+ spec.add_development_dependency 'rubocop', '0.49.0'
44
+ spec.add_development_dependency 'simplecov', '~> 0'
45
+ spec.add_development_dependency 'sqlite3', '~> 1.3'
46
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "bimbamboom_search"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,20 @@
1
+ require "bimbamboom_search/version"
2
+ require 'administrate/field/belongs_to'
3
+ require 'rails'
4
+
5
+ module Administrate
6
+ module Field
7
+ class BelongsToSearch < Administrate::Field::BelongsTo
8
+ class Engine < ::Rails::Engine
9
+ initializer 'administrate-field-belongs_to_search.add_assets' do |app|
10
+ app.config.assets.precompile << 'belongs_to_search.js' if app.config.respond_to? :assets
11
+ Administrate::Engine.add_javascript 'belongs_to_search.js' if defined?(Administrate::Engine)
12
+ end
13
+ end
14
+
15
+ def associated_class
16
+ super
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,3 @@
1
+ module BimbamboomSearch
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,231 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bimbamboom_search
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - HHGB12
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-01-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: administrate
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.3'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '1.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.3'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '1.0'
33
+ - !ruby/object:Gem::Dependency
34
+ name: jbuilder
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '2'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '2'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rails
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '4.2'
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: '6.0'
57
+ type: :runtime
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '4.2'
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: '6.0'
67
+ - !ruby/object:Gem::Dependency
68
+ name: selectize-rails
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '0.6'
74
+ type: :runtime
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: '0.6'
81
+ - !ruby/object:Gem::Dependency
82
+ name: coveralls
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - "~>"
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - "~>"
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ - !ruby/object:Gem::Dependency
96
+ name: factory_girl
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '4.8'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - "~>"
107
+ - !ruby/object:Gem::Version
108
+ version: '4.8'
109
+ - !ruby/object:Gem::Dependency
110
+ name: rake
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - "~>"
114
+ - !ruby/object:Gem::Version
115
+ version: '12.0'
116
+ type: :development
117
+ prerelease: false
118
+ version_requirements: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - "~>"
121
+ - !ruby/object:Gem::Version
122
+ version: '12.0'
123
+ - !ruby/object:Gem::Dependency
124
+ name: rspec
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '3.4'
130
+ type: :development
131
+ prerelease: false
132
+ version_requirements: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - "~>"
135
+ - !ruby/object:Gem::Version
136
+ version: '3.4'
137
+ - !ruby/object:Gem::Dependency
138
+ name: rubocop
139
+ requirement: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - '='
142
+ - !ruby/object:Gem::Version
143
+ version: 0.49.0
144
+ type: :development
145
+ prerelease: false
146
+ version_requirements: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - '='
149
+ - !ruby/object:Gem::Version
150
+ version: 0.49.0
151
+ - !ruby/object:Gem::Dependency
152
+ name: simplecov
153
+ requirement: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - "~>"
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ type: :development
159
+ prerelease: false
160
+ version_requirements: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - "~>"
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ - !ruby/object:Gem::Dependency
166
+ name: sqlite3
167
+ requirement: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - "~>"
170
+ - !ruby/object:Gem::Version
171
+ version: '1.3'
172
+ type: :development
173
+ prerelease: false
174
+ version_requirements: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - "~>"
177
+ - !ruby/object:Gem::Version
178
+ version: '1.3'
179
+ description: " Add support to search through (potentially large) belongs_to associations
180
+ in your Administrate dashboards.\n"
181
+ email:
182
+ - vincent.viricel@gmail.com
183
+ executables: []
184
+ extensions: []
185
+ extra_rdoc_files: []
186
+ files:
187
+ - ".gitignore"
188
+ - ".rspec"
189
+ - ".rubocop.yml"
190
+ - ".simplecov"
191
+ - ".travis.yml"
192
+ - CODE_OF_CONDUCT.md
193
+ - Gemfile
194
+ - LICENSE.txt
195
+ - README.md
196
+ - Rakefile
197
+ - app/assets/javascripts/belongs_to_search.js
198
+ - app/views/administrate/application/index.json.jbuilder
199
+ - app/views/fields/belongs_to_search/_form.html.erb
200
+ - app/views/fields/belongs_to_search/_index.html.erb
201
+ - app/views/fields/belongs_to_search/_show.html.erb
202
+ - bimbamboom_search.gemspec
203
+ - bin/console
204
+ - bin/setup
205
+ - lib/bimbamboom_search.rb
206
+ - lib/bimbamboom_search/version.rb
207
+ homepage: https://github.com/HHGB12/bimbamboom_search
208
+ licenses:
209
+ - MIT
210
+ metadata: {}
211
+ post_install_message:
212
+ rdoc_options: []
213
+ require_paths:
214
+ - lib
215
+ required_ruby_version: !ruby/object:Gem::Requirement
216
+ requirements:
217
+ - - ">="
218
+ - !ruby/object:Gem::Version
219
+ version: '0'
220
+ required_rubygems_version: !ruby/object:Gem::Requirement
221
+ requirements:
222
+ - - ">="
223
+ - !ruby/object:Gem::Version
224
+ version: '0'
225
+ requirements: []
226
+ rubyforge_project:
227
+ rubygems_version: 2.7.6
228
+ signing_key:
229
+ specification_version: 4
230
+ summary: Plugin that adds search capabilities to belongs_to associations for Administrate
231
+ test_files: []