graml 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: 3300944f02e571413c34bd6857caac79e4010de669619cdb653e5d9ed5e81090
4
+ data.tar.gz: 2bb1bafd41c85f017b0c842ca2a9105ba6021fe986a5eaa88900b656c79dfa10
5
+ SHA512:
6
+ metadata.gz: '08abf9e098dd6f020786054c84eef714bf8d6d9827a8ef9dcef67ee35076ff2eeceaa7673662e2e51850a4614df8ebc0dbaa8631e867c24e83e79d9cdbf0b92b'
7
+ data.tar.gz: cd2f379ee2b367210ba79f0a7e6467e894f2491d179116e4139e56cd4d7324bc23f82afa0e8ac9c503444df1053bd453b1f717d97d75ef4ea806b68eca097d05
data/.rubocop.yml ADDED
@@ -0,0 +1,67 @@
1
+ AllCops:
2
+ TargetRubyVersion: 3.0
3
+ NewCops: enable
4
+
5
+
6
+ require:
7
+ - rubocop-performance
8
+ - rubocop-minitest
9
+ - rubocop-rake
10
+
11
+ Metrics/ParameterLists:
12
+ Enabled: true
13
+ Exclude:
14
+ - 'lib/psych/exts.rb'
15
+ Metrics/PerceivedComplexity:
16
+ Enabled: true
17
+ Exclude:
18
+ - 'lib/psych/exts.rb'
19
+ Naming/MethodParameterName:
20
+ Enabled: true
21
+ Exclude:
22
+ - 'lib/psych/exts.rb'
23
+ Layout/DotPosition:
24
+ EnforcedStyle: trailing
25
+ Layout/LineLength:
26
+ Enabled: false
27
+ Lint/MissingSuper:
28
+ Enabled: false
29
+ Metrics/AbcSize:
30
+ Enabled: false
31
+ Metrics/BlockLength:
32
+ Enabled: false
33
+ Metrics/ClassLength:
34
+ Enabled: false
35
+ Metrics/CyclomaticComplexity:
36
+ Enabled: false
37
+ Metrics/MethodLength:
38
+ Enabled: false
39
+ Minitest/MultipleAssertions:
40
+ Enabled: false
41
+ Style/ClassAndModuleChildren:
42
+ Enabled: false
43
+ Style/CommentAnnotation:
44
+ Enabled: false
45
+ Style/ConditionalAssignment:
46
+ Enabled: false
47
+ Style/Documentation:
48
+ Enabled: false
49
+ Style/GuardClause:
50
+ Enabled: false
51
+ Style/HashSyntax:
52
+ Enabled: false
53
+ Style/IfUnlessModifier:
54
+ Enabled: false
55
+ Style/MultilineBlockChain:
56
+ Enabled: false
57
+ Style/OrAssignment:
58
+ Enabled: false
59
+ Style/StringLiterals:
60
+ EnforcedStyle: double_quotes
61
+ Style/StringLiteralsInInterpolation:
62
+ Enabled: true
63
+ EnforcedStyle: double_quotes
64
+ Style/SymbolArray:
65
+ Enabled: false
66
+ Style/WordArray:
67
+ Enabled: false
@@ -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 ceritium@gmail.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/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 José Galisteo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # Graml: Grep for YAML files
2
+
3
+ A kind of grep for YAML files. It allows you to search for a key and get the value and the line number where it is located.
4
+
5
+ ## Installation
6
+
7
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
8
+
9
+ Install the gem and add to the application's Gemfile by executing:
10
+
11
+ $ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
12
+
13
+ If bundler is not being used to manage dependencies, install the gem by executing:
14
+
15
+ $ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
16
+
17
+ ## Usage
18
+
19
+ TODO: Write usage instructions here
20
+
21
+ ## Development
22
+
23
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
24
+
25
+ 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).
26
+
27
+ ## Contributing
28
+
29
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ceritium/graml. 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/ceritium/graml/blob/master/CODE_OF_CONDUCT.md).
30
+
31
+ ## License
32
+
33
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
34
+
35
+ ## Code of Conduct
36
+
37
+ Everyone interacting in the Graml project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/ceritium/graml/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "minitest/test_task"
5
+
6
+ Minitest::TestTask.create
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[test rubocop]
data/exe/graml ADDED
@@ -0,0 +1,52 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "graml"
6
+ require "optparse"
7
+
8
+ # If no arguments are given, print help
9
+ ARGV << "-h" if ARGV.empty?
10
+
11
+ options = {}
12
+ OptionParser.new do |opts|
13
+ opts.banner = <<~HEREDOC
14
+ Usage: graml PATH [options]
15
+ Example: graml . -k hello
16
+
17
+ HEREDOC
18
+
19
+ opts.on("-h", "--help", "Prints this help") do
20
+ puts opts
21
+ exit
22
+ end
23
+
24
+ opts.on("-V", "--version", "Show version") do
25
+ puts "Graml version #{Graml::VERSION}"
26
+ exit
27
+ end
28
+
29
+ opts.on("-kSEARCH", "--search-key=SEARCH", "Search string") do |s|
30
+ options[:search] = s
31
+ end
32
+
33
+ opts.on("--no-color", "Disable color output") do
34
+ options[:no_color] = true
35
+ end
36
+
37
+ opts.on("-eEXTENSIONS", "--extensions=EXTENSIONS", "File extensions to search, separated by comma, default: (yaml,yaml)") do |e|
38
+ options[:extensions] = e.split(",")
39
+ end
40
+
41
+ opts.on("--no-skipping", "Do not skip hidden files") do
42
+ options[:skip_hidden] = false
43
+ end
44
+ end.parse!
45
+
46
+ begin
47
+ ARGV.each do |path|
48
+ Graml.search(path, **options)
49
+ end
50
+ rescue Interrupt
51
+ puts "\nExiting..."
52
+ end
@@ -0,0 +1,84 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Graml
4
+ class Finder
5
+ DEFAULT_EXTENSIONS = %w[yml yaml].freeze
6
+
7
+ attr_reader :input, :search, :extensions
8
+
9
+ def initialize(input, search: nil, extensions: nil, no_color: false, skip_hidden: true)
10
+ @input = input
11
+ @search = search
12
+ @extensions = prepare_extensions(extensions || DEFAULT_EXTENSIONS)
13
+ @no_color = no_color
14
+ @skip_hidden = skip_hidden
15
+ end
16
+
17
+ def no_color?
18
+ ENV["TERM"] == "dumb" || ENV["NO_COLOR"] == "true" || @no_color == true
19
+ end
20
+
21
+ def prepare_extensions(extensions)
22
+ extensions.map do |ext|
23
+ ext.start_with?(".") ? ext : ".#{ext}"
24
+ end
25
+ end
26
+
27
+ def call
28
+ TreeIterator.new(input, skip_hidden: @skip_hidden).each do |pathname|
29
+ next unless extensions.include?(pathname.extname)
30
+
31
+ items = FlattenYaml.new(pathname).flatten
32
+ items = filter_by_search(items) if search
33
+
34
+ next unless items.any?
35
+
36
+ line_number_padding = items.map(&:line).max.to_s.length
37
+ puts colorize(pathname.to_s, :light_blue)
38
+
39
+ # TODO: allow sorting by line number or key
40
+ # items.sort_by(&:line).each do |item|
41
+ items.each do |item|
42
+ print_item(item, line_number_padding)
43
+ end
44
+ puts "\n"
45
+
46
+ $stdout.flush
47
+ end
48
+ end
49
+
50
+ def print_item(item, line_number_padding)
51
+ line_number = colorize("#{item.line.to_s.rjust(line_number_padding)}: ", :light_yellow)
52
+ value = if item.value.length.positive?
53
+ colorize("=> #{item.value}", :gray)
54
+ else
55
+ ""
56
+ end
57
+
58
+ puts "#{line_number} #{matched_string(item.key)} #{value}\n"
59
+ end
60
+
61
+ def filter_by_search(items)
62
+ items.select do |item|
63
+ regex.match?(item.key)
64
+ end
65
+ end
66
+
67
+ def colorize(string, color)
68
+ no_color? ? string : string.colorize(color)
69
+ end
70
+
71
+ def matched_string(string)
72
+ return string if search.nil? || no_color?
73
+
74
+ regex.match(string).to_a&.each do |match|
75
+ string = string.gsub(/#{match}/, match.colorize(:light_red))
76
+ end
77
+ string
78
+ end
79
+
80
+ def regex
81
+ @regex ||= Regexp.new(search)
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "../psych/exts"
4
+
5
+ module Graml
6
+ class FlattenYaml
7
+ Item = Struct.new(:key, :value, :line, keyword_init: true)
8
+ def initialize(pathname)
9
+ @pathname = pathname
10
+ end
11
+
12
+ def entries
13
+ flatten
14
+ end
15
+
16
+ def flatten
17
+ with_line_numbers.compact.flat_map do |line|
18
+ flatten_hash(line) if line.is_a?(Hash)
19
+ end.compact
20
+ end
21
+
22
+ def flatten_hash(hash, prefix = nil)
23
+ hash.flat_map do |key, value|
24
+ if value.is_a?(Graml::Data)
25
+ key = [prefix, key].compact.join(".")
26
+ Item.new(key: key, value: truncate(value.value.to_s), line: value.line)
27
+ elsif value.is_a?(Hash)
28
+ flatten_hash(value, [prefix, key].compact.join("."))
29
+ end
30
+ end
31
+ rescue StandardError => e
32
+ warn "Error parsing #{@pathname}, #{e.message}"
33
+ end
34
+
35
+ def with_line_numbers
36
+ parser = Psych::Parser.new(LineNumberHandler.new)
37
+ parser.handler.parser = parser
38
+ parser.parse(File.read(@pathname))
39
+ parser.handler.root.to_ruby
40
+ rescue Psych::SyntaxError
41
+ warn "Invalid YAML #{@pathname}"
42
+
43
+ []
44
+ rescue StandardError => e
45
+ warn "Error parsing #{@pathname}, #{e.message}"
46
+
47
+ []
48
+ end
49
+
50
+ def truncate(string, max = 50)
51
+ string.length > max ? "#{string[0...max]}..." : string
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Graml
4
+ class TreeIterator
5
+ attr_reader :base_path, :skip_hidden
6
+
7
+ def initialize(base_path, skip_hidden: true)
8
+ @base_path = base_path
9
+ @skip_hidden = skip_hidden
10
+ end
11
+
12
+ def each(&block)
13
+ tree(Pathname.new(base_path), &block)
14
+ end
15
+
16
+ def tree(parent, &block)
17
+ if parent.directory?
18
+ return if parent.symlink?
19
+
20
+ parent.children.each do |pathname|
21
+ next if skip_hidden && pathname.basename.to_s.start_with?(".")
22
+
23
+ tree(pathname, &block)
24
+ end
25
+ else
26
+ yield(parent)
27
+ end
28
+ rescue Errno::ELOOP => e
29
+ warn "Error reading #{parent}, #{e.message}"
30
+
31
+ []
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Graml
4
+ VERSION = "0.1.0"
5
+ end
data/lib/graml.rb ADDED
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "colorize"
4
+
5
+ require_relative "graml/version"
6
+ require_relative "graml/tree_iterator"
7
+ require_relative "graml/flatten_yaml"
8
+ require_relative "graml/finder"
9
+
10
+ module Graml
11
+ def self.search(input, **kwargs)
12
+ Finder.new(input, **kwargs).call
13
+ end
14
+ end
data/lib/psych/exts.rb ADDED
@@ -0,0 +1,80 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "psych"
4
+
5
+ # Psych's first step is to parse the Yaml into an AST of Node objects
6
+ # so we open the Node class and add a way to track the line.
7
+ class Psych::Nodes::Node
8
+ attr_accessor :line
9
+ end
10
+
11
+ # We need to provide a handler that will add the line to the node
12
+ # as it is parsed. TreeBuilder is the "usual" handler, that
13
+ # creates the AST.
14
+ class LineNumberHandler < Psych::TreeBuilder
15
+ # The handler needs access to the parser in order to call mark
16
+ attr_accessor :parser
17
+
18
+ # We are only interested in scalars, so here we override
19
+ # the method so that it calls mark and adds the line info
20
+ # to the node.
21
+ def scalar(value, anchor, tag, plain, quoted, style)
22
+ mark = parser.mark
23
+ s = super
24
+ s.line = mark.line
25
+ s
26
+ end
27
+ end
28
+
29
+ Graml::Data = Struct.new(:value, :line, keyword_init: true)
30
+
31
+ # The next step is to convert the AST to a Ruby object.
32
+ # Psych does this using the visitor pattern with the ToRuby
33
+ # visitor. Here we patch ToRuby rather than inherit from it
34
+ # as it makes the last step a little easier.
35
+ class Psych::Visitors::ToRuby
36
+ # This is the method for creating hashes. There may be problems
37
+ # with Yaml mappings that have tags.
38
+ def revive_hash(hash, o)
39
+ o.children.each_slice(2) do |k, v|
40
+ key = accept(k)
41
+ val = accept(v)
42
+
43
+ # This is the important bit. If the value is a scalar,
44
+ # we replace it with the desired hash.
45
+ if v.is_a? ::Psych::Nodes::Scalar
46
+ val = Graml::Data.new(value: val, line: v.line) # line is 0 based, so + 1
47
+ end
48
+
49
+ # Code dealing with << (for merging hashes) omitted.
50
+ # If you need this you will probably need to copy it
51
+ # in here. See the method:
52
+ # https://github.com/tenderlove/psych/blob/v2.0.13/lib/psych/visitors/to_ruby.rb#L333-L365
53
+ if key == "<<" && k.tag != "tag:yaml.org,2002:str"
54
+ case v
55
+ when Psych::Nodes::Alias, Psych::Nodes::Mapping
56
+ begin
57
+ hash.merge! val
58
+ rescue TypeError
59
+ hash[key] = val
60
+ end
61
+ when Psych::Nodes::Sequence
62
+ begin
63
+ h = {}
64
+ val.reverse_each do |value|
65
+ h.merge! value
66
+ end
67
+ hash.merge! h
68
+ rescue TypeError
69
+ hash[key] = val
70
+ end
71
+ else
72
+ hash[key] = val
73
+ end
74
+ else
75
+ hash[key] = val
76
+ end
77
+ end
78
+ hash
79
+ end
80
+ end
metadata ADDED
@@ -0,0 +1,74 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: graml
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - José Galisteo
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-03-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: colorize
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: A kind of grep for YAML files. It allows you to search for a key and
28
+ get the value and the line number where it is located.
29
+ email:
30
+ - ceritium@gmail.com
31
+ executables:
32
+ - graml
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - ".rubocop.yml"
37
+ - CODE_OF_CONDUCT.md
38
+ - LICENSE.txt
39
+ - README.md
40
+ - Rakefile
41
+ - exe/graml
42
+ - lib/graml.rb
43
+ - lib/graml/finder.rb
44
+ - lib/graml/flatten_yaml.rb
45
+ - lib/graml/tree_iterator.rb
46
+ - lib/graml/version.rb
47
+ - lib/psych/exts.rb
48
+ homepage: https://github.com/ceritium/graml
49
+ licenses:
50
+ - MIT
51
+ metadata:
52
+ homepage_uri: https://github.com/ceritium/graml
53
+ source_code_uri: https://github.com/ceritium/graml
54
+ rubygems_mfa_required: 'true'
55
+ post_install_message:
56
+ rdoc_options: []
57
+ require_paths:
58
+ - lib
59
+ required_ruby_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 3.0.0
64
+ required_rubygems_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ requirements: []
70
+ rubygems_version: 3.5.6
71
+ signing_key:
72
+ specification_version: 4
73
+ summary: Grep for YAML files
74
+ test_files: []