cwilliams_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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2167cf127ca53509c977a10ea251251dcd6e196e718a0c38cf95157554349244
4
+ data.tar.gz: a1bf2986722a9e85882c4fa7a01c87ecee5fe084f9b9bcf2ea2acc9945bfd078
5
+ SHA512:
6
+ metadata.gz: 04f7d641c24504e1430acdb22498ced557bf1188ba703a09440573ad0bace619bda6be830a1d2ee77027a6e911cf4012b90924192aad64e459b606781bbc2403
7
+ data.tar.gz: 8e716ac8908aea595bff28f388feb02568525d686b807a3ce34f834090d3901dded4f93b8c5d6bc126d3230646cdad4a612046e8e76f02c440bffb76aa82912a
Binary file
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ *.gem
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in cwilliams_view_tool.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
@@ -0,0 +1,19 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ cwilliams_view_tool (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ rake (12.3.2)
10
+
11
+ PLATFORMS
12
+ ruby
13
+
14
+ DEPENDENCIES
15
+ cwilliams_view_tool!
16
+ rake (~> 12.0)
17
+
18
+ BUNDLED WITH
19
+ 2.1.4
@@ -0,0 +1,40 @@
1
+ # CwilliamsViewTool
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 'cwilliams_view_tool'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install cwilliams_view_tool
20
+
21
+ ## Usage
22
+
23
+ ```ruby
24
+ CwilliamsViewTool::Renderer.copyright 'Clint L. Williams', 'All rights reserved'
25
+ ```
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 tags, 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]/devcamp_view_tool. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "cwilliams_view_tool"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,28 @@
1
+ require_relative 'lib/cwilliams_view_tool/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "cwilliams_view_tool"
5
+ spec.version = CwilliamsViewTool::VERSION
6
+ spec.authors = ["Clint L Williams"]
7
+ spec.email = ["cwilliams@gracehill.com"]
8
+
9
+ spec.summary = %q{Various view specific methods for applications I have.}
10
+ spec.description = %q{Provides generated HTML data for Rails applications.}
11
+ spec.homepage = "https://github.com/clintlwilliams/"
12
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
13
+
14
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
15
+
16
+ spec.metadata["homepage_uri"] = spec.homepage
17
+ spec.metadata["source_code_uri"] = "https://github.com/clintlwilliams/cwilliams_view_tool"
18
+ spec.metadata["changelog_uri"] = "https://github.com/clintlwilliams/cwilliams_view_tool"
19
+
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
23
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ end
25
+ spec.bindir = "exe"
26
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.require_paths = ["lib"]
28
+ end
@@ -0,0 +1,7 @@
1
+ require "cwilliams_view_tool/version"
2
+ require "cwilliams_view_tool/renderer"
3
+
4
+ module CwilliamsViewTool
5
+ class Error < StandardError; end
6
+ # Your code goes here...
7
+ end
@@ -0,0 +1,8 @@
1
+ module CwilliamsViewTool
2
+ # class Error < StandardError; end
3
+ class Renderer
4
+ def self.copyright name, msg
5
+ "&copy; #{Time.now.year} | <b>#{name}</b> #{msg}".html_safe
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,3 @@
1
+ module CwilliamsViewTool
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,58 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cwilliams_view_tool
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Clint L Williams
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-04-15 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Provides generated HTML data for Rails applications.
14
+ email:
15
+ - cwilliams@gracehill.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".DS_Store"
21
+ - ".gitignore"
22
+ - Gemfile
23
+ - Gemfile.lock
24
+ - README.md
25
+ - Rakefile
26
+ - bin/console
27
+ - bin/setup
28
+ - cwilliams_view_tool.gemspec
29
+ - lib/cwilliams_view_tool.rb
30
+ - lib/cwilliams_view_tool/renderer.rb
31
+ - lib/cwilliams_view_tool/version.rb
32
+ homepage: https://github.com/clintlwilliams/
33
+ licenses: []
34
+ metadata:
35
+ allowed_push_host: https://rubygems.org
36
+ homepage_uri: https://github.com/clintlwilliams/
37
+ source_code_uri: https://github.com/clintlwilliams/cwilliams_view_tool
38
+ changelog_uri: https://github.com/clintlwilliams/cwilliams_view_tool
39
+ post_install_message:
40
+ rdoc_options: []
41
+ require_paths:
42
+ - lib
43
+ required_ruby_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 2.3.0
48
+ required_rubygems_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ requirements: []
54
+ rubygems_version: 3.1.2
55
+ signing_key:
56
+ specification_version: 4
57
+ summary: Various view specific methods for applications I have.
58
+ test_files: []