joshman 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/joshman.rb +4 -3
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9476151c4196bcb9bb44bfbdfb84b8be67198db280750f8bfd463addbe8439f3
4
- data.tar.gz: 8b8d5076caeb9e2705d50668dc70ec3f86dfa4d40a9d8775b168f8a5b08db872
3
+ metadata.gz: cf2990f415880a1ee9c18a2b344a21588cee4c286c1cbe2d38a32d02b27cdf1e
4
+ data.tar.gz: 58566bb2a27fce0815b7bd72bb1b097200bd85a091c04f298909f8074ed6de08
5
5
  SHA512:
6
- metadata.gz: 57cd5d0f0e98b09542c105990debcda852302cc73d1d7ab227ec1f318b2c666c75a5acff65a7d6afbf3a9f401eafa51481413e8d02d4ab38a11b5e495499d86a
7
- data.tar.gz: d480992618ad172b1bf2217e413e75de777873cf1dd9fa6191e434ca488980f17fa20bf41b12fa5bc7d2dd9b001adb6feb3f037e4ed741337fe2f48db815a99c
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
- opinion = File.readlines("lib/opinions.txt").sample.chomp()
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.1
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: One man's opinions
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: JCOOT!
46
+ summary: interesting opinions
47
47
  test_files:
48
48
  - test/test_joshman.rb