eric_selva_view_tool 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3a6d702c4475ecbb8657db630b259e377421f841b06ef6f966f47b70ae7d2cac
4
+ data.tar.gz: 45f50a1d91b5f6a8e649123ccec52f1ca9cd103e3e4b63f9d78561d0f882fac3
5
+ SHA512:
6
+ metadata.gz: 12fd01bcffd2896c66aa81129d118bd10c80b25fda4e15c44a8cf5a3031e1f0a882585758b8666654bbef0a0c6c03525ce473c36c5b4eee8225e9f6a0a3da569
7
+ data.tar.gz: 801b98403dbf3652d67536252081d61e2c19ee572974f757541ca4e3e846b6e937597efe83c21dd1e6dd301705dfa6afe3f49b277fb3531f8367c66a12ef4fac
@@ -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 eric_selva_view_tool.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
@@ -0,0 +1,19 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ eric_selva_view_tool (0.1.2)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ rake (12.3.3)
10
+
11
+ PLATFORMS
12
+ x64-mingw32
13
+
14
+ DEPENDENCIES
15
+ eric_selva_view_tool!
16
+ rake (~> 12.0)
17
+
18
+ BUNDLED WITH
19
+ 2.1.2
@@ -0,0 +1,36 @@
1
+ # EricSelvaViewTool
2
+
3
+ > Gema de prueba para poner texto de Copyright con año dinamico a tu web
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'eric_selva_view_tool', git: 'https://github.com/saitama1899/eric_selva_view_tool.git'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle install
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install eric_selva_view_tool
20
+
21
+ ## Usage
22
+
23
+ ```ruby
24
+ EricSelvaViewTool::Renderer.copyright 'Eric Selva', '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 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]/eric_selva_view_tool.
36
+
@@ -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 "eric_selva_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/eric_selva_view_tool/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "eric_selva_view_tool"
5
+ spec.version = EricSelvaViewTool::VERSION
6
+ spec.authors = ["saitama1899"]
7
+ spec.email = ["eric.lorien92@gmail.com"]
8
+
9
+ spec.summary = %q{Gema de prueba para poner texto de Copyright con año dinamico a tu web}
10
+ spec.description = %q{Gema de prueba para poner texto de Copyright con año dinamico a tu web}
11
+ spec.homepage = "https://github.com/saitama1899/eric_selva_view_tool.git"
12
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
13
+
14
+ # spec.metadata["allowed_push_host"] = "https://github.com/saitama1899/eric_selva_view_tool.git"
15
+
16
+ spec.metadata["homepage_uri"] = spec.homepage
17
+ spec.metadata["source_code_uri"] = "https://github.com/saitama1899/eric_selva_view_tool.git"
18
+ spec.metadata["changelog_uri"] = "https://github.com/saitama1899/eric_selva_view_tool/blob/master/README.md"
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 "eric_selva_view_tool/version"
2
+ require "eric_selva_view_tool/renderer"
3
+
4
+ module EricSelvaViewTool
5
+ class Error < StandardError; end
6
+ # Your code goes here...
7
+ end
@@ -0,0 +1,8 @@
1
+ module EricSelvaViewTool
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
8
+
@@ -0,0 +1,3 @@
1
+ module EricSelvaViewTool
2
+ VERSION = "0.1.2"
3
+ end
metadata ADDED
@@ -0,0 +1,56 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: eric_selva_view_tool
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ platform: ruby
6
+ authors:
7
+ - saitama1899
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-01-04 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Gema de prueba para poner texto de Copyright con año dinamico a tu web
14
+ email:
15
+ - eric.lorien92@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".gitignore"
21
+ - Gemfile
22
+ - Gemfile.lock
23
+ - README.md
24
+ - Rakefile
25
+ - bin/console
26
+ - bin/setup
27
+ - eric_selva_view_tool.gemspec
28
+ - lib/eric_selva_view_tool.rb
29
+ - lib/eric_selva_view_tool/renderer.rb
30
+ - lib/eric_selva_view_tool/version.rb
31
+ homepage: https://github.com/saitama1899/eric_selva_view_tool.git
32
+ licenses: []
33
+ metadata:
34
+ homepage_uri: https://github.com/saitama1899/eric_selva_view_tool.git
35
+ source_code_uri: https://github.com/saitama1899/eric_selva_view_tool.git
36
+ changelog_uri: https://github.com/saitama1899/eric_selva_view_tool/blob/master/README.md
37
+ post_install_message:
38
+ rdoc_options: []
39
+ require_paths:
40
+ - lib
41
+ required_ruby_version: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 2.3.0
46
+ required_rubygems_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ requirements: []
52
+ rubygems_version: 3.0.3
53
+ signing_key:
54
+ specification_version: 4
55
+ summary: Gema de prueba para poner texto de Copyright con año dinamico a tu web
56
+ test_files: []