bin/random-name in namey-0.0.2 vs bin/random-name in namey-0.0.5
- old
+ new
@@ -1,7 +1,10 @@
#!/usr/bin/env ruby
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'namey'
-@generator = Namey::Generator.new
+uri = ARGV.shift
+
+@generator = Namey::Generator.new uri
puts @generator.name
+