xsay 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/xsay +5 -0
- data/lib/xsay/templates/bear.template +15 -0
- data/lib/xsay/templates/buffalo.template +12 -0
- data/lib/xsay/templates/cat.template +5 -0
- data/lib/xsay/templates/elephant.template +12 -0
- data/lib/xsay/templates/flamingo.template +27 -0
- data/lib/xsay/templates/giraffe.template +23 -0
- data/lib/xsay/templates/gorrilla.template +10 -0
- data/lib/xsay/templates/hippo.template +18 -0
- data/lib/xsay/templates/koala.template +15 -0
- data/lib/xsay/templates/lizard.template +20 -0
- data/lib/xsay/templates/meerkat.template +27 -0
- data/lib/xsay/templates/moose.template +23 -0
- data/lib/xsay/templates/octopus.template +18 -0
- data/lib/xsay/templates/orangutan.template +20 -0
- data/lib/xsay/templates/parrot.template +16 -0
- data/lib/xsay/templates/peacock.template +22 -0
- data/lib/xsay/templates/penguin.template +21 -0
- data/lib/xsay/templates/pig.template +10 -0
- data/lib/xsay/templates/porcupine.template +10 -0
- data/lib/xsay/templates/rat.template +12 -0
- data/lib/xsay/templates/rhino.template +12 -0
- data/lib/xsay/templates/seal.template +11 -0
- data/lib/xsay/templates/snake.template +16 -0
- data/lib/xsay/templates/turtle.template +15 -0
- data/lib/xsay/templates/wolf.template +22 -0
- data/lib/xsay/version.rb +3 -0
- data/lib/xsay.rb +37 -0
- data/xsay.gemspec +28 -0
- metadata +139 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1db654348a6b089ff28455d479416550f18d73d0323d95e82825f283ef3f9054
|
4
|
+
data.tar.gz: 99d120189a39fcfe7c55b481783841c493351041a35b8a1c78344ddd3f51a338
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d2937b226c3e25b7e973a8be7fc98b3ac64e1003e5d872299ebed399c53d0d5d9516c55d4b5245e99f2632e6afef63eaa20fefc18371aba391c71a1791e739a5
|
7
|
+
data.tar.gz: 17066bc227e79c6bc2eadfb82670f433ee84de02062734b5ab7239f6ede1e8a2279d916cc100a7a2218a321f212b293189cd2a8f0a01765abedafe89c83ffd91
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 mokha
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# Xsay
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/xsay`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'xsay'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install xsay
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/xsay.
|
36
|
+
|
37
|
+
## License
|
38
|
+
|
39
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "xsay"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/exe/xsay
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
___
|
2
|
+
,' `.
|
3
|
+
/_. _,. \
|
4
|
+
( /(' \ :
|
5
|
+
\\| / ;
|
6
|
+
`' / /
|
7
|
+
/ /
|
8
|
+
: :
|
9
|
+
| : _______
|
10
|
+
: \ ,' `-._
|
11
|
+
' / . . . \
|
12
|
+
: `' ; ; ; ; , :
|
13
|
+
\`./ / / / ; ;;
|
14
|
+
`. `'../__/ / ,.\
|
15
|
+
`'-.____;-'`\\\
|
16
|
+
\ // / '|
|
17
|
+
::\
|
18
|
+
||\\
|
19
|
+
|| \\
|
20
|
+
|| ))
|
21
|
+
|| //
|
22
|
+
||//
|
23
|
+
||/
|
24
|
+
||
|
25
|
+
/||
|
26
|
+
`||-
|
27
|
+
__,';
|
@@ -0,0 +1,23 @@
|
|
1
|
+
___,A.A_ __
|
2
|
+
\ , 7"_/
|
3
|
+
~"T( r r)
|
4
|
+
| \ Y
|
5
|
+
| ~\ .|
|
6
|
+
| |`-'
|
7
|
+
| |
|
8
|
+
| |
|
9
|
+
| |
|
10
|
+
| |
|
11
|
+
j l
|
12
|
+
/ \
|
13
|
+
Y Y
|
14
|
+
l \ : |
|
15
|
+
/\ )( (
|
16
|
+
/ \ I| |\
|
17
|
+
Y I l| | Y
|
18
|
+
j ( )( ) l
|
19
|
+
/ . \ ` | |\ -Row
|
20
|
+
Y \ i | ! Y
|
21
|
+
l .\_ I |/ |
|
22
|
+
\ / [\[][]/] j
|
23
|
+
~~~~~~~~~~~~~~~~~~~~~~~
|
@@ -0,0 +1,18 @@
|
|
1
|
+
.-''''-. _
|
2
|
+
(' ' '0)-/)
|
3
|
+
'..____..: \._
|
4
|
+
\u u ( '-..------._
|
5
|
+
| / : '. '--.
|
6
|
+
.nn_nn/ ( : ' '\
|
7
|
+
( '' '' / ; . \
|
8
|
+
''----' "\ : : '.
|
9
|
+
.'/ '.
|
10
|
+
/ / '.
|
11
|
+
/_| ) .\|
|
12
|
+
| /\ . '
|
13
|
+
'--.__| '--._ , /
|
14
|
+
/'-, .'
|
15
|
+
/ | _.'
|
16
|
+
snd (____\ /
|
17
|
+
\ \
|
18
|
+
'-'-'-'
|
@@ -0,0 +1,20 @@
|
|
1
|
+
\ \ \ \ \ \ \ \ \| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \| |\ \ \ \ \ \ \ \ \
|
2
|
+
/ / / / / / / / / | | / / / / / / __ / / / / / / / / | | / / / / / / / / /
|
3
|
+
\ \ \ \ \ \ \ \ \| |\ \ \ \ \ /..\ ` ` \ \ \ \ \ \| |\ \ \ \ \ \ \ \ \
|
4
|
+
------------------' `---------- ( ) \|/ -----------' `------------------
|
5
|
+
,------------------------- _\___> <__//` ------------------------------.
|
6
|
+
|/ / / / / / / / / / / / / >,---. ,-' / / / / / / / / / / / / / / / /|
|
7
|
+
| \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | . \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|
8
|
+
|/ / / / / / / / / / / / / / / `. `. \ ., / / / / / / / / / / / / / /|
|
9
|
+
| \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | `. | \||_ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|
10
|
+
|/ / / / / / / / / / / / / / / / `. : |__|| / / / / / / / / / / / / /|
|
11
|
+
| \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ __> `.,---' \ \ \ \ \ \ \ \ \ \ \ \ \ |
|
12
|
+
|/ / / / / / / / / / / / / / / |.--'\`.\ / / / / / / / / / / / / / / /|
|
13
|
+
`------------------------------ _\\ \`.| -----------------------------'
|
14
|
+
------------------. ,------------ /|\ - |:| ----------. ,------------------
|
15
|
+
\ \ \ \ \ \ \ \ \| |\ \ \ \ \ \ ' ` |:| \ \ \ \ \| |\ \ \ \ \ \ \ \ \
|
16
|
+
/ / / / / / / / / | | / / / / / / / / / |:| / / / / / | | / / / / / / / / /
|
17
|
+
\ \ \ \ \ \ \ \ \| |\ \ \ \ \ \ \ \ \ |:/ \ \ \ \ \| |\ \ \ \ \ \ \ \ \
|
18
|
+
/ / / / / / / / / | | / / --.________,-_/ / / / / / | | / / / / / / / / /
|
19
|
+
\ \ \ \ \ \ \ \ \| |\ \ \ \ \ ```-----' \ \ \ \ \ \ \| |\ \ \ \ \ \ \ \ \
|
20
|
+
/ / / / / / / / / | | / / / / / / / / / / / / / / / / | | / / / / / / / hjm
|
@@ -0,0 +1,27 @@
|
|
1
|
+
,'''''-._
|
2
|
+
; ,. <> `-._
|
3
|
+
; \' _,--'"
|
4
|
+
; (
|
5
|
+
; , ` \
|
6
|
+
;, , \
|
7
|
+
; | |
|
8
|
+
; |, | |\
|
9
|
+
; | | | \
|
10
|
+
|.-\ ,\ |\ :
|
11
|
+
|.- `. `-. | ||
|
12
|
+
:.- `-. \ ';;
|
13
|
+
.- , \;;|
|
14
|
+
; , | ,\
|
15
|
+
; , ; \
|
16
|
+
; , /`. , )
|
17
|
+
__,;, ,' \ ,|
|
18
|
+
_,--''__,| / \ :
|
19
|
+
,'_,-'' | ,/ | :
|
20
|
+
/ / | ; ; |
|
21
|
+
| | __,-| |--..__,--| |---.--....___
|
22
|
+
___,-| |----'' / | `._`-. `----
|
23
|
+
\ \ `""" """ --
|
24
|
+
`.`. --'
|
25
|
+
`.`-._ _, ,- __,-
|
26
|
+
`-.`.
|
27
|
+
--' `;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/`.
|
2
|
+
/| | `.
|
3
|
+
|\ | | / '
|
4
|
+
|'. | '.-' |
|
5
|
+
| \ | .'
|
6
|
+
\ \.' .'
|
7
|
+
'. .'
|
8
|
+
/\/`. \ .'
|
9
|
+
\ `. \ | _.'
|
10
|
+
\ `.\ .' .'
|
11
|
+
`-. `..-' .'/( _.--_
|
12
|
+
`---`-. / / /-.__.--' `.
|
13
|
+
/ _ | `._
|
14
|
+
.' /O\
|
15
|
+
.' `-'
|
16
|
+
.'
|
17
|
+
:_ -: \
|
18
|
+
|/ / :_ ||'.
|
19
|
+
'._.'_/ `. | )
|
20
|
+
'| / \
|
21
|
+
| | |
|
22
|
+
||| |
|
23
|
+
\|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
___
|
2
|
+
.-' `'.
|
3
|
+
/ \
|
4
|
+
| ;
|
5
|
+
| | ___.--,
|
6
|
+
_.._ |0) ~ (0) | _.---'`__.-( (_.
|
7
|
+
__.--'`_.. '.__.\ '--. \_.-' ,.--'` `""`
|
8
|
+
( ,.--'` ',__ /./; ;, '.__.'` __
|
9
|
+
_`) ) .---.__.' / | |\ \__..--"" """--.,_
|
10
|
+
`---' .'.''-._.-'`_./ /\ '. \ _.-~~~````~~~-._`-.__.'
|
11
|
+
| | .' _.-' | | \ \ '. `~---`
|
12
|
+
\ \/ .' \ \ '. '-._)
|
13
|
+
\/ / \ \ `=.__`~-.
|
14
|
+
/ /\ `) ) / / `"".`\
|
15
|
+
, _.-'.'\ \ / / ( ( / /
|
16
|
+
`--~` ) ) .-'.' '.'. | (
|
17
|
+
(/` ( (` ) ) '-;
|
18
|
+
` '-; (-'
|
@@ -0,0 +1,20 @@
|
|
1
|
+
__________________AAAA_______________AAAA______________________
|
2
|
+
VVVV VVVV
|
3
|
+
(__) (__)
|
4
|
+
\ \ / /
|
5
|
+
\ \ \\|||// / /
|
6
|
+
> \ _ _ / <
|
7
|
+
> \ / \ / \ / <
|
8
|
+
> \\_o_o_// <
|
9
|
+
> ( (_) ) <
|
10
|
+
>| |<
|
11
|
+
/ |\___/| \
|
12
|
+
/ (_____) \
|
13
|
+
/ \
|
14
|
+
/ o \
|
15
|
+
) ___ (
|
16
|
+
/ / \ \
|
17
|
+
( / \ )
|
18
|
+
>< ><
|
19
|
+
///\ /\\\
|
20
|
+
''' '''
|
@@ -0,0 +1,22 @@
|
|
1
|
+
o
|
2
|
+
o%
|
3
|
+
//
|
4
|
+
-="~\
|
5
|
+
~\\\
|
6
|
+
\\\
|
7
|
+
\\\
|
8
|
+
);\
|
9
|
+
/|;;\
|
10
|
+
""";;;;;;;\
|
11
|
+
///"""""""";;;;;;\
|
12
|
+
___////+++++""""""""""""";;;@@\
|
13
|
+
__________///////++++++++++++++""""""""@@@@%)
|
14
|
+
....__/0)///0)//0)//0)/++////////++++++++++"""@@@%%%%%/
|
15
|
+
..---0)/--------////////////////+++++++/////+++++@@%%%%%%%/
|
16
|
+
..///---0)---0)///0)//0)///0)/////////+++++====@%%%%%%/
|
17
|
+
...0)....//----///------////////////+++++///" \/\\//
|
18
|
+
//../0)--0)///0)///0)///0)//++++///// / \/
|
19
|
+
--///--------///////////+++///// _/ /
|
20
|
+
.-//..0).-/0)--0)--0)--0)--.. /\ /
|
21
|
+
.......--/////////. /\_
|
22
|
+
.0)..0)..
|
@@ -0,0 +1,21 @@
|
|
1
|
+
_.._
|
2
|
+
.-' `-.
|
3
|
+
: ;
|
4
|
+
; ,_ _, ;
|
5
|
+
: \{" "}/ :
|
6
|
+
,'.'"=..=''.'
|
7
|
+
; / \ / \ ;
|
8
|
+
.' ; '.__.' ; '
|
9
|
+
.-' .' '. '-
|
10
|
+
.' ; ; '
|
11
|
+
/ / \ \
|
12
|
+
; ; ; ;
|
13
|
+
; `-._ _.-' ;
|
14
|
+
; ""--. .--"" ;
|
15
|
+
'. _ ; ; _ .'
|
16
|
+
{""..' '._.-. .-._.' '..""}
|
17
|
+
\ ; ; /
|
18
|
+
: : : :
|
19
|
+
: :.__.: :
|
20
|
+
\ /"-..-"\ /
|
21
|
+
'-.__.' '.__.-'
|
@@ -0,0 +1,12 @@
|
|
1
|
+
, _.-~~-.__ __.,----.
|
2
|
+
('; __( ) ~~~'--..--~~ '.
|
3
|
+
( . \"..-' ')| . \ '.
|
4
|
+
\\. |\.' ; . ; ; ;
|
5
|
+
\ \'" /9) ' . ; ;
|
6
|
+
; ) ) ( ' . ; ' .
|
7
|
+
) _ __.-'-._ ; ' . , /\ ;
|
8
|
+
'-'"'--' ; "-. '. ' _.-( ". (
|
9
|
+
; \,) )--,..----';' > ; .
|
10
|
+
\ ( | / ( / . ;
|
11
|
+
, , ) | ; .( . , ) / \ ;
|
12
|
+
,;'- ;.';.-.;._,;/;,;)/;.;.);.;,,;,;,,;/;;,),;.,/,;.).,;,
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---_ ......._-_--.
|
2
|
+
(|\ / / /| \ \
|
3
|
+
/ / .' -=-' `.
|
4
|
+
/ / .' )
|
5
|
+
_/ / .' _.) /
|
6
|
+
/ o o _.-' / .'
|
7
|
+
\ _.-' / .'*|
|
8
|
+
\______.-'// .'.' \*|
|
9
|
+
\| \ | // .'.' _ |*|
|
10
|
+
` \|// .'.'_ _ _|*|
|
11
|
+
. .// .'.' | _ _ \*|
|
12
|
+
\`-|\_/ / \ _ _ \*\
|
13
|
+
`/'\__/ \ _ _ \*\
|
14
|
+
/^| \ _ _ \*
|
15
|
+
' ` \ _ _ \
|
16
|
+
\_
|
@@ -0,0 +1,15 @@
|
|
1
|
+
___-------___
|
2
|
+
_-~~ ~~-_
|
3
|
+
_-~ /~-_
|
4
|
+
/^\__/^\ /~ \ / \
|
5
|
+
/| O|| O| / \_______________/ \
|
6
|
+
| |___||__| / / \ \
|
7
|
+
| \ / / \ \
|
8
|
+
| (_______) /______/ \_________ \
|
9
|
+
| / / \ / \
|
10
|
+
\ \^\\ \ / \ /
|
11
|
+
\ || \______________/ _-_ //\__//
|
12
|
+
\ ||------_-~~-_ ------------- \ --/~ ~\ || __/
|
13
|
+
~-----||====/~ |==================| |/~~~~~
|
14
|
+
(_(__/ ./ / \_\ \.
|
15
|
+
(_(___/ \_____)_)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/^\ /^\
|
2
|
+
| \ / |
|
3
|
+
||\ \../ /||
|
4
|
+
)' `(
|
5
|
+
,;`w, ,w';,
|
6
|
+
;, ) __ ( ,;
|
7
|
+
; \(\/)/ ;;
|
8
|
+
;| |vwwv| ``-...
|
9
|
+
; `lwwl' ; ```''-.
|
10
|
+
;| ; `""' ; ; `.
|
11
|
+
; , , , |
|
12
|
+
' ; ; l . | |
|
13
|
+
; , , |,-,._| \;
|
14
|
+
; ; `' ; ' \ `\ \;
|
15
|
+
| | | | | | |;
|
16
|
+
| ; ; | \ \ (;
|
17
|
+
| | | l | | \ |
|
18
|
+
| | | | | | ) |
|
19
|
+
| | | ; | | | |
|
20
|
+
; , : , ,_.' | |
|
21
|
+
:__' | | ,_.'
|
22
|
+
`--'
|
data/lib/xsay/version.rb
ADDED
data/lib/xsay.rb
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
require "xsay/version"
|
2
|
+
require "thor"
|
3
|
+
|
4
|
+
module Xsay
|
5
|
+
class CLI < Thor
|
6
|
+
ANIMALS=Dir[File.expand_path("xsay/templates/*.template", File.dirname(__FILE__))]
|
7
|
+
|
8
|
+
ANIMALS.each do |filename|
|
9
|
+
animal = File.basename(filename).split(".")[0]
|
10
|
+
|
11
|
+
desc "#{animal} <message>", "xsay #{animal} hello"
|
12
|
+
define_method animal do |message|
|
13
|
+
render(message, IO.read(filename))
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
desc "all <message>", "xsay all hello"
|
18
|
+
def all(message)
|
19
|
+
ANIMALS.each do |filename|
|
20
|
+
render(message, IO.read(filename))
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def render(message, template)
|
27
|
+
line_break = "-" * message.length
|
28
|
+
say <<-MESSAGE
|
29
|
+
#{line_break}
|
30
|
+
< #{message} >
|
31
|
+
#{line_break}
|
32
|
+
|
33
|
+
#{template}
|
34
|
+
MESSAGE
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
data/xsay.gemspec
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "xsay/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "xsay"
|
8
|
+
spec.version = Xsay::VERSION
|
9
|
+
spec.authors = ["mokha"]
|
10
|
+
spec.email = ["mokha@cisco.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{xsay, like cowsay but much more fun..}
|
13
|
+
spec.description = %q{xsay, like cowsay but much more fun..}
|
14
|
+
spec.homepage = "http://www.mokhan.ca/"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
+
f.match(%r{^(test|spec|features)/})
|
19
|
+
end
|
20
|
+
spec.bindir = "exe"
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
+
spec.require_paths = ["lib"]
|
23
|
+
|
24
|
+
spec.add_dependency "thor", "~> 0.20"
|
25
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
26
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
27
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,139 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: xsay
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- mokha
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-02-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.20'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.20'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.16'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
description: xsay, like cowsay but much more fun..
|
70
|
+
email:
|
71
|
+
- mokha@cisco.com
|
72
|
+
executables:
|
73
|
+
- xsay
|
74
|
+
extensions: []
|
75
|
+
extra_rdoc_files: []
|
76
|
+
files:
|
77
|
+
- ".gitignore"
|
78
|
+
- ".rspec"
|
79
|
+
- ".travis.yml"
|
80
|
+
- Gemfile
|
81
|
+
- LICENSE.txt
|
82
|
+
- README.md
|
83
|
+
- Rakefile
|
84
|
+
- bin/console
|
85
|
+
- bin/setup
|
86
|
+
- exe/xsay
|
87
|
+
- lib/xsay.rb
|
88
|
+
- lib/xsay/templates/bear.template
|
89
|
+
- lib/xsay/templates/buffalo.template
|
90
|
+
- lib/xsay/templates/cat.template
|
91
|
+
- lib/xsay/templates/elephant.template
|
92
|
+
- lib/xsay/templates/flamingo.template
|
93
|
+
- lib/xsay/templates/giraffe.template
|
94
|
+
- lib/xsay/templates/gorrilla.template
|
95
|
+
- lib/xsay/templates/hippo.template
|
96
|
+
- lib/xsay/templates/koala.template
|
97
|
+
- lib/xsay/templates/lizard.template
|
98
|
+
- lib/xsay/templates/meerkat.template
|
99
|
+
- lib/xsay/templates/moose.template
|
100
|
+
- lib/xsay/templates/octopus.template
|
101
|
+
- lib/xsay/templates/orangutan.template
|
102
|
+
- lib/xsay/templates/parrot.template
|
103
|
+
- lib/xsay/templates/peacock.template
|
104
|
+
- lib/xsay/templates/penguin.template
|
105
|
+
- lib/xsay/templates/pig.template
|
106
|
+
- lib/xsay/templates/porcupine.template
|
107
|
+
- lib/xsay/templates/rat.template
|
108
|
+
- lib/xsay/templates/rhino.template
|
109
|
+
- lib/xsay/templates/seal.template
|
110
|
+
- lib/xsay/templates/snake.template
|
111
|
+
- lib/xsay/templates/turtle.template
|
112
|
+
- lib/xsay/templates/wolf.template
|
113
|
+
- lib/xsay/version.rb
|
114
|
+
- xsay.gemspec
|
115
|
+
homepage: http://www.mokhan.ca/
|
116
|
+
licenses:
|
117
|
+
- MIT
|
118
|
+
metadata: {}
|
119
|
+
post_install_message:
|
120
|
+
rdoc_options: []
|
121
|
+
require_paths:
|
122
|
+
- lib
|
123
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '0'
|
128
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
requirements: []
|
134
|
+
rubyforge_project:
|
135
|
+
rubygems_version: 2.7.6
|
136
|
+
signing_key:
|
137
|
+
specification_version: 4
|
138
|
+
summary: xsay, like cowsay but much more fun..
|
139
|
+
test_files: []
|