thedevdevesh_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: 4608bca809a4754c68b291a41ef9f78c2e15c27fdc15ec1ad77775fa0b3fa27d
4
+ data.tar.gz: 3b08409022c4c5d530cc1b4a134872b8bd20824298c213ec0f82be85ce25467c
5
+ SHA512:
6
+ metadata.gz: 995ea0d08c4fc52094483c49847d27ee2564d699bdf8ef567dd3ef26d516169b08dd3de838068d0b4c9b90436315bfca8fa88cccf4fa8cbdf89d8f32fb94f803
7
+ data.tar.gz: 9c739867a7a4eb231a7291fc0c974934931a4aa048b4a2d0d636d649805031fb7b7ac693fa30bcb532c57a54bcfa00a6a960ccc8d3d60dd94e2b3631da26ab18
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # ThedevdeveshViewTool
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/thedevdevesh_view_tool`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+ Add this line to your application's Gemfile:
9
+ ```ruby
10
+ gem 'thedevdevesh_view_tool'
11
+ ```
12
+ And then execute:
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+ $ gem install thedevdevesh_view_tool
17
+
18
+
19
+ Install the gem and add to the application's Gemfile by executing:
20
+
21
+ $ bundle add thedevdevesh_view_tool
22
+
23
+ If bundler is not being used to manage dependencies, install the gem by executing:
24
+
25
+ $ gem install thedevdevesh_view_tool
26
+
27
+ ## Usage
28
+
29
+ ```ruby
30
+ ThedevdeveshViewTool::Renderer.copyright 'thedevdevesh', 'All rights reserved'
31
+ ```
32
+
33
+ ## Development
34
+
35
+ 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.
36
+
37
+ 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).
38
+
39
+ ## Contributing
40
+
41
+ Bug reports and pull requests are welcome on GitHub at https://github.com/thedevdevesh/thedevdevesh_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,8 @@
1
+ module ThedevdeveshViewTool
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
+ # Your code goes here...
8
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ThedevdeveshViewTool
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'thedevdevesh_view_tool/version'
4
+ require 'thedevdevesh_view_tool/renderer'
5
+
6
+ module ThedevdeveshViewTool
7
+ class Error < StandardError; end
8
+ # Your code goes here...
9
+ end
@@ -0,0 +1,4 @@
1
+ module ThedevdeveshViewTool
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/thedevdevesh_view_tool/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'thedevdevesh_view_tool'
7
+ spec.version = ThedevdeveshViewTool::VERSION
8
+ spec.authors = ['Devesh Kumar Singh']
9
+ spec.email = ['deveshkumarsingh99@gmail.com']
10
+
11
+ spec.summary = 'various view specific methods for application I use.'
12
+ spec.description = 'Provides generated HTML data for Rails applications.'
13
+ spec.homepage = 'https://github.com/thedevdevesh/thedevdevesh_view_tool'
14
+ spec.required_ruby_version = '>= 2.6.0'
15
+ spec.license = 'MIT'
16
+
17
+ spec.metadata['homepage_uri'] = spec.homepage
18
+ spec.metadata['source_code_uri'] = 'https://github.com/thedevdevesh/thedevdevesh_view_tool'
19
+ spec.metadata['changelog_uri'] = 'https://github.com/thedevdevesh/thedevdevesh_view_tool/blob/main/README.md'
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(__dir__) do
24
+ `git ls-files -z`.split("\x0").reject do |f|
25
+ (File.expand_path(f) == __FILE__) ||
26
+ f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor Gemfile])
27
+ end
28
+ end
29
+ spec.bindir = 'exe'
30
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ['lib']
32
+
33
+ # Uncomment to register a new dependency of your gem
34
+ # spec.add_dependency "example-gem", "~> 1.0"
35
+
36
+ # For more information and examples about making a new gem, check out our
37
+ # guide at: https://bundler.io/guides/creating_gem.html
38
+ end
metadata ADDED
@@ -0,0 +1,53 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: thedevdevesh_view_tool
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Devesh Kumar Singh
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-07-06 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Provides generated HTML data for Rails applications.
14
+ email:
15
+ - deveshkumarsingh99@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - README.md
21
+ - Rakefile
22
+ - lib/thedevdevesh_view_tool.rb
23
+ - lib/thedevdevesh_view_tool/renderer.rb
24
+ - lib/thedevdevesh_view_tool/version.rb
25
+ - sig/thedevdevesh_view_tool.rbs
26
+ - thedevdevesh_view_tool.gemspec
27
+ homepage: https://github.com/thedevdevesh/thedevdevesh_view_tool
28
+ licenses:
29
+ - MIT
30
+ metadata:
31
+ homepage_uri: https://github.com/thedevdevesh/thedevdevesh_view_tool
32
+ source_code_uri: https://github.com/thedevdevesh/thedevdevesh_view_tool
33
+ changelog_uri: https://github.com/thedevdevesh/thedevdevesh_view_tool/blob/main/README.md
34
+ post_install_message:
35
+ rdoc_options: []
36
+ require_paths:
37
+ - lib
38
+ required_ruby_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.6.0
43
+ required_rubygems_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ requirements: []
49
+ rubygems_version: 3.4.6
50
+ signing_key:
51
+ specification_version: 4
52
+ summary: various view specific methods for application I use.
53
+ test_files: []