zalgo 0.0.2 → 0.0.3

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/zalgo +5 -6
  2. metadata +2 -2
data/bin/zalgo CHANGED
@@ -1,11 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'rubygems'
4
+ require 'zalgo'
4
5
 
5
- begin
6
- require 'zalgo'
7
- rescue LoadError
8
- require 'lib/zalgo/zalgo'
6
+ if ARGV[0]
7
+ puts Zalgo.he_comes ARGV.join(' ')
8
+ else
9
+ puts Zalgo.he_comes STDIN.read
9
10
  end
10
-
11
- puts Zalgo.he_comes ARGV.join(' ')
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alex R. Young