gemfile_parser 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 77c7fc9e788f6c09d5648829a47e3c45316f605248acd65db0706acccbe0d582
4
+ data.tar.gz: 2b4b01714b5a1c70fe54637d36e80dc8c827a19b99708e9829f12015f3654e25
5
+ SHA512:
6
+ metadata.gz: 93f0223f5754d383f3dc14ae06d73e1309843cd646f5190a31708ecf59d72881a3f4cdef18fc27ee7e3b4d1e82cdf4779bae0bf24f953e62b3aebc31db366f18
7
+ data.tar.gz: 2a6376195b471724ca2981b17dbd7b66431bd88f11c0f042cdb5b5cf7089c957c4f69206e58277c288209b7d53c8087646fd64d63c4c3c5a7d2ea95fafde8c9f
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,31 @@
1
+ require:
2
+ - rubocop-rake
3
+ - rubocop-rspec
4
+ - rubocop-performance
5
+
6
+ AllCops:
7
+ TargetRubyVersion: 2.7
8
+ NewCops: enable
9
+
10
+ Metrics:
11
+ Enabled: false
12
+
13
+ RSpec/ExampleLength:
14
+ Enabled: false
15
+
16
+ RSpec/ImplicitSubject:
17
+ Enabled: false
18
+
19
+ RSpec/NamedSubject:
20
+ Enabled: false
21
+
22
+ Style/Documentation:
23
+ Enabled: false
24
+
25
+ Style/StringLiterals:
26
+ Enabled: true
27
+ EnforcedStyle: double_quotes
28
+
29
+ Style/StringLiteralsInInterpolation:
30
+ Enabled: true
31
+ EnforcedStyle: double_quotes
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.7.2
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2022-06-03
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at 13041216+ydah@users.noreply.github.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gemspec
6
+
7
+ gem "rake", "~> 13.0"
8
+ gem "rspec", "~> 3.0"
9
+ gem "rubocop"
10
+ gem "rubocop-performance"
11
+ gem "rubocop-rake"
12
+ gem "rubocop-rspec"
data/LICENSE.txt ADDED
@@ -0,0 +1,23 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 ydah
4
+
5
+
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,54 @@
1
+ # GemfileParser
2
+
3
+ A simple Gemfile parser.
4
+
5
+ ## Installation
6
+
7
+ Install the gem and add to the application's Gemfile by executing:
8
+
9
+ $ bundle add gemfile_parser
10
+
11
+ If bundler is not being used to manage dependencies, install the gem by executing:
12
+
13
+ $ gem install gemfile_parser
14
+
15
+ ## Usage
16
+
17
+ ```console
18
+ $ gemfile_parser
19
+ Commands:
20
+ gemfile_parser groups # Obtains the group(s) to which the specified Gem belongs.
21
+ gemfile_parser help [COMMAND] # Describe available commands or one specific command
22
+ ```
23
+
24
+ ### groups
25
+
26
+ ```console
27
+ Usage:
28
+ gemfile_parser groups
29
+
30
+ Options:
31
+ [--ignore], [--no-ignore]
32
+ [--delimiter=DELIMITER]
33
+ # Default: ' '
34
+
35
+ Obtains the group(s) to which the specified Gem belongs.
36
+ ```
37
+
38
+ ## Development
39
+
40
+ 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.
41
+
42
+ 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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
43
+
44
+ ## Contributing
45
+
46
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ydah/gemfile_parser. 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/ydah/gemfile_parser/blob/main/CODE_OF_CONDUCT.md).
47
+
48
+ ## License
49
+
50
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
51
+
52
+ ## Code of Conduct
53
+
54
+ Everyone interacting in the GemfileParser project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/ydah/gemfile_parser/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ $LOAD_PATH.unshift(File.expand_path("../lib", __dir__))
5
+ require "gemfile_parser"
6
+
7
+ GemfileParser::Cli.start
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/gemfile_parser/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "gemfile_parser"
7
+ spec.version = GemfileParser::VERSION
8
+ spec.authors = ["ydah"]
9
+ spec.email = ["t.yudai92@gmail.com"]
10
+
11
+ spec.summary = "A simple Gemfile parser."
12
+ spec.homepage = "https://github.com/ydah/gemfile_parser"
13
+ spec.license = "MIT"
14
+ spec.required_ruby_version = ">= 2.7.0"
15
+
16
+ spec.metadata["homepage_uri"] = spec.homepage
17
+ spec.metadata["source_code_uri"] = spec.homepage
18
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
19
+ spec.metadata["rubygems_mfa_required"] = "true"
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(__dir__) do
24
+ `git ls-files -z`.split("\x0").reject do |f|
25
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
26
+ end
27
+ end
28
+ spec.bindir = "exe"
29
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ["lib"]
31
+
32
+ spec.add_dependency "bundler"
33
+ spec.add_dependency "parser"
34
+ spec.add_dependency "thor"
35
+ end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "parser/ruby32"
4
+
5
+ module GemfileParser
6
+ class AstConverter
7
+ class << self
8
+ # @param [String] file_path
9
+ # @param [String] string
10
+ # @return [Array<String>]
11
+ def call(
12
+ file_path: nil,
13
+ string: nil
14
+ )
15
+ new(
16
+ file_path: file_path,
17
+ string: string
18
+ ).call
19
+ end
20
+ end
21
+
22
+ def initialize(
23
+ file_path:,
24
+ string:
25
+ )
26
+ @file_path = file_path
27
+ @string = string
28
+ end
29
+
30
+ def call
31
+ to_ast
32
+ end
33
+
34
+ private
35
+
36
+ # @return [Parser::AST::Node]
37
+ def to_ast
38
+ if @file_path
39
+ Parser::Ruby32.parse_file(@file_path)
40
+ elsif @string
41
+ Parser::Ruby32.parse("'#{@string}'")
42
+ else
43
+ raise "Could not find file_path or string"
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "thor"
4
+
5
+ module GemfileParser
6
+ # Provide CLI sub-commands.
7
+ class Cli < ::Thor
8
+ desc "groups", "Obtains the group(s) to which the specified Gem belongs."
9
+ option(:ignore, default: false, type: :boolean)
10
+ option(:delimiter, default: "' '", type: :string)
11
+ def groups(gem_name)
12
+ Commands::Groups.call(
13
+ gem_name: gem_name,
14
+ gemfile_path: "Gemfile",
15
+ ignore: options[:ignore],
16
+ delimiter: options[:delimiter]
17
+ )
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,88 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler"
4
+
5
+ module GemfileParser
6
+ module Commands
7
+ class Groups
8
+ class << self
9
+ # @param [String] gem_name
10
+ # @param [String] gemfile_path
11
+ # @param [Boolean] ignore
12
+ # @param [String] delimiter
13
+ def call(
14
+ gem_name:,
15
+ gemfile_path:,
16
+ ignore:,
17
+ delimiter:
18
+ )
19
+ new(
20
+ gem_name: gem_name,
21
+ gemfile_path: gemfile_path,
22
+ ignore: ignore,
23
+ delimiter: delimiter
24
+ ).call
25
+ end
26
+ end
27
+
28
+ def initialize(
29
+ gem_name:,
30
+ gemfile_path:,
31
+ ignore:,
32
+ delimiter:
33
+ )
34
+ @gem_name = gem_name
35
+ @gemfile_path = gemfile_path
36
+ @ignore = ignore
37
+ @delimiter = delimiter
38
+ end
39
+
40
+ def call
41
+ ::Kernel.abort("Specified gem does not exist.") unless gem_node
42
+
43
+ if @ignore
44
+ ::Kernel.puts((bundler_def.groups - include_groups).sort.join(@delimiter))
45
+ else
46
+ ::Kernel.puts(include_groups.sort.join(@delimiter))
47
+ end
48
+ end
49
+
50
+ def include_groups
51
+ case gem_node.root_node.type
52
+ when :block then block_group
53
+ when :send then ::Kernel.abort("Please implement here.") end # TODO: Implement
54
+ end
55
+
56
+ def bundler_def
57
+ Bundler::Definition.build(@gemfile_path, nil, nil)
58
+ end
59
+
60
+ def gem_node
61
+ @gem_node ||= NodeDetector.call(
62
+ src_node: AstConverter.call(file_path: @gemfile_path),
63
+ node: AstConverter.call(string: @gem_name)
64
+ )
65
+ end
66
+
67
+ def block_group
68
+ if group?(group_nodes)
69
+ groups(group_nodes).map { |group_sym| group_sym.children.first }
70
+ else
71
+ ::Kernel.abort("Please implement here.") # TODO: Implement
72
+ end
73
+ end
74
+
75
+ def group_nodes
76
+ @group_nodes ||= gem_node.root_node.children.first.children
77
+ end
78
+
79
+ def group?(node)
80
+ node.select { |n| n == :group }.any?
81
+ end
82
+
83
+ def groups(node)
84
+ node.select { |n| n.instance_of?(Parser::AST::Node) }
85
+ end
86
+ end
87
+ end
88
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module GemfileParser
4
+ module Commands
5
+ autoload :Groups, "gemfile_parser/commands/groups"
6
+ end
7
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ module GemfileParser
4
+ class Node
5
+ def initialize(
6
+ root_node:
7
+ )
8
+ @root_node = root_node
9
+ end
10
+
11
+ def match?(node)
12
+ exist?(@root_node, node)
13
+ end
14
+
15
+ attr_reader :root_node
16
+
17
+ private
18
+
19
+ def exist?(src_node, node)
20
+ return false unless src_node.instance_of?(Parser::AST::Node)
21
+ return true if src_node == node
22
+
23
+ src_node&.children&.each do |child|
24
+ return true if exist?(child, node)
25
+ end
26
+ false
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ module GemfileParser
4
+ class NodeDetector
5
+ class << self
6
+ # @param [String] src_node
7
+ # @param [String] node
8
+ def call(
9
+ src_node:,
10
+ node:
11
+ )
12
+ new(
13
+ src_node: src_node,
14
+ node: node
15
+ ).call
16
+ end
17
+ end
18
+
19
+ def initialize(
20
+ src_node:,
21
+ node:
22
+ )
23
+ @src_node = src_node
24
+ @node = node
25
+ end
26
+
27
+ def call
28
+ detect
29
+ end
30
+
31
+ private
32
+
33
+ def detect
34
+ @src_node.children.each do |child|
35
+ node = Node.new(root_node: child)
36
+ break node if node.match?(@node)
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module GemfileParser
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "gemfile_parser/version"
4
+
5
+ module GemfileParser
6
+ autoload :AstConverter, "gemfile_parser/ast_converter"
7
+ autoload :Cli, "gemfile_parser/cli"
8
+ autoload :Commands, "gemfile_parser/commands"
9
+ autoload :NodeDetector, "gemfile_parser/node_detector"
10
+ autoload :Node, "gemfile_parser/node"
11
+ end
@@ -0,0 +1,4 @@
1
+ module GemfileParser
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,110 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gemfile_parser
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - ydah
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-06-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
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
+ - !ruby/object:Gem::Dependency
28
+ name: parser
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: thor
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description:
56
+ email:
57
+ - t.yudai92@gmail.com
58
+ executables:
59
+ - gemfile_parser
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - ".rspec"
64
+ - ".rubocop.yml"
65
+ - ".ruby-version"
66
+ - CHANGELOG.md
67
+ - CODE_OF_CONDUCT.md
68
+ - Gemfile
69
+ - LICENSE.txt
70
+ - README.md
71
+ - Rakefile
72
+ - exe/gemfile_parser
73
+ - gemfile_parser.gemspec
74
+ - lib/gemfile_parser.rb
75
+ - lib/gemfile_parser/ast_converter.rb
76
+ - lib/gemfile_parser/cli.rb
77
+ - lib/gemfile_parser/commands.rb
78
+ - lib/gemfile_parser/commands/groups.rb
79
+ - lib/gemfile_parser/node.rb
80
+ - lib/gemfile_parser/node_detector.rb
81
+ - lib/gemfile_parser/version.rb
82
+ - sig/gemfile_parser.rbs
83
+ homepage: https://github.com/ydah/gemfile_parser
84
+ licenses:
85
+ - MIT
86
+ metadata:
87
+ homepage_uri: https://github.com/ydah/gemfile_parser
88
+ source_code_uri: https://github.com/ydah/gemfile_parser
89
+ changelog_uri: https://github.com/ydah/gemfile_parser/blob/main/CHANGELOG.md
90
+ rubygems_mfa_required: 'true'
91
+ post_install_message:
92
+ rdoc_options: []
93
+ require_paths:
94
+ - lib
95
+ required_ruby_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ version: 2.7.0
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ requirements: []
106
+ rubygems_version: 3.1.4
107
+ signing_key:
108
+ specification_version: 4
109
+ summary: A simple Gemfile parser.
110
+ test_files: []