haml2phlex 0.1.12

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: fe7d9d2f9082b9373d008a5e65f604e8d066697586647af7ea10ee464e453e2d
4
+ data.tar.gz: 70d5c75428e1aab5a97dd0f2340de9a726dcbff228443332af204e3526caf813
5
+ SHA512:
6
+ metadata.gz: 7dbe723f2fbd89ab7bc8022d74575cfff27063552d7a1a900bf34a483e39f223fdf0f4ade2449fcc940f0b5694f7c5325fa5f61d9c561d31cb0f53ff48e6d80a
7
+ data.tar.gz: 2651bdb3d94a91869f403707770db0afd49edeaf020285ef39e4b1c16e3d1a3d1c2fc6b186ecc14e4de07ef1c484bb18d060153331a08a4c1f9041756d7b90dc
@@ -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 lukeclancy@hotmail.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,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in haml2flex.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
data/Gemfile.lock ADDED
@@ -0,0 +1,19 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ haml2phlex (0.1.12)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ rake (13.0.6)
10
+
11
+ PLATFORMS
12
+ x86_64-linux
13
+
14
+ DEPENDENCIES
15
+ haml2phlex!
16
+ rake (~> 13.0)
17
+
18
+ BUNDLED WITH
19
+ 2.3.7
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Luke Clancy
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 TODO: Write your name
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,95 @@
1
+ # Haml2phlex
2
+
3
+ A haml 2 phlex converter. haml and phlex are both used to render ruby views. See [phlex here](https://phlex.fun)
4
+
5
+ ## Installation
6
+
7
+ Add this to your application's Gemfile:
8
+
9
+ ```ruby
10
+ group :development do
11
+ gem 'haml2phlex'
12
+ end
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install haml2phlex
22
+
23
+ ## Usage
24
+
25
+ convert from HAML to Phlex.
26
+
27
+ this is an imperfect string-parsing-based converter from HAML to Phlex on a subset of HAML functionality
28
+ most commonly used.
29
+
30
+ this means results still need to be touched up before they are actually usable. However - this will get
31
+ rid of most the grunt work.
32
+
33
+ use as so in the rails console to output to the command line so you can copy paste:
34
+ ```ruby
35
+ x = Haml2phlex::Haml2flex.new('user_customizes/_show.html.haml', spacer: "\t", base_root: "app/views/")
36
+ puts x.out
37
+ ```
38
+
39
+ or to output to a corresponding file (in this case app/views/user_customizes/show.rb)
40
+ ```ruby
41
+ x = Haml2phlex::Haml2flex.new('user_customizes/_show.html.haml', spacer: "\t", base_root: "app/views/")
42
+ puts x.to_file
43
+ ```
44
+
45
+ #EXAMPLE INPUT
46
+
47
+ ```haml
48
+ = form_for @user_customize do |f|
49
+ - if @user_customize.errors.any?
50
+ #error_explanation
51
+ %h2= "#{pluralize(@user_customize.errors.count, "error")} prohibited this user_customize from being saved:"
52
+ %ul
53
+ - @user_customize.errors.full_messages.each do |message|
54
+ %li= message
55
+
56
+ .actions
57
+ = f.submit 'Save'
58
+ ```
59
+ #EXAMPLE OUTPUT
60
+
61
+ ```ruby
62
+ form_for @user_customize do |f|
63
+ if @user_customize.errors.any?
64
+ div(:id=>"error_explanation") {
65
+ h2() { "#{pluralize(@user_customize.errors.count, "error")} prohibited this user_customize from being saved:" }
66
+ ul() {
67
+ @user_customize.errors.full_messages.each do |message|
68
+ li() { message }
69
+ end
70
+ }
71
+ }
72
+ end
73
+ div(:class=>"actions") {
74
+ f.submit 'Save'
75
+ }
76
+ end
77
+ ```
78
+
79
+ ## Development
80
+
81
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
82
+
83
+ 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).
84
+
85
+ ## Contributing
86
+
87
+ Bug reports and pull requests are welcome on GitHub at https://github.com/LukeClancy/haml2flex. 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/LukeClancy/haml2flex/blob/master/CODE_OF_CONDUCT.md).
88
+
89
+ ## License
90
+
91
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
92
+
93
+ ## Code of Conduct
94
+
95
+ Everyone interacting in the Haml2flex project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/LukeClancy/haml2flex/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ task default: %i[]
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/haml2phlex/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "haml2phlex"
7
+ spec.version = Haml2phlex::VERSION
8
+ spec.authors = ["Luke Clancy"]
9
+ spec.email = ["lukeclancy@hotmail.com"]
10
+
11
+ spec.summary = "haml -> phlex for ruby on rails"
12
+ spec.description = "this is a 'good enough' converter from haml view rendering to phlex view ."
13
+ spec.homepage = "https://github.com/LukeClancy/haml2phlex"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 2.6.0"
16
+
17
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
18
+
19
+ spec.metadata["homepage_uri"] = spec.homepage
20
+ spec.metadata["source_code_uri"] = "https://github.com/LukeClancy/haml2phlex"
21
+ spec.metadata["changelog_uri"] = "https://github.com/LukeClancy/haml2phlex"
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
26
+ `git ls-files -z`.split("\x0").reject do |f|
27
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
28
+ end
29
+ end
30
+ spec.bindir = "exe"
31
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
32
+ spec.require_paths = ["lib"]
33
+
34
+ # Uncomment to register a new dependency of your gem
35
+ # spec.add_dependency "example-gem", "~> 1.0"
36
+
37
+ # For more information and examples about making a new gem, check out our
38
+ # guide at: https://bundler.io/guides/creating_gem.html
39
+ end
@@ -0,0 +1,5 @@
1
+
2
+ module Haml2phlex
3
+ VERSION = '0.1.12'
4
+ end
5
+ #this file gets overwritten automatically on minor updates, major ones need to be manually changed
data/lib/haml2phlex.rb ADDED
@@ -0,0 +1,266 @@
1
+ require_relative "haml2phlex/version"
2
+
3
+ module Haml2phlex
4
+
5
+ class HamlLine
6
+ attr_accessor :level
7
+ attr_accessor :classes
8
+ attr_accessor :tag
9
+ attr_accessor :children
10
+ attr_accessor :parent
11
+ attr_accessor :spacer
12
+ attr_accessor :id
13
+
14
+ attr_accessor :origin
15
+ attr_accessor :line
16
+ attr_accessor :code_string
17
+ attr_accessor :attribute_string
18
+
19
+ CONTROL_CHARACTERS = " \.\#\%\=\{" #dont put - in here
20
+
21
+ def pop_line_until_cc
22
+ x = ""
23
+ while self.line[0] and not CONTROL_CHARACTERS.include? self.line[0]
24
+ x += self.line.slice! 0
25
+ end
26
+ return x
27
+ end
28
+
29
+ def initialize(line, spacer: "\t")
30
+ #need better seperation of concerns for the line. Currently this method is too messy and it leads to weird errors.
31
+ #perhaps a popping method at the beginning for the classes and ids. And then a popping / if then system for the rest of it.
32
+ #so continually pop the beginning classes/ids, and then if its a { parse the attributes, then if its a = or - the rest is code
33
+ #otherwise if you pop a ' ' then assume the rest is a string (put into a '' and then set as code_string.)
34
+
35
+ self.level = 0
36
+ self.classes = []
37
+ self.id = nil
38
+ self.tag = nil
39
+ self.children = []
40
+ self.line = line
41
+ self.origin = line
42
+ self.spacer = spacer
43
+ self.attribute_string = nil
44
+ self.code_string = nil
45
+
46
+ while self.line.length > 0 and self.line[0...spacer.length] == spacer
47
+ self.line = self.line.sub spacer, ''
48
+ self.level += 1
49
+ end
50
+ self.line = self.line.strip
51
+
52
+ while c = self.line.slice!(0)
53
+ if c == ' '
54
+ self.code_string = "%Q{#{self.line.strip}}"
55
+ break
56
+ elsif c == '{'
57
+ self.line = '{' + self.line
58
+ parse_attributes
59
+ self.line = self.line.sub(self.attribute_string, '')
60
+ nil
61
+ elsif c == '=' or c == '-'
62
+ self.code_string = self.line.strip
63
+ break
64
+ elsif c == '.'
65
+ classes << pop_line_until_cc
66
+ elsif c == '%'
67
+ self.tag = pop_line_until_cc
68
+ elsif c == '#'
69
+ self.id = pop_line_until_cc
70
+ else
71
+ self.code_string = "%Q{#{self.line.strip}}"
72
+ break
73
+ end
74
+ end
75
+ if classes.any? or not id.nil?
76
+ self.tag ||= 'div'
77
+ end
78
+ end
79
+
80
+ def parse_attributes
81
+ self.attribute_string = HamlLine.attribute_parser(self.line)
82
+ end
83
+
84
+ def matcher(match_char)
85
+ self.class.matcher(self.line, match_char)
86
+ end
87
+
88
+ def self.matcher(string, match_char)
89
+ string.scan(/#{match_char}(.*?)(?=[\.\%\=\{\#\ ]|$)/).flatten
90
+ end
91
+
92
+ def self.attribute_parser(string)
93
+ if i = string.index('{')
94
+ string = string[(i)...]
95
+ x = 0
96
+ i = 0
97
+ while i < string.length
98
+ if string[i] == '{'
99
+ x += 1
100
+ elsif string[i] == '}'
101
+ x -= 1
102
+ if x == 0
103
+ break
104
+ end
105
+ end
106
+ i += 1
107
+ end
108
+ string = string[0...(i+1)]
109
+ return string
110
+ else
111
+ return nil
112
+ end
113
+ end
114
+
115
+ def find_spot_for_other_node(x)
116
+ if self.level == (x.level - 1)
117
+ self.children << x
118
+ x.parent = self
119
+ return self
120
+ elsif self.parent.nil?
121
+ return nil
122
+ else
123
+ return self.parent.find_spot_for_other_node(x)
124
+ end
125
+ end
126
+
127
+ def out()
128
+ space = self.spacer * self.level
129
+ if self.tag.nil?
130
+ if self.children.any?
131
+ return %Q{
132
+ #{space}#{self.code_string}#{self.children.map{|c|c.out}.join('')}
133
+ #{space}end}
134
+ else
135
+ return %Q{
136
+ #{space}#{self.code_string}}
137
+ end
138
+ end
139
+ o = ''
140
+ att = {}
141
+
142
+ #check for the haml classes / ids
143
+ if self.id
144
+ att[:id] = self.id
145
+ end
146
+ if self.classes.any?
147
+ att[:class] = self.classes.join(' ')
148
+ end
149
+
150
+ if self.attribute_string.nil? and not att.keys.any?
151
+ att = ''
152
+ else
153
+ #figure out how we gonna handle attributes
154
+ if self.attribute_string.nil?
155
+ att = att.to_s[1...-1]
156
+ elsif not att.keys.any?
157
+ att = self.attribute_string[1...-1] #so without the outermost {}
158
+ else
159
+
160
+ if att[:class] or att[:id]
161
+ if (att[:class] and self.attribute_string.include?('class')) or (att[:id] and self.attribute_string.include?('id'))
162
+ #seems like there is a conflict, do not merge
163
+ o << %Q{
164
+ #{space}#{att} # ❌🤦❌🤦❌🤦❌🤦❌🤦❌🤦❌🤦❌ MERGE THESE INTO THE NEXT LINE 🔻🔻🔻🔻🔻🔻🔻}
165
+ else
166
+ self.attribute_string[-1] = ', ' + att.to_s[1...] #we can merge as it doesn't seem like there are any conflicts
167
+ end
168
+ end
169
+
170
+ att = self.attribute_string[1...-1]
171
+ end
172
+ end
173
+ if self.children.any?
174
+ o << %Q{
175
+ #{space}#{tag}(#{att}) {#{self.children.map{|c|c.out}.join('')}
176
+ #{space}}}
177
+ elsif not self.code_string.nil?
178
+ o << %Q{
179
+ #{space}#{tag}(#{att}) { #{code_string} } }
180
+ else
181
+ o << %Q{
182
+ #{space}#{tag}(#{att})}
183
+ end
184
+ return o
185
+ end
186
+ end
187
+
188
+ class Haml2phlex
189
+ attr_accessor :lines
190
+ attr_accessor :hlines
191
+ attr_accessor :filename
192
+ attr_accessor :base_root
193
+
194
+ def initialize(filename, spacer: "\t", base_root: "app/views/")
195
+ self.filename = filename
196
+ filename = "#{base_root}#{filename}"
197
+ self.base_root = base_root
198
+ f = File.open(filename, 'r')
199
+ txt = f.read
200
+
201
+ self.lines = txt.split "\n"
202
+ self.hlines = []
203
+
204
+ last = nil
205
+ #process into a more usable format
206
+ for line in lines
207
+ next if line.strip == ''
208
+ x = HamlLine.new(line, spacer: spacer)
209
+ if last.nil?
210
+ hlines << x
211
+ else
212
+ out = last.find_spot_for_other_node(x)
213
+ if out.nil?
214
+ hlines << x
215
+ end
216
+ end
217
+ last = x
218
+ end
219
+ return self.hlines
220
+ end
221
+ def out
222
+ self.hlines.map{|hl| hl.out}.join('')
223
+ end
224
+ def to_file
225
+ x = self.filename.split('/')
226
+ x[-1] = x[-1].split('.')[0]
227
+
228
+ if x[-1][0] == '_'
229
+ x[-1][0] = ''
230
+ end
231
+
232
+ #rb_path = self.base_root + '/' + x.join('/')
233
+
234
+ rb_fname = x.join '/'
235
+
236
+ rb_class = rb_fname.camelcase
237
+
238
+ rb_fname = self.base_root + rb_fname + ".rb"
239
+
240
+ f = File.open(rb_fname, 'w+')
241
+ f.write %Q{
242
+ module Views
243
+ class #{rb_class} < Phlex::HTML
244
+ include ApplicationView
245
+
246
+ def initialize(**args)
247
+ #sets whatever you put in as a instance variable
248
+ for k in args.keys
249
+ self.instance_variable_set("@\#{k}", args[k])
250
+ end
251
+ end
252
+
253
+ def template(&)
254
+ base_page(&)
255
+ end
256
+
257
+ def base_page(&)
258
+ #{out}
259
+ end
260
+ end
261
+ end}
262
+ f.close
263
+ puts 'written to ' + rb_fname
264
+ end
265
+ end
266
+ end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,4 @@
1
+ module Haml2phlex
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,67 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: haml2phlex
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.12
5
+ platform: ruby
6
+ authors:
7
+ - Luke Clancy
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-02-17 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: this is a 'good enough' converter from haml view rendering to phlex view
14
+ .
15
+ email:
16
+ - lukeclancy@hotmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - CODE_OF_CONDUCT.md
22
+ - Gemfile
23
+ - Gemfile.lock
24
+ - LICENSE
25
+ - LICENSE.txt
26
+ - README.md
27
+ - Rakefile
28
+ - haml2phlex.gemspec
29
+ - lib/haml2phlex.rb
30
+ - lib/haml2phlex/version.rb
31
+ - pkg/haml2phlex-0.1.10.gem
32
+ - pkg/haml2phlex-0.1.11.gem
33
+ - pkg/haml2phlex-0.1.4.gem
34
+ - pkg/haml2phlex-0.1.5.gem
35
+ - pkg/haml2phlex-0.1.6.gem
36
+ - pkg/haml2phlex-0.1.7.gem
37
+ - pkg/haml2phlex-0.1.8.gem
38
+ - pkg/haml2phlex-0.1.9.gem
39
+ - sig/haml2phlex.rbs
40
+ homepage: https://github.com/LukeClancy/haml2phlex
41
+ licenses:
42
+ - MIT
43
+ metadata:
44
+ allowed_push_host: https://rubygems.org
45
+ homepage_uri: https://github.com/LukeClancy/haml2phlex
46
+ source_code_uri: https://github.com/LukeClancy/haml2phlex
47
+ changelog_uri: https://github.com/LukeClancy/haml2phlex
48
+ post_install_message:
49
+ rdoc_options: []
50
+ require_paths:
51
+ - lib
52
+ required_ruby_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 2.6.0
57
+ required_rubygems_version: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ requirements: []
63
+ rubygems_version: 3.3.7
64
+ signing_key:
65
+ specification_version: 4
66
+ summary: haml -> phlex for ruby on rails
67
+ test_files: []