tag_ripper 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3f55c43ce02431ffc69bd9284ec5875678d743e3c14544f3ebb0710e440921b8
4
+ data.tar.gz: 10b1baa79118d897442fd87e49ee7da2b9259172802246f22e0ea5a3b3855d72
5
+ SHA512:
6
+ metadata.gz: ab28505f7eb7784a4a90d7613960263251b43f9d8dcbca34570c360828f7c651e3b60d5e518b0d98e6722e0fc214a53e27f8280dfe3713962474c5914074fb5c
7
+ data.tar.gz: c38bd4b3c85a1a6b02f7fe57ab61e69ea729f031d9f6a04fd40a85e71e978c820d7577d63a060079f3309a704452b779fa994d7fca6cc09d547dbcbdbb8622af
data/.env.test ADDED
@@ -0,0 +1 @@
1
+ TAG_RIPPER_DEBUG=true
data/.rubocop.yml ADDED
@@ -0,0 +1,33 @@
1
+ inherit_from: https://raw.githubusercontent.com/Bodacious/style-guides/refs/heads/main/.rubocop.yml
2
+
3
+ plugins:
4
+ - rubocop-minitest
5
+ - rubocop-rake
6
+
7
+ AllCops:
8
+ TargetRubyVersion: 3.1
9
+ NewCops: enable
10
+ SuggestExtensions: true
11
+
12
+ Metrics/AbcSize:
13
+ Exclude:
14
+ - test/**/*
15
+
16
+ Metrics/ClassLength:
17
+ Enabled: false
18
+
19
+ Metrics/MethodLength:
20
+ Enabled: false
21
+
22
+ Style/StringLiterals:
23
+ EnforcedStyle: double_quotes
24
+
25
+ Style/IfUnlessModifier:
26
+ Enabled: false
27
+
28
+ Style/TrivialAccessors:
29
+ Enabled: false
30
+
31
+ Style/StringLiteralsInInterpolation:
32
+ EnforcedStyle: double_quotes
33
+
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.4.2
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2025-03-22
4
+
5
+ - Initial release
@@ -0,0 +1,133 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ [tag-ripper{at}gavinmorrice{dot}com](mailto:tag-ripper@gavinmorrice.com).
64
+
65
+ All complaints will be reviewed and investigated promptly and fairly.
66
+
67
+ All community leaders are obligated to respect the privacy and security of the
68
+ reporter of any incident.
69
+
70
+ ## Enforcement Guidelines
71
+
72
+ Community leaders will follow these Community Impact Guidelines in determining
73
+ the consequences for any action they deem in violation of this Code of Conduct:
74
+
75
+ ### 1. Correction
76
+
77
+ **Community Impact**: Use of inappropriate language or other behavior deemed
78
+ unprofessional or unwelcome in the community.
79
+
80
+ **Consequence**: A private, written warning from community leaders, providing
81
+ clarity around the nature of the violation and an explanation of why the
82
+ behavior was inappropriate. A public apology may be requested.
83
+
84
+ ### 2. Warning
85
+
86
+ **Community Impact**: A violation through a single incident or series of
87
+ actions.
88
+
89
+ **Consequence**: A warning with consequences for continued behavior. No
90
+ interaction with the people involved, including unsolicited interaction with
91
+ those enforcing the Code of Conduct, for a specified period of time. This
92
+ includes avoiding interactions in community spaces as well as external channels
93
+ like social media. Violating these terms may lead to a temporary or permanent
94
+ ban.
95
+
96
+ ### 3. Temporary Ban
97
+
98
+ **Community Impact**: A serious violation of community standards, including
99
+ sustained inappropriate behavior.
100
+
101
+ **Consequence**: A temporary ban from any sort of interaction or public
102
+ communication with the community for a specified period of time. No public or
103
+ private interaction with the people involved, including unsolicited interaction
104
+ with those enforcing the Code of Conduct, is allowed during this period.
105
+ Violating these terms may lead to a permanent ban.
106
+
107
+ ### 4. Permanent Ban
108
+
109
+ **Community Impact**: Demonstrating a pattern of violation of community
110
+ standards, including sustained inappropriate behavior, harassment of an
111
+ individual, or aggression toward or disparagement of classes of individuals.
112
+
113
+ **Consequence**: A permanent ban from any sort of public interaction within the
114
+ community.
115
+
116
+ ## Attribution
117
+
118
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
119
+ version 2.1, available at
120
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
121
+
122
+ Community Impact Guidelines were inspired by
123
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
124
+
125
+ For answers to common questions about this code of conduct, see the FAQ at
126
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
127
+ [https://www.contributor-covenant.org/translations][translations].
128
+
129
+ [homepage]: https://www.contributor-covenant.org
130
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
131
+ [Mozilla CoC]: https://github.com/mozilla/diversity
132
+ [FAQ]: https://www.contributor-covenant.org/faq
133
+ [translations]: https://www.contributor-covenant.org/translations
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Gavin Morrice
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,62 @@
1
+ # Tag::Ripper
2
+
3
+
4
+ [![Ruby](https://github.com/Bodacious/tag-ripper/actions/workflows/main.yml/badge.svg)](https://github.com/Bodacious/tag-ripper/actions/workflows/main.yml)
5
+
6
+ Lets you annotate Ruby code with tags that can be parsed and collected in code.
7
+
8
+ Example:
9
+
10
+ ```ruby
11
+ # @domain: Auth
12
+ class User
13
+ # @warning: untested
14
+ def some_method_that_isnt_tested
15
+ # ...
16
+ end
17
+ end
18
+
19
+ TagRipper.new(File.read('user.rb')).taggables
20
+ # => [
21
+ # <id=22040, @name=some_method_that_isnt_tested, tags={"warning" => #<Set: {"untested"}>},parent=#<TagRipper::TaggableEntity:0x00000001203bf468>>,
22
+ # <id=22224, @name=User, tags={"domain" => #<Set: {"Auth"}>},parent=>nil
23
+ # ]
24
+ ```
25
+
26
+ ## Installation
27
+
28
+ TODO: Replace `tag_ripper` 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.
29
+
30
+ Install the gem and add to the application's Gemfile by executing:
31
+
32
+ ```bash
33
+ bundle add tag_ripper
34
+ ```
35
+
36
+ If bundler is not being used to manage dependencies, install the gem by executing:
37
+
38
+ ```bash
39
+ gem install tag_ripper
40
+ ```
41
+
42
+ ## Usage
43
+
44
+ TODO: Write usage instructions here
45
+
46
+ ## Development
47
+
48
+ 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.
49
+
50
+ 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).
51
+
52
+ ## Contributing
53
+
54
+ Bug reports and pull requests are welcome on GitHub at https://github.com/bodacious/tag-ripper. 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/bodacious/tag-ripper/blob/master/CODE_OF_CONDUCT.md).
55
+
56
+ ## License
57
+
58
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
59
+
60
+ ## Code of Conduct
61
+
62
+ Everyone interacting in the Tag::Ripper project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/bodacious/tag-ripper/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rake/testtask"
5
+
6
+ Rake::TestTask.new(:test) do |t|
7
+ t.libs << "test"
8
+ t.libs << "lib"
9
+ t.test_files = FileList["test/**/*_test.rb"]
10
+ end
11
+
12
+ require "rubocop/rake_task"
13
+
14
+ RuboCop::RakeTask.new
15
+
16
+ task default: %i[test rubocop]
@@ -0,0 +1,28 @@
1
+ module TagRipper
2
+ class Configuration
3
+ def initialize
4
+ @only_tags = Set.new
5
+ @except_tags = Set.new
6
+ end
7
+
8
+ def eval_config(&block)
9
+ block.call(self)
10
+ end
11
+
12
+ def only_tags
13
+ @only_tags.dup
14
+ end
15
+
16
+ def only_tags=(tags)
17
+ @only_tags = tags.to_set
18
+ end
19
+
20
+ def except_tags
21
+ @except_tags.dup
22
+ end
23
+
24
+ def except_tags=(tags)
25
+ @except_tags = tags.to_set
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,84 @@
1
+ module TagRipper
2
+ class LexicalToken
3
+ require "forwardable"
4
+ extend Forwardable
5
+
6
+ TAG_REGEX = /#\s@(?<tag_name>[\w_-]+):\s(?<tag_value>.+)/
7
+ END_TOKEN = "end".freeze
8
+
9
+ class Location
10
+ attr_reader :col
11
+ attr_reader :line
12
+
13
+ def initialize(col, line)
14
+ @col = col
15
+ @line = line
16
+ freeze
17
+ end
18
+ end
19
+
20
+ private_constant :Location
21
+
22
+ def_delegators :location, :col, :line
23
+
24
+ attr_reader :location
25
+
26
+ attr_reader :type
27
+
28
+ def initialize((col, line), type, token)
29
+ @location = Location.new(col, line)
30
+ @type = type.to_sym
31
+ @token = token.to_s
32
+ end
33
+
34
+ def to_s
35
+ token
36
+ end
37
+
38
+ alias event type
39
+
40
+ def token
41
+ @token.dup
42
+ end
43
+
44
+ def comment?
45
+ type == :on_comment
46
+ end
47
+
48
+ def tag_comment?
49
+ comment? && token.match?(TAG_REGEX)
50
+ end
51
+
52
+ def keyword?
53
+ type == :on_kw
54
+ end
55
+
56
+ def end?
57
+ keyword? && token == END_TOKEN
58
+ end
59
+
60
+ def tag_name
61
+ return nil unless tag_comment?
62
+
63
+ token.match(TAG_REGEX)[:tag_name]
64
+ end
65
+
66
+ def tag_value
67
+ return nil unless tag_comment?
68
+
69
+ token.match(TAG_REGEX)[:tag_value]
70
+ end
71
+
72
+ def on_kw_type
73
+ return nil unless keyword?
74
+
75
+ case token
76
+ when "const" then :class
77
+ when "module" then :module
78
+ when "def" then :instance_method
79
+ else
80
+ :unknown
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,36 @@
1
+ module TagRipper
2
+ class Ripper
3
+ # Ruby's Ripper lib
4
+ # https://ruby-doc.org/stdlib-2.5.1/libdoc/ripper/rdoc/Ripper.html
5
+ require "ripper"
6
+
7
+ def initialize(code_string)
8
+ tokens = ::Ripper.lex(code_string)
9
+ @lexical_tokens = tokens.map do |(col, line), type, token, _|
10
+ LexicalToken.new([col, line], type, token)
11
+ end
12
+ end
13
+
14
+ def taggables
15
+ @taggables ||= process_taggables
16
+ end
17
+
18
+ def taggable_modules
19
+ taggables.select(&:module?)
20
+ end
21
+
22
+ protected
23
+
24
+ def process_taggables
25
+ return_taggables = []
26
+ @lexical_tokens.inject(TaggableEntity.new) do |current_taggable, lex|
27
+ current_taggable = TaggableEntity.new if current_taggable.nil?
28
+
29
+ next_taggable = current_taggable.send_event(lex.event, lex)
30
+ return_taggables << current_taggable if current_taggable.closed?
31
+ next_taggable
32
+ end
33
+ return_taggables
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,214 @@
1
+ module TagRipper
2
+ # Follows the state changes of a taggable entity (class, model, or method)
3
+ # as it responds to various Lexical tokens.
4
+ # The idea here is that this class will mutate on each new 'event', where
5
+ # and event is the presence of a new lexical token.
6
+ #
7
+ # TaggableEntities begin in a pre-open state, and become open when their
8
+ # lexical scope opens up. When a new lexical nesting is detected, a child
9
+ # entity is spawned. This creates a sort of recursion that allows a taggable
10
+ # entity to be flexible to any amount of code nesting.
11
+ class TaggableEntity
12
+ class IllegalStateTransitionError < StandardError
13
+ def initialize(from:, to:)
14
+ super("Cannot transition from #{from} to #{to}")
15
+ end
16
+ end
17
+
18
+ def initialize(name: nil, parent: nil)
19
+ @name = name
20
+ @tags = Hash.new { |hash, key| hash[key] = Set.new }
21
+ @parent = parent
22
+ @type = nil
23
+ @status = :pending
24
+ end
25
+
26
+ def send_event(event_name, lex)
27
+ puts "send_event: #{event_name} - #{lex} #(#{@status})"
28
+ if respond_to?(event_name, true)
29
+ send(event_name, lex)
30
+ else
31
+ self
32
+ end
33
+ end
34
+
35
+ def module?
36
+ (type == :module) | (type == :class)
37
+ end
38
+
39
+ def type
40
+ @type
41
+ end
42
+ def fqn
43
+ return nil unless named?
44
+ return name if fqn_names.size == 1
45
+
46
+ if type == :instance_method
47
+ fqn_names[0..-2].join("::") + "##{name}"
48
+ else
49
+ fqn_names.join("::")
50
+ end
51
+ end
52
+ alias fully_qualified_name fqn
53
+
54
+ def pending? = @status == :pending
55
+
56
+ def tagged? = @status == :tagged
57
+
58
+ def awaiting_name? = @status == :awaiting_name
59
+
60
+ OPENED_STATUSES = %i[tagged awaiting_name named].freeze
61
+
62
+ def open?
63
+ OPENED_STATUSES.include?(@status)
64
+ end
65
+
66
+ def tag!(tag_name, tag_value)
67
+ unless may_tag?
68
+ raise IllegalStateTransitionError.new(from: @status, to: :tagged)
69
+ end
70
+
71
+ @status = :tagged
72
+
73
+ add_tag(tag_name, tag_value)
74
+ end
75
+
76
+ def await_name!
77
+ unless may_await_name?
78
+ raise IllegalStateTransitionError.new(from: @status, to: :awaiting_name)
79
+ end
80
+
81
+ @status = :awaiting_name
82
+ end
83
+
84
+ def name=(name)
85
+ unless may_name?
86
+ raise IllegalStateTransitionError.new(from: @status, to: :named)
87
+ end
88
+
89
+ @name = name.to_s
90
+ @status = :named
91
+ end
92
+
93
+ def close!
94
+ @open = false
95
+ @status = :closed
96
+ freeze
97
+ end
98
+
99
+ def closed?
100
+ @status == :closed
101
+ end
102
+
103
+ def may_tag?
104
+ pending? | tagged?
105
+ end
106
+
107
+ def may_await_name?
108
+ pending? | tagged?
109
+ end
110
+
111
+ def may_name?
112
+ awaiting_name?
113
+ end
114
+
115
+ def may_close?
116
+ named?
117
+ end
118
+
119
+ def inspect
120
+ "<id=#{id},@name=#{@name},tags=#{@tags},parent=#{@parent}>"
121
+ end
122
+
123
+ def tags
124
+ @tags.dup
125
+ end
126
+
127
+ def name
128
+ @name.to_s.dup
129
+ end
130
+
131
+ def type=(type)
132
+ @type = type.to_sym
133
+ end
134
+
135
+ protected
136
+
137
+ alias id object_id
138
+
139
+ def fqn_names
140
+ return [name] if parent.nil?
141
+
142
+ [*parent.fqn_names, name]
143
+ end
144
+
145
+ def parent
146
+ @parent
147
+ end
148
+
149
+ def add_tag(name, value)
150
+ @tags[name].add(value)
151
+ end
152
+
153
+ def named?
154
+ !!@name
155
+ end
156
+
157
+ def build_child
158
+ self.class.new(parent: self)
159
+ end
160
+
161
+ # Lex is a comment
162
+ def on_comment(lex)
163
+ return self unless lex.tag_comment?
164
+
165
+ receiver = named? ? build_child : self
166
+ if TagRipper.config.only_tags.empty? ||
167
+ TagRipper.config.only_tags.include?(lex.tag_name)
168
+ receiver.tag!(lex.tag_name, lex.tag_value)
169
+ end
170
+ receiver
171
+ end
172
+
173
+ # Lex is a keyword (e.g. class, module, private, end, etc.)
174
+ def on_kw(lex)
175
+ event_token_method_name = :"#{lex.event}_#{lex.token}"
176
+ return self unless respond_to?(event_token_method_name, true)
177
+
178
+ send(event_token_method_name, lex)
179
+ end
180
+
181
+ def on_new_taggable_context_kw(lex)
182
+ returnable_entity = named? ? build_child : self
183
+
184
+ returnable_entity.await_name!
185
+ self.type = lex.on_kw_type
186
+
187
+ returnable_entity
188
+ end
189
+
190
+ alias on_kw_def on_new_taggable_context_kw
191
+ alias on_kw_module on_new_taggable_context_kw
192
+ alias on_kw_class on_new_taggable_context_kw
193
+
194
+ IGNORED_IDENT_KEYWORDS = %w[require private class_eval instance_eval define_method].freeze
195
+ private_constant :IGNORED_IDENT_KEYWORDS
196
+
197
+ def name_from_lex(lex)
198
+ return self if IGNORED_IDENT_KEYWORDS.include?(lex.token)
199
+ return self if named?
200
+ return self unless may_name?
201
+
202
+ self.name = lex.token
203
+ self
204
+ end
205
+
206
+ alias on_const name_from_lex
207
+ alias on_ident name_from_lex
208
+
209
+ def on_kw_end(_lex)
210
+ close!
211
+ parent
212
+ end
213
+ end
214
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module TagRipper
4
+ VERSION = "0.1.0"
5
+ end
data/lib/tag_ripper.rb ADDED
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "set" unless defined?(Set)
4
+
5
+ require_relative "tag_ripper/ripper"
6
+ require_relative "tag_ripper/lexical_token"
7
+ require_relative "tag_ripper/taggable_entity"
8
+ require_relative "tag_ripper/configuration"
9
+ module TagRipper
10
+ class << self
11
+ def configure(&)
12
+ configuration.eval_config(&)
13
+ end
14
+
15
+ def configuration
16
+ @configuration ||= reset_configuration!
17
+ end
18
+ alias config configuration
19
+
20
+ def reset_configuration!
21
+ @configuration = Configuration.new
22
+ end
23
+ end
24
+ end
metadata ADDED
@@ -0,0 +1,58 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tag_ripper
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Gavin Morrice
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 2025-04-03 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: Add tags to your Ruby code comments and then Rip the as lexical tokens
13
+ email:
14
+ - gavin@gavinmorrice.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - ".env.test"
20
+ - ".rubocop.yml"
21
+ - ".ruby-version"
22
+ - CHANGELOG.md
23
+ - CODE_OF_CONDUCT.md
24
+ - LICENSE.txt
25
+ - README.md
26
+ - Rakefile
27
+ - lib/tag_ripper.rb
28
+ - lib/tag_ripper/configuration.rb
29
+ - lib/tag_ripper/lexical_token.rb
30
+ - lib/tag_ripper/ripper.rb
31
+ - lib/tag_ripper/taggable_entity.rb
32
+ - lib/tag_ripper/version.rb
33
+ homepage: https://github.com/Bodacious/tag-ripper/
34
+ licenses:
35
+ - MIT
36
+ metadata:
37
+ homepage_uri: https://github.com/Bodacious/tag-ripper/
38
+ source_code_uri: https://github.com/Bodacious/tag-ripper/
39
+ changelog_uri: https://github.com/Bodacious/tag-ripper/
40
+ rubygems_mfa_required: 'true'
41
+ rdoc_options: []
42
+ require_paths:
43
+ - lib
44
+ required_ruby_version: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: 3.0.0
49
+ required_rubygems_version: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ requirements: []
55
+ rubygems_version: 3.6.2
56
+ specification_version: 4
57
+ summary: Rips tags from Ruby code
58
+ test_files: []