rose_gen 0.0.1
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 +7 -0
- data/lib/rose_gen.rb +21 -0
- metadata +44 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 0be28cf4b56d324413d51b6a82cc42b7032e7c92
|
|
4
|
+
data.tar.gz: 726fc6ddb87e2e260c1a310e74eb80aab769803c
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: ff8eaec81795424f23f2de5a400d3f06d239dbee09f16e6e5dfb586c4c07aa3241cf640ed722df0f85c8646d18fae5385483b2f8ffbbb58ce33a7e0aeb259180
|
|
7
|
+
data.tar.gz: d1de5a4455f39d7c691e456bc841647917c4bde81def34477f8d5ea634bba790209362540091dea05ecbcc76b60088d70bbede2f8d69ae706e6d1cad96baba68
|
data/lib/rose_gen.rb
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
class RoseGen
|
|
2
|
+
class << self
|
|
3
|
+
def rose
|
|
4
|
+
%w[
|
|
5
|
+
@-}--
|
|
6
|
+
@}}>-----
|
|
7
|
+
@)}---^-----
|
|
8
|
+
@->-->---
|
|
9
|
+
--------{---(@)
|
|
10
|
+
@)}---^-----
|
|
11
|
+
][rand 6]
|
|
12
|
+
end
|
|
13
|
+
alias :new :rose
|
|
14
|
+
|
|
15
|
+
def puts_rose
|
|
16
|
+
@rose = rose
|
|
17
|
+
puts @rose
|
|
18
|
+
@rose
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: rose_gen
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- David Husa
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2013-11-18 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: Randomly generate single-line ASCII roses.
|
|
14
|
+
email: davidhusa@gmail.com
|
|
15
|
+
executables: []
|
|
16
|
+
extensions: []
|
|
17
|
+
extra_rdoc_files: []
|
|
18
|
+
files:
|
|
19
|
+
- lib/rose_gen.rb
|
|
20
|
+
homepage: http://davidhusa.com
|
|
21
|
+
licenses:
|
|
22
|
+
- MIT
|
|
23
|
+
metadata: {}
|
|
24
|
+
post_install_message:
|
|
25
|
+
rdoc_options: []
|
|
26
|
+
require_paths:
|
|
27
|
+
- lib
|
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - '>='
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
34
|
+
requirements:
|
|
35
|
+
- - '>='
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: '0'
|
|
38
|
+
requirements: []
|
|
39
|
+
rubyforge_project:
|
|
40
|
+
rubygems_version: 2.0.7
|
|
41
|
+
signing_key:
|
|
42
|
+
specification_version: 4
|
|
43
|
+
summary: '@}}>-----'
|
|
44
|
+
test_files: []
|