gitara 1.0.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.markdown +11 -0
  4. data/README.markdown +1 -1
  5. data/examples/aimee-man-wise-up.ly +1 -1
  6. data/gitara.gemspec +4 -5
  7. data/lib/gitara/app.rb +3 -3
  8. data/lib/gitara/node/base.rb +1 -4
  9. data/lib/gitara/template/tab.erb +1 -1
  10. data/lib/gitara/utilities.rb +7 -4
  11. data/lib/gitara/version.rb +1 -1
  12. data/lib/gitara.rb +2 -2
  13. data/spec/factories.rb +7 -7
  14. data/spec/lib/gitara/app_spec.rb +4 -4
  15. data/spec/lib/gitara/dsl_spec.rb +112 -112
  16. data/spec/lib/gitara/node/alternative_spec.rb +4 -4
  17. data/spec/lib/gitara/node/bar/chorded_version_spec.rb +6 -6
  18. data/spec/lib/gitara/node/bar/stanza_version_spec.rb +5 -5
  19. data/spec/lib/gitara/node/bar/voiced_version_spec.rb +5 -5
  20. data/spec/lib/gitara/node/bar_spec.rb +20 -20
  21. data/spec/lib/gitara/node/base/node_version_spec.rb +19 -19
  22. data/spec/lib/gitara/node/base/voiced_version_spec.rb +9 -9
  23. data/spec/lib/gitara/node/base_spec.rb +113 -106
  24. data/spec/lib/gitara/node/chord_set/chorded_version_spec.rb +2 -2
  25. data/spec/lib/gitara/node/line_spec.rb +2 -2
  26. data/spec/lib/gitara/node/repeat_spec.rb +3 -3
  27. data/spec/lib/gitara/node/stanza_spec.rb +14 -14
  28. data/spec/lib/gitara/node/tab_spec.rb +25 -25
  29. data/spec/lib/gitara/time_signature_spec.rb +6 -6
  30. data/spec/lib/gitara/voice_spec.rb +33 -33
  31. data/spec/lib/gitara_spec.rb +4 -4
  32. data/spec/spec_helper.rb +6 -4
  33. data/spec/support/app_tester.rb +5 -5
  34. metadata +68 -140
  35. data/examples/aimee-man-wise-up.midi +0 -0
  36. data/examples/aimee-man-wise-up.pdf +0 -0
  37. data/examples/eraserheads-huling-el-bimbo.midi +0 -0
  38. data/examples/eraserheads-huling-el-bimbo.pdf +0 -0
  39. data/examples/foo-fighters-walking-after-you.midi +0 -0
  40. data/examples/foo-fighters-walking-after-you.pdf +0 -0
  41. data/examples/tab-with-alternate-tuning.midi +0 -0
  42. data/examples/tab-with-alternate-tuning.pdf +0 -0
  43. data/examples/tab-with-chords.midi +0 -0
  44. data/examples/tab-with-chords.pdf +0 -0
  45. data/examples/tab-with-key-signature.midi +0 -0
  46. data/examples/tab-with-key-signature.pdf +0 -0
  47. data/examples/tab-with-line-with-no-break.midi +0 -0
  48. data/examples/tab-with-line-with-no-break.pdf +0 -0
  49. data/examples/tab-with-partial.midi +0 -0
  50. data/examples/tab-with-partial.pdf +0 -0
  51. data/examples/tab-with-repeats.midi +0 -0
  52. data/examples/tab-with-repeats.pdf +0 -0
  53. data/examples/tab-with-reused-bar-in-stanza.midi +0 -0
  54. data/examples/tab-with-reused-bar-in-stanza.pdf +0 -0
  55. data/examples/tab-with-time-signature.midi +0 -0
  56. data/examples/tab-with-time-signature.pdf +0 -0
metadata CHANGED
@@ -1,272 +1,225 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitara
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.0.0
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: 2013-01-24 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- type: :runtime
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
- type: :runtime
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
- type: :runtime
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
- type: :runtime
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
- type: :runtime
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
- type: :runtime
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
- type: :runtime
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
- type: :development
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
- type: :development
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
- type: :development
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
- type: :development
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
- type: :development
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
- type: :development
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
- type: :development
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
- type: :development
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
@@ -284,48 +237,26 @@ files:
284
237
  - Rakefile
