orly 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG.md +4 -1
  2. data/bin/orly +10 -0
  3. data/lib/orly/version.rb +1 -1
  4. metadata +3 -3
data/CHANGELOG.md CHANGED
@@ -1,2 +1,5 @@
1
- # v0.0.1
1
+ # v0.0.5
2
+ * Added --speak to orly options - now you can make the owl talk :)
3
+
4
+ # v0.0.4
2
5
  * Initial Release
data/bin/orly CHANGED
@@ -34,6 +34,16 @@ Choice.options do
34
34
  action { Orly::run() }
35
35
  end
36
36
 
37
+ option :speak do
38
+ short '-s'
39
+ long "--speak"
40
+ desc "makes the O RLY owl talk"
41
+ action do |value|
42
+ value = "YA RLY" if value == true
43
+ Orly::OwlPrinter.print(value.split("\n"))
44
+ end
45
+ end
46
+
37
47
  end
38
48
 
39
49
  Choice.help if Choice.choices.empty?
data/lib/orly/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Orly
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orly
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - yon