sscharter 0.9.0 → 0.10.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 +4 -4
- data/Gemfile.lock +1 -0
- data/Rakefile +8 -2
- data/lib/sscharter/chart.rb +52 -8
- data/lib/sscharter/charter/basic_events.rb +277 -0
- data/lib/sscharter/charter/beat.rb +334 -0
- data/lib/sscharter/charter/check.rb +37 -0
- data/lib/sscharter/charter/event.rb +429 -0
- data/lib/sscharter/charter/events_manip.rb +175 -0
- data/lib/sscharter/charter/group.rb +130 -0
- data/lib/sscharter/charter/metadata.rb +129 -0
- data/lib/sscharter/charter/story_events.rb +54 -0
- data/lib/sscharter/charter/tip_point.rb +208 -0
- data/lib/sscharter/charter.rb +87 -0
- data/lib/sscharter/tools/svg_path.rb +549 -0
- data/lib/sscharter/tools.rb +6 -0
- data/lib/sscharter/utils.rb +19 -2
- data/lib/sscharter/version.rb +1 -1
- data/lib/sscharter.rb +2 -1074
- data/lock/ruby-3.0.7-bundler-2.5.23-Gemfile.lock +67 -0
- data/lock/ruby-3.1.7-bundler-2.6.9-Gemfile.lock +67 -0
- data/lock/ruby-3.2.11-bundler-4.0.10-Gemfile.lock +98 -0
- data/lock/ruby-3.3.11-bundler-4.0.10-Gemfile.lock +98 -0
- data/lock/ruby-3.4.9-bundler-4.0.10-Gemfile.lock +101 -0
- data/lock/ruby-4.0.2-bundler-4.0.10-Gemfile.lock +101 -0
- data/tutorial/advanced.md +33 -0
- data/tutorial/tools.md +26 -0
- data/tutorial/tutorial.md +6 -32
- metadata +64 -16
- data/Gemfile.lock +0 -48
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
sscharter (0.10.1)
|
|
5
|
+
concurrent-ruby (~> 1.3)
|
|
6
|
+
em-websocket (~> 0.5)
|
|
7
|
+
filewatcher (>= 2.0)
|
|
8
|
+
json (>= 2.17)
|
|
9
|
+
launchy (~> 3.0)
|
|
10
|
+
rubyzip (~> 3.2)
|
|
11
|
+
webrick (~> 1.9)
|
|
12
|
+
|
|
13
|
+
GEM
|
|
14
|
+
remote: https://rubygems.org/
|
|
15
|
+
specs:
|
|
16
|
+
addressable (2.9.0)
|
|
17
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
18
|
+
cgi (0.5.1)
|
|
19
|
+
childprocess (5.1.0)
|
|
20
|
+
logger (~> 1.5)
|
|
21
|
+
concurrent-ruby (1.3.6)
|
|
22
|
+
date (3.5.1)
|
|
23
|
+
em-websocket (0.5.3)
|
|
24
|
+
eventmachine (>= 0.12.9)
|
|
25
|
+
http_parser.rb (~> 0)
|
|
26
|
+
erb (4.0.4)
|
|
27
|
+
cgi (>= 0.3.3)
|
|
28
|
+
eventmachine (1.2.7)
|
|
29
|
+
filewatcher (2.1.0)
|
|
30
|
+
module_methods (~> 0.1.0)
|
|
31
|
+
http_parser.rb (0.8.1)
|
|
32
|
+
json (2.19.3)
|
|
33
|
+
launchy (3.1.1)
|
|
34
|
+
addressable (~> 2.8)
|
|
35
|
+
childprocess (~> 5.0)
|
|
36
|
+
logger (~> 1.6)
|
|
37
|
+
logger (1.7.0)
|
|
38
|
+
minitest (5.26.1)
|
|
39
|
+
module_methods (0.1.0)
|
|
40
|
+
psych (5.3.1)
|
|
41
|
+
date
|
|
42
|
+
stringio
|
|
43
|
+
public_suffix (6.0.2)
|
|
44
|
+
rake (13.3.1)
|
|
45
|
+
rdoc (7.2.0)
|
|
46
|
+
erb
|
|
47
|
+
psych (>= 4.0.0)
|
|
48
|
+
tsort
|
|
49
|
+
rubyzip (3.2.2)
|
|
50
|
+
stringio (3.2.0)
|
|
51
|
+
tsort (0.2.0)
|
|
52
|
+
webrick (1.9.2)
|
|
53
|
+
yard (0.9.40)
|
|
54
|
+
|
|
55
|
+
PLATFORMS
|
|
56
|
+
ruby
|
|
57
|
+
x86_64-linux
|
|
58
|
+
|
|
59
|
+
DEPENDENCIES
|
|
60
|
+
minitest (>= 5.0)
|
|
61
|
+
rake (~> 13.3)
|
|
62
|
+
rdoc (~> 7.2)
|
|
63
|
+
sscharter!
|
|
64
|
+
yard (>= 0.9.40)
|
|
65
|
+
|
|
66
|
+
BUNDLED WITH
|
|
67
|
+
2.5.23
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
sscharter (0.10.1)
|
|
5
|
+
concurrent-ruby (~> 1.3)
|
|
6
|
+
em-websocket (~> 0.5)
|
|
7
|
+
filewatcher (>= 2.0)
|
|
8
|
+
json (>= 2.17)
|
|
9
|
+
launchy (~> 3.0)
|
|
10
|
+
rubyzip (~> 3.2)
|
|
11
|
+
webrick (~> 1.9)
|
|
12
|
+
|
|
13
|
+
GEM
|
|
14
|
+
remote: https://rubygems.org/
|
|
15
|
+
specs:
|
|
16
|
+
addressable (2.9.0)
|
|
17
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
18
|
+
cgi (0.5.1)
|
|
19
|
+
childprocess (5.1.0)
|
|
20
|
+
logger (~> 1.5)
|
|
21
|
+
concurrent-ruby (1.3.6)
|
|
22
|
+
date (3.5.1)
|
|
23
|
+
em-websocket (0.5.3)
|
|
24
|
+
eventmachine (>= 0.12.9)
|
|
25
|
+
http_parser.rb (~> 0)
|
|
26
|
+
erb (4.0.4)
|
|
27
|
+
cgi (>= 0.3.3)
|
|
28
|
+
eventmachine (1.2.7)
|
|
29
|
+
filewatcher (2.1.0)
|
|
30
|
+
module_methods (~> 0.1.0)
|
|
31
|
+
http_parser.rb (0.8.1)
|
|
32
|
+
json (2.19.3)
|
|
33
|
+
launchy (3.1.1)
|
|
34
|
+
addressable (~> 2.8)
|
|
35
|
+
childprocess (~> 5.0)
|
|
36
|
+
logger (~> 1.6)
|
|
37
|
+
logger (1.7.0)
|
|
38
|
+
minitest (5.27.0)
|
|
39
|
+
module_methods (0.1.0)
|
|
40
|
+
psych (5.3.1)
|
|
41
|
+
date
|
|
42
|
+
stringio
|
|
43
|
+
public_suffix (6.0.2)
|
|
44
|
+
rake (13.3.1)
|
|
45
|
+
rdoc (7.2.0)
|
|
46
|
+
erb
|
|
47
|
+
psych (>= 4.0.0)
|
|
48
|
+
tsort
|
|
49
|
+
rubyzip (3.2.2)
|
|
50
|
+
stringio (3.2.0)
|
|
51
|
+
tsort (0.2.0)
|
|
52
|
+
webrick (1.9.2)
|
|
53
|
+
yard (0.9.40)
|
|
54
|
+
|
|
55
|
+
PLATFORMS
|
|
56
|
+
ruby
|
|
57
|
+
x86_64-linux
|
|
58
|
+
|
|
59
|
+
DEPENDENCIES
|
|
60
|
+
minitest (>= 5.0)
|
|
61
|
+
rake (~> 13.3)
|
|
62
|
+
rdoc (~> 7.2)
|
|
63
|
+
sscharter!
|
|
64
|
+
yard (>= 0.9.40)
|
|
65
|
+
|
|
66
|
+
BUNDLED WITH
|
|
67
|
+
2.6.9
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
sscharter (0.10.1)
|
|
5
|
+
concurrent-ruby (~> 1.3)
|
|
6
|
+
em-websocket (~> 0.5)
|
|
7
|
+
filewatcher (>= 2.0)
|
|
8
|
+
json (>= 2.17)
|
|
9
|
+
launchy (~> 3.0)
|
|
10
|
+
rubyzip (~> 3.2)
|
|
11
|
+
webrick (~> 1.9)
|
|
12
|
+
|
|
13
|
+
GEM
|
|
14
|
+
remote: https://rubygems.org/
|
|
15
|
+
specs:
|
|
16
|
+
addressable (2.9.0)
|
|
17
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
18
|
+
childprocess (5.1.0)
|
|
19
|
+
logger (~> 1.5)
|
|
20
|
+
concurrent-ruby (1.3.6)
|
|
21
|
+
date (3.5.1)
|
|
22
|
+
drb (2.2.3)
|
|
23
|
+
em-websocket (0.5.3)
|
|
24
|
+
eventmachine (>= 0.12.9)
|
|
25
|
+
http_parser.rb (~> 0)
|
|
26
|
+
erb (6.0.2)
|
|
27
|
+
eventmachine (1.2.7)
|
|
28
|
+
filewatcher (3.0.1)
|
|
29
|
+
logger (~> 1.7)
|
|
30
|
+
module_methods (~> 1.0)
|
|
31
|
+
http_parser.rb (0.8.1)
|
|
32
|
+
json (2.19.3)
|
|
33
|
+
launchy (3.1.1)
|
|
34
|
+
addressable (~> 2.8)
|
|
35
|
+
childprocess (~> 5.0)
|
|
36
|
+
logger (~> 1.6)
|
|
37
|
+
logger (1.7.0)
|
|
38
|
+
minitest (6.0.3)
|
|
39
|
+
drb (~> 2.0)
|
|
40
|
+
prism (~> 1.5)
|
|
41
|
+
module_methods (1.0.0)
|
|
42
|
+
prism (1.9.0)
|
|
43
|
+
psych (5.3.1)
|
|
44
|
+
date
|
|
45
|
+
stringio
|
|
46
|
+
public_suffix (7.0.5)
|
|
47
|
+
rake (13.3.1)
|
|
48
|
+
rdoc (7.2.0)
|
|
49
|
+
erb
|
|
50
|
+
psych (>= 4.0.0)
|
|
51
|
+
tsort
|
|
52
|
+
rubyzip (3.2.2)
|
|
53
|
+
stringio (3.2.0)
|
|
54
|
+
tsort (0.2.0)
|
|
55
|
+
webrick (1.9.2)
|
|
56
|
+
yard (0.9.40)
|
|
57
|
+
|
|
58
|
+
PLATFORMS
|
|
59
|
+
ruby
|
|
60
|
+
x86_64-linux
|
|
61
|
+
|
|
62
|
+
DEPENDENCIES
|
|
63
|
+
minitest (>= 5.0)
|
|
64
|
+
rake (~> 13.3)
|
|
65
|
+
rdoc (~> 7.2)
|
|
66
|
+
sscharter!
|
|
67
|
+
yard (>= 0.9.40)
|
|
68
|
+
|
|
69
|
+
CHECKSUMS
|
|
70
|
+
addressable (2.9.0) sha256=7fdf6ac3660f7f4e867a0838be3f6cf722ace541dd97767fa42bc6cfa980c7af
|
|
71
|
+
childprocess (5.1.0) sha256=9a8d484be2fd4096a0e90a0cd3e449a05bc3aa33f8ac9e4d6dcef6ac1455b6ec
|
|
72
|
+
concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
|
|
73
|
+
date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
|
|
74
|
+
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
|
75
|
+
em-websocket (0.5.3) sha256=f56a92bde4e6cb879256d58ee31f124181f68f8887bd14d53d5d9a292758c6a8
|
|
76
|
+
erb (6.0.2) sha256=9fe6264d44f79422c87490a1558479bd0e7dad4dd0e317656e67ea3077b5242b
|
|
77
|
+
eventmachine (1.2.7) sha256=994016e42aa041477ba9cff45cbe50de2047f25dd418eba003e84f0d16560972
|
|
78
|
+
filewatcher (3.0.1) sha256=b0f51e568cf112f72392053ae5ff5afa267592489091ee9f93c20fc275597f5a
|
|
79
|
+
http_parser.rb (0.8.1) sha256=9ae8df145b39aa5398b2f90090d651c67bd8e2ebfe4507c966579f641e11097a
|
|
80
|
+
json (2.19.3) sha256=289b0bb53052a1fa8c34ab33cc750b659ba14a5c45f3fcf4b18762dc67c78646
|
|
81
|
+
launchy (3.1.1) sha256=72b847b5cc961589dde2c395af0108c86ff0119f42d4648d25b5440ebb10059e
|
|
82
|
+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
83
|
+
minitest (6.0.3) sha256=88ac8a1de36c00692420e7cb3cc11a0773bbcb126aee1c249f320160a7d11411
|
|
84
|
+
module_methods (1.0.0) sha256=92f28a9254b8c1a7f4e68aa52242ecabdac3343ce41909aac3fcc3bf2ac8ec5e
|
|
85
|
+
prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
|
|
86
|
+
psych (5.3.1) sha256=eb7a57cef10c9d70173ff74e739d843ac3b2c019a003de48447b2963d81b1974
|
|
87
|
+
public_suffix (7.0.5) sha256=1a8bb08f1bbea19228d3bed6e5ed908d1cb4f7c2726d18bd9cadf60bc676f623
|
|
88
|
+
rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
|
|
89
|
+
rdoc (7.2.0) sha256=8650f76cd4009c3b54955eb5d7e3a075c60a57276766ebf36f9085e8c9f23192
|
|
90
|
+
rubyzip (3.2.2) sha256=c0ed99385f0625415c8f05bcae33fe649ed2952894a95ff8b08f26ca57ea5b3c
|
|
91
|
+
sscharter (0.10.1)
|
|
92
|
+
stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
|
|
93
|
+
tsort (0.2.0) sha256=9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f
|
|
94
|
+
webrick (1.9.2) sha256=beb4a15fc474defed24a3bda4ffd88a490d517c9e4e6118c3edce59e45864131
|
|
95
|
+
yard (0.9.40) sha256=a4a205449b5d6de9292affb4fefccbd316678568b5d2df8182b7c77047a8c4a7
|
|
96
|
+
|
|
97
|
+
BUNDLED WITH
|
|
98
|
+
4.0.10
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
sscharter (0.10.1)
|
|
5
|
+
concurrent-ruby (~> 1.3)
|
|
6
|
+
em-websocket (~> 0.5)
|
|
7
|
+
filewatcher (>= 2.0)
|
|
8
|
+
json (>= 2.17)
|
|
9
|
+
launchy (~> 3.0)
|
|
10
|
+
rubyzip (~> 3.2)
|
|
11
|
+
webrick (~> 1.9)
|
|
12
|
+
|
|
13
|
+
GEM
|
|
14
|
+
remote: https://rubygems.org/
|
|
15
|
+
specs:
|
|
16
|
+
addressable (2.9.0)
|
|
17
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
18
|
+
childprocess (5.1.0)
|
|
19
|
+
logger (~> 1.5)
|
|
20
|
+
concurrent-ruby (1.3.6)
|
|
21
|
+
date (3.5.1)
|
|
22
|
+
drb (2.2.3)
|
|
23
|
+
em-websocket (0.5.3)
|
|
24
|
+
eventmachine (>= 0.12.9)
|
|
25
|
+
http_parser.rb (~> 0)
|
|
26
|
+
erb (6.0.2)
|
|
27
|
+
eventmachine (1.2.7)
|
|
28
|
+
filewatcher (3.0.1)
|
|
29
|
+
logger (~> 1.7)
|
|
30
|
+
module_methods (~> 1.0)
|
|
31
|
+
http_parser.rb (0.8.1)
|
|
32
|
+
json (2.19.3)
|
|
33
|
+
launchy (3.1.1)
|
|
34
|
+
addressable (~> 2.8)
|
|
35
|
+
childprocess (~> 5.0)
|
|
36
|
+
logger (~> 1.6)
|
|
37
|
+
logger (1.7.0)
|
|
38
|
+
minitest (6.0.3)
|
|
39
|
+
drb (~> 2.0)
|
|
40
|
+
prism (~> 1.5)
|
|
41
|
+
module_methods (1.0.0)
|
|
42
|
+
prism (1.9.0)
|
|
43
|
+
psych (5.3.1)
|
|
44
|
+
date
|
|
45
|
+
stringio
|
|
46
|
+
public_suffix (7.0.5)
|
|
47
|
+
rake (13.3.1)
|
|
48
|
+
rdoc (7.2.0)
|
|
49
|
+
erb
|
|
50
|
+
psych (>= 4.0.0)
|
|
51
|
+
tsort
|
|
52
|
+
rubyzip (3.2.2)
|
|
53
|
+
stringio (3.2.0)
|
|
54
|
+
tsort (0.2.0)
|
|
55
|
+
webrick (1.9.2)
|
|
56
|
+
yard (0.9.40)
|
|
57
|
+
|
|
58
|
+
PLATFORMS
|
|
59
|
+
ruby
|
|
60
|
+
x86_64-linux
|
|
61
|
+
|
|
62
|
+
DEPENDENCIES
|
|
63
|
+
minitest (>= 5.0)
|
|
64
|
+
rake (~> 13.3)
|
|
65
|
+
rdoc (~> 7.2)
|
|
66
|
+
sscharter!
|
|
67
|
+
yard (>= 0.9.40)
|
|
68
|
+
|
|
69
|
+
CHECKSUMS
|
|
70
|
+
addressable (2.9.0) sha256=7fdf6ac3660f7f4e867a0838be3f6cf722ace541dd97767fa42bc6cfa980c7af
|
|
71
|
+
childprocess (5.1.0) sha256=9a8d484be2fd4096a0e90a0cd3e449a05bc3aa33f8ac9e4d6dcef6ac1455b6ec
|
|
72
|
+
concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
|
|
73
|
+
date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
|
|
74
|
+
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
|
75
|
+
em-websocket (0.5.3) sha256=f56a92bde4e6cb879256d58ee31f124181f68f8887bd14d53d5d9a292758c6a8
|
|
76
|
+
erb (6.0.2) sha256=9fe6264d44f79422c87490a1558479bd0e7dad4dd0e317656e67ea3077b5242b
|
|
77
|
+
eventmachine (1.2.7) sha256=994016e42aa041477ba9cff45cbe50de2047f25dd418eba003e84f0d16560972
|
|
78
|
+
filewatcher (3.0.1) sha256=b0f51e568cf112f72392053ae5ff5afa267592489091ee9f93c20fc275597f5a
|
|
79
|
+
http_parser.rb (0.8.1) sha256=9ae8df145b39aa5398b2f90090d651c67bd8e2ebfe4507c966579f641e11097a
|
|
80
|
+
json (2.19.3) sha256=289b0bb53052a1fa8c34ab33cc750b659ba14a5c45f3fcf4b18762dc67c78646
|
|
81
|
+
launchy (3.1.1) sha256=72b847b5cc961589dde2c395af0108c86ff0119f42d4648d25b5440ebb10059e
|
|
82
|
+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
83
|
+
minitest (6.0.3) sha256=88ac8a1de36c00692420e7cb3cc11a0773bbcb126aee1c249f320160a7d11411
|
|
84
|
+
module_methods (1.0.0) sha256=92f28a9254b8c1a7f4e68aa52242ecabdac3343ce41909aac3fcc3bf2ac8ec5e
|
|
85
|
+
prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
|
|
86
|
+
psych (5.3.1) sha256=eb7a57cef10c9d70173ff74e739d843ac3b2c019a003de48447b2963d81b1974
|
|
87
|
+
public_suffix (7.0.5) sha256=1a8bb08f1bbea19228d3bed6e5ed908d1cb4f7c2726d18bd9cadf60bc676f623
|
|
88
|
+
rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
|
|
89
|
+
rdoc (7.2.0) sha256=8650f76cd4009c3b54955eb5d7e3a075c60a57276766ebf36f9085e8c9f23192
|
|
90
|
+
rubyzip (3.2.2) sha256=c0ed99385f0625415c8f05bcae33fe649ed2952894a95ff8b08f26ca57ea5b3c
|
|
91
|
+
sscharter (0.10.1)
|
|
92
|
+
stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
|
|
93
|
+
tsort (0.2.0) sha256=9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f
|
|
94
|
+
webrick (1.9.2) sha256=beb4a15fc474defed24a3bda4ffd88a490d517c9e4e6118c3edce59e45864131
|
|
95
|
+
yard (0.9.40) sha256=a4a205449b5d6de9292affb4fefccbd316678568b5d2df8182b7c77047a8c4a7
|
|
96
|
+
|
|
97
|
+
BUNDLED WITH
|
|
98
|
+
4.0.10
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
sscharter (0.10.1)
|
|
5
|
+
base64
|
|
6
|
+
concurrent-ruby (~> 1.3)
|
|
7
|
+
em-websocket (~> 0.5)
|
|
8
|
+
filewatcher (>= 2.0)
|
|
9
|
+
json (>= 2.17)
|
|
10
|
+
launchy (~> 3.0)
|
|
11
|
+
rubyzip (~> 3.2)
|
|
12
|
+
webrick (~> 1.9)
|
|
13
|
+
|
|
14
|
+
GEM
|
|
15
|
+
remote: https://rubygems.org/
|
|
16
|
+
specs:
|
|
17
|
+
addressable (2.9.0)
|
|
18
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
19
|
+
base64 (0.3.0)
|
|
20
|
+
childprocess (5.1.0)
|
|
21
|
+
logger (~> 1.5)
|
|
22
|
+
concurrent-ruby (1.3.6)
|
|
23
|
+
date (3.5.1)
|
|
24
|
+
drb (2.2.3)
|
|
25
|
+
em-websocket (0.5.3)
|
|
26
|
+
eventmachine (>= 0.12.9)
|
|
27
|
+
http_parser.rb (~> 0)
|
|
28
|
+
erb (6.0.2)
|
|
29
|
+
eventmachine (1.2.7)
|
|
30
|
+
filewatcher (3.0.1)
|
|
31
|
+
logger (~> 1.7)
|
|
32
|
+
module_methods (~> 1.0)
|
|
33
|
+
http_parser.rb (0.8.1)
|
|
34
|
+
json (2.19.3)
|
|
35
|
+
launchy (3.1.1)
|
|
36
|
+
addressable (~> 2.8)
|
|
37
|
+
childprocess (~> 5.0)
|
|
38
|
+
logger (~> 1.6)
|
|
39
|
+
logger (1.7.0)
|
|
40
|
+
minitest (6.0.3)
|
|
41
|
+
drb (~> 2.0)
|
|
42
|
+
prism (~> 1.5)
|
|
43
|
+
module_methods (1.0.0)
|
|
44
|
+
prism (1.9.0)
|
|
45
|
+
psych (5.3.1)
|
|
46
|
+
date
|
|
47
|
+
stringio
|
|
48
|
+
public_suffix (7.0.5)
|
|
49
|
+
rake (13.3.1)
|
|
50
|
+
rdoc (7.2.0)
|
|
51
|
+
erb
|
|
52
|
+
psych (>= 4.0.0)
|
|
53
|
+
tsort
|
|
54
|
+
rubyzip (3.2.2)
|
|
55
|
+
stringio (3.2.0)
|
|
56
|
+
tsort (0.2.0)
|
|
57
|
+
webrick (1.9.2)
|
|
58
|
+
yard (0.9.40)
|
|
59
|
+
|
|
60
|
+
PLATFORMS
|
|
61
|
+
ruby
|
|
62
|
+
x86_64-linux
|
|
63
|
+
|
|
64
|
+
DEPENDENCIES
|
|
65
|
+
minitest (>= 5.0)
|
|
66
|
+
rake (~> 13.3)
|
|
67
|
+
rdoc (~> 7.2)
|
|
68
|
+
sscharter!
|
|
69
|
+
yard (>= 0.9.40)
|
|
70
|
+
|
|
71
|
+
CHECKSUMS
|
|
72
|
+
addressable (2.9.0) sha256=7fdf6ac3660f7f4e867a0838be3f6cf722ace541dd97767fa42bc6cfa980c7af
|
|
73
|
+
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
|
74
|
+
childprocess (5.1.0) sha256=9a8d484be2fd4096a0e90a0cd3e449a05bc3aa33f8ac9e4d6dcef6ac1455b6ec
|
|
75
|
+
concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
|
|
76
|
+
date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
|
|
77
|
+
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
|
78
|
+
em-websocket (0.5.3) sha256=f56a92bde4e6cb879256d58ee31f124181f68f8887bd14d53d5d9a292758c6a8
|
|
79
|
+
erb (6.0.2) sha256=9fe6264d44f79422c87490a1558479bd0e7dad4dd0e317656e67ea3077b5242b
|
|
80
|
+
eventmachine (1.2.7) sha256=994016e42aa041477ba9cff45cbe50de2047f25dd418eba003e84f0d16560972
|
|
81
|
+
filewatcher (3.0.1) sha256=b0f51e568cf112f72392053ae5ff5afa267592489091ee9f93c20fc275597f5a
|
|
82
|
+
http_parser.rb (0.8.1) sha256=9ae8df145b39aa5398b2f90090d651c67bd8e2ebfe4507c966579f641e11097a
|
|
83
|
+
json (2.19.3) sha256=289b0bb53052a1fa8c34ab33cc750b659ba14a5c45f3fcf4b18762dc67c78646
|
|
84
|
+
launchy (3.1.1) sha256=72b847b5cc961589dde2c395af0108c86ff0119f42d4648d25b5440ebb10059e
|
|
85
|
+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
86
|
+
minitest (6.0.3) sha256=88ac8a1de36c00692420e7cb3cc11a0773bbcb126aee1c249f320160a7d11411
|
|
87
|
+
module_methods (1.0.0) sha256=92f28a9254b8c1a7f4e68aa52242ecabdac3343ce41909aac3fcc3bf2ac8ec5e
|
|
88
|
+
prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
|
|
89
|
+
psych (5.3.1) sha256=eb7a57cef10c9d70173ff74e739d843ac3b2c019a003de48447b2963d81b1974
|
|
90
|
+
public_suffix (7.0.5) sha256=1a8bb08f1bbea19228d3bed6e5ed908d1cb4f7c2726d18bd9cadf60bc676f623
|
|
91
|
+
rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
|
|
92
|
+
rdoc (7.2.0) sha256=8650f76cd4009c3b54955eb5d7e3a075c60a57276766ebf36f9085e8c9f23192
|
|
93
|
+
rubyzip (3.2.2) sha256=c0ed99385f0625415c8f05bcae33fe649ed2952894a95ff8b08f26ca57ea5b3c
|
|
94
|
+
sscharter (0.10.1)
|
|
95
|
+
stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
|
|
96
|
+
tsort (0.2.0) sha256=9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f
|
|
97
|
+
webrick (1.9.2) sha256=beb4a15fc474defed24a3bda4ffd88a490d517c9e4e6118c3edce59e45864131
|
|
98
|
+
yard (0.9.40) sha256=a4a205449b5d6de9292affb4fefccbd316678568b5d2df8182b7c77047a8c4a7
|
|
99
|
+
|
|
100
|
+
BUNDLED WITH
|
|
101
|
+
4.0.10
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
sscharter (0.10.1)
|
|
5
|
+
base64
|
|
6
|
+
concurrent-ruby (~> 1.3)
|
|
7
|
+
em-websocket (~> 0.5)
|
|
8
|
+
filewatcher (>= 2.0)
|
|
9
|
+
json (>= 2.17)
|
|
10
|
+
launchy (~> 3.0)
|
|
11
|
+
rubyzip (~> 3.2)
|
|
12
|
+
webrick (~> 1.9)
|
|
13
|
+
|
|
14
|
+
GEM
|
|
15
|
+
remote: https://rubygems.org/
|
|
16
|
+
specs:
|
|
17
|
+
addressable (2.9.0)
|
|
18
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
19
|
+
base64 (0.3.0)
|
|
20
|
+
childprocess (5.1.0)
|
|
21
|
+
logger (~> 1.5)
|
|
22
|
+
concurrent-ruby (1.3.6)
|
|
23
|
+
date (3.5.1)
|
|
24
|
+
drb (2.2.3)
|
|
25
|
+
em-websocket (0.5.3)
|
|
26
|
+
eventmachine (>= 0.12.9)
|
|
27
|
+
http_parser.rb (~> 0)
|
|
28
|
+
erb (6.0.2)
|
|
29
|
+
eventmachine (1.2.7)
|
|
30
|
+
filewatcher (3.0.1)
|
|
31
|
+
logger (~> 1.7)
|
|
32
|
+
module_methods (~> 1.0)
|
|
33
|
+
http_parser.rb (0.8.1)
|
|
34
|
+
json (2.19.3)
|
|
35
|
+
launchy (3.1.1)
|
|
36
|
+
addressable (~> 2.8)
|
|
37
|
+
childprocess (~> 5.0)
|
|
38
|
+
logger (~> 1.6)
|
|
39
|
+
logger (1.7.0)
|
|
40
|
+
minitest (6.0.3)
|
|
41
|
+
drb (~> 2.0)
|
|
42
|
+
prism (~> 1.5)
|
|
43
|
+
module_methods (1.0.0)
|
|
44
|
+
prism (1.9.0)
|
|
45
|
+
psych (5.3.1)
|
|
46
|
+
date
|
|
47
|
+
stringio
|
|
48
|
+
public_suffix (7.0.5)
|
|
49
|
+
rake (13.3.1)
|
|
50
|
+
rdoc (7.2.0)
|
|
51
|
+
erb
|
|
52
|
+
psych (>= 4.0.0)
|
|
53
|
+
tsort
|
|
54
|
+
rubyzip (3.2.2)
|
|
55
|
+
stringio (3.2.0)
|
|
56
|
+
tsort (0.2.0)
|
|
57
|
+
webrick (1.9.2)
|
|
58
|
+
yard (0.9.40)
|
|
59
|
+
|
|
60
|
+
PLATFORMS
|
|
61
|
+
ruby
|
|
62
|
+
x86_64-linux
|
|
63
|
+
|
|
64
|
+
DEPENDENCIES
|
|
65
|
+
minitest (>= 5.0)
|
|
66
|
+
rake (~> 13.3)
|
|
67
|
+
rdoc (~> 7.2)
|
|
68
|
+
sscharter!
|
|
69
|
+
yard (>= 0.9.40)
|
|
70
|
+
|
|
71
|
+
CHECKSUMS
|
|
72
|
+
addressable (2.9.0) sha256=7fdf6ac3660f7f4e867a0838be3f6cf722ace541dd97767fa42bc6cfa980c7af
|
|
73
|
+
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
|
74
|
+
childprocess (5.1.0) sha256=9a8d484be2fd4096a0e90a0cd3e449a05bc3aa33f8ac9e4d6dcef6ac1455b6ec
|
|
75
|
+
concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
|
|
76
|
+
date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
|
|
77
|
+
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
|
78
|
+
em-websocket (0.5.3) sha256=f56a92bde4e6cb879256d58ee31f124181f68f8887bd14d53d5d9a292758c6a8
|
|
79
|
+
erb (6.0.2) sha256=9fe6264d44f79422c87490a1558479bd0e7dad4dd0e317656e67ea3077b5242b
|
|
80
|
+
eventmachine (1.2.7) sha256=994016e42aa041477ba9cff45cbe50de2047f25dd418eba003e84f0d16560972
|
|
81
|
+
filewatcher (3.0.1) sha256=b0f51e568cf112f72392053ae5ff5afa267592489091ee9f93c20fc275597f5a
|
|
82
|
+
http_parser.rb (0.8.1) sha256=9ae8df145b39aa5398b2f90090d651c67bd8e2ebfe4507c966579f641e11097a
|
|
83
|
+
json (2.19.3) sha256=289b0bb53052a1fa8c34ab33cc750b659ba14a5c45f3fcf4b18762dc67c78646
|
|
84
|
+
launchy (3.1.1) sha256=72b847b5cc961589dde2c395af0108c86ff0119f42d4648d25b5440ebb10059e
|
|
85
|
+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
86
|
+
minitest (6.0.3) sha256=88ac8a1de36c00692420e7cb3cc11a0773bbcb126aee1c249f320160a7d11411
|
|
87
|
+
module_methods (1.0.0) sha256=92f28a9254b8c1a7f4e68aa52242ecabdac3343ce41909aac3fcc3bf2ac8ec5e
|
|
88
|
+
prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
|
|
89
|
+
psych (5.3.1) sha256=eb7a57cef10c9d70173ff74e739d843ac3b2c019a003de48447b2963d81b1974
|
|
90
|
+
public_suffix (7.0.5) sha256=1a8bb08f1bbea19228d3bed6e5ed908d1cb4f7c2726d18bd9cadf60bc676f623
|
|
91
|
+
rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
|
|
92
|
+
rdoc (7.2.0) sha256=8650f76cd4009c3b54955eb5d7e3a075c60a57276766ebf36f9085e8c9f23192
|
|
93
|
+
rubyzip (3.2.2) sha256=c0ed99385f0625415c8f05bcae33fe649ed2952894a95ff8b08f26ca57ea5b3c
|
|
94
|
+
sscharter (0.10.1)
|
|
95
|
+
stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
|
|
96
|
+
tsort (0.2.0) sha256=9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f
|
|
97
|
+
webrick (1.9.2) sha256=beb4a15fc474defed24a3bda4ffd88a490d517c9e4e6118c3edce59e45864131
|
|
98
|
+
yard (0.9.40) sha256=a4a205449b5d6de9292affb4fefccbd316678568b5d2df8182b7c77047a8c4a7
|
|
99
|
+
|
|
100
|
+
BUNDLED WITH
|
|
101
|
+
4.0.10
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Advanced charting techniques
|
|
2
|
+
|
|
3
|
+
TODO.
|
|
4
|
+
|
|
5
|
+
## Use Git as a version manager
|
|
6
|
+
|
|
7
|
+
You ever want to keep track of the changes you made to the chart?
|
|
8
|
+
You ever wish to revert to a previous version of the chart?
|
|
9
|
+
You ever want to collaborate with others on the chart?
|
|
10
|
+
You can use [Git](https://git-scm.com/) to implement these version control features.
|
|
11
|
+
|
|
12
|
+
First, install Git.
|
|
13
|
+
Then, run `git init` in your project directory to make it a Git repository.
|
|
14
|
+
Every time you want to save the current version of the chart,
|
|
15
|
+
you can run `git add .` to stage all the changes,
|
|
16
|
+
and then run `git commit -m "Your commit message here"` to commit the changes.
|
|
17
|
+
Git may prompt you to set up your name and email address,
|
|
18
|
+
then just do so by following the instructions.
|
|
19
|
+
|
|
20
|
+
A detailed tutorial on how to use Git is beyond the scope of this tutorial,
|
|
21
|
+
so I may just refer you to the official [tutorial](https://git-scm.com/docs/gittutorial) of Git.
|
|
22
|
+
|
|
23
|
+
## Useful loops
|
|
24
|
+
|
|
25
|
+
## Homography
|
|
26
|
+
|
|
27
|
+
## Tip points and placeholders
|
|
28
|
+
|
|
29
|
+
## Multiple offsets and timing tweaking
|
|
30
|
+
|
|
31
|
+
## JSON post-processing
|
|
32
|
+
|
|
33
|
+
## Storyboarding
|
data/tutorial/tools.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Useful tools bundled with sscharter
|
|
2
|
+
|
|
3
|
+
You can put `include Sunniesnow::Tools` in your code to make the tools available everywhere.
|
|
4
|
+
|
|
5
|
+
## SVG path
|
|
6
|
+
|
|
7
|
+
The tools provide a function `path` that can turn any SVG path into uniformly sampled points.
|
|
8
|
+
For example, consider this fancy-looking SVG path:
|
|
9
|
+
|
|
10
|
+
```xml
|
|
11
|
+
<svg width="16cm" height="8cm" viewBox="-8 -4 16 8"><g transform="scale(1,-1)"><path
|
|
12
|
+
d="M -6,-0 C -4,2 -0,-0.7 -0,2 -0,4.7 6,-1 5,1 4,3 1,2 -0,-0 -1,-2 10,-2 6,-3 2,-4 -6,-0 -4,2 c 2,2 3,-8 0,-5"
|
|
13
|
+
fill="none" stroke="black" stroke-width="0.1"/></g></svg>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
You can convert it to a set of points using the `path` function lik this:
|
|
19
|
+
|
|
20
|
+
```ruby
|
|
21
|
+
path 'M -6,-0 C -4,2 -0,-0.7 -0,2 -0,4.7 6,-1 5,1 4,3 1,2 -0,-0 -1,-2 10,-2 6,-3 2,-4 -6,-0 -4,2 c 2,2 3,-8 0,-5', 128 do |x, y, i|
|
|
22
|
+
d x, y; b 1/32r
|
|
23
|
+
end
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+

|
data/tutorial/tutorial.md
CHANGED
|
@@ -1002,6 +1002,12 @@ to whatever it was before `at` was called.
|
|
|
1002
1002
|
You can keep the current beat by using `preserve_beat: true`
|
|
1003
1003
|
in the call of `at`.
|
|
1004
1004
|
|
|
1005
|
+
Usually, at the beginning of the block in `at`,
|
|
1006
|
+
the current beat is not set to the beat where the mark is
|
|
1007
|
+
but where it was before `at` was called.
|
|
1008
|
+
You can set the current beat to the beat where the mark is at the beginning of the block
|
|
1009
|
+
by using `goto_beat: true` in the call of `at`.
|
|
1010
|
+
|
|
1005
1011
|
### BPM changes
|
|
1006
1012
|
|
|
1007
1013
|
> [!NOTE]
|
|
@@ -1256,38 +1262,6 @@ at :my_mark do
|
|
|
1256
1262
|
end
|
|
1257
1263
|
```
|
|
1258
1264
|
|
|
1259
|
-
## Advanced charting techniques
|
|
1260
|
-
|
|
1261
|
-
TODO.
|
|
1262
|
-
|
|
1263
|
-
### Use Git as a version manager
|
|
1264
|
-
|
|
1265
|
-
You ever want to keep track of the changes you made to the chart?
|
|
1266
|
-
You ever wish to revert to a previous version of the chart?
|
|
1267
|
-
You ever want to collaborate with others on the chart?
|
|
1268
|
-
You can use [Git](https://git-scm.com/) to implement these version control features.
|
|
1269
|
-
|
|
1270
|
-
First, install Git.
|
|
1271
|
-
Then, run `git init` in your project directory to make it a Git repository.
|
|
1272
|
-
Every time you want to save the current version of the chart,
|
|
1273
|
-
you can run `git add .` to stage all the changes,
|
|
1274
|
-
and then run `git commit -m "Your commit message here"` to commit the changes.
|
|
1275
|
-
Git may prompt you to set up your name and email address,
|
|
1276
|
-
then just do so by following the instructions.
|
|
1277
|
-
|
|
1278
|
-
A detailed tutorial on how to use Git is beyond the scope of this tutorial,
|
|
1279
|
-
so I may just refer you to the official [tutorial](https://git-scm.com/docs/gittutorial) of Git.
|
|
1280
|
-
|
|
1281
|
-
### Useful loops
|
|
1282
|
-
|
|
1283
|
-
### Homography
|
|
1284
|
-
|
|
1285
|
-
### Tip points and placeholders
|
|
1286
|
-
|
|
1287
|
-
### Multiple offsets and timing tweaking
|
|
1288
|
-
|
|
1289
|
-
### JSON post-processing
|
|
1290
|
-
|
|
1291
1265
|
## Step 6: review your chart and write the README
|
|
1292
1266
|
|
|
1293
1267
|
Now, you have finished writing the chart!
|