easy_params 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: 331619d7efeaab6300de8cdab6fc2cbdfa31a8aae6d6211a141d7b2eb1bfaa43
4
+ data.tar.gz: 9ec2044c33541ade2819d765f4286c7d9080b41c74d62158de342d1debd55d4c
5
+ SHA512:
6
+ metadata.gz: 148b681e8468a40e0dd53db862d63e8159df4f42f1bae58c38b32dd592f7ac55171488c3a7e665fcb419c495d75cd8b2c53768e2ae7b5c6a2421befc35ffce6d
7
+ data.tar.gz: 2364b2d0e41bcaac4c50f920e8afeec71d0425f28128a814bc9246de710777b7967ad4bc673ef0d4c7ba646f5d1efc7f9412c804fdc6d2004e00ebd13acdba4d
@@ -0,0 +1,13 @@
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
12
+
13
+ .DS_Store
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,6 @@
1
+ ---
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 2.7.1
6
+ before_install: gem install bundler -v 2.1.4
@@ -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 andriy.baran.v@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 [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in easy_params.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
7
+ gem "rspec", "~> 3.0"
@@ -0,0 +1,84 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ easy_params (0.1.0)
5
+ activemodel (>= 3.2, < 6.1)
6
+ dry-struct (~> 1.0)
7
+ dry-types (~> 1.2)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ activemodel (6.0.3.4)
13
+ activesupport (= 6.0.3.4)
14
+ activesupport (6.0.3.4)
15
+ concurrent-ruby (~> 1.0, >= 1.0.2)
16
+ i18n (>= 0.7, < 2)
17
+ minitest (~> 5.1)
18
+ tzinfo (~> 1.1)
19
+ zeitwerk (~> 2.2, >= 2.2.2)
20
+ concurrent-ruby (1.1.7)
21
+ diff-lcs (1.4.4)
22
+ dry-configurable (0.11.6)
23
+ concurrent-ruby (~> 1.0)
24
+ dry-core (~> 0.4, >= 0.4.7)
25
+ dry-equalizer (~> 0.2)
26
+ dry-container (0.7.2)
27
+ concurrent-ruby (~> 1.0)
28
+ dry-configurable (~> 0.1, >= 0.1.3)
29
+ dry-core (0.5.0)
30
+ concurrent-ruby (~> 1.0)
31
+ dry-equalizer (0.3.0)
32
+ dry-inflector (0.2.0)
33
+ dry-logic (1.0.8)
34
+ concurrent-ruby (~> 1.0)
35
+ dry-core (~> 0.2)
36
+ dry-equalizer (~> 0.2)
37
+ dry-struct (1.3.0)
38
+ dry-core (~> 0.4, >= 0.4.4)
39
+ dry-equalizer (~> 0.3)
40
+ dry-types (~> 1.3)
41
+ ice_nine (~> 0.11)
42
+ dry-types (1.4.0)
43
+ concurrent-ruby (~> 1.0)
44
+ dry-container (~> 0.3)
45
+ dry-core (~> 0.4, >= 0.4.4)
46
+ dry-equalizer (~> 0.3)
47
+ dry-inflector (~> 0.1, >= 0.1.2)
48
+ dry-logic (~> 1.0, >= 1.0.2)
49
+ i18n (1.8.5)
50
+ concurrent-ruby (~> 1.0)
51
+ ice_nine (0.11.2)
52
+ minitest (5.14.2)
53
+ rake (12.3.3)
54
+ rspec (3.10.0)
55
+ rspec-core (~> 3.10.0)
56
+ rspec-expectations (~> 3.10.0)
57
+ rspec-mocks (~> 3.10.0)
58
+ rspec-core (3.10.0)
59
+ rspec-support (~> 3.10.0)
60
+ rspec-expectations (3.10.0)
61
+ diff-lcs (>= 1.2.0, < 2.0)
62
+ rspec-support (~> 3.10.0)
63
+ rspec-mocks (3.10.0)
64
+ diff-lcs (>= 1.2.0, < 2.0)
65
+ rspec-support (~> 3.10.0)
66
+ rspec-support (3.10.0)
67
+ rspec_vars_helper (0.1.0)
68
+ rspec (>= 2.4)
69
+ thread_safe (0.3.6)
70
+ tzinfo (1.2.8)
71
+ thread_safe (~> 0.1)
72
+ zeitwerk (2.4.2)
73
+
74
+ PLATFORMS
75
+ ruby
76
+
77
+ DEPENDENCIES
78
+ easy_params!
79
+ rake (~> 12.0)
80
+ rspec (~> 3.0)
81
+ rspec_vars_helper (~> 0.1)
82
+
83
+ BUNDLED WITH
84
+ 2.1.4
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Andrii Baran
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,83 @@
1
+ # EasyParams
2
+
3
+ ## Installation
4
+
5
+ Add this line to your application's Gemfile:
6
+
7
+ ```ruby
8
+ gem 'easy_params'
9
+ ```
10
+
11
+ And then execute:
12
+
13
+ $ bundle install
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install easy_params
18
+
19
+ ## Usage
20
+
21
+ ```ruby
22
+ # app/params/api/v2/icqa/move_params.rb
23
+ class Api::V1::Carts::MoveParams < EasyParams::Base
24
+ attribute :receive_cart_id, integer
25
+ attribute :i_am_sure, bool
26
+ attribute :location_code, string.default('')
27
+ attribute :sections, struct do
28
+ attribute :from, string
29
+ attribute :to, string
30
+ end
31
+ attribute :options, array.of(struct) do
32
+ attribute :option_type_count, integer
33
+ attribute :option_type_value, integer
34
+
35
+ validates :option_type_count, :option_type_value, presence: { message: "can't be blank" }
36
+ end
37
+
38
+ validates :receive_cart_id, :location_code, presence: { message: "can't be blank" }
39
+ end
40
+ ```
41
+ Validation messages for nested attributes will look like this.
42
+ ```ruby
43
+ {
44
+ :"sections/0/id"=>an_instance_of(Array),
45
+ :"sections/0/post/id"=>an_instance_of(Array),
46
+ :"post/id"=>an_instance_of(Array),
47
+ :"post/sections/0/id"=>an_instance_of(Array)
48
+ }
49
+ ```
50
+ Optionally you can use more compact form
51
+ ```ruby
52
+ class MyParams < EasyParams::Base
53
+ extend EasyParams::DSL
54
+
55
+ quantity integer.default(1)
56
+ posts each do
57
+ content string.default('')
58
+ end
59
+ user has do
60
+ role string
61
+ end
62
+ end
63
+ ```
64
+ More examples here [params_spec.rb](https://github.com/andriy-baran/easy_params/blob/master/spec/easy_params_spec.rb)
65
+
66
+ ## Development
67
+
68
+ 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.
69
+
70
+ 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).
71
+
72
+ ## Contributing
73
+
74
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/easy_params. 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]/easy_params/blob/master/CODE_OF_CONDUCT.md).
75
+
76
+
77
+ ## License
78
+
79
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
80
+
81
+ ## Code of Conduct
82
+
83
+ Everyone interacting in the EasyParams project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/easy_params/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "easy_params"
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,42 @@
1
+ require_relative 'lib/easy_params/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = 'easy_params'
5
+ spec.version = EasyParams::VERSION
6
+ spec.authors = ['Andrii Baran']
7
+ spec.email = ['andriy.baran.v@gmail.com']
8
+
9
+ spec.summary = %q{A tool that handles common tasks needed when working with params in Rails}
10
+ spec.description = %q{Dessribe structure, validate and coerce values. Powered by dry-types and dry-struct}
11
+ spec.homepage = 'https://github.com/andriy-baran/easy_params'
12
+ spec.license = 'MIT'
13
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
14
+
15
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
16
+
17
+ spec.metadata['homepage_uri'] = spec.homepage
18
+ spec.metadata['source_code_uri'] = 'https://github.com/andriy-baran/easy_params'
19
+ # spec.metadata['changelog_uri'] = 'TODO: Put your gem's CHANGELOG.md URL here.'
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
24
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
+ end
26
+ spec.bindir = 'exe'
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ['lib']
29
+
30
+ spec.required_ruby_version = '>= 2.2.2'
31
+
32
+ version_string = ['>= 3.2', '< 6.1']
33
+
34
+ spec.add_runtime_dependency 'activemodel', version_string
35
+
36
+ # spec.add_dependency 'dry-logic', '~> 0.4.2'
37
+ spec.add_dependency 'dry-struct', '~> 1.0'
38
+ spec.add_dependency 'dry-types', '~> 1.2'
39
+
40
+ spec.add_development_dependency 'rspec', '~> 3.0'
41
+ spec.add_development_dependency 'rspec_vars_helper', '~> 0.1'
42
+ end
@@ -0,0 +1,12 @@
1
+ require 'dry-struct'
2
+ require 'dry-types'
3
+ require 'active_model'
4
+ require 'easy_params/base'
5
+ require 'easy_params/dsl'
6
+ require 'easy_params/types'
7
+ require 'easy_params/version'
8
+
9
+ module EasyParams
10
+ class Error < StandardError; end
11
+ # Your code goes here...
12
+ end
@@ -0,0 +1,44 @@
1
+ module EasyParams
2
+ class Base < Dry::Struct
3
+ include ActiveModel::Validations
4
+
5
+ transform_keys(&:to_sym)
6
+
7
+ def self.name
8
+ 'EasyParams::Base'
9
+ end
10
+
11
+ %w[Integer Decimal Float Bool String Array Date DateTime Time Struct StructDSL].each do |type|
12
+ send(:define_singleton_method, type.underscore) { EasyParams::Types.const_get(type) }
13
+ end
14
+
15
+ validate do
16
+ validate_nested
17
+ end
18
+
19
+ def validate_nested
20
+ run_nested_validations = proc do |attr_name, value, array_index, error_key_prefix|
21
+ case value
22
+ when Array
23
+ value.each.with_index do |element, i|
24
+ run_nested_validations[attr_name, element, i, error_key_prefix]
25
+ end
26
+ when self.class.struct
27
+ if value.invalid?
28
+ error_key_components = [error_key_prefix, attr_name, array_index]
29
+ attr_error_key_prefix = error_key_components.compact.join('/')
30
+ value.errors.each do |error_key, error_message|
31
+ errors.add("#{attr_error_key_prefix}/#{error_key}", error_message)
32
+ end
33
+ end
34
+ value.attributes.each do |nested_attr_name, nested_value|
35
+ run_nested_validations[nested_attr_name, nested_value, nil, attr_error_key_prefix]
36
+ end
37
+ else
38
+ # NOOP
39
+ end
40
+ end
41
+ attributes.each(&run_nested_validations)
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,15 @@
1
+ module EasyParams
2
+ module DSL
3
+ def each(&block)
4
+ array.of(struct_dsl, &block)
5
+ end
6
+
7
+ def has(&block)
8
+ struct_dsl(&block)
9
+ end
10
+
11
+ def method_missing(method_name, *args, &block)
12
+ public_send(:attribute, method_name, *args, &block)
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,16 @@
1
+ module EasyParams
2
+ module Types
3
+ include Dry::Types.module
4
+ Struct = EasyParams::Base.meta(omittable: true)
5
+ StructDSL = ::Class.new(EasyParams::Base).extend(EasyParams::DSL).meta(omittable: true)
6
+ Integer = Params::Integer.optional.meta(omittable: true).default(nil)
7
+ Decimal = Params::Decimal.optional.meta(omittable: true).default(nil)
8
+ Float = Params::Float.optional.meta(omittable: true).default(nil)
9
+ Bool = Strict::Bool.optional.meta(omittable: true).default(nil)
10
+ String = String.optional.meta(omittable: true).default(nil)
11
+ Array = Array.of(Struct).meta(omittable: true).default([])
12
+ Date = Params::Date.optional.meta(omittable: true).default(nil)
13
+ DateTime = Params::DateTime.optional.meta(omittable: true).default(nil)
14
+ Time = Params::Time.optional.meta(omittable: true).default(nil)
15
+ end
16
+ end
@@ -0,0 +1,3 @@
1
+ module EasyParams
2
+ VERSION = '0.1.0'.freeze
3
+ end
metadata ADDED
@@ -0,0 +1,140 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: easy_params
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Andrii Baran
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-12-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activemodel
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '6.1'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '3.2'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '6.1'
33
+ - !ruby/object:Gem::Dependency
34
+ name: dry-struct
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: dry-types
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.2'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '1.2'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rspec
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '3.0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '3.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rspec_vars_helper
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '0.1'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '0.1'
89
+ description: Dessribe structure, validate and coerce values. Powered by dry-types
90
+ and dry-struct
91
+ email:
92
+ - andriy.baran.v@gmail.com
93
+ executables: []
94
+ extensions: []
95
+ extra_rdoc_files: []
96
+ files:
97
+ - ".gitignore"
98
+ - ".rspec"
99
+ - ".travis.yml"
100
+ - CODE_OF_CONDUCT.md
101
+ - Gemfile
102
+ - Gemfile.lock
103
+ - LICENSE.txt
104
+ - README.md
105
+ - Rakefile
106
+ - bin/console
107
+ - bin/setup
108
+ - easy_params.gemspec
109
+ - lib/easy_params.rb
110
+ - lib/easy_params/base.rb
111
+ - lib/easy_params/dsl.rb
112
+ - lib/easy_params/types.rb
113
+ - lib/easy_params/version.rb
114
+ homepage: https://github.com/andriy-baran/easy_params
115
+ licenses:
116
+ - MIT
117
+ metadata:
118
+ allowed_push_host: https://rubygems.org
119
+ homepage_uri: https://github.com/andriy-baran/easy_params
120
+ source_code_uri: https://github.com/andriy-baran/easy_params
121
+ post_install_message:
122
+ rdoc_options: []
123
+ require_paths:
124
+ - lib
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: 2.2.2
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ requirements: []
136
+ rubygems_version: 3.1.4
137
+ signing_key:
138
+ specification_version: 4
139
+ summary: A tool that handles common tasks needed when working with params in Rails
140
+ test_files: []