rubocop-restrictenv 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -2
- data/lib/rubocop/restrict_env/version.rb +1 -1
- data/rubocop-restrictenv.gemspec +41 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8c6f35275a2cf753f602dc2b95d6de28641d93aa1d57a750037f96dd30d4775
|
4
|
+
data.tar.gz: 99839ed6f14c262b4c235de9003b0adec8078cc68c60f7b0def32e07022c00a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ae38d21f715474bbe89e9d5629b3d33ef5e50bfad7a105f8baeef6c8e3b23466654642bcce58963b31830ce981de94e7f341c8ec0a2ae9d5dd23707d42cd680
|
7
|
+
data.tar.gz: 0d8a0811037f955c2748790dc973880f1fb22ce1204d3f5b56a4621c39d971677ac9bf2c232b4e9e5e02df0c11ab498ce599ad7d4fcde22189e8ba4456693371
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubocop-restrictenv (0.1.
|
5
|
-
rubocop
|
4
|
+
rubocop-restrictenv (0.1.1)
|
5
|
+
rubocop (~> 1.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -54,6 +54,7 @@ GEM
|
|
54
54
|
|
55
55
|
PLATFORMS
|
56
56
|
arm64-darwin-21
|
57
|
+
x86_64-linux
|
57
58
|
|
58
59
|
DEPENDENCIES
|
59
60
|
rake (~> 13.0)
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'lib/rubocop/restrict_env/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'rubocop-restrictenv'
|
7
|
+
spec.version = RuboCop::RestrictEnv::VERSION
|
8
|
+
spec.authors = ['Thomas van der Pol']
|
9
|
+
spec.email = ['tvdp@hey.com']
|
10
|
+
|
11
|
+
spec.summary = 'A rubocop cop that polices access to ENV'
|
12
|
+
spec.homepage = 'https://github.com/tvanderpol/rubocop-restrictenv'
|
13
|
+
spec.license = 'MIT'
|
14
|
+
spec.required_ruby_version = '>= 2.6.0'
|
15
|
+
|
16
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
17
|
+
|
18
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
19
|
+
spec.metadata['source_code_uri'] = 'https://github.com/tvanderpol/rubocop-restrictenv'
|
20
|
+
spec.metadata['changelog_uri'] = 'https://github.com/tvanderpol/rubocop-restrictenv/blob/main/CODE_OF_CONDUCT.md'
|
21
|
+
|
22
|
+
# Specify which files should be added to the gem when it is released.
|
23
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
24
|
+
spec.files = Dir.chdir(__dir__) do
|
25
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
26
|
+
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
27
|
+
end
|
28
|
+
end
|
29
|
+
spec.bindir = 'exe'
|
30
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
31
|
+
spec.require_paths = ['lib']
|
32
|
+
|
33
|
+
# Uncomment to register a new dependency of your gem
|
34
|
+
# spec.add_dependency "example-gem", "~> 1.0"
|
35
|
+
|
36
|
+
# For more information and examples about making a new gem, check out our
|
37
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
38
|
+
|
39
|
+
spec.add_runtime_dependency 'rubocop', '~> 1.0'
|
40
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
41
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-restrictenv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas van der Pol
|
@@ -47,6 +47,7 @@ files:
|
|
47
47
|
- lib/rubocop/restrict_env.rb
|
48
48
|
- lib/rubocop/restrict_env/inject.rb
|
49
49
|
- lib/rubocop/restrict_env/version.rb
|
50
|
+
- rubocop-restrictenv.gemspec
|
50
51
|
- sig/rubocop/restrictenv.rbs
|
51
52
|
homepage: https://github.com/tvanderpol/rubocop-restrictenv
|
52
53
|
licenses:
|