compex-rails 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: c8467f433f65597d7af08be33000eb6280c8d3b716d3e89c00a37509fc5fecf5
4
+ data.tar.gz: 02a0fe7d0f5520071e3a82fffa589cf59724a8f0e4eb0b0178951a5ee3b75337
5
+ SHA512:
6
+ metadata.gz: 2acd90249d59bca8d8853231f011a8d4b440614205a378439aa4e2da44b2211ae148ecd1a7ff3efdd4824031efdcf6c7d7a3dac0b9662c79435be7762eb5d09f
7
+ data.tar.gz: efe3ce9c9c04f5a4f5bc045f3eb39d5d76848419227e9833483b0e1311f67763323632fa873ec42fad5d874ae09fd4f1c97c3d5743e6e9b90639b1675bcabd30
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,8 @@
1
+ AllCops:
2
+ TargetRubyVersion: 3.1
3
+
4
+ Style/StringLiterals:
5
+ EnforcedStyle: double_quotes
6
+
7
+ Style/StringLiteralsInInterpolation:
8
+ EnforcedStyle: double_quotes
@@ -0,0 +1,132 @@
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
+ [INSERT CONTACT METHOD].
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or permanent
93
+ ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.1, available at
119
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120
+
121
+ Community Impact Guidelines were inspired by
122
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123
+
124
+ For answers to common questions about this code of conduct, see the FAQ at
125
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
+ [https://www.contributor-covenant.org/translations][translations].
127
+
128
+ [homepage]: https://www.contributor-covenant.org
129
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
+ [Mozilla CoC]: https://github.com/mozilla/diversity
131
+ [FAQ]: https://www.contributor-covenant.org/faq
132
+ [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 Vito Sartori
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,43 @@
1
+ # Compex::Rails
2
+
3
+ TODO: Delete this and the text below, and describe your gem
4
+
5
+ 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/compex/rails`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
9
+ 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.
10
+
11
+ Install the gem and add to the application's Gemfile by executing:
12
+
13
+ ```bash
14
+ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
15
+ ```
16
+
17
+ If bundler is not being used to manage dependencies, install the gem by executing:
18
+
19
+ ```bash
20
+ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
21
+ ```
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/compex-rails. 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/[USERNAME]/compex-rails/blob/master/CODE_OF_CONDUCT.md).
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the Compex::Rails project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/compex-rails/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 "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
data/config.ru ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rubygems"
4
+ require "bundler"
5
+
6
+ Bundler.require :default, :development
7
+
8
+ Combustion.initialize! :all
9
+ run Combustion::Application
@@ -0,0 +1,48 @@
1
+ require "fileutils"
2
+
3
+ module CompEx
4
+ module Rails
5
+ module AssetPipeline
6
+ STYLE_DIR = "compex/styles"
7
+ SCRIPT_DIR = "compex/scripts"
8
+
9
+ def self.prepare!(app)
10
+ return unless app.config.respond_to?(:assets)
11
+
12
+ styles_dir = write_assets(STYLE_DIR, CompEx::ComponentRegistry.gather_styles)
13
+ scripts_dir = write_assets(SCRIPT_DIR, CompEx::ComponentRegistry.gather_scripts)
14
+
15
+ [styles_dir, scripts_dir].compact.each do |dir|
16
+ app.config.assets.paths << dir
17
+ end
18
+
19
+ app.config.assets.precompile += logical_paths(styles_dir, "*.css")
20
+ app.config.assets.precompile += logical_paths(scripts_dir, "*.js")
21
+ end
22
+
23
+ def self.write_assets(subdir, assets)
24
+ return if assets.blank?
25
+
26
+ root = Rails.root.join("tmp", "compex", "assets", subdir)
27
+ FileUtils.mkdir_p(root)
28
+
29
+ assets.each do |logical_name, source|
30
+ ext = logical_name.start_with?("c_") ? ".css" : ".js"
31
+ path = root.join("#{logical_name}#{ext}")
32
+ File.write(path, source)
33
+ end
34
+
35
+ root.to_s
36
+ end
37
+
38
+ def self.logical_paths(base_dir, glob)
39
+ return [] unless base_dir && Dir.exist?(base_dir)
40
+
41
+ Dir[File.join(base_dir, glob)].map do |full_path|
42
+ File.join(File.basename(File.dirname(full_path)),
43
+ File.basename(full_path))
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,25 @@
1
+ module CompEx
2
+ module Rails
3
+ class AssetsController < ::ActionController::Base
4
+ def index
5
+ hashes = params.fetch(:h, "").split(",").map(&:strip)
6
+ result = []
7
+
8
+ hashes.each do |h|
9
+ asset = ::CompEx::AssetProvider.provide(h)
10
+ if asset
11
+ result << {
12
+ type: h.start_with?("j_") ? :script : :style,
13
+ hash: h,
14
+ source: asset
15
+ }
16
+ else
17
+ result << nil
18
+ end
19
+ end
20
+
21
+ render json: result
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,23 @@
1
+ module CompEx
2
+ module Rails
3
+ module Controller
4
+ extend ActiveSupport::Concern
5
+
6
+ included do
7
+ before_action do
8
+ state = CompEx::Rails::RequestState
9
+ state.required_hashes = Set.new
10
+ state.rendered_style_hashes = Set.new
11
+ state.rendered_script_hashes = Set.new
12
+ end
13
+
14
+ after_action do
15
+ next unless request.xhr?
16
+ state = CompEx::Rails::RequestState
17
+ next if state.required_hashes.nil? || state.required_hashes.empty?
18
+ response.set_header("X-CompEx-RequiredHashes", state.required_hashes.join(","))
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,66 @@
1
+ module CompEx
2
+ module Rails
3
+ module Helpers
4
+ def component(component_class, **props, &block)
5
+ slot_html = props.key?(:children) ? props.delete(:children) : nil
6
+ slot_html = capture(&block) if block_given?
7
+
8
+ component = component_class.new(**props)
9
+ rendered = slot_html.nil? ? component.render_html : component.render_html(children: slot_html)
10
+
11
+ hashes = Array(component.required_hashes).compact
12
+ register_hashes(hashes)
13
+
14
+ rendered.respond_to?(:html_safe) ? rendered.html_safe : rendered
15
+ end
16
+
17
+ def compex_styles
18
+ buf = output_buffer
19
+ marker = buf.length
20
+
21
+ buf.compex_after_render(marker) do |final_buffer, at|
22
+ styles = view_flow.get(:compex_styles)
23
+ next if styles.blank?
24
+ final_buffer.insert(at, styles.to_s)
25
+ end
26
+
27
+ ActiveSupport::SafeBuffer.new
28
+ end
29
+
30
+ def compex_scripts
31
+ buf = output_buffer
32
+ marker = buf.length
33
+
34
+ buf.compex_after_render(marker) do |final_buffer, at|
35
+ scripts = view_flow.get(:compex_scripts)
36
+ next if scripts.blank?
37
+ final_buffer.insert(at, scripts.to_s)
38
+ end
39
+
40
+ ActiveSupport::SafeBuffer.new
41
+ end
42
+
43
+ def register_hashes(hashes)
44
+ state = CompEx::Rails::RequestState
45
+ state.rendered_style_hashes ||= Set.new
46
+ state.rendered_script_hashes ||= Set.new
47
+
48
+ hashes.each do |hash|
49
+ source = CompEx::AssetProvider.provide(hash)
50
+ next unless source
51
+
52
+ case hash[...2]
53
+ when "j_"
54
+ next unless state.rendered_script_hashes.add?(hash)
55
+ view_flow.append(:compex_scripts,
56
+ content_tag(:script, source.html_safe, "type" => "text/javascript", "cx-asset" => hash))
57
+ when "c_"
58
+ next unless state.rendered_style_hashes.add?(hash)
59
+ view_flow.append(:compex_styles,
60
+ content_tag(:style, source.html_safe, "cx-asset" => hash))
61
+ end
62
+ end
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,37 @@
1
+ module CompEx
2
+ module Rails
3
+ module OutputBufferExtensions
4
+ def compex_after_render(anchor, &block)
5
+ (@compex_callbacks ||= []) << [anchor, block]
6
+ end
7
+
8
+ def to_s
9
+ compex_run_callbacks
10
+ super
11
+ end
12
+
13
+ def html_safe
14
+ compex_run_callbacks
15
+ super
16
+ end
17
+
18
+ def insert(index, value)
19
+ @raw_buffer.insert(index, value)
20
+ end
21
+
22
+ private
23
+
24
+ def compex_run_callbacks
25
+ return unless @compex_callbacks&.any?
26
+ callbacks, @compex_callbacks = @compex_callbacks, nil
27
+
28
+ callbacks.sort_by! { |anchor, _| anchor || 0 }
29
+ callbacks.reverse_each do |anchor, block|
30
+ block.call(self, anchor)
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
36
+
37
+ ActionView::OutputBuffer.prepend(CompEx::Rails::OutputBufferExtensions)
@@ -0,0 +1,53 @@
1
+ module CompEx
2
+ module Rails
3
+ class Railtie < ::Rails::Railtie
4
+ config.compex = ActiveSupport::OrderedOptions.new
5
+
6
+ initializer "compex.rails.reloader" do |app|
7
+ CompEx::Rails::Reloader.install!(app)
8
+ end
9
+
10
+ initializer "compex.assets.precompile" do |app|
11
+ CompEx::Rails::AssetPipeline.prepare!(app)
12
+ end
13
+
14
+ initializer "compex.rails.load" do
15
+ ActiveSupport.on_load(:action_view) do
16
+ include CompEx::Rails::Helpers
17
+ end
18
+
19
+ ActiveSupport.on_load(:action_controller_base) do
20
+ include CompEx::Rails::Controller
21
+ end
22
+
23
+ CompEx.configure do |cfg|
24
+ root = ::Rails.root.join("app", "views", "components").to_s
25
+ cfg.template_search_path ||= root
26
+ cfg.style_search_path ||= root
27
+ cfg.js_search_path ||= root
28
+ end
29
+ end
30
+
31
+ initializer "compex.rails.routes", after: :set_routes_reloader_hooks do |app|
32
+ app.routes.prepend do
33
+ get "/_compex/assets" => "comp_ex/rails/assets#index"
34
+ end
35
+ end
36
+
37
+ config.to_prepare do
38
+ CompEx::Rails::RequestState.reset_all
39
+ end
40
+
41
+ config.after_initialize do |app|
42
+ overrides = app.config.compex
43
+
44
+ CompEx.configure do |cfg|
45
+ cfg.template_search_path = overrides.template_path if overrides.template_path
46
+ cfg.style_search_path = overrides.style_path if overrides.style_path
47
+ cfg.js_search_path = overrides.js_path if overrides.js_path
48
+ cfg.cache_prefix = overrides.cache_prefix if overrides.cache_prefix
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,21 @@
1
+ module CompEx
2
+ module Rails
3
+ module Reloader
4
+ def self.install!(app)
5
+ return if app.config.cache_classes
6
+
7
+ hook = proc do
8
+ CompEx::ComponentRegistry.flush!
9
+ CompEx::AssetProvider.reset_cache!
10
+ CompEx::Rails::AssetPipeline.refresh!(app)
11
+ end
12
+
13
+ if defined?(ActiveSupport::Reloader)
14
+ ActiveSupport::Reloader.to_prepare(&hook)
15
+ else
16
+ app.reloader.to_prepare(&hook)
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,7 @@
1
+ module CompEx
2
+ module Rails
3
+ class RequestState < ::ActiveSupport::CurrentAttributes
4
+ attribute :required_hashes, :rendered_style_hashes, :rendered_script_hashes
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CompEx
4
+ module Rails
5
+ VERSION = "0.1.0"
6
+ end
7
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "set"
4
+ require "rails"
5
+ require "compex"
6
+ require "active_support/concern"
7
+ require "action_controller/railtie"
8
+
9
+ require_relative "rails/version"
10
+ require_relative "rails/output_buffer_extensions"
11
+ require_relative "rails/assets_controller"
12
+ require_relative "rails/controller"
13
+ require_relative "rails/helpers"
14
+ require_relative "rails/request_state"
15
+ require_relative "rails/asset_pipeline"
16
+ require_relative "rails/reloader"
17
+
18
+ require_relative "rails/railtie"
19
+
20
+ module CompEx
21
+ module Rails
22
+ class Error < StandardError; end
23
+ # Your code goes here...
24
+ end
25
+ end
File without changes
data/log/test.log ADDED
@@ -0,0 +1,20 @@
1
+ Started GET "/" for 127.0.0.1 at 2025-10-23 16:55:37 -0300
2
+
3
+ ActionController::RoutingError (No route matches [GET] "/"):
4
+
5
+ Started GET "/" for 127.0.0.1 at 2025-10-23 16:56:10 -0300
6
+
7
+ ActionController::RoutingError (No route matches [GET] "/"):
8
+
9
+ Started GET "/" for 127.0.0.1 at 2025-10-23 16:56:50 -0300
10
+
11
+ ActionController::RoutingError (No route matches [GET] "/"):
12
+
13
+ Started GET "/" for 127.0.0.1 at 2025-10-23 16:56:54 -0300
14
+
15
+ ActionController::RoutingError (No route matches [GET] "/"):
16
+
17
+ Started GET "/" for 127.0.0.1 at 2025-10-23 17:04:43 -0300
18
+
19
+ ActionController::RoutingError (No route matches [GET] "/"):
20
+
metadata ADDED
@@ -0,0 +1,96 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: compex-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Vito Sartori
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 2025-10-23 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: compex
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '0.1'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '0.1'
26
+ - !ruby/object:Gem::Dependency
27
+ name: railties
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '7.0'
33
+ - - "<"
34
+ - !ruby/object:Gem::Version
35
+ version: '8.0'
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: '7.0'
43
+ - - "<"
44
+ - !ruby/object:Gem::Version
45
+ version: '8.0'
46
+ description: ''
47
+ email:
48
+ - hey@vito.io
49
+ executables: []
50
+ extensions: []
51
+ extra_rdoc_files: []
52
+ files:
53
+ - ".rspec"
54
+ - ".rubocop.yml"
55
+ - CODE_OF_CONDUCT.md
56
+ - LICENSE.txt
57
+ - README.md
58
+ - Rakefile
59
+ - config.ru
60
+ - lib/compex/rails.rb
61
+ - lib/compex/rails/asset_pipeline.rb
62
+ - lib/compex/rails/assets_controller.rb
63
+ - lib/compex/rails/controller.rb
64
+ - lib/compex/rails/helpers.rb
65
+ - lib/compex/rails/output_buffer_extensions.rb
66
+ - lib/compex/rails/railtie.rb
67
+ - lib/compex/rails/reloader.rb
68
+ - lib/compex/rails/request_state.rb
69
+ - lib/compex/rails/version.rb
70
+ - log/development.log
71
+ - log/test.log
72
+ homepage: https://github.com/heyvito/compex
73
+ licenses:
74
+ - MIT
75
+ metadata:
76
+ allowed_push_host: https://rubygems.org
77
+ homepage_uri: https://github.com/heyvito/compex
78
+ source_code_uri: https://github.com/heyvito/compex/tree/master/compex-rails
79
+ rdoc_options: []
80
+ require_paths:
81
+ - lib
82
+ required_ruby_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 3.1.0
87
+ required_rubygems_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ requirements: []
93
+ rubygems_version: 3.6.2
94
+ specification_version: 4
95
+ summary: Rails bindings for CompEx
96
+ test_files: []