phlexing 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: 9234a0c2bc86d2670a197cdf488cff68e904308c1e07ec839faa1bd29de70291
4
+ data.tar.gz: b2d1b5da8a3741034cf5e991efc3ca710437d1c929dcf54841dac8306916471e
5
+ SHA512:
6
+ metadata.gz: dcff717689a43d391ff16cd4c10985ee1f0a8c435e3246d1e25e5e803424c9859b3b87ab4eb32fe0e8249085dafb39ce2267c8b4993c9fa06d34bb37be8bce2f
7
+ data.tar.gz: 0bb70b6f6aebed929329d7fd8450bb74bbd78cc49dffeaa3c3e27d0cf37fe8bb74d795113b956be4d956c58073879ef620b128baacf3004b8307c7f86c5a6277
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2022-10-29
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 marco.roth@intergga.ch. 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,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gemspec
6
+
7
+ gem "minitest", "~> 5.0"
8
+ gem "rake", "~> 13.0"
9
+ gem "rubocop", require: false, github: "joeldrapper/rubocop", branch: "rubocop-user-agent"
data/Gemfile.lock ADDED
@@ -0,0 +1,80 @@
1
+ GIT
2
+ remote: https://github.com/joeldrapper/rubocop.git
3
+ revision: 8d3c1a7dd04a0dee701e26ee506b28af0ffe3b98
4
+ branch: rubocop-user-agent
5
+ specs:
6
+ rubocop (1.36.0)
7
+ json (~> 2.3)
8
+ parallel (~> 1.10)
9
+ parser (>= 3.1.2.1)
10
+ rainbow (>= 2.2.2, < 4.0)
11
+ regexp_parser (>= 1.8, < 3.0)
12
+ rexml (>= 3.2.5, < 4.0)
13
+ rubocop-ast (>= 1.20.1, < 2.0)
14
+ ruby-progressbar (~> 1.7)
15
+ unicode-display_width (>= 1.4.0, < 3.0)
16
+
17
+ PATH
18
+ remote: .
19
+ specs:
20
+ phlexing (0.1.0)
21
+ erb_parser (~> 0.0.2)
22
+ html_press (~> 0.8.2)
23
+ nokogiri (~> 1.0)
24
+ rufo (~> 0.13.0)
25
+
26
+ GEM
27
+ remote: https://rubygems.org/
28
+ specs:
29
+ ast (2.4.2)
30
+ css_press (0.3.2)
31
+ csspool-st (= 3.1.2)
32
+ json
33
+ csspool-st (3.1.2)
34
+ erb_parser (0.0.2)
35
+ treetop
36
+ execjs (2.8.1)
37
+ html_press (0.8.2)
38
+ htmlentities
39
+ multi_css (>= 0.1.0)
40
+ multi_js (>= 0.1.0)
41
+ htmlentities (4.3.4)
42
+ json (2.6.2)
43
+ minitest (5.16.3)
44
+ multi_css (0.1.0)
45
+ css_press
46
+ multi_js (0.1.0)
47
+ uglifier (~> 2)
48
+ nokogiri (1.13.9-x86_64-darwin)
49
+ racc (~> 1.4)
50
+ parallel (1.22.1)
51
+ parser (3.1.2.1)
52
+ ast (~> 2.4.1)
53
+ polyglot (0.3.5)
54
+ racc (1.6.0)
55
+ rainbow (3.1.1)
56
+ rake (13.0.6)
57
+ regexp_parser (2.6.0)
58
+ rexml (3.2.5)
59
+ rubocop-ast (1.23.0)
60
+ parser (>= 3.1.1.0)
61
+ ruby-progressbar (1.11.0)
62
+ rufo (0.13.0)
63
+ treetop (1.6.11)
64
+ polyglot (~> 0.3)
65
+ uglifier (2.7.2)
66
+ execjs (>= 0.3.0)
67
+ json (>= 1.8.0)
68
+ unicode-display_width (2.3.0)
69
+
70
+ PLATFORMS
71
+ x86_64-darwin-19
72
+
73
+ DEPENDENCIES
74
+ minitest (~> 5.0)
75
+ phlexing!
76
+ rake (~> 13.0)
77
+ rubocop!
78
+
79
+ BUNDLED WITH
80
+ 2.3.22
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Marco Roth
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
+ # Phlexing
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/phlexing`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Install the gem and add to the application's Gemfile by executing:
10
+
11
+ $ bundle add phlexing
12
+
13
+ If bundler is not being used to manage dependencies, install the gem by executing:
14
+
15
+ $ gem install phlexing
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/marcoroth/phlexing. 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/marcoroth/phlexing/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 Phlexing project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/marcoroth/phlexing/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,176 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "nokogiri"
4
+ require "ostruct"
5
+ require "rufo"
6
+ require "html_press"
7
+ require "erb_parser"
8
+
9
+ module Phlexing
10
+ class Converter
11
+ include Helpers
12
+
13
+ using ::Phlexing::Refinements::StringRefinements
14
+
15
+ attr_accessor :html, :custom_elements
16
+
17
+ def self.convert(html)
18
+ new(html).buffer
19
+ end
20
+
21
+ def initialize(html)
22
+ @html = html
23
+ @buffer = StringIO.new
24
+ @custom_elements = Set.new
25
+ handle_node
26
+ end
27
+
28
+ def handle_text(node, level, newline: true)
29
+ text = node.text
30
+
31
+ if text.squish.empty? && text.length.positive?
32
+ @buffer << indent(level)
33
+ @buffer << "whitespace\n"
34
+
35
+ text.strip!
36
+ end
37
+
38
+ if text.length.positive?
39
+ @buffer << indent(level)
40
+
41
+ if siblings?(node)
42
+ @buffer << "text "
43
+ end
44
+
45
+ @buffer << double_quote(text)
46
+ @buffer << "\n" if newline
47
+ end
48
+ end
49
+
50
+ def handle_erb_element(node, level, newline: true)
51
+ if erb_safe_output?(node)
52
+ @buffer << "raw "
53
+ @buffer << node.text.from(1)
54
+ @buffer << "\n" if newline
55
+ return
56
+ end
57
+
58
+ if erb_interpolation?(node) && node.parent.children.count > 1
59
+ if node.text.length >= 24
60
+ @buffer << "text("
61
+ @buffer << node.text
62
+ @buffer << ")"
63
+ else
64
+ @buffer << "text "
65
+ @buffer << node.text
66
+ end
67
+ elsif erb_comment?(node)
68
+ @buffer << "#"
69
+ @buffer << node.text
70
+ else
71
+ @buffer << node.text
72
+ end
73
+
74
+ @buffer << "\n" if newline
75
+ end
76
+
77
+ def handle_element(node, level)
78
+ @buffer << (indent(level) + node_name(node) + handle_attributes(node))
79
+
80
+ if node.children.any?
81
+ if node.children.one? && text_node?(node.children.first) && node.text.length <= 32
82
+ single_line_block {
83
+ handle_text(node.children.first, 0, newline: false)
84
+ }
85
+ elsif node.children.one? && erb_interpolation?(node.children.first) && node.text.length <= 32
86
+ single_line_block {
87
+ handle_erb_element(node.children.first, 0, newline: false)
88
+ }
89
+ else
90
+ multi_line_block(level) {
91
+ handle_children(node, level)
92
+ }
93
+ end
94
+ else
95
+ @buffer << "\n"
96
+ end
97
+ end
98
+
99
+ def handle_comment_node(node, level)
100
+ @buffer << indent(level)
101
+ @buffer << "comment "
102
+ @buffer << double_quote(node.text.strip)
103
+ @buffer << "\n"
104
+ end
105
+
106
+ def handle_children(node, level)
107
+ node.children.each do |child|
108
+ handle_node(child, level + 1)
109
+ end
110
+ end
111
+
112
+ def handle_attributes(node)
113
+ return "" if node.attributes.keys.none?
114
+
115
+ b = StringIO.new
116
+
117
+ node.attributes.each_value do |attribute|
118
+ b << attribute.name.gsub("-", "_")
119
+ b << ": "
120
+ b << double_quote(attribute.value)
121
+ b << ", " if node.attributes.values.last != attribute
122
+ end
123
+
124
+ if node.children.any?
125
+ "(#{b.string.strip}) "
126
+ else
127
+ " #{b.string.strip}"
128
+ end
129
+ end
130
+
131
+ def handle_node(node = parsed, level = 0)
132
+ case node
133
+ when Nokogiri::XML::Text
134
+ handle_text(node, level)
135
+ when Nokogiri::XML::Element
136
+ if erb_node?(node)
137
+ handle_erb_element(node, level)
138
+ else
139
+ handle_element(node, level)
140
+ end
141
+
142
+ @buffer << "\n" if level == 1
143
+ when Nokogiri::HTML4::DocumentFragment
144
+ handle_children(node, level)
145
+ when Nokogiri::XML::Comment
146
+ handle_comment_node(node, level)
147
+ else
148
+ @buffer << ("UNKNOWN#{node.class}")
149
+ end
150
+
151
+ @buffer.string
152
+ end
153
+
154
+ def parsed
155
+ @parsed ||= Nokogiri::HTML.fragment(minified_erb)
156
+ end
157
+
158
+ def buffer
159
+ Rufo::Formatter.format(@buffer.string.strip)
160
+ rescue Rufo::SyntaxError
161
+ @buffer.string.strip
162
+ end
163
+
164
+ def converted_erb
165
+ ErbParser.transform_xml(html).gsub("\n", "").gsub("\r", "")
166
+ rescue StandardError
167
+ html
168
+ end
169
+
170
+ def minified_erb
171
+ HtmlPress.press(converted_erb)
172
+ rescue StandardError
173
+ converted_erb
174
+ end
175
+ end
176
+ end
@@ -0,0 +1,87 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Phlexing
4
+ module Helpers
5
+ def indent(level)
6
+ return "" if level == 1
7
+
8
+ " " * level
9
+ end
10
+
11
+ def double_quote(string)
12
+ "\"#{string}\""
13
+ end
14
+
15
+ def single_quote(string)
16
+ "'#{string}'"
17
+ end
18
+
19
+ def node_name(node)
20
+ return "template_tag" if node.name == "template"
21
+ return node.name unless node.name.include?("-")
22
+
23
+ name = node.name.gsub("-", "_")
24
+ @custom_elements << name
25
+
26
+ name
27
+ end
28
+
29
+ def do_block_start
30
+ " do\n"
31
+ end
32
+
33
+ def do_block_end(level = 0)
34
+ "#{indent(level)}end\n"
35
+ end
36
+
37
+ def multi_line_block(level)
38
+ @buffer << " do\n"
39
+ yield
40
+ @buffer << ("#{indent(level)}end\n")
41
+ end
42
+
43
+ def single_line_block
44
+ @buffer << " { "
45
+ yield
46
+ @buffer << " }\n"
47
+ end
48
+
49
+ def erb_node?(node)
50
+ node.is_a?(Nokogiri::XML::Element) && node.name == "erb"
51
+ end
52
+
53
+ def element_node?(node)
54
+ node.is_a?(Nokogiri::XML::Element)
55
+ end
56
+
57
+ def text_node?(node)
58
+ node.is_a?(Nokogiri::XML::Text)
59
+ end
60
+
61
+ def multiple_children?(node)
62
+ node.children.length > 1
63
+ end
64
+
65
+ def siblings?(node)
66
+ multiple_children?(node.parent)
67
+ end
68
+
69
+ def erb_interpolation?(node)
70
+ first = node.children.first
71
+
72
+ erb_node?(node) &&
73
+ node.children.one? &&
74
+ first.children.none? &&
75
+ text_node?(first) &&
76
+ node.attributes["interpolated"]
77
+ end
78
+
79
+ def erb_safe_output?(node)
80
+ erb_interpolation?(node) && node.text.starts_with?("=")
81
+ end
82
+
83
+ def erb_comment?(node)
84
+ node.attributes["comment"]
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Phlexing
4
+ module Refinements
5
+ module StringRefinements
6
+ refine String do
7
+ def squish
8
+ dup.squish!
9
+ end
10
+
11
+ def squish!
12
+ gsub!(/[[:space:]]+/, " ")
13
+ strip!
14
+ self
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Phlexing
4
+ VERSION = "0.1.0"
5
+ end
data/lib/phlexing.rb ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "phlexing/version"
4
+ require_relative "phlexing/helpers"
5
+ require_relative "phlexing/refinements/string_refinements"
6
+ require_relative "phlexing/converter"
7
+
8
+ module Phlexing
9
+ end
data/sig/phlexing.rbs ADDED
@@ -0,0 +1,3 @@
1
+ module Phlexing
2
+ VERSION: String
3
+ end
metadata ADDED
@@ -0,0 +1,116 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: phlexing
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Marco Roth
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-10-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: erb_parser
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.0.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.0.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: html_press
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.8.2
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.8.2
41
+ - !ruby/object:Gem::Dependency
42
+ name: nokogiri
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rufo
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.13.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.13.0
69
+ description: Simple ERB to Phlex converter
70
+ email:
71
+ - marco.roth@hey.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - CHANGELOG.md
77
+ - CODE_OF_CONDUCT.md
78
+ - Gemfile
79
+ - Gemfile.lock
80
+ - LICENSE.txt
81
+ - README.md
82
+ - Rakefile
83
+ - lib/phlexing.rb
84
+ - lib/phlexing/converter.rb
85
+ - lib/phlexing/helpers.rb
86
+ - lib/phlexing/refinements/string_refinements.rb
87
+ - lib/phlexing/version.rb
88
+ - sig/phlexing.rbs
89
+ homepage: https://github.com/marcoroth/phlexing
90
+ licenses:
91
+ - MIT
92
+ metadata:
93
+ homepage_uri: https://github.com/marcoroth/phlexing
94
+ source_code_uri: https://github.com/marcoroth/phlexing
95
+ changelog_uri: https://github.com/marcoroth/phlexing
96
+ rubygems_mfa_required: 'true'
97
+ post_install_message:
98
+ rdoc_options: []
99
+ require_paths:
100
+ - lib
101
+ required_ruby_version: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: 2.7.0
106
+ required_rubygems_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ requirements: []
112
+ rubygems_version: 3.3.7
113
+ signing_key:
114
+ specification_version: 4
115
+ summary: Simple ERB to Phlex converter
116
+ test_files: []