joshman 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/joshman.rb +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf2990f415880a1ee9c18a2b344a21588cee4c286c1cbe2d38a32d02b27cdf1e
|
4
|
+
data.tar.gz: 58566bb2a27fce0815b7bd72bb1b097200bd85a091c04f298909f8074ed6de08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a6a62329d837fe79245dc2a35ff730e01225595a5eaf079ed8439ae7afc3aaac7a8bdb5c3d0d501512ee0000b5b42cff69e2c1f64d3aae97f17451eb79ecb84
|
7
|
+
data.tar.gz: 599fdc289dca5efc0bdff51334a5b68f490f2a31b762c54862db95c4b782c2724551c753189379bbf2c1957fb44cd198a23458fc7d8522fec698d6f3a601c2ea
|
data/lib/joshman.rb
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
class Joshman
|
2
2
|
|
3
3
|
def self.hi
|
4
|
-
%x( say "Hello world, I am Joshman, the founder of the famously successful Facebook page: Josh Cameron's Opinions on Things. Please try Joshman.opinion to get an opinion." )
|
5
4
|
puts "Hello world, I am Joshman, the founder of the famously successful Facebook page: Josh Cameron's Opinions on Things. Please try Joshman.opinion to get an opinion."
|
5
|
+
%x( say "Hello world, I am Joshman, the founder of the famously successful Facebook page: Josh Cameron's Opinions on Things. Please try Joshman.opinion to get an opinion." )
|
6
6
|
end
|
7
7
|
|
8
8
|
def self.opinion
|
9
|
-
|
9
|
+
opinion_path = File.join( File.dirname(__FILE__), 'opinions.txt' )
|
10
|
+
opinion = File.readlines( opinion_path ).sample.chomp()
|
11
|
+
puts opinion
|
10
12
|
%x( say "#{opinion}" )
|
11
|
-
puts opinion
|
12
13
|
end
|
13
14
|
|
14
15
|
def self.tests
|
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: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jillian Schuller
|
@@ -10,7 +10,7 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2019-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description: check out the facebook page for more
|
14
14
|
email: schullerjillian@gmail.com
|
15
15
|
executables: []
|
16
16
|
extensions: []
|
@@ -43,6 +43,6 @@ rubyforge_project:
|
|
43
43
|
rubygems_version: 2.7.4
|
44
44
|
signing_key:
|
45
45
|
specification_version: 3
|
46
|
-
summary:
|
46
|
+
summary: interesting opinions
|
47
47
|
test_files:
|
48
48
|
- test/test_joshman.rb
|