Magic8Ball 0.0.1 → 0.0.2

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/magic8ball +8 -0
  2. metadata +4 -2
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'magic8ball'
4
+ if ARGV[0].nil?
5
+ puts "You need to ask something!\n"
6
+ else
7
+ puts Magic8Ball.answer(ARGV[0])
8
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Magic8Ball
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,12 +13,14 @@ date: 2014-02-25 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A simple game to play
15
15
  email: loslucassilva@gmail.com
16
- executables: []
16
+ executables:
17
+ - magic8ball
17
18
  extensions: []
18
19
  extra_rdoc_files: []
19
20
  files:
20
21
  - lib/magic8ball.rb
21
22
  - lib/magic8ball/answerator.rb
23
+ - bin/magic8ball
22
24
  homepage: http://rubygems.org/gems/magic8ball
23
25
  licenses:
24
26
  - MIT