phlexible 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: d6c45035fcfe50f425a2876e79f5973399b74b76f5923357dd02c355575d0eac
4
+ data.tar.gz: 49e7ddc371aaad6e53316cdd4aa5bb0bfb76cda8f6fa1052779e40306d1e339a
5
+ SHA512:
6
+ metadata.gz: 9149698fef1b20d16ca297db60e847172a7454dcab4a53e2798a9cbe38f04ab5b87124453861c312f8002365a895b4e97b76494541568cd3c8c1714c5d99cf4b
7
+ data.tar.gz: 7e4782383a6f3f542b460739c2e3ed7d27dbf677ab2dab2b73794bb12f0298e19833e63e329ab744e510a750f0db3465546ae5a6704503755c6fa54df034ec48
data/.rubocop.yml ADDED
@@ -0,0 +1,16 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.7
3
+ SuggestExtensions: false
4
+ NewCops: enable
5
+
6
+ Style/Documentation:
7
+ Enabled: false
8
+ Metrics/BlockLength:
9
+ Exclude:
10
+ - test/**/*
11
+ Lint/ConstantDefinitionInBlock:
12
+ Exclude:
13
+ - test/**/*
14
+ Style/ClassAndModuleChildren:
15
+ Exclude:
16
+ - fixtures/**/*
@@ -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 joel@developwithstyle.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,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in phlexible.gemspec
6
+ gemspec
7
+
8
+ gem 'combustion'
9
+ gem 'rake', '~> 13.0'
10
+ gem 'rubocop', '~> 1.21'
11
+ gem 'sus', '~> 0.16.0'
data/Gemfile.lock ADDED
@@ -0,0 +1,197 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ phlexible (0.1.0)
5
+ phlex (~> 1.0)
6
+ phlex-rails (~> 0.4)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (7.0.4)
12
+ actionpack (= 7.0.4)
13
+ activesupport (= 7.0.4)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ actionmailbox (7.0.4)
17
+ actionpack (= 7.0.4)
18
+ activejob (= 7.0.4)
19
+ activerecord (= 7.0.4)
20
+ activestorage (= 7.0.4)
21
+ activesupport (= 7.0.4)
22
+ mail (>= 2.7.1)
23
+ net-imap
24
+ net-pop
25
+ net-smtp
26
+ actionmailer (7.0.4)
27
+ actionpack (= 7.0.4)
28
+ actionview (= 7.0.4)
29
+ activejob (= 7.0.4)
30
+ activesupport (= 7.0.4)
31
+ mail (~> 2.5, >= 2.5.4)
32
+ net-imap
33
+ net-pop
34
+ net-smtp
35
+ rails-dom-testing (~> 2.0)
36
+ actionpack (7.0.4)
37
+ actionview (= 7.0.4)
38
+ activesupport (= 7.0.4)
39
+ rack (~> 2.0, >= 2.2.0)
40
+ rack-test (>= 0.6.3)
41
+ rails-dom-testing (~> 2.0)
42
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
43
+ actiontext (7.0.4)
44
+ actionpack (= 7.0.4)
45
+ activerecord (= 7.0.4)
46
+ activestorage (= 7.0.4)
47
+ activesupport (= 7.0.4)
48
+ globalid (>= 0.6.0)
49
+ nokogiri (>= 1.8.5)
50
+ actionview (7.0.4)
51
+ activesupport (= 7.0.4)
52
+ builder (~> 3.1)
53
+ erubi (~> 1.4)
54
+ rails-dom-testing (~> 2.0)
55
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
56
+ activejob (7.0.4)
57
+ activesupport (= 7.0.4)
58
+ globalid (>= 0.3.6)
59
+ activemodel (7.0.4)
60
+ activesupport (= 7.0.4)
61
+ activerecord (7.0.4)
62
+ activemodel (= 7.0.4)
63
+ activesupport (= 7.0.4)
64
+ activestorage (7.0.4)
65
+ actionpack (= 7.0.4)
66
+ activejob (= 7.0.4)
67
+ activerecord (= 7.0.4)
68
+ activesupport (= 7.0.4)
69
+ marcel (~> 1.0)
70
+ mini_mime (>= 1.1.0)
71
+ activesupport (7.0.4)
72
+ concurrent-ruby (~> 1.0, >= 1.0.2)
73
+ i18n (>= 1.6, < 2)
74
+ minitest (>= 5.1)
75
+ tzinfo (~> 2.0)
76
+ ast (2.4.2)
77
+ builder (3.2.4)
78
+ combustion (1.3.7)
79
+ activesupport (>= 3.0.0)
80
+ railties (>= 3.0.0)
81
+ thor (>= 0.14.6)
82
+ concurrent-ruby (1.1.10)
83
+ crass (1.0.6)
84
+ date (3.3.3)
85
+ erubi (1.12.0)
86
+ globalid (1.0.0)
87
+ activesupport (>= 5.0)
88
+ i18n (1.12.0)
89
+ concurrent-ruby (~> 1.0)
90
+ json (2.6.3)
91
+ loofah (2.19.1)
92
+ crass (~> 1.0.2)
93
+ nokogiri (>= 1.5.9)
94
+ mail (2.8.0)
95
+ mini_mime (>= 0.1.1)
96
+ net-imap
97
+ net-pop
98
+ net-smtp
99
+ marcel (1.0.2)
100
+ method_source (1.0.0)
101
+ mini_mime (1.1.2)
102
+ mini_portile2 (2.8.1)
103
+ minitest (5.17.0)
104
+ net-imap (0.3.4)
105
+ date
106
+ net-protocol
107
+ net-pop (0.1.2)
108
+ net-protocol
109
+ net-protocol (0.2.1)
110
+ timeout
111
+ net-smtp (0.3.3)
112
+ net-protocol
113
+ nio4r (2.5.8)
114
+ nokogiri (1.13.10)
115
+ mini_portile2 (~> 2.8.0)
116
+ racc (~> 1.4)
117
+ parallel (1.22.1)
118
+ parser (3.2.0.0)
119
+ ast (~> 2.4.1)
120
+ phlex (1.1.0)
121
+ zeitwerk (~> 2.6)
122
+ phlex-rails (0.4.2)
123
+ phlex (>= 1, < 2)
124
+ rails (>= 6.1, < 8)
125
+ zeitwerk (~> 2)
126
+ racc (1.6.2)
127
+ rack (2.2.5)
128
+ rack-test (2.0.2)
129
+ rack (>= 1.3)
130
+ rails (7.0.4)
131
+ actioncable (= 7.0.4)
132
+ actionmailbox (= 7.0.4)
133
+ actionmailer (= 7.0.4)
134
+ actionpack (= 7.0.4)
135
+ actiontext (= 7.0.4)
136
+ actionview (= 7.0.4)
137
+ activejob (= 7.0.4)
138
+ activemodel (= 7.0.4)
139
+ activerecord (= 7.0.4)
140
+ activestorage (= 7.0.4)
141
+ activesupport (= 7.0.4)
142
+ bundler (>= 1.15.0)
143
+ railties (= 7.0.4)
144
+ rails-dom-testing (2.0.3)
145
+ activesupport (>= 4.2.0)
146
+ nokogiri (>= 1.6)
147
+ rails-html-sanitizer (1.4.4)
148
+ loofah (~> 2.19, >= 2.19.1)
149
+ railties (7.0.4)
150
+ actionpack (= 7.0.4)
151
+ activesupport (= 7.0.4)
152
+ method_source
153
+ rake (>= 12.2)
154
+ thor (~> 1.0)
155
+ zeitwerk (~> 2.5)
156
+ rainbow (3.1.1)
157
+ rake (13.0.6)
158
+ regexp_parser (2.6.1)
159
+ rexml (3.2.5)
160
+ rubocop (1.43.0)
161
+ json (~> 2.3)
162
+ parallel (~> 1.10)
163
+ parser (>= 3.2.0.0)
164
+ rainbow (>= 2.2.2, < 4.0)
165
+ regexp_parser (>= 1.8, < 3.0)
166
+ rexml (>= 3.2.5, < 4.0)
167
+ rubocop-ast (>= 1.24.1, < 2.0)
168
+ ruby-progressbar (~> 1.7)
169
+ unicode-display_width (>= 2.4.0, < 3.0)
170
+ rubocop-ast (1.24.1)
171
+ parser (>= 3.1.1.0)
172
+ ruby-progressbar (1.11.0)
173
+ sus (0.16.0)
174
+ thor (1.2.1)
175
+ timeout (0.3.1)
176
+ tzinfo (2.0.5)
177
+ concurrent-ruby (~> 1.0)
178
+ unicode-display_width (2.4.2)
179
+ websocket-driver (0.7.5)
180
+ websocket-extensions (>= 0.1.0)
181
+ websocket-extensions (0.1.5)
182
+ zeitwerk (2.6.6)
183
+
184
+ PLATFORMS
185
+ arm64-darwin-22
186
+ x86_64-darwin-19
187
+ x86_64-linux
188
+
189
+ DEPENDENCIES
190
+ combustion
191
+ phlexible!
192
+ rake (~> 13.0)
193
+ rubocop (~> 1.21)
194
+ sus (~> 0.16.0)
195
+
196
+ BUNDLED WITH
197
+ 2.4.1
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 Joel Moss
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,92 @@
1
+ # Phlexible
2
+
3
+ A bunch of helpers and goodies intended to make life with [Phlex](https://phlex.fun) even easier!
4
+
5
+ ## Installation
6
+
7
+ Install the gem and add to the application's Gemfile by executing:
8
+
9
+ `bundle add phlexible`
10
+
11
+ If bundler is not being used to manage dependencies, install the gem by executing:
12
+
13
+ `$ gem install phlexible`
14
+
15
+ ## Usage
16
+
17
+ ### Rails
18
+
19
+ #### `AnchorElement`
20
+
21
+ No need to call Rails `link_to` helper, when you can simply render an anchor tag directly with
22
+ Phlex. But unfortunately that means you lose some of the magic that `link_to` provides. Especially
23
+ the automatic resolution of URL's and Rails routes.
24
+
25
+ The `Phlexible::Rails::AnchorElement` module redefines the `a` tag, and passes through the `href`
26
+ attribute to Rails `url_for` helper. So you can do this:
27
+
28
+ ```ruby
29
+ Rails.application.routes.draw do
30
+ resources :articles
31
+ end
32
+ ```
33
+
34
+ ```ruby
35
+ class MyView < Phlex::HTML
36
+ include Phlexible::Rails::AnchorElement
37
+
38
+ def template
39
+ a(href: :articles) { 'View articles' }
40
+ end
41
+ end
42
+ ```
43
+
44
+ ### `AliasView`
45
+
46
+ Create an alias at a given `element`, to the given view class.
47
+
48
+ So instead of:
49
+
50
+ ```ruby
51
+ class MyView < Phlex::HTML
52
+ def template
53
+ div do
54
+ render My::Awesome::Component.new
55
+ end
56
+ end
57
+ end
58
+ ```
59
+
60
+ You can instead do:
61
+
62
+ ```ruby
63
+ class MyView < Phlex::HTML
64
+ extend Phlexible::AliasView
65
+
66
+ alias_view :awesome, -> { My::Awesome::Component }
67
+
68
+ def template
69
+ div do
70
+ awesome
71
+ end
72
+ end
73
+ end
74
+ ```
75
+
76
+ ## Development
77
+
78
+ 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.
79
+
80
+ 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).
81
+
82
+ ## Contributing
83
+
84
+ Bug reports and pull requests are welcome on GitHub at https://github.com/joelmoss/phlexible. 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/joelmoss/phlexible/blob/master/CODE_OF_CONDUCT.md).
85
+
86
+ ## License
87
+
88
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
89
+
90
+ ## Code of Conduct
91
+
92
+ Everyone interacting in the Phlexible project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/joelmoss/phlexible/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rubocop/rake_task'
5
+
6
+ RuboCop::RakeTask.new
7
+
8
+ task default: :rubocop
data/config/sus.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'phlexible'
4
+ require 'bundler'
5
+
6
+ Bundler.require :test
7
+
8
+ require_relative './view_helper'
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ViewHelper
4
+ def self.extended(parent)
5
+ parent.class_exec do
6
+ let(:output) { example.call }
7
+ let(:example) { view.new }
8
+ end
9
+ end
10
+
11
+ def view(&block)
12
+ let :view do
13
+ Class.new(Phlex::HTML, &block)
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ class ArticlesController < ActionController::Base
4
+ end
@@ -0,0 +1 @@
1
+ <%= render Views::Articles::Link.new %>
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Views::Articles::Link < Phlex::HTML
4
+ include Phlexible::Rails::AnchorElement
5
+
6
+ def template
7
+ a(href: :root) { 'A link to root' }
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ test:
2
+ adapter: sqlite3
3
+ database: db/combustion_test.sqlite
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ Rails.application.routes.draw do
4
+ root to: 'articles#index'
5
+ end
@@ -0,0 +1,3 @@
1
+ test:
2
+ service: Disk
3
+ root: /Users/joelmoss/dev/phlexible/tmp/storage
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ ActiveRecord::Schema.define do
4
+ # Set up any tables you need to exist for your test suite that don't belong
5
+ # in migrations.
6
+ end
@@ -0,0 +1 @@
1
+ *.log
File without changes
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ Bundler.require :default
4
+
5
+ Combustion.path = 'fixtures/dummy'
6
+
7
+ Combustion.initialize! :action_controller do
8
+ config.autoload_paths << "#{root}/app"
9
+ end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Phlexible
4
+ #
5
+ # Create an alias at `element` to the `view_class`.
6
+ #
7
+ # So instead of:
8
+ #
9
+ # class MyView < Phlex::HTML
10
+ # def template
11
+ # div do
12
+ # render My::Awesome::Component.new
13
+ # end
14
+ # end
15
+ # end
16
+ #
17
+ # You can instead do:
18
+ #
19
+ # class MyView < Phlex::HTML
20
+ # extend Phlexible::AliasView
21
+ #
22
+ # alias_view :awesome, -> { My::Awesome::Component }
23
+ #
24
+ # def template
25
+ # div do
26
+ # awesome
27
+ # end
28
+ # end
29
+ # end
30
+ #
31
+ module AliasView
32
+ def alias_view(element, view_class)
33
+ define_method element do |*args, **kwargs, &block|
34
+ render view_class.call.new(*args, **kwargs, &block)
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Phlexible
4
+ module Rails
5
+ module AnchorElement
6
+ # @override Calls `url_for` for the :href attribute.
7
+ def a(**attributes, &block)
8
+ attributes[:href] = helpers.url_for(attributes[:href]) if attributes.key?(:href)
9
+
10
+ super(**attributes, &block)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'phlex-rails'
4
+
5
+ module Phlexible
6
+ module Rails
7
+ autoload :AnchorElement, 'phlexible/rails/anchor_element'
8
+ end
9
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Phlexible
4
+ VERSION = '0.1.0'
5
+ end
data/lib/phlexible.rb ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'phlexible/version'
4
+ require 'phlex'
5
+
6
+ module Phlexible
7
+ autoload :AliasView, 'phlexible/alias_view'
8
+ autoload :Rails, 'phlexible/rails'
9
+ end
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: phlexible
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Joel Moss
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-01-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: phlex
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: phlex-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.4'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.4'
41
+ description: A bunch of helpers and goodies intended to make life with [Phlex](https://phlex.fun)
42
+ even easier!
43
+ email:
44
+ - joel@developwithstyle.com
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - ".rubocop.yml"
50
+ - CODE_OF_CONDUCT.md
51
+ - Gemfile
52
+ - Gemfile.lock
53
+ - LICENSE.txt
54
+ - README.md
55
+ - Rakefile
56
+ - config/sus.rb
57
+ - config/view_helper.rb
58
+ - fixtures/dummy/app/controllers/articles_controller.rb
59
+ - fixtures/dummy/app/views/articles/index.html.erb
60
+ - fixtures/dummy/app/views/articles/link.rb
61
+ - fixtures/dummy/config/database.yml
62
+ - fixtures/dummy/config/routes.rb
63
+ - fixtures/dummy/config/storage.yml
64
+ - fixtures/dummy/db/schema.rb
65
+ - fixtures/dummy/log/.gitignore
66
+ - fixtures/dummy/public/favicon.ico
67
+ - fixtures/rails_helper.rb
68
+ - lib/phlexible.rb
69
+ - lib/phlexible/alias_view.rb
70
+ - lib/phlexible/rails.rb
71
+ - lib/phlexible/rails/anchor_element.rb
72
+ - lib/phlexible/version.rb
73
+ homepage: https://github.com/joelmoss/phlexible
74
+ licenses:
75
+ - MIT
76
+ metadata:
77
+ homepage_uri: https://github.com/joelmoss/phlexible
78
+ source_code_uri: https://github.com/joelmoss/phlexible
79
+ changelog_uri: https://github.com/joelmoss/phlexible/releases
80
+ rubygems_mfa_required: 'true'
81
+ post_install_message:
82
+ rdoc_options: []
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 2.7.0
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ requirements: []
96
+ rubygems_version: 3.4.1
97
+ signing_key:
98
+ specification_version: 4
99
+ summary: A bunch of helpers and goodies intended to make life with [Phlex](https://phlex.fun)
100
+ even easier!
101
+ test_files: []