q_hash 0.1.2

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
+ SHA256:
3
+ metadata.gz: 45090f151f081e5c9c4d6a744d745736f7a652a68d777886b87a0750fb8a4995
4
+ data.tar.gz: 98a176a62849a2ba100a63c779ec2e4d815f699071dd6ecb0f91e5914a788c95
5
+ SHA512:
6
+ metadata.gz: 4512ee4a037ca7fc5dd0cca860d5ac35a8afdda22e76a99ef5a6b07c1dd8beb379edaf3c40664bc91badadf4e13ccc00b25d590b1941bad44b825fe6b164aa24
7
+ data.tar.gz: a85e3d75b37ac15d953ce2e624597278b7c3df57906dc5eb88241d44d28216d87191905e00309add8201a3a7590e61d724cf226797574ad572dc7c04125141f2
@@ -0,0 +1,20 @@
1
+ name: Ruby
2
+
3
+ on: [push,pull_request]
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ matrix:
10
+ ruby: ['2.6.9', '2.7.5', '3.1.1']
11
+ name: Ruby ${{ matrix.ruby }}
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Ruby
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: ${{ matrix.ruby }}
18
+ bundler-cache: true
19
+ - name: Run the default task
20
+ run: bundle exec rake
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.1.1
data/.standard.yml ADDED
@@ -0,0 +1,3 @@
1
+ format: progress # default: Standard::Formatter
2
+ ignore: # default: []
3
+ - 'q_hash.gemspec'
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at a.ito@hellogetsafe.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in q_hash.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "rspec", "~> 3.0"
11
+
12
+ gem "standard"
13
+
14
+ gem "simplecov"
data/Gemfile.lock ADDED
@@ -0,0 +1,70 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ q_hash (0.1.2)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.2)
10
+ diff-lcs (1.5.0)
11
+ docile (1.4.0)
12
+ parallel (1.22.1)
13
+ parser (3.1.1.0)
14
+ ast (~> 2.4.1)
15
+ rainbow (3.1.1)
16
+ rake (13.0.6)
17
+ regexp_parser (2.3.0)
18
+ rexml (3.2.5)
19
+ rspec (3.11.0)
20
+ rspec-core (~> 3.11.0)
21
+ rspec-expectations (~> 3.11.0)
22
+ rspec-mocks (~> 3.11.0)
23
+ rspec-core (3.11.0)
24
+ rspec-support (~> 3.11.0)
25
+ rspec-expectations (3.11.0)
26
+ diff-lcs (>= 1.2.0, < 2.0)
27
+ rspec-support (~> 3.11.0)
28
+ rspec-mocks (3.11.1)
29
+ diff-lcs (>= 1.2.0, < 2.0)
30
+ rspec-support (~> 3.11.0)
31
+ rspec-support (3.11.0)
32
+ rubocop (1.26.1)
33
+ parallel (~> 1.10)
34
+ parser (>= 3.1.0.0)
35
+ rainbow (>= 2.2.2, < 4.0)
36
+ regexp_parser (>= 1.8, < 3.0)
37
+ rexml
38
+ rubocop-ast (>= 1.16.0, < 2.0)
39
+ ruby-progressbar (~> 1.7)
40
+ unicode-display_width (>= 1.4.0, < 3.0)
41
+ rubocop-ast (1.16.0)
42
+ parser (>= 3.1.1.0)
43
+ rubocop-performance (1.13.3)
44
+ rubocop (>= 1.7.0, < 2.0)
45
+ rubocop-ast (>= 0.4.0)
46
+ ruby-progressbar (1.11.0)
47
+ simplecov (0.21.2)
48
+ docile (~> 1.1)
49
+ simplecov-html (~> 0.11)
50
+ simplecov_json_formatter (~> 0.1)
51
+ simplecov-html (0.12.3)
52
+ simplecov_json_formatter (0.1.4)
53
+ standard (1.9.1)
54
+ rubocop (= 1.26.1)
55
+ rubocop-performance (= 1.13.3)
56
+ unicode-display_width (2.1.0)
57
+
58
+ PLATFORMS
59
+ x86_64-darwin-20
60
+ x86_64-linux
61
+
62
+ DEPENDENCIES
63
+ q_hash!
64
+ rake (~> 13.0)
65
+ rspec (~> 3.0)
66
+ simplecov
67
+ standard
68
+
69
+ BUNDLED WITH
70
+ 2.3.11
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Akihiko Ito
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,129 @@
1
+ # QHash - [ActiveRecord](https://github.com/rails/rails/tree/main/activerecord) style query interface for Hash
2
+
3
+ [![Ruby](https://github.com/AkihikoITOH/q_hash/actions/workflows/main.yml/badge.svg)](https://github.com/AkihikoITOH/q_hash/actions/workflows/main.yml)
4
+ [![Maintainability](https://api.codeclimate.com/v1/badges/21e195471cca64af0366/maintainability)](https://codeclimate.com/github/AkihikoITOH/q_hash/maintainability)
5
+
6
+ QHash lets you query array of hashes with ActiveRecord-like interface.
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ ```ruby
13
+ gem 'q_hash'
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ $ bundle install
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install q_hash
23
+
24
+ ## Usage
25
+
26
+ Let's say you have the following array of hash:
27
+ ```ruby
28
+ data = [
29
+ {
30
+ id: "da9d517e-eb1b-4f5b-8fec-c1258eda0db2",
31
+ personal_info: {
32
+ name: "John Doe",
33
+ date_of_birth: "1900-01-01"
34
+ },
35
+ address: {
36
+ country: "Japan",
37
+ city: "Tokyo"
38
+ },
39
+ hobbies: [
40
+ "jogging",
41
+ "eating",
42
+ "sleeping"
43
+ ]
44
+ },
45
+ {
46
+ id: "fab15d98-47d6-4552-a6e6-0b83de0b532b",
47
+ personal_info: {
48
+ name: "John Doe Jr.",
49
+ date_of_birth: "2000-01-01"
50
+ },
51
+ address: {
52
+ country: "Japan",
53
+ city: "Tokyo"
54
+ },
55
+ biometrics: {
56
+ height: 200,
57
+ weight: 100
58
+ }
59
+ }
60
+ ]
61
+ ```
62
+
63
+ #### `QHash#find_by`
64
+
65
+ ```ruby
66
+ QHash.new(data).find_by(id: "fab15d98-47d6-4552-a6e6-0b83de0b532b")
67
+ # =>
68
+ # {:id=>"fab15d98-47d6-4552-a6e6-0b83de0b532b",
69
+ # :personal_info=>{:name=>"John Doe Jr.", :date_of_birth=>"2000-01-01"},
70
+ # :address=>{:country=>"Japan", :city=>"Tokyo"},
71
+ # :biometrics=>{:height=>200, :weight=>100}}
72
+
73
+ ```
74
+
75
+ Note that `#find_by` returns the first record that matches the condition, just like `Array#find_by`.
76
+
77
+ There's also `QHash#find_by!`, which raises `QHash::RecordNotFound` in case there's no record to be found.
78
+
79
+ #### `QHash#where`
80
+
81
+ ```ruby
82
+ QHash.new(data).where(personal_info: { name: 'John Doe' })
83
+ # => [{:id=>"da9d517e-eb1b-4f5b-8fec-c1258eda0db2", :personal_info=>{:name=>"John Doe", :date_of_birth=>"1900-01-01"}, :address=>{:country=>"Japan", :city=>"Tokyo"}, :hobbies=>["jogging", "eating", "sleeping"]}]
84
+ ```
85
+
86
+ Note that `#where` returns an instance of `QHash`, not an array of hashes.
87
+ But no worries, `QHash` is also an [`Enumerable`](https://ruby-doc.org/core-3.1.1/Enumerable.html).
88
+
89
+ #### Proc condition
90
+ If you'd like to query by more complex conditions, you can also use `Proc`s
91
+
92
+ ```ruby
93
+ QHash.new(data).where(biometrics: {height: ->(height) { height > 100 }})
94
+ # => [{:id=>"fab15d98-47d6-4552-a6e6-0b83de0b532b", :personal_info=>{:name=>"John Doe Jr.", :date_of_birth=>"2000-01-01"}, :address=>{:country=>"Japan", :city=>"Tokyo"}, :biometrics=>{:height=>200, :weight=>100}}]
95
+ ```
96
+
97
+ #### Chaining `#where` and `#find_by`
98
+ You can also chain `#where` and `#find_by`:
99
+
100
+ ```ruby
101
+ QHash.new(data)
102
+ .where(address: {country: "Japan", city: ["Tokyo", "Osaka"]})
103
+ .where(biometrics: {height: ->(height) { height > 100 }})
104
+ .find_by(id: data.last[:id])
105
+ # =>
106
+ # {:id=>"fab15d98-47d6-4552-a6e6-0b83de0b532b",
107
+ # :personal_info=>{:name=>"John Doe Jr.", :date_of_birth=>"2000-01-01"},
108
+ # :address=>{:country=>"Japan", :city=>"Tokyo"},
109
+ # :biometrics=>{:height=>200, :weight=>100}}
110
+ ```
111
+
112
+
113
+ ## Development
114
+
115
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
116
+
117
+ 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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
118
+
119
+ ## Contributing
120
+
121
+ Bug reports and pull requests are welcome on GitHub at https://github.com/AkihikoITOH/q_hash. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/q_hash/blob/master/CODE_OF_CONDUCT.md).
122
+
123
+ ## License
124
+
125
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
126
+
127
+ ## Code of Conduct
128
+
129
+ Everyone interacting in the QHash project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/AkihikoITOH/q_hash/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "standard/rake"
9
+
10
+ task default: %i[standard spec]
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "q_hash"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ IRB.start(__FILE__)
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
data/lib/q_hash.rb ADDED
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ class QHash
4
+ VERSION = "0.1.2"
5
+
6
+ class Error < StandardError; end
7
+
8
+ class RecordNotFound < Error; end
9
+
10
+ include Enumerable
11
+
12
+ def initialize(data)
13
+ @data = data
14
+ end
15
+
16
+ def find_by(conditions)
17
+ data.find do |hash|
18
+ conditions.all? { |key, value| query(hash, key, value) }
19
+ end
20
+ end
21
+
22
+ def find_by!(conditions)
23
+ find_by(conditions) || raise(RecordNotFound)
24
+ end
25
+
26
+ def where(conditions)
27
+ self.class.new(filter_by_conditions(conditions))
28
+ end
29
+
30
+ def each(&block)
31
+ data.each(&block)
32
+ end
33
+
34
+ def inspect
35
+ data
36
+ end
37
+
38
+ private
39
+
40
+ def filter_by_conditions(conditions)
41
+ data.select do |hash|
42
+ conditions.all? { |key, value| query(hash, key, value) }
43
+ end
44
+ end
45
+
46
+ def query(record, key, value)
47
+ return false if record[key].nil?
48
+
49
+ case value
50
+ when Proc
51
+ value.call(record[key])
52
+ when Hash
53
+ value.all? { |nested_key, nested_value| query(record[key], nested_key, nested_value) }
54
+ when Array
55
+ value.include?(record[key])
56
+ else
57
+ record[key] == value
58
+ end
59
+ end
60
+
61
+ def top_level_keys
62
+ @top_level_keys ||= array_of_hashes.flat_map(&:keys).uniq
63
+ end
64
+
65
+ attr_reader :data, :filtered_data
66
+ end
data/q_hash.gemspec ADDED
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/q_hash"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "q_hash"
7
+ spec.version = QHash::VERSION
8
+ spec.authors = ["Akihiko Ito"]
9
+ spec.email = ["contact@akihiko.eu"]
10
+
11
+ spec.summary = "ActiveRecord style query interface for Hash"
12
+ spec.description = "QHash lets you query array of hashes with ActiveRecord-like interface"
13
+ spec.homepage = "https://github.com/AkihikoITOH/q_hash"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 2.6.0"
16
+
17
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'https://mygemserver.com'"
18
+
19
+ spec.metadata["homepage_uri"] = spec.homepage
20
+ spec.metadata["source_code_uri"] = "https://github.com/AkihikoITOH/q_hash"
21
+ # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
26
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
27
+ end
28
+ spec.require_paths = ["lib"]
29
+
30
+ # Uncomment to register a new dependency of your gem
31
+ # spec.add_dependency "example-gem", "~> 1.0"
32
+
33
+ # For more information and examples about making a new gem, checkout our
34
+ # guide at: https://bundler.io/guides/creating_gem.html
35
+ end
metadata ADDED
@@ -0,0 +1,60 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: q_hash
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ platform: ruby
6
+ authors:
7
+ - Akihiko Ito
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-04-09 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: QHash lets you query array of hashes with ActiveRecord-like interface
14
+ email:
15
+ - contact@akihiko.eu
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".github/workflows/main.yml"
21
+ - ".gitignore"
22
+ - ".rspec"
23
+ - ".ruby-version"
24
+ - ".standard.yml"
25
+ - CODE_OF_CONDUCT.md
26
+ - Gemfile
27
+ - Gemfile.lock
28
+ - LICENSE.txt
29
+ - README.md
30
+ - Rakefile
31
+ - bin/console
32
+ - bin/setup
33
+ - lib/q_hash.rb
34
+ - q_hash.gemspec
35
+ homepage: https://github.com/AkihikoITOH/q_hash
36
+ licenses:
37
+ - MIT
38
+ metadata:
39
+ homepage_uri: https://github.com/AkihikoITOH/q_hash
40
+ source_code_uri: https://github.com/AkihikoITOH/q_hash
41
+ post_install_message:
42
+ rdoc_options: []
43
+ require_paths:
44
+ - lib
45
+ required_ruby_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 2.6.0
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ requirements: []
56
+ rubygems_version: 3.3.7
57
+ signing_key:
58
+ specification_version: 4
59
+ summary: ActiveRecord style query interface for Hash
60
+ test_files: []