say_it_with_graphs 0.1.1.pre.alpha.pre.19 → 0.1.1.pre.alpha.pre.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.travis.yml +1 -0
- data/lib/say_it_with_graphs/characters/b.rb +38 -0
- data/lib/say_it_with_graphs/characters/c.rb +29 -0
- data/lib/say_it_with_graphs/characters/comma.rb +25 -0
- data/lib/say_it_with_graphs/characters/d.rb +31 -0
- data/lib/say_it_with_graphs/characters/dash.rb +27 -0
- data/lib/say_it_with_graphs/characters/f.rb +28 -0
- data/lib/say_it_with_graphs/characters/j.rb +31 -0
- data/lib/say_it_with_graphs/characters/k.rb +30 -0
- data/lib/say_it_with_graphs/characters/n.rb +24 -0
- data/lib/say_it_with_graphs/characters/q.rb +37 -0
- data/lib/say_it_with_graphs/characters/t.rb +26 -0
- data/lib/say_it_with_graphs/characters/u.rb +29 -0
- data/lib/say_it_with_graphs/characters/w.rb +20 -0
- data/lib/say_it_with_graphs/characters/x.rb +26 -0
- data/lib/say_it_with_graphs/characters/y.rb +27 -0
- data/lib/say_it_with_graphs/characters/z.rb +28 -0
- metadata +17 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDczODg3OTlhNTcyM2VmODY0YTZiMGVmNTA0NjE1ODBmN2NiNzIzMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzRmMWRkYjEyZWU3ZGYxMDFlNjE3ZDc0YmI2OTcwZTczMjZjYmE0NQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzFiZWMzODM3M2ExYWFlYzEwYWUyY2NmMDE4Yzk3ODU1MTYxMmU2ZDEzZDNj
|
10
|
+
ZTNiNzVhYmNlMTQwMzUwZWRhYjE5N2E3MjZkZjU5MTkzOTY4ZmVlZTI2ZTA0
|
11
|
+
MjIzYjA0MmQxNDNkZjBlN2I5MjA2NWI2YmJkMDE1MDk0ZWFlNmY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTBiNzlhMDY1NjA5OGE0NmU3MGE2NDg0ZjJhMWRlY2NlNWRmNTBjMWI4YjJi
|
14
|
+
NzhmNjUxZjIwMmU0Yjc0ZWRiMDliODU2MzljYzFjZDJkZDcwMTZkYzc0OTRi
|
15
|
+
MTc1NjUwMDljMzhjZTFmODA0NGEyYjk0NzgzMWYzOGRkNGM0ZmE=
|
data/.travis.yml
CHANGED
@@ -13,4 +13,5 @@ deploy:
|
|
13
13
|
secure: LcWSsGG1GhvdlDz0A9x02EcszoaS3bT7666XlN0s2bH713AWHNMIdK0GKQivpHdDFOzg6bj/UwSikWGaF/F01B8pnEmVxQoMLqudrjBIbnMpkZVcXNarP3oLOuPI+QdF6VEX4v9mrtjUd1nTTitMGn3DDk3gDhRRYbPIg5/UhkA=
|
14
14
|
gem: say_it_with_graphs
|
15
15
|
on:
|
16
|
+
tags: true
|
16
17
|
repo: nesQuick/say-it-with-graphs
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class B
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'b'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
b = rnd_line
|
13
|
+
c = rnd_line
|
14
|
+
d = rnd_line
|
15
|
+
frame do |f|
|
16
|
+
f.line[a].at 0
|
17
|
+
f.line[a].at 100
|
18
|
+
f.line[b].at 50
|
19
|
+
f.line[d].at 0
|
20
|
+
end
|
21
|
+
frame do |f|
|
22
|
+
f.line[a].at 100
|
23
|
+
f.line[b].at 50
|
24
|
+
f.line[c].at 50
|
25
|
+
f.line[d].at 0
|
26
|
+
end
|
27
|
+
frame do |f|
|
28
|
+
f.line[a].at 83
|
29
|
+
f.line[a].at 66
|
30
|
+
f.line[b].at 66
|
31
|
+
f.line[c].at 33
|
32
|
+
f.line[c].at 16
|
33
|
+
f.line[d].at 16
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class C
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'c'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
b = rnd_line
|
13
|
+
frame do |f|
|
14
|
+
f.line[a].at 33
|
15
|
+
f.line[a].at 66
|
16
|
+
f.line[b].at 33
|
17
|
+
end
|
18
|
+
frame do |f|
|
19
|
+
f.line[a].at 100
|
20
|
+
f.line[b].at 0
|
21
|
+
end
|
22
|
+
frame do |f|
|
23
|
+
f.line[a].at 100
|
24
|
+
f.line[b].at 0
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class Comma
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
','
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
b = rnd_line
|
13
|
+
frame do |f|
|
14
|
+
f.line[a].at -10
|
15
|
+
f.line[a].at 0
|
16
|
+
f.line[b].at -10
|
17
|
+
end
|
18
|
+
frame do |f|
|
19
|
+
f.line[a].at 0
|
20
|
+
f.line[b].at 0
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class D
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'd'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
b = rnd_line
|
13
|
+
c = rnd_line
|
14
|
+
frame do |f|
|
15
|
+
f.line[a].at 0
|
16
|
+
f.line[a].at 100
|
17
|
+
f.line[b].at 0
|
18
|
+
end
|
19
|
+
frame do |f|
|
20
|
+
f.line[a].at 100
|
21
|
+
f.line[b].at 0
|
22
|
+
end
|
23
|
+
frame do |f|
|
24
|
+
f.line[b].at 33
|
25
|
+
f.line[b].at 66
|
26
|
+
f.line[a].at 66
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class Dash
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'-'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
b = rnd_line
|
13
|
+
frame do |f|
|
14
|
+
f.line[a].at 45
|
15
|
+
f.line[a].at 55
|
16
|
+
f.line[b].at 45
|
17
|
+
end
|
18
|
+
frame { }
|
19
|
+
frame do |f|
|
20
|
+
f.line[a].at 55
|
21
|
+
f.line[b].at 45
|
22
|
+
f.line[b].at 55
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class F
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'f'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
b = rnd_line
|
13
|
+
c = rnd_line
|
14
|
+
frame do |f|
|
15
|
+
f.line[a].at 0
|
16
|
+
f.line[a].at 100
|
17
|
+
f.line[b].at 50
|
18
|
+
f.line[c].at 100
|
19
|
+
end
|
20
|
+
frame { }
|
21
|
+
frame do |f|
|
22
|
+
f.line[b].at 50
|
23
|
+
f.line[c].at 100
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class J
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'j'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
b = rnd_line
|
13
|
+
frame do |f|
|
14
|
+
f.line[a].at 100
|
15
|
+
f.line[b].at 20
|
16
|
+
end
|
17
|
+
frame do |f|
|
18
|
+
f.line[b].at 0
|
19
|
+
end
|
20
|
+
frame do |f|
|
21
|
+
f.line[b].at 0
|
22
|
+
end
|
23
|
+
frame do |f|
|
24
|
+
f.line[b].at 20
|
25
|
+
f.line[a].at 100
|
26
|
+
f.line[a].at 20
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class K
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'k'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
b = rnd_line
|
13
|
+
c = rnd_line
|
14
|
+
frame do |f|
|
15
|
+
f.line[a].at 0
|
16
|
+
f.line[a].at 100
|
17
|
+
f.line[b].at 50
|
18
|
+
end
|
19
|
+
frame do |f|
|
20
|
+
f.line[b].at 60
|
21
|
+
f.line[c].at 60
|
22
|
+
end
|
23
|
+
frame do |f|
|
24
|
+
f.line[b].at 100
|
25
|
+
f.line[c].at 0
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class N
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'n'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
frame do |f|
|
13
|
+
f.line[a].at 0
|
14
|
+
f.line[a].at 100
|
15
|
+
end
|
16
|
+
frame { }
|
17
|
+
frame do |f|
|
18
|
+
f.line[a].at 0
|
19
|
+
f.line[a].at 100
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class Q
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'q'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
b = rnd_line
|
13
|
+
c = rnd_line
|
14
|
+
frame do |f|
|
15
|
+
f.line[a].at 33
|
16
|
+
f.line[a].at 66
|
17
|
+
f.line[b].at 33
|
18
|
+
end
|
19
|
+
frame do |f|
|
20
|
+
f.line[a].at 100
|
21
|
+
f.line[b].at 0
|
22
|
+
end
|
23
|
+
frame do |f|
|
24
|
+
f.line[a].at 100
|
25
|
+
f.line[b].at 0
|
26
|
+
f.line[c].at 33
|
27
|
+
end
|
28
|
+
frame do |f|
|
29
|
+
f.line[a].at 66
|
30
|
+
f.line[a].at 33
|
31
|
+
f.line[b].at 33
|
32
|
+
f.line[c].at 0
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class T
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
't'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
b = rnd_line
|
13
|
+
frame do |f|
|
14
|
+
f.line[a].at 100
|
15
|
+
end
|
16
|
+
frame do |f|
|
17
|
+
f.line[b].at 100
|
18
|
+
f.line[b].at 0
|
19
|
+
end
|
20
|
+
frame do |f|
|
21
|
+
f.line[a].at 100
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class U
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'u'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
frame do |f|
|
13
|
+
f.line[a].at 100
|
14
|
+
f.line[a].at 20
|
15
|
+
end
|
16
|
+
frame do |f|
|
17
|
+
f.line[a].at 0
|
18
|
+
end
|
19
|
+
frame do |f|
|
20
|
+
f.line[a].at 0
|
21
|
+
end
|
22
|
+
frame do |f|
|
23
|
+
f.line[a].at 20
|
24
|
+
f.line[a].at 100
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class W
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'w'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
frame { |f| f.line[a].at 100 }
|
13
|
+
frame { |f| f.line[a].at 0 }
|
14
|
+
frame { |f| f.line[a].at 40 }
|
15
|
+
frame { |f| f.line[a].at 0 }
|
16
|
+
frame { |f| f.line[a].at 100 }
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class X
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'x'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
b = rnd_line
|
13
|
+
frame do |f|
|
14
|
+
f.line[a].at 100
|
15
|
+
f.line[b].at 0
|
16
|
+
end
|
17
|
+
frame { }
|
18
|
+
frame { }
|
19
|
+
frame do |f|
|
20
|
+
f.line[a].at 0
|
21
|
+
f.line[b].at 100
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class Y
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'y'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
b = rnd_line
|
13
|
+
frame do |f|
|
14
|
+
f.line[a].at 100
|
15
|
+
end
|
16
|
+
frame do |f|
|
17
|
+
f.line[a].at 70
|
18
|
+
f.line[b].at 70
|
19
|
+
f.line[b].at 0
|
20
|
+
end
|
21
|
+
frame do |f|
|
22
|
+
f.line[a].at 100
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module SayItWithGraphs
|
2
|
+
module Characters
|
3
|
+
class Z
|
4
|
+
include SayItWithGraphs::GraphControls
|
5
|
+
|
6
|
+
def define
|
7
|
+
'z'
|
8
|
+
end
|
9
|
+
|
10
|
+
def draw
|
11
|
+
a = rnd_line
|
12
|
+
b = rnd_line
|
13
|
+
c = rnd_line
|
14
|
+
frame do |f|
|
15
|
+
f.line[a].at 100
|
16
|
+
f.line[b].at 0
|
17
|
+
f.line[c].at 0
|
18
|
+
end
|
19
|
+
frame { }
|
20
|
+
frame do |f|
|
21
|
+
f.line[a].at 100
|
22
|
+
f.line[b].at 0
|
23
|
+
f.line[c].at 100
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: say_it_with_graphs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.1.pre.alpha.pre.
|
4
|
+
version: 0.1.1.pre.alpha.pre.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ole Michaelis
|
@@ -115,21 +115,37 @@ files:
|
|
115
115
|
- lib/say_it_with_graphs.rb
|
116
116
|
- lib/say_it_with_graphs/brush.rb
|
117
117
|
- lib/say_it_with_graphs/characters/a.rb
|
118
|
+
- lib/say_it_with_graphs/characters/b.rb
|
118
119
|
- lib/say_it_with_graphs/characters/bang.rb
|
120
|
+
- lib/say_it_with_graphs/characters/c.rb
|
121
|
+
- lib/say_it_with_graphs/characters/comma.rb
|
122
|
+
- lib/say_it_with_graphs/characters/d.rb
|
123
|
+
- lib/say_it_with_graphs/characters/dash.rb
|
119
124
|
- lib/say_it_with_graphs/characters/e.rb
|
125
|
+
- lib/say_it_with_graphs/characters/f.rb
|
120
126
|
- lib/say_it_with_graphs/characters/g.rb
|
121
127
|
- lib/say_it_with_graphs/characters/h.rb
|
122
128
|
- lib/say_it_with_graphs/characters/i.rb
|
129
|
+
- lib/say_it_with_graphs/characters/j.rb
|
130
|
+
- lib/say_it_with_graphs/characters/k.rb
|
123
131
|
- lib/say_it_with_graphs/characters/l.rb
|
124
132
|
- lib/say_it_with_graphs/characters/lt.rb
|
125
133
|
- lib/say_it_with_graphs/characters/m.rb
|
134
|
+
- lib/say_it_with_graphs/characters/n.rb
|
126
135
|
- lib/say_it_with_graphs/characters/o.rb
|
127
136
|
- lib/say_it_with_graphs/characters/p.rb
|
137
|
+
- lib/say_it_with_graphs/characters/q.rb
|
128
138
|
- lib/say_it_with_graphs/characters/r.rb
|
129
139
|
- lib/say_it_with_graphs/characters/s.rb
|
130
140
|
- lib/say_it_with_graphs/characters/space.rb
|
141
|
+
- lib/say_it_with_graphs/characters/t.rb
|
131
142
|
- lib/say_it_with_graphs/characters/three.rb
|
143
|
+
- lib/say_it_with_graphs/characters/u.rb
|
132
144
|
- lib/say_it_with_graphs/characters/v.rb
|
145
|
+
- lib/say_it_with_graphs/characters/w.rb
|
146
|
+
- lib/say_it_with_graphs/characters/x.rb
|
147
|
+
- lib/say_it_with_graphs/characters/y.rb
|
148
|
+
- lib/say_it_with_graphs/characters/z.rb
|
133
149
|
- lib/say_it_with_graphs/client.rb
|
134
150
|
- lib/say_it_with_graphs/frame.rb
|
135
151
|
- lib/say_it_with_graphs/framer.rb
|