rubocop-restrictenv 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43c5701ff9931b975b6fe24f44f5e07029036cfb5bbd5b66a7587cb8722de8f4
4
- data.tar.gz: 575464e87f6ca6376926eae61b8b8f3eae757aac86bcd2f208c2d1d70d3eb5d9
3
+ metadata.gz: e8c6f35275a2cf753f602dc2b95d6de28641d93aa1d57a750037f96dd30d4775
4
+ data.tar.gz: 99839ed6f14c262b4c235de9003b0adec8078cc68c60f7b0def32e07022c00a2
5
5
  SHA512:
6
- metadata.gz: 7cf93bed7fb2178bf42bab3bc3106f169a400f115d626d3e6e294840a74609215355eed2eeaa6f03f91a77ebd37d997b4996b6fe21e80774febc2c13e0deefc0
7
- data.tar.gz: dad32408f896c761c804553bcf644f13ff985f4421fd3d6515fbc1fbf82ec05b683460e2d0ff4b94f3c777aa3c6037d62adf8ed610850f9d6e74012dddcd214d
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.0)
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)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module RestrictEnv
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
7
7
  end
@@ -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.0
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: