joshman 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/intentions.txt +11 -0
- data/lib/joshman.rb +7 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daaa7b8ef1b4dc0c91f0fd7d16c9d3305e201b0bbcee28451228fab10b1bfc58
|
4
|
+
data.tar.gz: 639de353512087512eea84be64fdb25fbeb1a7dab4f048ee356e0ea65320c0a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdefe79eede4e9c551e7c245eb5657aaaca9eb6a42f79f1cab342cd591eec1416f63456cc313cda443880c9206f7730c24e88b151d9e1f722dd2e2e098b30995
|
7
|
+
data.tar.gz: 970bd0f2360c581c9ee2c6706dd6c23d1e4d621deee07c059e67fbeb77b430a1332b8b65d989e7e8405274fe311d8123b0d73f10ec32e8473f9f03a8262bc8c8
|
data/lib/intentions.txt
ADDED
data/lib/joshman.rb
CHANGED
@@ -12,6 +12,13 @@ class Joshman
|
|
12
12
|
%x( say "#{opinion}" )
|
13
13
|
end
|
14
14
|
|
15
|
+
def self.intention
|
16
|
+
intention_path = File.join( File.dirname(__FILE__), 'intentions.txt' )
|
17
|
+
intention = File.readlines( intention_path ).sample.chomp()
|
18
|
+
puts intention
|
19
|
+
%x( say "#{intention}" )
|
20
|
+
end
|
21
|
+
|
15
22
|
def self.tests
|
16
23
|
"i hate tests!"
|
17
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: joshman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jillian Schuller
|
@@ -18,6 +18,7 @@ extra_rdoc_files: []
|
|
18
18
|
files:
|
19
19
|
- Rakefile
|
20
20
|
- bin/joshman
|
21
|
+
- lib/intentions.txt
|
21
22
|
- lib/joshman.rb
|
22
23
|
- lib/opinions.txt
|
23
24
|
- test/test_joshman.rb
|