say_hi 0.2.2 → 0.2.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c91314a8b6956a4b4520e3ca4e1415411edbe29248782b2f97134291010b27d
4
- data.tar.gz: 8cce88852870881b4a61d10d47c9b4c8d2869d5682b50f2b2411a57e603a6a28
3
+ metadata.gz: b9f4581ee03bb882305945fd039ad302e93841995a4e2b5480dbb7263d1c7ab4
4
+ data.tar.gz: a2315781b1444c419ccad2c3778b1357c35dfd933b6ccd36b94e7701f9ac93c1
5
5
  SHA512:
6
- metadata.gz: c7f13da7cf51a6553032bf92000883f1bf709014e2f234b06468b9665efe671a962a92ed85bf3bd6bd0c2a75d8c59fe06be005d3fd4fff89e3e7f2e6a9ddb21d
7
- data.tar.gz: 81d5637d3937b218538a07a6a9c1c16e1fa67ef182fbb0d93e1f0756275ab01faf95497ce4caa0b48da40db711f6b70da09183c0be6afb9b674dfb0304ed2af1
6
+ metadata.gz: 6f568014e4c655fcc075ceb4b0623debd996bd27a6d48a67feb82dd0511961aca355828f406503dbc9524a224aa05363fdc0ee29c8d89060d7e4f9083a32da4b
7
+ data.tar.gz: 837aa85d6136cd8356056ba64c373e7da1b2d02d330a6c89048859f95c94b42ca8422fb9f74d6bdc518d651471914c115cf6bdc4d7af1d675b5751e750ab7b08
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- say_hi (0.2.2)
4
+ say_hi (0.2.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  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/say_hi`. To experiment with that code, run `bin/console` for an interactive prompt.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
6
5
 
7
6
  ## Installation
8
7
 
@@ -22,7 +21,7 @@ Or install it yourself as:
22
21
 
23
22
  ## Usage
24
23
 
25
- TODO: Write usage instructions here
24
+ SayHi::WelcomeNote.greeting(name)
26
25
 
27
26
  ## Development
28
27
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SayHi
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
data/lib/say_hi.rb CHANGED
@@ -3,10 +3,6 @@
3
3
  require_relative "say_hi/version"
4
4
  require "say_hi/generator"
5
5
 
6
- # module RandomGreetingGenerator
7
-
8
-
9
- # end
10
6
  module SayHi
11
7
  class WelcomeNote
12
8
  def self.greeting(name)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: say_hi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - venkatesan-Juhomi
@@ -27,7 +27,6 @@ files:
27
27
  - bin/console
28
28
  - bin/setup
29
29
  - lib/say_hi.rb
30
- - lib/say_hi/generator.rb
31
30
  - lib/say_hi/version.rb
32
31
  - say_hi.gemspec
33
32
  homepage: https://github.com/venkatesan-juhomi/say_hi
@@ -1,11 +0,0 @@
1
- module RandomGreetingGenerator
2
- class Generator
3
- def self.random_greeting name
4
- greetings = ["Hello","Bonjour","Hola","Guten tag",
5
- "Hej","Salve","Nǐ Hǎo","Xin chào","Hei","Ahoj"
6
- ]
7
- # Creates a random greeting string
8
- "#{greetings.sample}, #{name}"
9
- end
10
- end
11
- end