accampos_view_tool 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: 73749414d2b9c43f6ce2498abdcedc3afa3760769b00fc19d61eb4a44adccf1e
4
+ data.tar.gz: 4f165b53dd85c8c8a09898d74c1d5dbede4651250decd68c692e00a9aaab9add
5
+ SHA512:
6
+ metadata.gz: d95db5f9b7ec8167ea5e5af01a7d5fd36affee1f0bd0b653f9f8f074d7ec56a6c74789601ef772dacc30c8f78002ec3b15f69391228296d743701efa6d7b25ce
7
+ data.tar.gz: f1b7df048134f542723e481e460e513911751062c5f137e840b764b347f121a8f6c13b1f63af98cf62704b4dd0468b72c4fc15a3b2e6c3ace55a53c4ebffb52f
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # AccamposViewTool
2
+
3
+ > Various view specific methods for applications I use.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'accampos_view_tool'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install accampos_view_tool
20
+
21
+ ## Usage
22
+
23
+ ```ruby
24
+ AccamposViewTool::Renderer.copyright 'April Camille Campos', 'All rights reserved'
25
+ ```
26
+
27
+ ## Development
28
+
29
+ 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.
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]/accampos_view_tool.
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,7 @@
1
+ module AccamposViewTool
2
+ class Renderer
3
+ def self.copyright name, msg
4
+ "&copy; #{Time.now.year} | <b>#{name}</b> #{msg}".html_safe
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AccamposViewTool
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "accampos_view_tool/version"
4
+ require_relative "accampos_view_tool/renderer"
5
+
6
+ module AccamposViewTool
7
+ end
@@ -0,0 +1,4 @@
1
+ module AccamposViewTool
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: accampos_view_tool
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - April Camille Campos
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 2025-03-25 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: Provides generated HTML data for Rails applications.
13
+ email:
14
+ - aprilcamille.campos@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - README.md
20
+ - Rakefile
21
+ - lib/accampos_view_tool.rb
22
+ - lib/accampos_view_tool/renderer.rb
23
+ - lib/accampos_view_tool/version.rb
24
+ - sig/accampos_view_tool.rbs
25
+ homepage: https://sampleapp.com
26
+ licenses:
27
+ - MIT
28
+ metadata: {}
29
+ rdoc_options: []
30
+ require_paths:
31
+ - lib
32
+ required_ruby_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 3.1.0
37
+ required_rubygems_version: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ requirements: []
43
+ rubygems_version: 3.6.6
44
+ specification_version: 4
45
+ summary: Various view specific methods for applications I use.
46
+ test_files: []