cakes_view_tool 0.2.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: c4ca98561796482747015b1dce2dd56bd0cc4a09af694ab79632a1bc97492dcc
4
+ data.tar.gz: 8e0d21bda4b1e36ea1c713d77e13d150ff20f629510de850848a707908f1ee0a
5
+ SHA512:
6
+ metadata.gz: 4720c0fa3640f771395c1c1324aa17abc4b8adaf5d2681701fd89146869ea4d4fb2c3d2a1eff5e8606ca130974d769f65d56c0a07381c38525049246f96fadbb
7
+ data.tar.gz: 3c189e4a6a0a120a82fad858a97eaadad5bc1627981532cf1f60cfcb3833540c8f46ca58043b01c0fbb1dbe9077aba825ea9a581fe88214de022815d05736de2
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2023-04-13
4
+
5
+ - Initial release
File without changes
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 cakes_view_tool.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
data/Gemfile.lock ADDED
@@ -0,0 +1,19 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ cakes_view_tool (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ rake (13.0.6)
10
+
11
+ PLATFORMS
12
+ x86_64-linux-gnu
13
+
14
+ DEPENDENCIES
15
+ cakes_view_tool!
16
+ rake (~> 13.0)
17
+
18
+ BUNDLED WITH
19
+ 2.4.12
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 Mohamed Abdulhakim
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,39 @@
1
+ # CakesViewTool
2
+
3
+ > Streamline your Ruby application's view development with my customizable gem, featuring a variouse 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 'cakes_view_tool'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle install
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install cakes_view_tool
20
+
21
+ ## Usage
22
+
23
+ ```ruby
24
+ CakeViewTool::Renderer.copyright "Mohamed Cake", "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/CakeInTech/cakes_view_tool.
36
+
37
+ ## License
38
+
39
+ 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,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ task default: %i[]
@@ -0,0 +1,9 @@
1
+ module CakesViewTool
2
+ class Error < StandardError; end
3
+ # Your code goes here...
4
+ class Renderer
5
+ def self.copyright name, msg
6
+ "&copy; #{Time.now.year} | <b>#{name}</b> #{msg}".html_safe
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CakesViewTool
4
+ VERSION = "0.2.0"
5
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "cakes_view_tool/version"
4
+ require_relative "cakes_view_tool/renderer"
5
+
6
+ module CakesViewTool
7
+ class Error < StandardError; end
8
+ # Your code goes here...
9
+ end
@@ -0,0 +1,4 @@
1
+ module CakesViewTool
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,58 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cakes_view_tool
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Mohamed Abdulhakim
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-04-13 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Provides generated HTML data for Rails applications.
14
+ email:
15
+ - abdulhakimm280@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - CHANGELOG.md
21
+ - CODE_OF_CONDUCT.md
22
+ - Gemfile
23
+ - Gemfile.lock
24
+ - LICENSE.txt
25
+ - README.md
26
+ - Rakefile
27
+ - lib/cakes_view_tool.rb
28
+ - lib/cakes_view_tool/renderer.rb
29
+ - lib/cakes_view_tool/version.rb
30
+ - sig/cakes_view_tool.rbs
31
+ homepage: https://mohamedcake.com
32
+ licenses:
33
+ - MIT
34
+ metadata:
35
+ homepage_uri: https://mohamedcake.com
36
+ source_code_uri: https://github.com/CakeInTech/cakes_view_tool
37
+ changelog_uri: https://github.com/CakeInTech/cakes_view_tool/blob/main/CHANGELOG.md
38
+ post_install_message:
39
+ rdoc_options: []
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 2.6.0
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ requirements: []
53
+ rubygems_version: 3.4.12
54
+ signing_key:
55
+ specification_version: 4
56
+ summary: Streamline your Ruby application's view development with my customizable
57
+ gem, featuring a variouse view specific methods for applications I use.
58
+ test_files: []