billygoat 0.0.7 → 0.0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/billygoat/knowledge.rb +4 -0
- data/lib/billygoat/memory.rb +0 -13
- data/lib/billygoat/version.rb +1 -1
- data/lib/skills/say.rb +19 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTRlZDZmMjJhYWI2MGM4ZWE3YjRjM2I2YjY4MTI3Njk3ZGNjYjQxZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODA0OTgxYWQ3OGFhMzNkNGRhZDAzMDY1MTQwODIxNTJjY2Q5YTRlZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjlmNGQ1ZDVmZTA5MzVhYmFmZTY4OTU2MWE2YWQ5YWFkNGI1MGE4ZGE3Nzlh
|
10
|
+
ZWFkMmJhNzBhZTUxMmMwZjVkNzJhYTAyNmRiMjk4ZWMxYTJkNzBhMmU0NGU4
|
11
|
+
MTJmMGRmMWI2OTEwODkxZTI4OTQ1OTQ0Y2Q3YzBkZTJjOGQ5ODE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjI5MDY4NDc3N2RlZDM4NjViYzZiYzJjNDQ2MmU1ZGE1NWVjMmZhNWVhNTYw
|
14
|
+
YzNjMDUwYjAzYmY5NmY3NjMzY2YxZDkyNDI0NTc5ZTE2NjUwZTUyOGM4MmI4
|
15
|
+
ZmQwZmY2Y2E0MzZkY2YyNjM1Mzc5NDBhMTM3NDcxYjFkZmNkNmY=
|
data/lib/billygoat/knowledge.rb
CHANGED
data/lib/billygoat/memory.rb
CHANGED
@@ -2,17 +2,4 @@ class Memory
|
|
2
2
|
|
3
3
|
attr_accessor :brain, :skills, :credentials
|
4
4
|
|
5
|
-
def say(*args)
|
6
|
-
words = args.join(" ")
|
7
|
-
puts <<-EOS
|
8
|
-
+-#{"-"*words.length}-+
|
9
|
-
| #{words} |
|
10
|
-
+-#{"-"*words.length}-+
|
11
|
-
| (_(
|
12
|
-
+-- /_/'_____/)
|
13
|
-
" | |
|
14
|
-
|""""""|
|
15
|
-
EOS
|
16
|
-
end
|
17
|
-
|
18
5
|
end
|
data/lib/billygoat/version.rb
CHANGED
data/lib/skills/say.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
module Say
|
2
|
+
|
3
|
+
#
|
4
|
+
# Say it like a goat
|
5
|
+
#
|
6
|
+
def like_a_goat(*args)
|
7
|
+
words = args.join(" ")
|
8
|
+
puts <<-EOS
|
9
|
+
+-#{"-"*words.length}-+
|
10
|
+
| #{words} |
|
11
|
+
+-#{"-"*words.length}-+
|
12
|
+
| (_(
|
13
|
+
+-- /_/'_____/)
|
14
|
+
" | |
|
15
|
+
|""""""|
|
16
|
+
EOS
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: billygoat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.7
|
4
|
+
version: 0.0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derrick Parkhurst
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -97,6 +97,7 @@ files:
|
|
97
97
|
- lib/skills/git.rb
|
98
98
|
- lib/skills/help.rb
|
99
99
|
- lib/skills/learn.rb
|
100
|
+
- lib/skills/say.rb
|
100
101
|
- lib/skills/show.rb
|
101
102
|
- lib/skills/update.rb
|
102
103
|
- spec/goat_spec.rb
|