goest 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Rakefile +2 -2
  2. data/bin/goest +4 -0
  3. data/goest.gemspec +4 -4
  4. data/lib/goest.rb +18 -5
  5. metadata +6 -4
data/Rakefile CHANGED
@@ -3,8 +3,8 @@ require 'rake'
3
3
  require 'echoe'
4
4
  require 'yard'
5
5
  require 'yard/rake/yardoc_task'
6
- Echoe.new('goest', '0.0.3') do |p|
7
- p.description = "A gem that illustrates how to build a gem.Including RDocs"
6
+ Echoe.new('goest', '0.0.4') do |p|
7
+ p.description = "A gem that illustrates how to build a gem.Formated for RDocs"
8
8
  p.url = ""
9
9
  p.author = "Thomas"
10
10
  p.email = "thomas.goes@ verizon.com"
data/bin/goest ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'goest'
4
+ puts Hola.hi(ARGV[0])
data/goest.gemspec CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "goest"
5
- s.version = "0.0.3"
5
+ s.version = "0.0.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Thomas"]
9
9
  s.date = "2014-04-03"
10
- s.description = "A gem that illustrates how to build a gem.Including RDocs"
10
+ s.description = "A gem that illustrates how to build a gem.Formated for RDocs"
11
11
  s.email = "thomas.goes@ verizon.com"
12
12
  s.extra_rdoc_files = ["lib/goest.rb"]
13
13
  s.files = ["Rakefile", "lib/goest.rb", "Manifest", "goest.gemspec"]
@@ -16,8 +16,8 @@ Gem::Specification.new do |s|
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = "goest"
18
18
  s.rubygems_version = "1.8.11"
19
- s.summary = "A gem that illustrates how to build a gem.Including RDocs"
20
-
19
+ s.summary = "A gem that illustrates how to build a gem.Formated for RDocs"
20
+ s.executables << 'goest'
21
21
  if s.respond_to? :specification_version then
22
22
  s.specification_version = 3
23
23
 
data/lib/goest.rb CHANGED
@@ -1,5 +1,18 @@
1
- module HelloWorld
2
- def self.say_hello
3
- puts 'hello world'
4
- end
5
- end
1
+ #The main Hola Driver
2
+ class Hola
3
+ #Say hi to the world
4
+ #
5
+ #Example:
6
+ # >> Hola.hi("spanish")
7
+ # => Hola mundo
8
+ #
9
+ #Arguments:
10
+ # language: (String)
11
+
12
+ def self.hi(language = "english")
13
+ translator = Translator.new(language)
14
+ puts translator.hi
15
+ end
16
+ end
17
+
18
+ require 'goest/translator'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,9 +11,10 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2014-04-03 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: A gem that illustrates how to build a gem.Including RDocs
14
+ description: A gem that illustrates how to build a gem.Formated for RDocs
15
15
  email: thomas.goes@ verizon.com
16
- executables: []
16
+ executables:
17
+ - goest
17
18
  extensions: []
18
19
  extra_rdoc_files:
19
20
  - lib/goest.rb
@@ -22,6 +23,7 @@ files:
22
23
  - lib/goest.rb
23
24
  - Manifest
24
25
  - goest.gemspec
26
+ - bin/goest
25
27
  homepage: ''
26
28
  licenses: []
27
29
  post_install_message:
@@ -50,6 +52,6 @@ rubyforge_project: goest
50
52
  rubygems_version: 1.8.11
51
53
  signing_key:
52
54
  specification_version: 3
53
- summary: A gem that illustrates how to build a gem.Including RDocs
55
+ summary: A gem that illustrates how to build a gem.Formated for RDocs
54
56
  test_files: []
55
57
  has_rdoc: