cast_about_for 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a49119ec5a7172e8ee08ea954f8b5463856f8bde
4
+ data.tar.gz: 611350d0aa629f2cd032ddc41f05f532192b5593
5
+ SHA512:
6
+ metadata.gz: d960f66b2d079f0c6dc7a333c3e4277982e4ac60ba93c5ab9faf8d24ab8911df1dec868df8e156fb0a64fe77acea3a7739c12aac5ef708d3dcd42a2f27b3e91e
7
+ data.tar.gz: 2f2c07a76b98c4b165866ac73e9dc9bce4cbfedf9ed2e29202fb011248683cc7c392205a6e4c66fb7d9ef4f23508ae81f01f78177117b09a15fecbc9fd7ea9e3
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3.0
4
+ before_install: gem install bundler -v 1.11.2
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at frayay@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ # source 'https://rubygems.org'
2
+ source 'https://ruby.taobao.org/'
3
+
4
+ # Specify your gem's dependencies in cast_about_for.gemspec
5
+ gemspec
6
+
7
+ gem 'activerecord', '5.0.0'
8
+ gem 'sqlite3'
9
+ gem 'minitest'
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 ray
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.
data/README.md ADDED
@@ -0,0 +1,196 @@
1
+ # CastAboutFor
2
+
3
+ CastAboutFor allows you easily and reliably query ActiveRecord.
4
+
5
+ ## Installation
6
+
7
+ Install this gem by adding this to your Gemfile:
8
+
9
+ ```ruby
10
+ gem 'cast_about_for'
11
+ ```
12
+
13
+ Then run:
14
+
15
+ ``` shell
16
+ bundle install
17
+ ```
18
+
19
+ Updating is as simple as `bundle update cast_about_for`.
20
+
21
+ ## Usage
22
+
23
+ ### Setting the Query Column
24
+
25
+ First, you must set some query colums in your model using the `cast_about_for_params` macro:
26
+
27
+ ``` ruby
28
+ class Product < ActiveRecord::Base
29
+ cast_about_for_params equal: ['name', 'sex']
30
+
31
+ # ...
32
+ end
33
+ ```
34
+
35
+ ### Start the Query:
36
+
37
+ You can always use the `#cast_about_for` class method to query:
38
+
39
+ ``` ruby
40
+ def index
41
+ @products = Product.cast_about_for(params, jsonapi: true)
42
+ end
43
+ ```
44
+
45
+ Want to count records? Simple:
46
+
47
+ ```ruby
48
+ Product.cast_about_for(params, jsonapi: true).count
49
+ ```
50
+
51
+ ## cast_about_for_params Configure
52
+
53
+ ### Equal
54
+
55
+ If you want to use a column query the SQL look like `SELECT "products".* FROM "products" WHERE (name = 'iPhone')`, you can pass it as an option:
56
+
57
+ ``` ruby
58
+ # params = {name: 'iPhone'}
59
+ # Product.cast_about_for(params, jsonapi: false)
60
+
61
+ class Product < ActiveRecord::Base
62
+ cast_about_for_params equal: ['name']
63
+
64
+ # ...
65
+ end
66
+ ```
67
+ OR you want to alias of the 'name' column
68
+
69
+ ``` ruby
70
+ # params = { nick_name: "iPhone"}
71
+ # User.cast_about_for(params, jsonapi: false)
72
+
73
+ class Product < ActiveRecord::Base
74
+ cast_about_for_params equal: [{name: "nick_name"}]
75
+
76
+ # ...
77
+ end
78
+ ```
79
+
80
+ !Your `name` of the `params` must be instead of `nick_name`.
81
+
82
+ AND you have other columns, you can do it like below.
83
+
84
+ ``` ruby
85
+ # params = { nick_name: "iPhone", info: "sales", price: "600"}
86
+ # User.cast_about_for(params, jsonapi: false)
87
+
88
+ class Product < ActiveRecord::Base
89
+ cast_about_for_params equal: [{name: "nick_name"}, {information: "info"}, price]
90
+
91
+ # ...
92
+ end
93
+ ```
94
+
95
+
96
+ ### Like
97
+
98
+ If you want to use a column query the SQL look like `SELECT "products".* FROM "products" WHERE (introduce LIKE '%To%')`, you can pass it as an option:
99
+
100
+ ``` ruby
101
+ # params = {introduce: 'To'}
102
+ # Product.cast_about_for(params, jsonapi: false)
103
+
104
+ class Product < ActiveRecord::Base
105
+ cast_about_for_params like: ['introduce']
106
+
107
+ # ...
108
+ end
109
+ ```
110
+
111
+ Suck as `Equal`. If you want alias of 'introduce', you can
112
+
113
+ ``` ruby
114
+ class Product < ActiveRecord::Base
115
+ cast_about_for_params like: [{introduce: 'intr'}]
116
+
117
+ # ...
118
+ end
119
+ ```
120
+ ### After
121
+
122
+ If you want to use a column query the SQL look like `SELECT "products".* FROM "products" WHERE (production_date >= '2016-07-05 13:09:00')`, you can pass it as an option:
123
+
124
+ ``` ruby
125
+ # params = {started_at: '2016-07-05 13:09:00'}
126
+ # Product.cast_about_for(params, jsonapi: false)
127
+
128
+ class Product < ActiveRecord::Base
129
+ cast_about_for_params after: { production_date: "started_at" }
130
+
131
+ # ...
132
+ end
133
+ ```
134
+
135
+ ### Before
136
+
137
+ If you want to use a column query the SQL look like `SELECT "products".* FROM "products" WHERE (production_date <= '2016-07-05 13:09:00')`, you can pass it as an option:
138
+
139
+ ``` ruby
140
+ # params = {before_at: '2016-07-05 13:09:00'}
141
+ # Product.cast_about_for(params, jsonapi: false)
142
+
143
+ class Product < ActiveRecord::Base
144
+ cast_about_for_params before: { production_date: "before_at" }
145
+
146
+ # ...
147
+ end
148
+ ```
149
+
150
+ ### Enum
151
+
152
+ If you have a column use enum, you can pass it as an option:
153
+
154
+ ``` ruby
155
+ # params = {category: "food"}
156
+ # Product.cast_about_for(params, jsonapi: false)
157
+
158
+ class Product < ActiveRecord::Base
159
+ enum category: {food: 0}
160
+ cast_about_for_params enum: ['category']
161
+
162
+ # ...
163
+ end
164
+ ```
165
+
166
+ ## Advanced Usage
167
+
168
+ ### JSON API
169
+
170
+ If you are using `JSON API`, you can set in the `#cast_about_for`:
171
+
172
+ ```ruby
173
+ Product.cast_about_for(params, jsonapi: true) # JSON API
174
+ Product.cast_about_for(params, jsonapi: false) # or not
175
+ ```
176
+
177
+ ### Custom Query by Block
178
+
179
+ ```ruby
180
+ Product.cast_about_for(params, jsonapi: true) do |product|
181
+ product.where(name: 'hello')
182
+ next product
183
+ end
184
+ ```
185
+
186
+ ## Collaborators
187
+
188
+ Thank you to the following people:
189
+
190
+ * The creators of the [by_star](https://github.com/radar/by_star) gem
191
+
192
+
193
+ ## License
194
+
195
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
196
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "cast_about_for"
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
data/bin/setup ADDED
@@ -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,38 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'cast_about_for/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "cast_about_for"
8
+ spec.version = CastAboutFor::VERSION
9
+ spec.authors = ["JeskTop"]
10
+ spec.email = ["frayay@gmail.com"]
11
+
12
+ spec.summary = %q{query ActiveRecord? Easy.}
13
+ spec.description = %q{allows you easily and reliably query ActiveRecord.}
14
+ spec.homepage = "https://github.com/minnowlab/cast_about_for/"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ unless spec.respond_to?(:metadata)
20
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
21
+ end
22
+
23
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ spec.bindir = "exe"
25
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ["lib"]
27
+
28
+ spec.add_dependency "activesupport"
29
+
30
+ spec.add_development_dependency "by_star"
31
+ spec.add_development_dependency "bundler", "~> 1.11"
32
+ spec.add_development_dependency "rake", "~> 10.0"
33
+ spec.add_development_dependency "minitest", "~> 5.0"
34
+ spec.add_development_dependency "sqlite3"
35
+ spec.add_development_dependency "activerecord"
36
+ spec.add_development_dependency "pg"
37
+ spec.add_development_dependency "mysql2"
38
+ end
@@ -0,0 +1,31 @@
1
+ require 'cast_about_for/search'
2
+ module CastAboutFor
3
+ module Base
4
+ extend ActiveSupport::Concern
5
+
6
+ module ClassMethods
7
+ include Search
8
+ CAST_ABOUT_FOR_KEY = [:equal, :like, :enum, :after, :before]
9
+ def cast_about_for_params *args
10
+
11
+ options = args.extract_options!.dup
12
+
13
+ options.each_key do |key|
14
+ raise ArgumentError, "Unknown cast_about_for key: '#{key}" unless CAST_ABOUT_FOR_KEY.include?(key)
15
+ end
16
+
17
+ validate_keys = options.slice(*CAST_ABOUT_FOR_KEY)
18
+
19
+ validate_keys.each do |key, value|
20
+ next unless value.is_a?(Array)
21
+ value.each do |attribute|
22
+ attribute = attribute.is_a?(Hash) ? attribute.first.first : attribute
23
+ raise ArgumentError, "Unknown column: #{attribute}" unless self.respond_to?(attribute) || self.column_names.include?(attribute.to_s)
24
+ end
25
+ end
26
+
27
+ class_variable_set(:@@cast_about_for_params, options)
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,73 @@
1
+ module CastAboutFor
2
+ module Search
3
+ def cast_about_for *args, &block
4
+ cast_about_params = class_variable_get(:@@cast_about_for_params).dup
5
+ options = args.dup
6
+ options = options.extract_options!
7
+
8
+ jsonapi = options[:jsonapi] || false
9
+ params = jsonapi ? args[0][:filter] : args[0]
10
+
11
+ seach_model = self.all
12
+ cast_about_params.each do |key, value|
13
+ seach_model = send("cast_about_for_by_#{key}", value, params, seach_model)
14
+ end
15
+
16
+ seach_model = yield(seach_model) if block_given?
17
+
18
+ return seach_model
19
+ end
20
+
21
+ private
22
+
23
+ def cast_about_for_by_equal search_values, params, seach_model
24
+ search_values.each do |search_value|
25
+ search_column, search_name = obtain_value(search_value)
26
+ seach_model = seach_model.where("#{search_column} = ?", params[search_name.to_sym]) if params[search_name.to_sym].present?
27
+ end
28
+ seach_model
29
+ end
30
+
31
+ def cast_about_for_by_like search_values, params, seach_model
32
+ search_values.each do |search_value|
33
+ search_column, search_name = obtain_value(search_value)
34
+ seach_model = seach_model.where("#{search_column} LIKE ?", "%#{params[search_name.to_sym]}%") if params[search_name.to_sym].present?
35
+ end
36
+ seach_model
37
+ end
38
+
39
+ def cast_about_for_by_after search_values, params, seach_model
40
+ search_column, search_name = obtain_by_star_value(search_values, params[search_values[:field].to_sym])
41
+ seach_model = seach_model.after(params[search_name.to_sym].to_datetime, field: "#{self.to_s.tableize}.#{search_column.to_s}") if params[search_name.to_sym].present?
42
+ seach_model
43
+ end
44
+
45
+ def cast_about_for_by_before search_values, params, seach_model
46
+ search_column, search_name = obtain_by_star_value(search_values, params[search_values[:field].to_sym])
47
+
48
+ seach_model = seach_model.before(params[search_name.to_sym].to_datetime, field: "#{self.to_s.tableize}.#{search_column.to_s}") if params[search_name.to_sym].present?
49
+ seach_model
50
+ end
51
+
52
+ def cast_about_for_by_enum search_values, params, seach_model
53
+ search_values.each do |search_value|
54
+ search_column, search_name = obtain_value(search_value)
55
+ seach_model = seach_model.where("#{search_column} = ?", self.send(search_column.to_s.pluralize.to_sym)[params[search_name.to_sym]]) if params[search_name.to_sym].present?
56
+ end
57
+ seach_model
58
+ end
59
+
60
+ def obtain_value(value)
61
+ case value
62
+ when Hash then [value.first.first, value.first.last]
63
+ else [value, value]
64
+ end
65
+ end
66
+
67
+ def obtain_by_star_value(value, field)
68
+ column = field.present? ? field : :created_at
69
+ raise ArgumentError, "Unknown column: #{column}" unless self.respond_to?(column) || self.column_names.include?(column.to_s)
70
+ [column.to_sym, value[:time]]
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,3 @@
1
+ module CastAboutFor
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,7 @@
1
+ require 'cast_about_for/base'
2
+ require 'cast_about_for/search'
3
+ require 'active_record'
4
+ require 'active_support'
5
+ require 'by_star'
6
+
7
+ ActiveRecord::Base.send :include, CastAboutFor::Base
metadata ADDED
@@ -0,0 +1,184 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cast_about_for
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - JeskTop
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-09-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: by_star
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.11'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.11'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '5.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '5.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: sqlite3
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: activerecord
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: pg
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: mysql2
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description: allows you easily and reliably query ActiveRecord.
140
+ email:
141
+ - frayay@gmail.com
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".gitignore"
147
+ - ".travis.yml"
148
+ - CODE_OF_CONDUCT.md
149
+ - Gemfile
150
+ - LICENSE.txt
151
+ - README.md
152
+ - Rakefile
153
+ - bin/console
154
+ - bin/setup
155
+ - cast_about_for.gemspec
156
+ - lib/cast_about_for.rb
157
+ - lib/cast_about_for/base.rb
158
+ - lib/cast_about_for/search.rb
159
+ - lib/cast_about_for/version.rb
160
+ homepage: https://github.com/minnowlab/cast_about_for/
161
+ licenses:
162
+ - MIT
163
+ metadata: {}
164
+ post_install_message:
165
+ rdoc_options: []
166
+ require_paths:
167
+ - lib
168
+ required_ruby_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ required_rubygems_version: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ requirements: []
179
+ rubyforge_project:
180
+ rubygems_version: 2.6.6
181
+ signing_key:
182
+ specification_version: 4
183
+ summary: query ActiveRecord? Easy.
184
+ test_files: []