inflecto-refinements 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
+ SHA1:
3
+ metadata.gz: 3d04a2c38b16d2e0bf767dfb58db0f1b499905a9
4
+ data.tar.gz: ef7ed3b2a1394ce79e3f20c3a2fdc1943900330d
5
+ SHA512:
6
+ metadata.gz: 13bdaefa6b57fdcdbfec60345d6321a0bd4b61148c049d5b7b66593ad3a9831acd3e287f669944dc9acf395abaee8c38ff1d358085e4603afef96edfec672a17
7
+ data.tar.gz: c5465f89a69c39b0fd0eb3da9de93bacb6c4ca19cc96312862e9619b065b6373c466870c5161a2b32abeed8ca252c79a5372815c17070e155f65e517957627f2
@@ -0,0 +1,16 @@
1
+ ---
2
+ engines:
3
+ duplication:
4
+ enabled: true
5
+ config:
6
+ languages:
7
+ - ruby
8
+ fixme:
9
+ enabled: true
10
+ rubocop:
11
+ enabled: true
12
+ ratings:
13
+ paths:
14
+ - "**.rb"
15
+ exclude_paths:
16
+ - spec/
@@ -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/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,18 @@
1
+ AllCops:
2
+ Exclude:
3
+ - 'spec/**/*'
4
+
5
+ # RuboCop, ignore refinement blocks
6
+ Metrics/BlockLength:
7
+ Exclude:
8
+ - 'lib/inflecto/refinements.rb'
9
+
10
+ # Do not ever break my development console, RuboCop
11
+ Lint/Debugger:
12
+ Exclude:
13
+ - 'bin/console'
14
+
15
+ # RuboCop, let Bundler require this gem for me if needed
16
+ Style/FileName:
17
+ Exclude:
18
+ - 'lib/inflecto-refinements.rb'
@@ -0,0 +1,8 @@
1
+ SimpleCov.start do
2
+ add_filter '/bin/'
3
+ add_filter '/spec/'
4
+ add_group('Missing') { |src| src.covered_percent < 100 }
5
+ add_group('Covered') { |src| src.covered_percent == 100 }
6
+ end
7
+ require 'codeclimate-test-reporter'
8
+ CodeClimate::TestReporter.start
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.13.5
@@ -0,0 +1,6 @@
1
+ --title 'inflecto-refinements: String & Numeric refinements'
2
+ --markup markdown
3
+ --markup-provider redcarpet
4
+ lib/**/*.rb
5
+ -
6
+ README.md
@@ -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 alex@semyonov.us. 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 inflecto-refinements.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Alex Semyonov
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,74 @@
1
+ # Inflecto::Refinements
2
+
3
+ `String` and `Numeric` refinements based on [inflecto](https://rubygems.org/gems/inflecto) gem.
4
+
5
+ [![Gem Version](https://badge.fury.io/rb/inflecto-refinements.png)][gem]
6
+ [![Build Status](https://secure.travis-ci.org/alsemyonov/inflecto-refinements.png?branch=master)][travis]
7
+ [![Dependency Status](https://gemnasium.com/alsemyonov/inflecto-refinements.png)][gemnasium]
8
+ [![Code Climate](https://codeclimate.com/github/alsemyonov/inflecto-refinements.png)][codeclimate]
9
+ [![Coverage Status](https://coveralls.io/repos/alsemyonov/inflecto-refinements/badge.png?branch=master)][coveralls]
10
+
11
+ ## Installation
12
+
13
+ Add this line to your application's Gemfile:
14
+
15
+ ```ruby
16
+ gem 'inflecto-refinements'
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install inflecto-refinements
26
+
27
+ ## Usage
28
+
29
+ If you want to use familiar `String#camelcase`, `String#underscore`, etc.,
30
+ but do not want to pollute your project with the whole ActiveSupport family,
31
+ use `inflecto-refinements`:
32
+
33
+ ``` ruby
34
+ require 'inflecto-refinements'
35
+
36
+ using Inflecto::Refinements
37
+
38
+ 'data_mapper'.camelize #=> 'DataMapper'
39
+ 'data.mapper'.classify #=> 'DataMapper'
40
+ 'DataMapper'.constantize #=> DataMapper
41
+ 'data_mapper_rspec'.dasherize #=> 'data-mapper-rspec'
42
+ 'DataMapper::Inflecto'.demodulize #=> 'Inflecto'
43
+ 'Message'.foreign_key #=> 'message_id'
44
+ 'employee_salary'.humanize #=> 'Employee salary'
45
+ 'sample'.pluralize #=> 'samples'
46
+ 'forums'.singularize #=> 'forum'
47
+ 'news'.singularize #=> 'news'
48
+ 'fancy_category'.tableize #=> 'fancy_categories'
49
+ 'DataMapper'.underscore #=> 'data_mapper'
50
+ 1.ordinalize #=> '1st'
51
+ ```
52
+
53
+ ## Development
54
+
55
+ 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.
56
+
57
+ 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).
58
+
59
+ ## Contributing
60
+
61
+ Bug reports and pull requests are welcome on GitHub at https://github.com/alsemyonov/inflecto-refinements. 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.
62
+
63
+
64
+ ## License
65
+
66
+ © [Alex Semyonov](https://al.semyonov.us/) <[alex@semyonov.us](mailto:alex@semyonov.us?subject=inflecto-refinements)>, 2016
67
+
68
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
69
+
70
+ [gem]: https://rubygems.org/gems/inflecto-refinements
71
+ [travis]: https://travis-ci.org/alsemyonov/inflecto-refinements
72
+ [gemnasium]: https://gemnasium.com/alsemyonov/inflecto-refinements
73
+ [codeclimate]: https://codeclimate.com/github/alsemyonov/inflecto-refinements
74
+ [coveralls]: https://coveralls.io/r/alsemyonov/inflecto-refinements
@@ -0,0 +1,14 @@
1
+ require 'bundler/gem_tasks'
2
+
3
+ require 'rspec/core/rake_task'
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
6
+
7
+ require 'rubocop/rake_task'
8
+ RuboCop::RakeTask.new(:cop)
9
+ task default: :cop
10
+
11
+ require 'yard'
12
+ require 'yard/rake/yardoc_task'
13
+ YARD::Rake::YardocTask.new(:doc)
14
+ task default: :doc
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'inflecto/refinements'
5
+
6
+ require 'pry'
7
+ Pry.start
@@ -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,35 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'inflecto/refinements/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'inflecto-refinements'
8
+ spec.version = Inflecto::Refinements::VERSION
9
+ spec.authors = ['Alex Semyonov']
10
+ spec.email = ['alex@semyonov.us']
11
+
12
+ spec.summary = 'String inflections & Numeric#ordinalize based on Inflecto'
13
+ spec.description = 'Refine your Strings & Numbers easy'
14
+ spec.homepage = 'https://github.com/alsemyonov/inflecto-refinements'
15
+ spec.license = 'MIT'
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.bindir = 'exe'
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ['lib']
23
+
24
+ spec.add_runtime_dependency 'inflecto', '~> 0.0.2'
25
+
26
+ spec.add_development_dependency 'bundler', '~> 1.13'
27
+ spec.add_development_dependency 'rake', '~> 10.0'
28
+ spec.add_development_dependency 'rspec', '~> 3.0'
29
+ spec.add_development_dependency 'pry', '~> 0.10.4'
30
+ spec.add_development_dependency 'rubocop', '~> 0.44.1'
31
+ spec.add_development_dependency 'simplecov', '~> 0.12.0'
32
+ spec.add_development_dependency 'codeclimate-test-reporter', '~> 0.6.0'
33
+ spec.add_development_dependency 'yard', '~> 0.9.5'
34
+ spec.add_development_dependency 'redcarpet', '~> 3.3.4'
35
+ end
@@ -0,0 +1,2 @@
1
+ require 'inflecto'
2
+ require 'inflecto/refinements'
@@ -0,0 +1,206 @@
1
+ require 'inflecto/refinements/version'
2
+ require 'inflecto'
3
+
4
+ module Inflecto
5
+ # Refines `String` with inflection methods and `Numeric` with `#ordinalize`
6
+ #
7
+ # @author Alex Semyonov <alex@semyonov.us>
8
+ #
9
+ # @since 0.1.0
10
+ #
11
+ # @example
12
+ # require 'inflecto-refinements'
13
+ # using Inflecto::Refinements
14
+ #
15
+ # 'data_mapper'.camelize #=> 'DataMapper'
16
+ # 'data.mapper'.classify #=> 'DataMapper'
17
+ # 'DataMapper'.constantize #=> DataMapper
18
+ # 'data_mapper_rspec'.dasherize #=> 'data-mapper-rspec'
19
+ # 'DataMapper::Inflecto'.demodulize #=> 'Inflecto'
20
+ # 'Message'.foreign_key #=> 'message_id'
21
+ # 'employee_salary'.humanize #=> 'Employee salary'
22
+ # 'sample'.pluralize #=> 'samples'
23
+ # 'forums'.singularize #=> 'forum'
24
+ # 'news'.singularize #=> 'news'
25
+ # 'fancy_category'.tableize #=> 'fancy_categories'
26
+ # 'DataMapper'.underscore #=> 'data_mapper'
27
+ # 1.ordinalize #=> '1st'
28
+ module Refinements
29
+ refine String do
30
+ # Convert self to UpperCamelCase
31
+ #
32
+ # Will also convert '/' to '::' which is useful for converting paths
33
+ # to namespaces.
34
+ #
35
+ # @example
36
+ # "data_mapper".camelize # => "DataMapper"
37
+ # "data_mapper/errors".camelize # => "DataMapper::Errors"
38
+ #
39
+ # @return [String]
40
+ def camelize
41
+ Inflecto.camelize(self)
42
+ end
43
+
44
+ # Convert self to underscored, lowercase string
45
+ #
46
+ # Changes '::' to '/' to convert namespaces to paths.
47
+ #
48
+ # @example
49
+ # "DataMapper".underscore # => "data_mapper"
50
+ # "DataMapper::Errors".underscore # => "data_mapper/errors"
51
+ #
52
+ # @return [String]
53
+ def underscore
54
+ Inflecto.underscore(self)
55
+ end
56
+
57
+ # Convert self underscores to dashes
58
+ #
59
+ # @example
60
+ # "foo_bar".dasherize # => "foo-bar"
61
+ #
62
+ # @return [String]
63
+ def dasherize
64
+ Inflecto.dasherize(self)
65
+ end
66
+
67
+ # Return unscoped constant name
68
+ #
69
+ # @example
70
+ #
71
+ # "DataMapper::Error".demodulize # => "Error"
72
+ # "DataMapper".demodulize # => "DataMapper"
73
+ #
74
+ # @return [String]
75
+ def demodulize
76
+ Inflecto.demodulize(self)
77
+ end
78
+
79
+ # Creates a foreign key name
80
+ #
81
+ # @example
82
+ #
83
+ # "Message".foreign_key => "message_id"
84
+ #
85
+ # @return [String]
86
+ def foreign_key
87
+ Inflecto.foreign_key(self)
88
+ end
89
+
90
+ # Find a constant with the name specified in the argument string
91
+ #
92
+ # The name is assumed to be the one of a top-level constant, constant
93
+ # scope of caller is ignored
94
+ #
95
+ # @example
96
+ #
97
+ # "Module".constantize # => Module
98
+ # "DataMapper::Error".constantize # => DataMapper::Error
99
+ #
100
+ # @return [Class, Module]
101
+ def constantize
102
+ Inflecto.constantize(self)
103
+ end
104
+
105
+ # Convert self word string to plural
106
+ #
107
+ # @example
108
+ #
109
+ # "post".pluralize # => "posts"
110
+ # "octopus".pluralize # => "octopi"
111
+ # "sheep".pluralize # => "sheep"
112
+ # "words".pluralize # => "words"
113
+ # "CamelOctopus".pluralize # => "CamelOctopi"
114
+ #
115
+ # @return [String]
116
+ def pluralize
117
+ Inflecto.pluralize(self)
118
+ end
119
+
120
+ # Convert word to singular
121
+ #
122
+ # @example
123
+ #
124
+ # "posts".singularize # => "post"
125
+ # "octopi".singularize # => "octopus"
126
+ # "sheep".singularize # => "sheep"
127
+ # "word".singularize # => "word"
128
+ # "CamelOctopi".singularize # => "CamelOctopus"
129
+ #
130
+ # @return [String]
131
+ def singularize
132
+ Inflecto.singularize(self)
133
+ end
134
+
135
+ # Humanize string
136
+ #
137
+ # capitalizes the first word and turns underscores into spaces and strips
138
+ # a # trailing "_id", if any.
139
+ # Like +titleize+, this is meant for creating pretty output.
140
+ #
141
+ # @example
142
+ #
143
+ # "employee_salary".humanize # => "Employee salary"
144
+ # "author_id".humanize # => "Author"
145
+ #
146
+ # @return [String]
147
+ def humanize
148
+ Inflecto.humanize(self)
149
+ end
150
+
151
+ # Tableize string
152
+ #
153
+ # Create the name of a table like Rails does for models to table names.
154
+ # This method # uses the +pluralize+ method on the last word in
155
+ # the string.
156
+ #
157
+ # @example
158
+ #
159
+ # "RawScaledScorer".tableize # => "raw_scaled_scorers"
160
+ # "egg_and_ham".tableize # => "egg_and_hams"
161
+ # "fancyCategory".tableize # => "fancy_categories"
162
+ #
163
+ # @return [String]
164
+ def tableize
165
+ Inflecto.tableize(self)
166
+ end
167
+
168
+ # Classify self
169
+ #
170
+ # Create a class name from a plural table name like Rails does for
171
+ # table names to models.
172
+ # Note that this returns a string and not a Class.
173
+ #
174
+ # To convert to an actual class # follow +classify+ with +constantize+.
175
+ #
176
+ # @examples:
177
+ #
178
+ # "egg_and_hams".classify # => "EggAndHam"
179
+ # "posts".classify # => "Post"
180
+ #
181
+ # # Singular names are not handled correctly:
182
+ # "business".classify # => "Busines"
183
+ #
184
+ # @return [String]
185
+ def classify
186
+ Inflecto.classify(self)
187
+ end
188
+ end
189
+
190
+ refine Numeric do
191
+ # Convert a number into an ordinal string
192
+ #
193
+ # @example
194
+ #
195
+ # 1.ordinalize # => "1st"
196
+ # 2.ordinalize # => "2nd"
197
+ # 1002.ordinalize # => "1002nd"
198
+ # 1003.ordinalize # => "1003rd"
199
+ #
200
+ # @return [String]
201
+ def ordinalize
202
+ Inflecto.ordinalize(self)
203
+ end
204
+ end
205
+ end
206
+ end
@@ -0,0 +1,5 @@
1
+ module Inflecto
2
+ module Refinements
3
+ VERSION = '0.1.0'.freeze
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,202 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: inflecto-refinements
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Alex Semyonov
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-10-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: inflecto
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.0.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.0.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.13'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.13'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.10.4
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.10.4
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.44.1
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.44.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.12.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.12.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: codeclimate-test-reporter
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.6.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.6.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: yard
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.9.5
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.9.5
139
+ - !ruby/object:Gem::Dependency
140
+ name: redcarpet
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 3.3.4
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 3.3.4
153
+ description: Refine your Strings & Numbers easy
154
+ email:
155
+ - alex@semyonov.us
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".codeclimate.yml"
161
+ - ".gitignore"
162
+ - ".rspec"
163
+ - ".rubocop.yml"
164
+ - ".simplecov"
165
+ - ".travis.yml"
166
+ - ".yardopts"
167
+ - CODE_OF_CONDUCT.md
168
+ - Gemfile
169
+ - LICENSE.txt
170
+ - README.md
171
+ - Rakefile
172
+ - bin/console
173
+ - bin/setup
174
+ - inflecto-refinements.gemspec
175
+ - lib/inflecto-refinements.rb
176
+ - lib/inflecto/refinements.rb
177
+ - lib/inflecto/refinements/version.rb
178
+ homepage: https://github.com/alsemyonov/inflecto-refinements
179
+ licenses:
180
+ - MIT
181
+ metadata: {}
182
+ post_install_message:
183
+ rdoc_options: []
184
+ require_paths:
185
+ - lib
186
+ required_ruby_version: !ruby/object:Gem::Requirement
187
+ requirements:
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ version: '0'
191
+ required_rubygems_version: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ version: '0'
196
+ requirements: []
197
+ rubyforge_project:
198
+ rubygems_version: 2.6.7
199
+ signing_key:
200
+ specification_version: 4
201
+ summary: String inflections & Numeric#ordinalize based on Inflecto
202
+ test_files: []