tcramer 1.0.0 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2994a2db3b15c3e6952fbe1d2c7ae8a002cf3c3c9ae774fdb25680fda9937a5
4
- data.tar.gz: 96b6647e6d940108a08436703757e5f0785f4195589c87eb89cbc9a00c488a31
3
+ metadata.gz: de94cb8b1ac16bb46e634ec8fd8cbb357bc0072734d79b84871a68aeeab8b671
4
+ data.tar.gz: 23bf556b5f0985a010fc066435d5d3ca68b212adfebb56025ef4aa9b5c98369e
5
5
  SHA512:
6
- metadata.gz: 06f3fbfc3545b0e5c9b4cc8c5ce07ef4c9639849b058a570e0693289cfbfa0ce3686d019e60a3691c20b1c27d5c04a2c4d9b2cdc39f3c7bcb9be2f107c3d4caa
7
- data.tar.gz: 46986e097ecb84bb1a1eab0638d8cb627075a09c92c9faf310f18fb08b10265e15cf9407e31549bd1e451ff7edde080f37ef9989510a1c50e00cf37de8245c3f
6
+ metadata.gz: dc3a94fcb7a4e55e862bef5742dc028fbd0db3d062c27de94e3cb504de7b203926023cf9d2179273b630508d924a49d58c9a0c7321e6845415c699fd8e77d2c8
7
+ data.tar.gz: 4caca423177a29af8be61950deba182ed3900729dc7f0a05d18daf4a8fc9c3884efe93ee2da0ffbf1ed914ad50e2623406b65b69e1c70d433a09bf7b9738ad2d
@@ -1,3 +1,7 @@
1
1
  AllCops:
2
2
  TargetRubyVersion: 2.5
3
3
  DisplayCopNames: true
