rubocop-inclusivity 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/ci.yml +19 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.rubocop.yml +19 -0
- data/.travis.yml +6 -0
- data/.versionrc.json +9 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +100 -0
- data/LICENSE.txt +21 -0
- data/README.md +60 -0
- data/Rakefile +30 -0
- data/VERSION +1 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/config/default.yml +19 -0
- data/lib/rubocop-inclusivity.rb +11 -0
- data/lib/rubocop/cop/inclusivity/race.rb +58 -0
- data/lib/rubocop/cop/inclusivity_cops.rb +3 -0
- data/lib/rubocop/inclusivity.rb +13 -0
- data/lib/rubocop/inclusivity/inject.rb +21 -0
- data/lib/rubocop/inclusivity/version.rb +5 -0
- data/package-lock.json +2281 -0
- data/package.json +5 -0
- data/rubocop-inclusivity.gemspec +30 -0
- metadata +87 -0
data/package.json
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
require_relative "lib/rubocop/inclusivity/version"
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = "rubocop-inclusivity"
|
5
|
+
spec.version = RuboCop::Inclusivity::VERSION
|
6
|
+
spec.authors = ["Chris Fung"]
|
7
|
+
spec.email = ["aergonaut@gmail.com"]
|
8
|
+
|
9
|
+
spec.summary = "A RuboCop extension to promote inclusive language"
|
10
|
+
spec.homepage = "https://github.com/aergonaut/rubocop-inclusivity"
|
11
|
+
spec.license = "MIT"
|
12
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
13
|
+
|
14
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
15
|
+
|
16
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
17
|
+
spec.metadata["source_code_uri"] = "https://github.com/aergonaut/rubocop-inclusivity"
|
18
|
+
spec.metadata["changelog_uri"] = "https://github.com/aergonaut/rubocop-inclusivity/blob/master/CHANGELOG.md"
|
19
|
+
|
20
|
+
# Specify which files should be added to the gem when it is released.
|
21
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
22
|
+
spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
|
23
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
24
|
+
end
|
25
|
+
spec.bindir = "exe"
|
26
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
|
+
spec.require_paths = ["lib"]
|
28
|
+
|
29
|
+
spec.add_runtime_dependency "rubocop"
|
30
|
+
end
|
metadata
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubocop-inclusivity
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chris Fung
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-06-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rubocop
|
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
|
+
description:
|
28
|
+
email:
|
29
|
+
- aergonaut@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".github/workflows/ci.yml"
|
35
|
+
- ".gitignore"
|
36
|
+
- ".rspec"
|
37
|
+
- ".rubocop.yml"
|
38
|
+
- ".travis.yml"
|
39
|
+
- ".versionrc.json"
|
40
|
+
- CHANGELOG.md
|
41
|
+
- CODE_OF_CONDUCT.md
|
42
|
+
- Gemfile
|
43
|
+
- Gemfile.lock
|
44
|
+
- LICENSE.txt
|
45
|
+
- README.md
|
46
|
+
- Rakefile
|
47
|
+
- VERSION
|
48
|
+
- bin/console
|
49
|
+
- bin/setup
|
50
|
+
- config/default.yml
|
51
|
+
- lib/rubocop-inclusivity.rb
|
52
|
+
- lib/rubocop/cop/inclusivity/race.rb
|
53
|
+
- lib/rubocop/cop/inclusivity_cops.rb
|
54
|
+
- lib/rubocop/inclusivity.rb
|
55
|
+
- lib/rubocop/inclusivity/inject.rb
|
56
|
+
- lib/rubocop/inclusivity/version.rb
|
57
|
+
- package-lock.json
|
58
|
+
- package.json
|
59
|
+
- rubocop-inclusivity.gemspec
|
60
|
+
homepage: https://github.com/aergonaut/rubocop-inclusivity
|
61
|
+
licenses:
|
62
|
+
- MIT
|
63
|
+
metadata:
|
64
|
+
allowed_push_host: https://rubygems.org
|
65
|
+
homepage_uri: https://github.com/aergonaut/rubocop-inclusivity
|
66
|
+
source_code_uri: https://github.com/aergonaut/rubocop-inclusivity
|
67
|
+
changelog_uri: https://github.com/aergonaut/rubocop-inclusivity/blob/master/CHANGELOG.md
|
68
|
+
post_install_message:
|
69
|
+
rdoc_options: []
|
70
|
+
require_paths:
|
71
|
+
- lib
|
72
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.3.0
|
77
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
requirements: []
|
83
|
+
rubygems_version: 3.1.3
|
84
|
+
signing_key:
|
85
|
+
specification_version: 4
|
86
|
+
summary: A RuboCop extension to promote inclusive language
|
87
|
+
test_files: []
|