285
238
  - bin/gitara
286
239
  - examples/aimee-man-wise-up.ly
287
- - examples/aimee-man-wise-up.midi
288
- - examples/aimee-man-wise-up.pdf
289
240
  - examples/aimee-man-wise-up.rb
290
241
  - examples/eraserheads-huling-el-bimbo.ly
291
- - examples/eraserheads-huling-el-bimbo.midi
292
- - examples/eraserheads-huling-el-bimbo.pdf
293
242
  - examples/eraserheads-huling-el-bimbo.rb
294
243
  - examples/foo-fighters-walking-after-you.ly
295
- - examples/foo-fighters-walking-after-you.midi
296
- - examples/foo-fighters-walking-after-you.pdf
297
244
  - examples/foo-fighters-walking-after-you.rb
298
245
  - examples/tab-with-alternate-tuning.ly
299
- - examples/tab-with-alternate-tuning.midi
300
- - examples/tab-with-alternate-tuning.pdf
301
246
  - examples/tab-with-alternate-tuning.rb
302
247
  - examples/tab-with-chords.ly
303
- - examples/tab-with-chords.midi
304
- - examples/tab-with-chords.pdf
305
248
  - examples/tab-with-chords.rb
306
249
  - examples/tab-with-key-signature.ly
307
- - examples/tab-with-key-signature.midi
308
- - examples/tab-with-key-signature.pdf
309
250
  - examples/tab-with-key-signature.rb
310
251
  - examples/tab-with-line-with-no-break.ly
311
- - examples/tab-with-line-with-no-break.midi
312
- - examples/tab-with-line-with-no-break.pdf
313
252
  - examples/tab-with-line-with-no-break.rb
314
253
  - examples/tab-with-partial.ly
315
- - examples/tab-with-partial.midi
316
- - examples/tab-with-partial.pdf
317
254
  - examples/tab-with-partial.rb
318
255
  - examples/tab-with-repeats.ly
319
- - examples/tab-with-repeats.midi
320
- - examples/tab-with-repeats.pdf
321
256
  - examples/tab-with-repeats.rb
322
257
  - examples/tab-with-reused-bar-in-stanza.ly
323
- - examples/tab-with-reused-bar-in-stanza.midi
324
- - examples/tab-with-reused-bar-in-stanza.pdf
325
258
  - examples/tab-with-reused-bar-in-stanza.rb
326
259
  - examples/tab-with-time-signature.ly
327
- - examples/tab-with-time-signature.midi
328
- - examples/tab-with-time-signature.pdf
329
260
  - examples/tab-with-time-signature.rb
330
261
  - gitara.gemspec
331
262
  - lib/gitara.rb
@@ -389,27 +320,24 @@ files:
389
320
  - spec/support/app_tester.rb
390
321
  homepage: ''
391
322
  licenses: []
323
+ metadata: {}
392
324
  post_install_message:
393
325
  rdoc_options: []
394
326
  require_paths:
395
327
  - lib
396
328
  required_ruby_version: !ruby/object:Gem::Requirement
397
- none: false
398
329
  requirements:
399
- - - ! '>='
330
+ - - ">="
400
331
  - !ruby/object:Gem::Version
401
332
  version: '0'
402
333
  required_rubygems_version: !ruby/object:Gem::Requirement
403
- none: false
404
334
  requirements:
405
- - - ! '>='
335
+ - - ">="
406
336
  - !ruby/object:Gem::Version
407
337
  version: '0'
408
338
  requirements: []
409
- rubyforge_project: gitara
410
- rubygems_version: 1.8.24
339
+ rubygems_version: 3.5.17
411
340
  signing_key:
412
- specification_version: 3
341
+ specification_version: 4
413
342
  summary: Ruby + Lilypond = pretty guitar tablatures.
414
343
  test_files: []
415
- has_rdoc:
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file