componenty 0.0.1

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: a3c11a7945b6bcdde19f29344629444ed8cf447ec3fa95c26de0f66636bdca4a
4
+ data.tar.gz: 13a0fbe3b6673cf5b6f97eb3320c7de8708a7b1a2df70c022d3e844c40e95a05
5
+ SHA512:
6
+ metadata.gz: 537351ce5e2de7e903871629e3ce66928fb9548edb2c4d7ae3fcacaffcf13753edd91a61f7c68c3174049bb0567fe803ffea33e43810630463cf7255f5e4d086
7
+ data.tar.gz: f9dd98c6b43b4e99af19c8b612f0b6e8c85cec0fedf4926cffb2dfa0d7654925e9fe0c6d58e71760936aa62bcd25d370e3e08a487d09c5bd707dbd733ec08b75
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ --require spec_helper
2
+ --format documentation
3
+ --force-color
4
+ --order rand
data/.rubocop.yml ADDED
@@ -0,0 +1,10 @@
1
+ plugins:
2
+ - rubocop-rspec
3
+ - rubocop-rake
4
+
5
+ inherit_gem:
6
+ standard: config/base.yml
7
+
8
+ AllCops:
9
+ NewCops: enable
10
+ TargetRubyVersion: 3.4
data/.standard.yml ADDED
@@ -0,0 +1,3 @@
1
+ # For available configuration options, see:
2
+ # https://github.com/standardrb/standard
3
+ ruby_version: 3.4
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Walmir
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/Makefile ADDED
@@ -0,0 +1,11 @@
1
+ GEM_TO_PUSH = `ls componenty*.gem | tail -n 1`
2
+
3
+ release:
4
+ bin/release
5
+
6
+ build:
7
+ gem build componenty.gemspec
8
+
9
+ publish:
10
+ @echo "gem push ${GEM_TO_PUSH}"
11
+ @gem push ${GEM_TO_PUSH}
data/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # Componenty
2
+
3
+ Componenty is a gem that encapsulates components using Phlex.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'componenty'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ ```bash
16
+ bundle install
17
+ ```
18
+
19
+ Or install it directly via terminal:
20
+
21
+ ```bash
22
+ gem install componenty
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ ```ruby
28
+ require 'componenty'
29
+
30
+ # Example of gem usage
31
+ # Componenty.greet
32
+ ```
33
+
34
+ ## Development
35
+
36
+ After cloning the repository, 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.
37
+
38
+ To install this gem onto your local machine, run `bundle exec rake install`.
39
+
40
+ ## Contributing
41
+
42
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/componenty.
43
+
44
+ ## License
45
+
46
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
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 "standard/rake"
9
+
10
+ task default: %i[spec standard]
@@ -0,0 +1,3 @@
1
+ module Componenty
2
+ VERSION = "0.0.1"
3
+ end
data/lib/componenty.rb ADDED
@@ -0,0 +1,6 @@
1
+ require_relative "componenty/version"
2
+
3
+ module Componenty
4
+ class Error < StandardError; end
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,4 @@
1
+ module Componenty
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,54 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: componenty
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Lavenda Software
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: This gem encapsulates components using phlex-rails.
13
+ email:
14
+ - lavenda@lavenda.com.br
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - ".rspec"
20
+ - ".rubocop.yml"
21
+ - ".standard.yml"
22
+ - LICENSE.txt
23
+ - Makefile
24
+ - README.md
25
+ - Rakefile
26
+ - lib/componenty.rb
27
+ - lib/componenty/version.rb
28
+ - sig/componenty.rbs
29
+ homepage: https://github.com/LavendaSoftware/componenty
30
+ licenses:
31
+ - MIT
32
+ metadata:
33
+ allowed_push_host: https://rubygems.org
34
+ homepage_uri: https://github.com/LavendaSoftware/componenty
35
+ source_code_uri: https://github.com/LavendaSoftware/componenty/blob/main/README.md
36
+ changelog_uri: https://github.com/LavendaSoftware/componenty/commits/main
37
+ rdoc_options: []
38
+ require_paths:
39
+ - lib
40
+ required_ruby_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: 3.2.0
45
+ required_rubygems_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ requirements: []
51
+ rubygems_version: 4.0.6
52
+ specification_version: 4
53
+ summary: Encapsulate components using Phlex.
54
+ test_files: []