gitara 1.0.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/CHANGELOG.markdown +6 -0
- data/README.markdown +1 -1
- data/examples/aimee-man-wise-up.ly +1 -1
- data/gitara.gemspec +3 -4
- data/lib/gitara/app.rb +3 -3
- data/lib/gitara/node/base.rb +1 -4
- data/lib/gitara/template/tab.erb +1 -1
- data/lib/gitara/utilities.rb +7 -4
- data/lib/gitara/version.rb +1 -1
- data/lib/gitara.rb +2 -2
- data/spec/factories.rb +7 -7
- data/spec/lib/gitara/app_spec.rb +4 -4
- data/spec/lib/gitara/dsl_spec.rb +112 -112
- data/spec/lib/gitara/node/alternative_spec.rb +4 -4
- data/spec/lib/gitara/node/bar/chorded_version_spec.rb +6 -6
- data/spec/lib/gitara/node/bar/stanza_version_spec.rb +5 -5
- data/spec/lib/gitara/node/bar/voiced_version_spec.rb +5 -5
- data/spec/lib/gitara/node/bar_spec.rb +20 -20
- data/spec/lib/gitara/node/base/node_version_spec.rb +19 -19
- data/spec/lib/gitara/node/base/voiced_version_spec.rb +9 -9
- data/spec/lib/gitara/node/base_spec.rb +113 -106
- data/spec/lib/gitara/node/chord_set/chorded_version_spec.rb +2 -2
- data/spec/lib/gitara/node/line_spec.rb +2 -2
- data/spec/lib/gitara/node/repeat_spec.rb +3 -3
- data/spec/lib/gitara/node/stanza_spec.rb +14 -14
- data/spec/lib/gitara/node/tab_spec.rb +25 -25
- data/spec/lib/gitara/time_signature_spec.rb +6 -6
- data/spec/lib/gitara/voice_spec.rb +33 -33
- data/spec/lib/gitara_spec.rb +4 -4
- data/spec/spec_helper.rb +6 -4
- data/spec/support/app_tester.rb +5 -5
- metadata +68 -118
metadata
CHANGED
@@ -1,272 +1,225 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 1.0.1
|
4
|
+
version: 1.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- George Mendoza
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2024-08-08 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
|
14
|
+
name: activesupport
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
16
|
requirements:
|
26
|
-
- -
|
17
|
+
- - ">="
|
27
18
|
- !ruby/object:Gem::Version
|
28
19
|
version: '0'
|
29
|
-
name: active_support
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
20
|
type: :runtime
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
38
21
|
prerelease: false
|
39
22
|
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
23
|
requirements:
|
42
|
-
- -
|
24
|
+
- - ">="
|
43
25
|
- !ruby/object:Gem::Version
|
44
26
|
version: '0'
|
45
|
-
name: erubis
|
46
27
|
- !ruby/object:Gem::Dependency
|
47
|
-
|
28
|
+
name: erubis
|
48
29
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
30
|
requirements:
|
51
|
-
- -
|
31
|
+
- - ">="
|
52
32
|
- !ruby/object:Gem::Version
|
53
33
|
version: '0'
|
34
|
+
type: :runtime
|
54
35
|
prerelease: false
|
55
36
|
version_requirements: !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
37
|
requirements:
|
58
|
-
- -
|
38
|
+
- - ">="
|
59
39
|
- !ruby/object:Gem::Version
|
60
40
|
version: '0'
|
61
|
-
name: linguistics
|
62
41
|
- !ruby/object:Gem::Dependency
|
63
|
-
|
42
|
+
name: linguistics
|
64
43
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
44
|
requirements:
|
67
|
-
- -
|
45
|
+
- - ">="
|
68
46
|
- !ruby/object:Gem::Version
|
69
47
|
version: '0'
|
48
|
+
type: :runtime
|
70
49
|
prerelease: false
|
71
50
|
version_requirements: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
51
|
requirements:
|
74
|
-
- -
|
52
|
+
- - ">="
|
75
53
|
- !ruby/object:Gem::Version
|
76
54
|
version: '0'
|
77
|
-
name: loggability
|
78
55
|
- !ruby/object:Gem::Dependency
|
79
|
-
|
56
|
+
name: loggability
|
80
57
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
58
|
requirements:
|
83
|
-
- -
|
59
|
+
- - ">="
|
84
60
|
- !ruby/object:Gem::Version
|
85
61
|
version: '0'
|
62
|
+
type: :runtime
|
86
63
|
prerelease: false
|
87
64
|
version_requirements: !ruby/object:Gem::Requirement
|
88
|
-
none: false
|
89
65
|
requirements:
|
90
|
-
- -
|
66
|
+
- - ">="
|
91
67
|
- !ruby/object:Gem::Version
|
92
68
|
version: '0'
|
93
|
-
name: pow
|
94
69
|
- !ruby/object:Gem::Dependency
|
95
|
-
|
70
|
+
name: redwood
|
96
71
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
72
|
requirements:
|
99
|
-
- -
|
73
|
+
- - ">="
|
100
74
|
- !ruby/object:Gem::Version
|
101
75
|
version: '0'
|
76
|
+
type: :runtime
|
102
77
|
prerelease: false
|
103
78
|
version_requirements: !ruby/object:Gem::Requirement
|
104
|
-
none: false
|
105
79
|
requirements:
|
106
|
-
- -
|
80
|
+
- - ">="
|
107
81
|
- !ruby/object:Gem::Version
|
108
82
|
version: '0'
|
109
|
-
name: redwood
|
110
83
|
- !ruby/object:Gem::Dependency
|
111
|
-
|
84
|
+
name: thor
|
112
85
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
86
|
requirements:
|
115
|
-
- -
|
87
|
+
- - ">="
|
116
88
|
- !ruby/object:Gem::Version
|
117
89
|
version: '0'
|
90
|
+
type: :runtime
|
118
91
|
prerelease: false
|
119
92
|
version_requirements: !ruby/object:Gem::Requirement
|
120
|
-
none: false
|
121
93
|
requirements:
|
122
|
-
- -
|
94
|
+
- - ">="
|
123
95
|
- !ruby/object:Gem::Version
|
124
96
|
version: '0'
|
125
|
-
name: thor
|
126
97
|
- !ruby/object:Gem::Dependency
|
127
|
-
|
98
|
+
name: valuable
|
128
99
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
100
|
requirements:
|
131
|
-
- -
|
101
|
+
- - ">="
|
132
102
|
- !ruby/object:Gem::Version
|
133
103
|
version: '0'
|
104
|
+
type: :runtime
|
134
105
|
prerelease: false
|
135
106
|
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
none: false
|
137
107
|
requirements:
|
138
|
-
- -
|
108
|
+
- - ">="
|
139
109
|
- !ruby/object:Gem::Version
|
140
110
|
version: '0'
|
141
|
-
name: valuable
|
142
111
|
- !ruby/object:Gem::Dependency
|
143
|
-
|
112
|
+
name: factory_bot
|
144
113
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
114
|
requirements:
|
147
|
-
- -
|
115
|
+
- - ">="
|
148
116
|
- !ruby/object:Gem::Version
|
149
117
|
version: '0'
|
118
|
+
type: :development
|
150
119
|
prerelease: false
|
151
120
|
version_requirements: !ruby/object:Gem::Requirement
|
152
|
-
none: false
|
153
121
|
requirements:
|
154
|
-
- -
|
122
|
+
- - ">="
|
155
123
|
- !ruby/object:Gem::Version
|
156
124
|
version: '0'
|
157
|
-
name: factory_girl
|
158
125
|
- !ruby/object:Gem::Dependency
|
159
|
-
|
126
|
+
name: guard
|
160
127
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
128
|
requirements:
|
163
|
-
- -
|
129
|
+
- - ">="
|
164
130
|
- !ruby/object:Gem::Version
|
165
131
|
version: '0'
|
132
|
+
type: :development
|
166
133
|
prerelease: false
|
167
134
|
version_requirements: !ruby/object:Gem::Requirement
|
168
|
-
none: false
|
169
135
|
requirements:
|
170
|
-
- -
|
136
|
+
- - ">="
|
171
137
|
- !ruby/object:Gem::Version
|
172
138
|
version: '0'
|
173
|
-
name: guard
|
174
139
|
- !ruby/object:Gem::Dependency
|
175
|
-
|
140
|
+
name: guard-rspec
|
176
141
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
142
|
requirements:
|
179
|
-
- -
|
143
|
+
- - ">="
|
180
144
|
- !ruby/object:Gem::Version
|
181
145
|
version: '0'
|
146
|
+
type: :development
|
182
147
|
prerelease: false
|
183
148
|
version_requirements: !ruby/object:Gem::Requirement
|
184
|
-
none: false
|
185
149
|
requirements:
|
186
|
-
- -
|
150
|
+
- - ">="
|
187
151
|
- !ruby/object:Gem::Version
|
188
152
|
version: '0'
|
189
|
-
name: guard-rspec
|
190
153
|
- !ruby/object:Gem::Dependency
|
191
|
-
|
154
|
+
name: byebug
|
192
155
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
156
|
requirements:
|
195
|
-
- -
|
157
|
+
- - ">="
|
196
158
|
- !ruby/object:Gem::Version
|
197
159
|
version: '0'
|
160
|
+
type: :development
|
198
161
|
prerelease: false
|
199
162
|
version_requirements: !ruby/object:Gem::Requirement
|
200
|
-
none: false
|
201
163
|
requirements:
|
202
|
-
- -
|
164
|
+
- - ">="
|
203
165
|
- !ruby/object:Gem::Version
|
204
166
|
version: '0'
|
205
|
-
name: pry
|
206
167
|
- !ruby/object:Gem::Dependency
|
207
|
-
|
168
|
+
name: rb-inotify
|
208
169
|
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
170
|
requirements:
|
211
|
-
- -
|
171
|
+
- - ">="
|
212
172
|
- !ruby/object:Gem::Version
|
213
173
|
version: '0'
|
174
|
+
type: :development
|
214
175
|
prerelease: false
|
215
176
|
version_requirements: !ruby/object:Gem::Requirement
|
216
|
-
none: false
|
217
177
|
requirements:
|
218
|
-
- -
|
178
|
+
- - ">="
|
219
179
|
- !ruby/object:Gem::Version
|
220
180
|
version: '0'
|
221
|
-
name: rb-inotify
|
222
181
|
- !ruby/object:Gem::Dependency
|
223
|
-
|
182
|
+
name: rspec
|
224
183
|
requirement: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
226
184
|
requirements:
|
227
|
-
- -
|
185
|
+
- - ">="
|
228
186
|
- !ruby/object:Gem::Version
|
229
187
|
version: '0'
|
188
|
+
type: :development
|
230
189
|
prerelease: false
|
231
190
|
version_requirements: !ruby/object:Gem::Requirement
|
232
|
-
none: false
|
233
191
|
requirements:
|
234
|
-
- -
|
192
|
+
- - ">="
|
235
193
|
- !ruby/object:Gem::Version
|
236
194
|
version: '0'
|
237
|
-
name: rspec
|
238
195
|
- !ruby/object:Gem::Dependency
|
239
|
-
|
196
|
+
name: yard
|
240
197
|
requirement: !ruby/object:Gem::Requirement
|
241
|
-
none: false
|
242
198
|
requirements:
|
243
|
-
- -
|
199
|
+
- - ">="
|
244
200
|
- !ruby/object:Gem::Version
|
245
201
|
version: '0'
|
202
|
+
type: :development
|
246
203
|
prerelease: false
|
247
204
|
version_requirements: !ruby/object:Gem::Requirement
|
248
|
-
none: false
|
249
205
|
requirements:
|
250
|
-
- -
|
206
|
+
- - ">="
|
251
207
|
- !ruby/object:Gem::Version
|
252
208
|
version: '0'
|
253
|
-
name: yard
|
254
209
|
- !ruby/object:Gem::Dependency
|
255
|
-
|
210
|
+
name: yard-rspec
|
256
211
|
requirement: !ruby/object:Gem::Requirement
|
257
|
-
none: false
|
258
212
|
requirements:
|
259
|
-
- -
|
213
|
+
- - ">="
|
260
214
|
- !ruby/object:Gem::Version
|
261
215
|
version: '0'
|
216
|
+
type: :development
|
262
217
|
prerelease: false
|
263
218
|
version_requirements: !ruby/object:Gem::Requirement
|
264
|
-
none: false
|
265
219
|
requirements:
|
266
|
-
- -
|
220
|
+
- - ">="
|
267
221
|
- !ruby/object:Gem::Version
|
268
222
|
version: '0'
|
269
|
-
name: yard-rspec
|
270
223
|
description: A Ruby DSL for generating Lilypond guitar tablatures.
|
271
224
|
email:
|
272
225
|
- gsmendoza@gmail.com
|
@@ -275,8 +228,8 @@ executables:
|
|
275
228
|
extensions: []
|
276
229
|
extra_rdoc_files: []
|
277
230
|
files:
|
278
|
-
- .gitignore
|
279
|
-
- .yardopts
|
231
|
+
- ".gitignore"
|
232
|
+
- ".yardopts"
|
280
233
|
- CHANGELOG.markdown
|
281
234
|
- Gemfile
|
282
235
|
- Guardfile
|
@@ -367,27 +320,24 @@ files:
|
|
367
320
|
- spec/support/app_tester.rb
|
368
321
|
homepage: ''
|
369
322
|
licenses: []
|
323
|
+
metadata: {}
|
370
324
|
post_install_message:
|
371
325
|
rdoc_options: []
|
372
326
|
require_paths:
|
373
327
|
- lib
|
374
328
|
required_ruby_version: !ruby/object:Gem::Requirement
|
375
|
-
none: false
|
376
329
|
requirements:
|
377
|
-
- -
|
330
|
+
- - ">="
|
378
331
|
- !ruby/object:Gem::Version
|
379
332
|
version: '0'
|
380
333
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
381
|
-
none: false
|
382
334
|
requirements:
|
383
|
-
- -
|
335
|
+
- - ">="
|
384
336
|
- !ruby/object:Gem::Version
|
385
337
|
version: '0'
|
386
338
|
requirements: []
|
387
|
-
|
388
|
-
rubygems_version: 1.8.24
|
339
|
+
rubygems_version: 3.5.17
|
389
340
|
signing_key:
|
390
|
-
specification_version:
|
341
|
+
specification_version: 4
|
391
342
|
summary: Ruby + Lilypond = pretty guitar tablatures.
|
392
343
|
test_files: []
|
393
|
-
has_rdoc:
|