4
+
5
+ Metrics/BlockLength:
6
+ Exclude:
7
+ - spec/lib/**/*.rb
data/README.md CHANGED
@@ -30,6 +30,10 @@ This will write a new, mission-critical rake task into your project called `mana
30
30
 
31
31
  $ rake manage
32
32
 
33
+ Another rake task that will deliver a sharp shot in the arm to your organization is written to `motivate.rake`. You too can be motivated to exceed performance expectations, thanks to `Tcramer`, by running:
34
+
35
+ $ rake motivate
36
+
33
37
  ## Contributing
34
38
 
35
39
  1. Fork it
@@ -15,6 +15,17 @@ module Tcramer
15
15
  desc 'Manage all the things'
16
16
  task :manage do
17
17
  puts Tcramer.manage
18
+ end
19
+ )
20
+ end
21
+ end
22
+
23
+ def write_your_second_rake_task
24
+ rakefile 'motivate.rake' do
25
+ %(
26
+ desc 'Motivate your employees'
27
+ task :motivate do
28
+ puts Tcramer.motivate
18
29
  end
19
30
  )
20
31
  end
@@ -19,6 +19,9 @@ module Tcramer
19
19
  '(entering a room) dun dun DUN',
20
20
  'Nailed it!',
21
21
  'Uh oh.',
22
+ 'Typed with my thumbs.',
23
+ 'Could you give a 5 minute demo on that?',
24
+ 'That was an interesting choice.',
22
25
  %{
23
26
  __ ___'
24
27
  .'. -- . '.
@@ -32,13 +35,72 @@ module Tcramer
32
35
  ( ' |' ( __= ___..-._ ( (.\\
33
36
  ('\\ .___ ___. /'.___= \\.\\.\\
34
37
  \\\\\\-..____________..-''
35
- }
38
+ },
39
+ %(It's not just good; it's good ENOUGH.)
36
40
  ].freeze
37
41
 
42
+ # rubocop:disable Metrics/LineLength
43
+ FACE = %(
44
+  
45
+   8X@St8;%:8t%@8S  
46
+  .:;t@t8;;;8%S;.88%@..:@tS; 
47
+  %8S:SSt%8@;S;88@8%%S X88.8.:88 
48
+   ;;X  8%@XS8Xt88XXt%:t 8X8X8SS8% @8t  
49
+  8X%8tS8XSXt%;t:;:S.. 8t888:.X@%XX8XSX8%SS.. 
50
+  @XXStS@SX8;@::X 8%XSX88X8tS8X8 t88..:.S;%%X  
51
+  ;S;8t8@S::.... :::.::;tXXtt@tt%@t8..   8%:..@X8 
52
+  8tXX:tt;:... ..t88@t::......;S88%t:. :.Xt SS 
53
+  ;S@St...t@8@X88@;:SStttt;;t:....%@X@8%.Xtt8S888XSX; 
54
+  XS:t;.S.8 8 8:XXt;%St::.. .:::;S8SX. .%%;8%@88 
55
+  .t@St.X8888S%t;%%;%88 888:S@88t....t:: .::.X:;8:S 
56
+  tXX8:%:8St;t;;;::::;t;tt: :S8S8@8X..;;:X@X:....tX.8.X 
57
+  S%8X%88S::;%XXSXXXSS%t;::.;;%S8@@88:8X :8 S8.:XtXt8:8t 
58
+  @S8%88S:%@888888888888888888XSXS888@X888X%S88SXX...;@ 
59
+   S%@;8S.:888XX@X@@@@@X@88888@888SX8@S@@8888;t.8;....;: 
60
+  8:8:%:X.:%8X888888888888@888888@888S8@@88888X.;X8.. .:% 
61
+   X.8%88t;888888888888888888888888888888888888:%88;...;@ 
62
+  ;88%8S88Xt8@8888888888888888888888888@888888888%8;@ .:tX 
63
+   :SX888XX8888888%8888888888888888888888888888X888:.:;X8 
64
+  .XSS@S8S888888888888888@888888@@88@8888888888888Xt.%8XX 
65
+  :888@S88@8@88888888SX@@8888@888888X888888@8888888t::t8. 
66
+  .8%;@%S8@88X8%%tt;SX88X8888X888S88St;%SX%%S%8888 8;::8X@t 
67
+  S.:t:888@88@S8@8 888@88S8888SX@@@@@888X8S88888@888SS;@@:88 
68
+   %;XX88XX8@X t@88@%8%X. 888@888888@t8888X8SX888XSXSt.%8.X  
69
+  S;:S88@8X8S8  XXS:..;S 888888888@%:.::.8S8X88XtS8 @8@. 8X 
70
+  ;;S%S88XS%888:S88XS;%t8888@t8 X@8:@t:.S@88t8S88888X8@ S.; 
71
+  :8S@S888S888Xt88X8 :8 S888%:t88 %t8X88tX% 888S8@888%@8St 
72
+  :; ;%8888@S88X888 @8888888XS88888.8% 888@XS@8888X %@ t% 
73
+  . t;X8888888888888 88@@88@8@@88@8888888888S8XX@8888;X88:8 
74
+  .::;88888888888;S @8888888XX:@S8888@8. 8888S888XXX8888;.8 
75
+  @ .;888888888888S88S8X8888@:888888X8S@tS8t8888X8S8S88%.:: 
76
+  ;.t88888888888@X8S8888@@%.t888@88888;S8S88888@.t@S88;S8 
77
+  %;;%@88888888888X8S 88t:..:S%%%t8t@8S888888@888%88888X 
78
+  @8S@8888888888 ;8S888888@8X88  888888@8888@X S % 
79
+  8t X888888S ;%S@88X8SSXXtX88@8@8X8888@88 888 
80
+  t:X88888S%@8S.:%@ 8 %.88 888X8@ X%88@ S888 
81
+  8.t88X88: 8@S;XXX@S @@X88888888 8  88S888 
82
+  :S%88888@88X8 88888:%@8888@88X 888.8@@888 
83
+  %tX888888 @8 t%@@:;S@@8@X88  8@888@88@ 
84
+  @XX888888X8%%;;;:.::;;%8888X@88X@8X888 
85
+  ;%t88888@888 88 8888;8@@8888888888  
86
+  %%88@888888888 t88888S@8 8@8888X88 
87
+  XtS88888888.8 S@88 :8@8S88@888S 
88
+  8%;S888888X8@SS;tt;;:t%%8888  
89
+  ;88SSXX@8%888XX@SX%;tSX8.8 
90
+  :88t;%X@88%8S88XtX888 ; 
91
+  .888SSS@X88888888: 
92
+  ; X@ 
93
+ )
94
+ # rubocop:enable Metrics/LineLength
95
+
38
96
  def self.manage
39
97
  selected_ism = ISMS.sample
40
98
  # 80% chance of returning string unzalgoized
41
99
  return selected_ism if Kernel.rand(5).positive?
42
100
  Zalgo.he_comes(selected_ism)
43
101
  end
102
+
103
+ def self.motivate
104
+ FACE
105
+ end
44
106
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tcramer
4
- VERSION = '1.0.0'
4
+ VERSION = '1.1.0'
5
5
  end
@@ -7,6 +7,12 @@ RSpec.describe Tcramer do
7
7
  it { is_expected.to be_a Array }
8
8
  end
9
9
 
10
+ describe 'face' do
11
+ subject { described_class.const_get('FACE') }
12
+
13
+ it { is_expected.to be_a String }
14
+ end
15
+
10
16
  describe '.manage' do
11
17
  before { allow(Kernel).to receive(:rand).and_return(rand_integer) }
12
18
 
@@ -27,4 +33,10 @@ RSpec.describe Tcramer do
27
33
  it { is_expected.to be_in described_class::ISMS }
28
34
  end
29
35
  end
36
+
37
+ describe '.motivate' do
38
+ subject { described_class.motivate }
39
+
40
+ it { is_expected.to eq described_class::FACE }
41
+ end
30
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tcramer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael J. Giarlo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-28 00:00:00.000000000 Z
11
+ date: 2018-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails