puppet-cowsay 0.3.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 141d0f78c4750a0b8119d95b9756dc5003413734
4
+ data.tar.gz: 89555f02396af2a38e6961a0b6a92ddccb09e172
5
+ SHA512:
6
+ metadata.gz: d4b8bdfa34802481cde6da6e73d4e43a0ae446bd107f7ca5930de161e81cfb9d1b8f567b46e467e2919ae9d28fd00f7c0f23156beb9b101b1d753682bc25ac51
7
+ data.tar.gz: 146c35aeb1b0121cdd2b5f51b93a9ed80699fa8d0744f688ea07fe96d95b242bce99ce46f55272ccefcfca0fe373285d5f14da1b70c0eff4325f4b3c495f91d9
@@ -0,0 +1,20 @@
1
+ *.gem
2
+ *.rbc
3
+ *.swp
4
+ .DS_Store
5
+ .bundle
6
+ .config
7
+ .vagrant
8
+ .yardoc
9
+ Gemfile.lock
10
+ InstalledFiles
11
+ _yardoc
12
+ coverage
13
+ doc/
14
+ lib/bundler/man
15
+ pkg
16
+ rdoc
17
+ spec/reports
18
+ test/tmp
19
+ test/version_tmp
20
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in zerobuf.gemspec
4
+ gemspec
@@ -0,0 +1,23 @@
1
+ Copyright 2012 MoneyDesktop Inc.
2
+ Copyright Cowsay contributors https://github.com/moneydesktop/cowsay/contributors
3
+
4
+ MIT License
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining
7
+ a copy of this software and associated documentation files (the
8
+ "Software"), to deal in the Software without restriction, including
9
+ without limitation the rights to use, copy, modify, merge, publish,
10
+ distribute, sublicense, and/or sell copies of the Software, and to
11
+ permit persons to whom the Software is furnished to do so, subject to
12
+ the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be
15
+ included in all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
21
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
22
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,21 @@
1
+ # Cowsay
2
+
3
+ ASCII art avatars emote your messages
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem install cowsay
10
+
11
+ And then execute:
12
+
13
+ $ cowsay 'Hello world!'
14
+
15
+ ## Contributing
16
+
17
+ 1. Fork it
18
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
19
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
20
+ 4. Push to the branch (`git push origin my-new-feature`)
21
+ 5. Create new Pull Request
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
@@ -0,0 +1,28 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'cowsay'
4
+ require 'optparse'
5
+
6
+ options = {}
7
+ OptionParser.new do |opts|
8
+ opts.banner = "Usage: cowsay [-h] [-f cowfile] [-l] [message]"
9
+ opts.on("-l", "List available cow files") do |cowfile|
10
+ options['list'] = true
11
+ end
12
+ opts.on("-f COWFILE", "Specify a cow file") do |cowfile|
13
+ options['cowfile'] = cowfile
14
+ end
15
+ end.parse!
16
+
17
+ if options['list']
18
+ puts "Cow files:"
19
+ puts Cowsay.character_classes.join(' ')
20
+ else
21
+ if ARGV.any?
22
+ message = ARGV.join(' ')
23
+ else
24
+ #retrieve any piped input, otherwise use the empty string.
25
+ message = STDIN.tty? ? '' : ARGF.read.chomp
26
+ end
27
+ puts Cowsay.say(message, options['cowfile'])
28
+ end
@@ -0,0 +1,20 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'cowsay/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = 'puppet-cowsay'
8
+ gem.version = Cowsay::VERSION
9
+ gem.authors = ['JohnnyT', 'kjhenner']
10
+ gem.email = ['kevin@puppet.com']
11
+ gem.description = %q{ASCII art avatars emote your messages}
12
+ gem.summary = gem.description
13
+
14
+ gem.files = `git ls-files`.split($/)
15
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
16
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
17
+ gem.require_paths = ['lib']
18
+
19
+ gem.add_development_dependency 'rake'
20
+ end
@@ -0,0 +1,28 @@
1
+ require 'cowsay/version'
2
+ require 'cowsay/character'
3
+
4
+ module ::Cowsay
5
+ module_function # all instance methods are available on the module (class) level
6
+
7
+ def random_character
8
+ random_class = Character.const_get(character_classes[rand(character_classes.length)])
9
+ random_class.new
10
+ end
11
+
12
+ def character_classes
13
+ @character_classes ||= Character.constants.map { |c| c.to_sym } - [:Base, :Template]
14
+ end
15
+
16
+ def say(message, character)
17
+ character ||= 'cow'
18
+ if character == 'random'
19
+ random_character.say(message)
20
+ else
21
+ if character_classes.include? character.capitalize.to_sym
22
+ Character.const_get(character.capitalize).say(message)
23
+ else
24
+ puts "No cow file found for #{character}. Use the -l flag to see a list of available cow files."
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,9 @@
1
+ module Cowsay
2
+ module Character
3
+ autoload :Base, 'cowsay/character/base'
4
+ end
5
+ end
6
+
7
+ Dir[File.expand_path('character/*.rb', File.dirname(__FILE__))].each do |character|
8
+ require character
9
+ end
@@ -0,0 +1,73 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Base
5
+ MAX_LINE_LENGTH = 36 unless defined?(MAX_LINE_LENGTH)
6
+
7
+ def self.say(message)
8
+ new.say(message)
9
+ end
10
+
11
+ def initialize
12
+ @thoughts = '\\'
13
+ end
14
+
15
+ def say(message)
16
+ render_balloon(message) + render_character
17
+ end
18
+
19
+ def template
20
+ raise '#template should be subclassed'
21
+ end
22
+
23
+ private
24
+
25
+ def render_character
26
+ template
27
+ end
28
+
29
+ def render_balloon(message)
30
+ message_lines = format_message(message)
31
+ line_length = message_lines.max{ |a,b| a.length <=> b.length }.length
32
+
33
+ output_lines = []
34
+
35
+ output_lines << " #{'_' * (line_length + 2)} "
36
+
37
+ message_lines.each do |line|
38
+ # 'Here is your message: %s' % 'hello world'
39
+ # is the same as
40
+ # printf('Here is your message: %s', 'hello world')
41
+ output_lines << "| %-#{line_length}s |" % line
42
+ end
43
+
44
+ output_lines << " #{'-' * (line_length + 2)} "
45
+ output_lines << ''
46
+
47
+ output_lines.join("\n")
48
+ end
49
+
50
+ def format_message(message)
51
+ return [message] if message.length <= MAX_LINE_LENGTH
52
+
53
+ lines = []
54
+ words = message.split(/\s/).reject{ |word| word.length.zero? }
55
+ new_line = ''
56
+
57
+ words.each do |word|
58
+ new_line << "#{word} "
59
+
60
+ if new_line.length > MAX_LINE_LENGTH
61
+ lines << new_line.chomp
62
+ new_line = ''
63
+ end
64
+ end
65
+
66
+ lines << new_line.chomp unless new_line.length.zero?
67
+
68
+ lines
69
+ end
70
+ end
71
+
72
+ end
73
+ end
@@ -0,0 +1,31 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Beavis < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts} __------~~-,
8
+ #{@thoughts} ,' ,
9
+ / \\
10
+ / :
11
+ | '
12
+ | |
13
+ | |
14
+ | _-- |
15
+ _| =-. .-. ||
16
+ o|/o/ _. |
17
+ / ~ \\ |
18
+ (____\@) ___~ |
19
+ |_===~~~.` |
20
+ _______.--~ |
21
+ \\________ |
22
+ \\ |
23
+ __/-___-- -__
24
+ / _ \\
25
+
26
+ TEMPLATE
27
+ end
28
+ end
29
+
30
+ end
31
+ end
@@ -0,0 +1,17 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Bunny < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts}
8
+ #{@thoughts} \\
9
+ \\ /\\
10
+ ( )
11
+ .( o ).
12
+ TEMPLATE
13
+ end
14
+ end
15
+
16
+ end
17
+ end
@@ -0,0 +1,30 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Cheese < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts}
8
+ #{@thoughts}
9
+ _____ _________
10
+ / \\_/ |
11
+ | ||
12
+ | ||
13
+ | ###\\ /### | |
14
+ | 0 \\/ 0 | |
15
+ /| | |
16
+ / | < |\\ \\
17
+ | /| | | |
18
+ | | \\_______/ | | |
19
+ | | | / /
20
+ /|| /|||
21
+ ----------------|
22
+ | | | |
23
+ *** ***
24
+ /___\\ /___\\
25
+ TEMPLATE
26
+ end
27
+ end
28
+
29
+ end
30
+ end
@@ -0,0 +1,17 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Cow < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts} ^__^
8
+ #{@thoughts} (oo)\\_______
9
+ (__)\\ )\\/\\
10
+ ||----w |
11
+ || ||
12
+ TEMPLATE
13
+ end
14
+ end
15
+
16
+ end
17
+ end
@@ -0,0 +1,31 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Daemon < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts} , ,
8
+ #{@thoughts} /( )`
9
+ #{@thoughts} \\ \\___ / |
10
+ /- _ `-/ '
11
+ (/\\/ \\ \\ /\\
12
+ / / | ` \\
13
+ O O ) / |
14
+ `-^--'`< '
15
+ (_.) _ ) /
16
+ `.___/` /
17
+ `-----' /
18
+ <----. __ / __ \\
19
+ <----|====O)))==) \\) /====
20
+ <----' `--' `.__,' \\
21
+ | |
22
+ \\ /
23
+ ______( (_ / \\______
24
+ ,' ,-----' | \\
25
+ `--{__________) \\/
26
+ TEMPLATE
27
+ end
28
+ end
29
+
30
+ end
31
+ end
@@ -0,0 +1,27 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Dragon < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts} / \\ //\\
8
+ #{@thoughts} |\\___/| / \\// \\\\
9
+ /0 0 \\__ / // | \\ \\
10
+ / / \\/_/ // | \\ \\
11
+ \@_^_\@'/ \\/_ // | \\ \\
12
+ //_^_/ \\/_ // | \\ \\
13
+ ( //) | \\/// | \\ \\
14
+ ( / /) _|_ / ) // | \\ _\\
15
+ ( // /) '/,_ _ _/ ( ; -. | _ _\\.-~ .-~~~^-.
16
+ (( / / )) ,-{ _ `-.|.-~-. .~ `.
17
+ (( // / )) '/\\ / ~-. _ .-~ .-~^-. \\
18
+ (( /// )) `. { } / \\ \\
19
+ (( / )) .----~-.\\ \\-' .~ \\ `. \\^-.
20
+ ///.----..> \\ _ -~ `. ^-` ^-_
21
+ ///-._ _ _ _ _ _ _}^ - - - - ~ ~-- ,.-~
22
+ TEMPLATE
23
+ end
24
+ end
25
+
26
+ end
27
+ end
@@ -0,0 +1,22 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Elephant < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts} /\\ ___ /\\
8
+ #{@thoughts} // \\/ \\/ \\\\
9
+ (( O O ))
10
+ \\\\ / \\ //
11
+ \\/ | | \\/
12
+ | | | |
13
+ | | | |
14
+ | o |
15
+ | | | |
16
+ |m| |m|
17
+ TEMPLATE
18
+ end
19
+ end
20
+
21
+ end
22
+ end
@@ -0,0 +1,19 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Frogs < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts}
8
+ #{@thoughts}
9
+ oO)-. .-(Oo
10
+ /__ _\\ /_ __\\
11
+ \\ \\( | ()~() | )/ /
12
+ \\__|\\ | (-___-) | /|__/
13
+ ' '--' ==`-'== '--' '
14
+ TEMPLATE
15
+ end
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,33 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Ghostbusters < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts}
8
+ #{@thoughts}
9
+ #{@thoughts} __---__
10
+ _- /--______
11
+ __--( / \\ )XXXXXXXXXXX\\v.
12
+ .-XXX( O O )XXXXXXXXXXXXXXX-
13
+ /XXX( U ) XXXXXXX\\
14
+ /XXXXX( )--_ XXXXXXXXXXX\\
15
+ /XXXXX/ ( O ) XXXXXX \\XXXXX\\
16
+ XXXXX/ / XXXXXX \\__ \\XXXXX
17
+ XXXXXX__/ XXXXXX \\__---->
18
+ ---___ XXX__/ XXXXXX \\__ /
19
+ \\- --__/ ___/\\ XXXXXX / ___--/=
20
+ \\-\\ ___/ XXXXXX '--- XXXXXX
21
+ \\-\\/XXX\\ XXXXXX /XXXXX
22
+ \\XXXXXXXXX \\ /XXXXX/
23
+ \\XXXXXX > _/XXXXX/
24
+ \\XXXXX--__/ __-- XXXX/
25
+ -XXXXXXXX--------------- XXXXXX-
26
+ \\XXXXXXXXXXXXXXXXXXXXXXXXXX/
27
+ ""VXXXXXXXXXXXXXXXXXXV""
28
+ TEMPLATE
29
+ end
30
+ end
31
+
32
+ end
33
+ end
@@ -0,0 +1,19 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Kitty < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts}
8
+ #{@thoughts}
9
+ ("`-' '-/") .___..--' ' "`-._
10
+ ` *_ * ) `-. ( ) .`-.__. `)
11
+ (_Y_.) ' ._ ) `._` ; `` -. .-'
12
+ _.. `--'_..-_/ /--' _ .' ,4
13
+ ( i l ),-'' ( l i),' ( ( ! .-'
14
+ TEMPLATE
15
+ end
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Koala < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts}
8
+ #{@thoughts}
9
+ ___
10
+ {~._.~}
11
+ ( Y )
12
+ ()~*~()
13
+ (_)-(_)
14
+ TEMPLATE
15
+ end
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Moose < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts}
8
+ #{@thoughts} \\_\\_ _/_/
9
+ #{@thoughts} \\__/
10
+ (oo)\\_______
11
+ (__)\\ )\\/\\
12
+ ||----w |
13
+ || ||
14
+ TEMPLATE
15
+ end
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,29 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Ren < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts}
8
+ #{@thoughts}
9
+ ____
10
+ /# /_\\_
11
+ | |/o\\o\\
12
+ | \\\\_/_/
13
+ / |_ |
14
+ | ||\\_ ~|
15
+ | ||| \\/
16
+ | |||_
17
+ \\// |
18
+ || |
19
+ ||_ \\
20
+ \\_| o|
21
+ /\\___/
22
+ / ||||__
23
+ (___)_)
24
+ TEMPLATE
25
+ end
26
+ end
27
+
28
+ end
29
+ end
@@ -0,0 +1,20 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Sheep < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts}
8
+ #{@thoughts}
9
+ __
10
+ UooU\\.'\@\@\@\@\@\@`.
11
+ \\__/(\@\@\@\@\@\@\@\@\@\@)
12
+ (\@\@\@\@\@\@\@\@)
13
+ `YY~~~~YY'
14
+ || ||
15
+ TEMPLATE
16
+ end
17
+ end
18
+
19
+ end
20
+ end
@@ -0,0 +1,26 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Stegosaurus < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts} . .
8
+ #{@thoughts} / `. .' "
9
+ #{@thoughts} .---. < > < > .---.
10
+ #{@thoughts} | \\ \\ - ~ ~ - / / |
11
+ _____ ..-~ ~-..-~
12
+ | | \\~~~\\.' `./~~~/
13
+ --------- \\__/ \\__/
14
+ .' O \\ / / \\ "
15
+ (_____, `._.' | } \\/~~~/
16
+ `----. / } | / \\__/
17
+ `-. | / | / `. ,~~|
18
+ ~-.__| /_ - ~ ^| /- _ `..-'
19
+ | / | / ~-. `-. _ _ _
20
+ |_____| |_____| ~ - . _ _ _ _ _>
21
+ TEMPLATE
22
+ end
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,26 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Stimpy < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts} . _ .
8
+ #{@thoughts} |\\_|/__/|
9
+ / / \\/ \\ \\
10
+ /__|O||O|__ \\
11
+ |/_ \\_/\\_/ _\\ |
12
+ | | (____) | ||
13
+ \\/\\___/\\__/ //
14
+ (_/ ||
15
+ | ||
16
+ | ||\\
17
+ \\ //_/
18
+ \\______//
19
+ __ || __||
20
+ (____(____)
21
+ TEMPLATE
22
+ end
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,33 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Turkey < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts} ,+*^^*+___+++_
8
+ #{@thoughts} ,*^^^^ )
9
+ #{@thoughts} _+* ^**+_
10
+ #{@thoughts} +^ _ _++*+_+++_, )
11
+ _+^^*+_ ( ,+*^ ^ \\+_ )
12
+ { ) ( ,( ,_+--+--, ^) ^\\
13
+ { (\@) } f ,( ,+-^ __*_*_ ^^\\_ ^\\ )
14
+ {:;-/ (_+*-+^^^^^+*+*<_ _++_)_ ) ) /
15
+ ( / ( ( ,___ ^*+_+* ) < < \\
16
+ U _/ ) *--< ) ^\\-----++__) ) ) )
17
+ ( ) _(^)^^)) ) )\\^^^^^))^*+/ / /
18
+ ( / (_))_^)) ) ) ))^^^^^))^^^)__/ +^^
19
+ ( ,/ (^))^)) ) ) ))^^^^^^^))^^) _)
20
+ *+__+* (_))^) ) ) ))^^^^^^))^^^^^)____*^
21
+ \\ \\_)^)_)) ))^^^^^^^^^^))^^^^)
22
+ (_ ^\\__^^^^^^^^^^^^))^^^^^^^)
23
+ ^\\___ ^\\__^^^^^^))^^^^^^^^)\\\\
24
+ ^^^^^\\uuu/^^\\uuu/^^^^\\^\\^\\^\\^\\^\\^\\^\\
25
+ ___) >____) >___ ^\\_\\_\\_\\_\\_\\_\\)
26
+ ^^^//\\\\_^^//\\\\_^ ^(\\_\\_\\_\\)
27
+ ^^^ ^^ ^^^ ^
28
+ TEMPLATE
29
+ end
30
+ end
31
+
32
+ end
33
+ end
@@ -0,0 +1,27 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Turtle < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts} ___-------___
8
+ #{@thoughts} _-~~ ~~-_
9
+ #{@thoughts} _-~ /~-_
10
+ /^\\__/^\\ /~ \\ / \\
11
+ /| O|| O| / \\_______________/ \\
12
+ | |___||__| / / \\ \\
13
+ | \\ / / \\ \\
14
+ | (_______) /______/ \\_________ \\
15
+ | / / \\ / \\
16
+ \\ \\^\\\\ \\ / \\ /
17
+ \\ || \\______________/ _-_ //\\__//
18
+ \\ ||------_-~~-_ ------------- \\ --/~ ~\\ || __/
19
+ ~-----||====/~ |==================| |/~~~~~
20
+ (_(__/ ./ / \\_\\ \\.
21
+ (_(___/ \\_____)_)
22
+ TEMPLATE
23
+ end
24
+ end
25
+
26
+ end
27
+ end
@@ -0,0 +1,21 @@
1
+ module Cowsay
2
+ module Character
3
+
4
+ class Tux < Base
5
+ def template
6
+ <<-TEMPLATE
7
+ #{@thoughts}
8
+ #{@thoughts}
9
+ .--.
10
+ |o_o |
11
+ |:_/ |
12
+ // \\ \\
13
+ (| | )
14
+ /'\\_ _/`\\
15
+ \\___)=(___/
16
+ TEMPLATE
17
+ end
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,3 @@
1
+ module Cowsay
2
+ VERSION = '0.3.0'
3
+ end
metadata ADDED
@@ -0,0 +1,90 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: puppet-cowsay
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ platform: ruby
6
+ authors:
7
+ - JohnnyT
8
+ - kjhenner
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2016-09-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - '>='
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - '>='
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ description: ASCII art avatars emote your messages
29
+ email:
30
+ - kevin@puppet.com
31
+ executables:
32
+ - cowsay
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - .gitignore
37
+ - Gemfile
38
+ - LICENSE.txt
39
+ - README.md
40
+ - Rakefile
41
+ - bin/cowsay
42
+ - cowsay.gemspec
43
+ - lib/cowsay.rb
44
+ - lib/cowsay/character.rb
45
+ - lib/cowsay/character/base.rb
46
+ - lib/cowsay/character/beavis.rb
47
+ - lib/cowsay/character/bunny.rb
48
+ - lib/cowsay/character/cheese.rb
49
+ - lib/cowsay/character/cow.rb
50
+ - lib/cowsay/character/daemon.rb
51
+ - lib/cowsay/character/dragon.rb
52
+ - lib/cowsay/character/elephant.rb
53
+ - lib/cowsay/character/frogs.rb
54
+ - lib/cowsay/character/ghostbusters.rb
55
+ - lib/cowsay/character/kitty.rb
56
+ - lib/cowsay/character/koala.rb
57
+ - lib/cowsay/character/moose.rb
58
+ - lib/cowsay/character/ren.rb
59
+ - lib/cowsay/character/sheep.rb
60
+ - lib/cowsay/character/stegosaurus.rb
61
+ - lib/cowsay/character/stimpy.rb
62
+ - lib/cowsay/character/turkey.rb
63
+ - lib/cowsay/character/turtle.rb
64
+ - lib/cowsay/character/tux.rb
65
+ - lib/cowsay/version.rb
66
+ homepage:
67
+ licenses: []
68
+ metadata: {}
69
+ post_install_message:
70
+ rdoc_options: []
71
+ require_paths:
72
+ - lib
73
+ required_ruby_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ required_rubygems_version: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ requirements: []
84
+ rubyforge_project:
85
+ rubygems_version: 2.4.8
86
+ signing_key:
87
+ specification_version: 4
88
+ summary: ASCII art avatars emote your messages
89
+ test_files: []
90
+ has_rdoc: