gemfilelint 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/Gemfile.lock +4 -4
- data/README.md +7 -7
- data/gemfilelint.gemspec +13 -3
- data/lib/gemfilelint/version.rb +1 -1
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e03a3cedd6e441eaac83cb8be248c82699f68be535669e3ed925b2ab83fa144
|
4
|
+
data.tar.gz: 3e0e71db808528a92f656f591dd1b30b0747aeef6940b1186d5da91797d39f46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8365e5b2a5f658c943ae05cc4a2213f97a4a45617b23217800bdabcae4f311fc6d28eff587d9496ddb6c39101401fe1eb22230dde905599b0373a1481f90a98a
|
7
|
+
data.tar.gz: c987aa6ba449fed1be499705e38b39f86c8bca6d8a5a629f89c514267a86a97b4b6631ea6c6fda9d11997a848beded024afbe14338b113e6e12f6f8c97f4a68c
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [0.4.1] - 2021-11-17
|
10
|
+
|
11
|
+
### Changed
|
12
|
+
|
13
|
+
- Require MFA for release.
|
14
|
+
|
9
15
|
## [0.4.0] - 2021-09-15
|
10
16
|
|
11
17
|
### Added
|
@@ -42,7 +48,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
|
|
42
48
|
|
43
49
|
- 🎉 Initial release.
|
44
50
|
|
45
|
-
[unreleased]: https://github.com/kddnewton/gemfilelint/compare/v0.4.
|
51
|
+
[unreleased]: https://github.com/kddnewton/gemfilelint/compare/v0.4.1...HEAD
|
52
|
+
[0.4.1]: https://github.com/kddnewton/gemfilelint/compare/v0.4.0...v0.4.1
|
46
53
|
[0.4.0]: https://github.com/kddnewton/gemfilelint/compare/v0.3.0...v0.4.0
|
47
54
|
[0.3.0]: https://github.com/kddnewton/gemfilelint/compare/v0.2.2...v0.3.0
|
48
55
|
[0.2.2]: https://github.com/kddnewton/gemfilelint/compare/v0.2.1...v0.2.2
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gemfilelint (0.4.
|
4
|
+
gemfilelint (0.4.1)
|
5
5
|
bundler
|
6
6
|
|
7
7
|
GEM
|
@@ -16,16 +16,16 @@ GEM
|
|
16
16
|
rake (13.0.6)
|
17
17
|
regexp_parser (2.1.1)
|
18
18
|
rexml (3.2.5)
|
19
|
-
rubocop (1.
|
19
|
+
rubocop (1.23.0)
|
20
20
|
parallel (~> 1.10)
|
21
21
|
parser (>= 3.0.0.0)
|
22
22
|
rainbow (>= 2.2.2, < 4.0)
|
23
23
|
regexp_parser (>= 1.8, < 3.0)
|
24
24
|
rexml
|
25
|
-
rubocop-ast (>= 1.
|
25
|
+
rubocop-ast (>= 1.12.0, < 2.0)
|
26
26
|
ruby-progressbar (~> 1.7)
|
27
27
|
unicode-display_width (>= 1.4.0, < 3.0)
|
28
|
-
rubocop-ast (1.
|
28
|
+
rubocop-ast (1.13.0)
|
29
29
|
parser (>= 3.0.1.1)
|
30
30
|
ruby-progressbar (1.11.0)
|
31
31
|
unicode-display_width (2.1.0)
|
data/README.md
CHANGED
@@ -6,11 +6,11 @@
|
|
6
6
|
Lint your Gemfile! This will find common spelling mistakes in gems and remote sources so that you don't accidentally download code from places that you don't mean to. For example, if you have a Gemfile with the contents:
|
7
7
|
|
8
8
|
```ruby
|
9
|
-
source
|
9
|
+
source "https://rubyems.org"
|
10
10
|
|
11
|
-
gem
|
12
|
-
gem
|
13
|
-
gem
|
11
|
+
gem "rails"
|
12
|
+
gem "puma"
|
13
|
+
gem "pg"
|
14
14
|
```
|
15
15
|
|
16
16
|
You might not be able to see the immediate issue, but there's a typo in your source declaration. While this will generally be harmless, as it will likely error, it's also possible that someone could register that domain and provide gems with modified content to execute their own code on your production system.
|
@@ -22,7 +22,7 @@ You might not be able to see the immediate issue, but there's a typo in your sou
|
|
22
22
|
Add this line to your application's Gemfile:
|
23
23
|
|
24
24
|
```ruby
|
25
|
-
gem
|
25
|
+
gem "gemfilelint"
|
26
26
|
```
|
27
27
|
|
28
28
|
And then execute:
|
@@ -63,7 +63,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
63
63
|
|
64
64
|
## Contributing
|
65
65
|
|
66
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/kddnewton/gemfilelint. 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/kddnewton/gemfilelint/blob/
|
66
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/kddnewton/gemfilelint. 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/kddnewton/gemfilelint/blob/main/CODE_OF_CONDUCT.md).
|
67
67
|
|
68
68
|
## License
|
69
69
|
|
@@ -71,4 +71,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
71
71
|
|
72
72
|
## Code of Conduct
|
73
73
|
|
74
|
-
Everyone interacting in the Gemfilelint project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/kddnewton/gemfilelint/blob/
|
74
|
+
Everyone interacting in the Gemfilelint project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/kddnewton/gemfilelint/blob/main/CODE_OF_CONDUCT.md).
|
data/gemfilelint.gemspec
CHANGED
@@ -2,17 +2,27 @@
|
|
2
2
|
|
3
3
|
require_relative "lib/gemfilelint/version"
|
4
4
|
|
5
|
+
version = Gemfilelint::VERSION
|
6
|
+
repository = "https://github.com/kddnewton/gemfilelint"
|
7
|
+
|
5
8
|
Gem::Specification.new do |spec|
|
6
9
|
spec.name = "gemfilelint"
|
7
|
-
spec.version =
|
10
|
+
spec.version = version
|
8
11
|
spec.authors = ["Kevin Newton"]
|
9
12
|
spec.email = ["kddnewton@gmail.com"]
|
10
13
|
|
11
14
|
spec.summary = "Lint your Gemfile!"
|
12
|
-
spec.homepage =
|
15
|
+
spec.homepage = repository
|
13
16
|
spec.license = "MIT"
|
14
17
|
|
15
|
-
spec.
|
18
|
+
spec.metadata = {
|
19
|
+
"bug_tracker_uri" => "#{repository}/issues",
|
20
|
+
"changelog_uri" => "#{repository}/blob/v#{version}/CHANGELOG.md",
|
21
|
+
"source_code_uri" => repository,
|
22
|
+
"rubygems_mfa_required" => "true"
|
23
|
+
}
|
24
|
+
|
25
|
+
spec.files = Dir.chdir(__dir__) do
|
16
26
|
`git ls-files -z`.split("\x0").reject do |f|
|
17
27
|
f.match(%r{^(test|spec|features)/})
|
18
28
|
end
|
data/lib/gemfilelint/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemfilelint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Newton
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -96,7 +96,11 @@ files:
|
|
96
96
|
homepage: https://github.com/kddnewton/gemfilelint
|
97
97
|
licenses:
|
98
98
|
- MIT
|
99
|
-
metadata:
|
99
|
+
metadata:
|
100
|
+
bug_tracker_uri: https://github.com/kddnewton/gemfilelint/issues
|
101
|
+
changelog_uri: https://github.com/kddnewton/gemfilelint/blob/v0.4.1/CHANGELOG.md
|
102
|
+
source_code_uri: https://github.com/kddnewton/gemfilelint
|
103
|
+
rubygems_mfa_required: 'true'
|
100
104
|
post_install_message:
|
101
105
|
rdoc_options: []
|
102
106
|
require_paths:
|