birthday_greeting 0.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.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/bin/greeting +2 -0
  3. data/lib/birthday_greeting.rb +13 -0
  4. metadata +47 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 48f0a2674c8edc0172a2aed3a9276c73d412bad3
4
+ data.tar.gz: 53cec9d183d7787ef22c23b29fac2336d4a8c88e
5
+ SHA512:
6
+ metadata.gz: bc9e70db9a31d9a7be7049ec5372f3edb170d440699ea1c67810ace77a1c64b6ca17e793defae6eebfe03bc0a92264592315f2afb6a0f596784a0b17b84fac63
7
+ data.tar.gz: 39c939eceeaf8c085bbe522bb1d4198fd6260321d76646b80278d29bc1460bb19eb26f362c52f8a6cc14c6d6d5e503b9ac8be0d580838d023666765414023765
data/bin/greeting ADDED
@@ -0,0 +1,2 @@
1
+ #!usr/bin/env/ruby
2
+ puts "hi"
@@ -0,0 +1,13 @@
1
+ class BirthdayGreeting
2
+ attr_reader :name,:greeting
3
+ def initialize(name)
4
+ @name=name
5
+ end
6
+
7
+ def happy_birthday
8
+ @greeting = "happy birthday #{name}"
9
+ puts greeting
10
+ end
11
+ end
12
+
13
+
metadata ADDED
@@ -0,0 +1,47 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: birthday_greeting
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.0'
5
+ platform: ruby
6
+ authors:
7
+ - Devashish
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-10-04 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: "\n\t This is a simple ruby gem that provides a \n\t command line tool
14
+ that prints hi whenever \n\t you type greeting on the command prompt \n\t and provides
15
+ a simple library for wishing \n\t happy birthday to a person given their name\n\t"
16
+ email:
17
+ executables:
18
+ - greeting
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - lib/birthday_greeting.rb
23
+ - bin/greeting
24
+ homepage:
25
+ licenses: []
26
+ metadata: {}
27
+ post_install_message:
28
+ rdoc_options: []
29
+ require_paths:
30
+ - lib
31
+ required_ruby_version: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '>='
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
36
+ required_rubygems_version: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ requirements: []
42
+ rubyforge_project:
43
+ rubygems_version: 2.0.14.1
44
+ signing_key:
45
+ specification_version: 4
46
+ summary: Simple greeting gem
47
+ test_files: []