joshman 0.1.0 → 1.0.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/intentions.txt +11 -0
  3. data/lib/joshman.rb +7 -0
  4. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf2990f415880a1ee9c18a2b344a21588cee4c286c1cbe2d38a32d02b27cdf1e
4
- data.tar.gz: 58566bb2a27fce0815b7bd72bb1b097200bd85a091c04f298909f8074ed6de08
3
+ metadata.gz: daaa7b8ef1b4dc0c91f0fd7d16c9d3305e201b0bbcee28451228fab10b1bfc58
4
+ data.tar.gz: 639de353512087512eea84be64fdb25fbeb1a7dab4f048ee356e0ea65320c0a9
5
5
  SHA512:
6
- metadata.gz: 1a6a62329d837fe79245dc2a35ff730e01225595a5eaf079ed8439ae7afc3aaac7a8bdb5c3d0d501512ee0000b5b42cff69e2c1f64d3aae97f17451eb79ecb84
7
- data.tar.gz: 599fdc289dca5efc0bdff51334a5b68f490f2a31b762c54862db95c4b782c2724551c753189379bbf2c1957fb44cd198a23458fc7d8522fec698d6f3a601c2ea
6
+ metadata.gz: bdefe79eede4e9c551e7c245eb5657aaaca9eb6a42f79f1cab342cd591eec1416f63456cc313cda443880c9206f7730c24e88b151d9e1f722dd2e2e098b30995
7
+ data.tar.gz: 970bd0f2360c581c9ee2c6706dd6c23d1e4d621deee07c059e67fbeb77b430a1332b8b65d989e7e8405274fe311d8123b0d73f10ec32e8473f9f03a8262bc8c8
@@ -0,0 +1,11 @@
1
+ I am grateful
2
+ I am strong
3
+ I am enough
4
+ I am that I am
5
+ I am at peace
6
+ I am balanced
7
+ I am flexible
8
+ I am a magnet for miracles
9
+ I am mindful
10
+ I am fully present
11
+ I want for less (haha)
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: 0.1.0
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