hola_kshramt 0.1.1 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/hola_kshramt +14 -2
  2. metadata +13 -2
data/bin/hola_kshramt CHANGED
@@ -1,4 +1,16 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'hola_kshramt'
4
- puts HolaKshramt.hi(ARGV[0])
3
+ require 'thor'
4
+ class HolaKshramtRunner < Thor
5
+ require 'hola_kshramt'
6
+
7
+ default_task :hi
8
+
9
+ desc 'hi [LANGUAGE]', 'Hello, world!'
10
+ long_desc 'long-long-long description.'
11
+ def hi(language = :english)
12
+ puts HolaKshramt.hi(language)
13
+ end
14
+ end
15
+
16
+ HolaKshramtRunner.start
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hola_kshramt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,18 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2012-06-23 00:00:00.000000000 Z
13
- dependencies: []
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: thor
16
+ requirement: &72501220 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 0.0.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *72501220
14
25
  description: A simple hello world gem
15
26
  email:
16
27
  executables: