vocalist 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +27 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +70 -0
- data/VERSION +1 -0
- data/data/countries/albania.yml +6 -0
- data/data/countries/algeria.yml +5 -0
- data/data/countries/argentina.yml +12 -0
- data/data/countries/armenia.yml +5 -0
- data/data/countries/australia.yml +22 -0
- data/data/countries/austria.yml +5 -0
- data/data/countries/bahamas.yml +7 -0
- data/data/countries/belarus.yml +6 -0
- data/data/countries/belgium.yml +6 -0
- data/data/countries/benin.yml +4 -0
- data/data/countries/bolivia.yml +5 -0
- data/data/countries/bonia.yml +10 -0
- data/data/countries/brazil.yml +6 -0
- data/data/countries/bulgaria.yml +6 -0
- data/data/countries/cameroon.yml +6 -0
- data/data/countries/canada.yml +13 -0
- data/data/countries/cape-verde.yml +9 -0
- data/data/countries/chile.yml +7 -0
- data/data/countries/china.yml +5 -0
- data/data/countries/colombia.yml +7 -0
- data/data/countries/croatia.yml +6 -0
- data/data/countries/cuba.yml +5 -0
- data/data/countries/cyprus.yml +5 -0
- data/data/countries/czech-republic.yml +6 -0
- data/data/countries/democratic-republic-of-the-congo.yml +5 -0
- data/data/countries/denmark.yml +5 -0
- data/data/countries/estonia.yml +5 -0
- data/data/countries/faroe-islands.yml +6 -0
- data/data/countries/finland.yml +5 -0
- data/data/countries/france.yml +14 -0
- data/data/countries/germany.yml +114 -0
- data/data/countries/greece.yml +5 -0
- data/data/countries/hungary.yml +5 -0
- data/data/countries/iceland.yml +7 -0
- data/data/countries/india.yml +9 -0
- data/data/countries/iran.yml +5 -0
- data/data/countries/ireland.yml +12 -0
- data/data/countries/island-of-dominica.yml +4 -0
- data/data/countries/israel.yml +6 -0
- data/data/countries/italy.yml +9 -0
- data/data/countries/ivory-coast.yml +5 -0
- data/data/countries/jamaica.yml +6 -0
- data/data/countries/japan.yml +6 -0
- data/data/countries/kazakhstan.yml +8 -0
- data/data/countries/korea.yml +6 -0
- data/data/countries/kyrgyzstan.yml +5 -0
- data/data/countries/latvia.yml +6 -0
- data/data/countries/lebanon.yml +5 -0
- data/data/countries/lithuania.yml +6 -0
- data/data/countries/luxembourg.yml +9 -0
- data/data/countries/macedonia.yml +6 -0
- data/data/countries/malaysia.yml +4 -0
- data/data/countries/mali.yml +4 -0
- data/data/countries/mexico.yml +8 -0
- data/data/countries/moldavia.yml +5 -0
- data/data/countries/mongolia.yml +4 -0
- data/data/countries/morocco.yml +12 -0
- data/data/countries/netherlands.yml +9 -0
- data/data/countries/new-zealand.yml +17 -0
- data/data/countries/norway.yml +11 -0
- data/data/countries/peru.yml +7 -0
- data/data/countries/philippines.yml +11 -0
- data/data/countries/poland.yml +9 -0
- data/data/countries/portugal.yml +9 -0
- data/data/countries/puerto-rico.yml +5 -0
- data/data/countries/romania.yml +6 -0
- data/data/countries/russia.yml +7 -0
- data/data/countries/senegal.yml +5 -0
- data/data/countries/serbia.yml +5 -0
- data/data/countries/slovakia.yml +6 -0
- data/data/countries/solvenia.yml +5 -0
- data/data/countries/south-africa.yml +5 -0
- data/data/countries/spain.yml +7 -0
- data/data/countries/sweden.yml +18 -0
- data/data/countries/switzerland.yml +5 -0
- data/data/countries/taiwan.yml +5 -0
- data/data/countries/tanzania.yml +5 -0
- data/data/countries/thailand.yml +8 -0
- data/data/countries/uk.yml +92 -0
- data/data/countries/usa.yml +44 -0
- data/lib/vocalist.rb +0 -0
- data/lib/vocalist/nationality.rb +95 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +9 -0
- data/spec/vocalist_spec.rb +7 -0
- data/vocalist.gemspec +139 -0
- metadata +189 -0
data/.document
ADDED
data/.gitignore
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
## MAC OS
|
2
|
+
.DS_Store
|
3
|
+
|
4
|
+
## TEXTMATE
|
5
|
+
*.tmproj
|
6
|
+
tmtags
|
7
|
+
|
8
|
+
## EMACS
|
9
|
+
*~
|
10
|
+
\#*
|
11
|
+
.\#*
|
12
|
+
|
13
|
+
## VIM
|
14
|
+
*.swp
|
15
|
+
|
16
|
+
## PROJECT::GENERAL
|
17
|
+
coverage
|
18
|
+
rdoc
|
19
|
+
pkg
|
20
|
+
|
21
|
+
## PROJECT::SPECIFIC
|
22
|
+
.loadpath
|
23
|
+
.project
|
24
|
+
.yardoc
|
25
|
+
doc
|
26
|
+
view*.sh
|
27
|
+
vocalist-*.gem
|
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2010 Uwe L. Korn
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
= vocalist
|
2
|
+
|
3
|
+
Description goes here.
|
4
|
+
|
5
|
+
== Note on Patches/Pull Requests
|
6
|
+
|
7
|
+
* Fork the project.
|
8
|
+
* Make your feature addition or bug fix.
|
9
|
+
* Add tests for it. This is important so I don't break it in a
|
10
|
+
future version unintentionally.
|
11
|
+
* Commit, do not mess with rakefile, version, or history.
|
12
|
+
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
13
|
+
* Send me a pull request. Bonus points for topic branches.
|
14
|
+
|
15
|
+
== Copyright
|
16
|
+
|
17
|
+
Copyright (c) 2010 Uwe L. Korn. See LICENSE for details.
|
data/Rakefile
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'jeweler'
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "vocalist"
|
8
|
+
gem.summary = %Q{Library for various music analysis}
|
9
|
+
gem.description = %Q{Library for various music analysis thins, e.g. determing from where an artist comes from.}
|
10
|
+
gem.email = "uwelk@xhochy.com"
|
11
|
+
gem.homepage = "http://github.com/xhochy/vocalist"
|
12
|
+
gem.authors = ["Uwe L. Korn"]
|
13
|
+
gem.add_development_dependency "rspec", ">= 1.2.9"
|
14
|
+
gem.add_development_dependency "yard", ">= 0"
|
15
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
|
+
end
|
17
|
+
Jeweler::GemcutterTasks.new
|
18
|
+
rescue LoadError
|
19
|
+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
20
|
+
end
|
21
|
+
|
22
|
+
require 'spec/rake/spectask'
|
23
|
+
Spec::Rake::SpecTask.new(:spec) do |spec|
|
24
|
+
spec.libs << 'lib' << 'spec'
|
25
|
+
spec.spec_files = FileList['spec/**/*_spec.rb']
|
26
|
+
end
|
27
|
+
|
28
|
+
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
29
|
+
spec.libs << 'lib' << 'spec'
|
30
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
31
|
+
spec.rcov = true
|
32
|
+
end
|
33
|
+
|
34
|
+
task :spec => :check_dependencies
|
35
|
+
|
36
|
+
begin
|
37
|
+
require 'reek/adapters/rake_task'
|
38
|
+
Reek::RakeTask.new do |t|
|
39
|
+
t.fail_on_error = true
|
40
|
+
t.verbose = false
|
41
|
+
t.source_files = 'lib/**/*.rb'
|
42
|
+
end
|
43
|
+
rescue LoadError
|
44
|
+
task :reek do
|
45
|
+
abort "Reek is not available. In order to run reek, you must: sudo gem install reek"
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
begin
|
50
|
+
require 'roodi'
|
51
|
+
require 'roodi_task'
|
52
|
+
RoodiTask.new do |t|
|
53
|
+
t.verbose = false
|
54
|
+
end
|
55
|
+
rescue LoadError
|
56
|
+
task :roodi do
|
57
|
+
abort "Roodi is not available. In order to run roodi, you must: sudo gem install roodi"
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
task :default => :spec
|
62
|
+
|
63
|
+
begin
|
64
|
+
require 'yard'
|
65
|
+
YARD::Rake::YardocTask.new
|
66
|
+
rescue LoadError
|
67
|
+
task :yardoc do
|
68
|
+
abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
|
69
|
+
end
|
70
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.0.1
|
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
:tags:
|
3
|
+
- australia
|
4
|
+
- australian
|
5
|
+
- australian rock
|
6
|
+
- australian music
|
7
|
+
- aussie
|
8
|
+
- aussie rock
|
9
|
+
- aussie alternative
|
10
|
+
- aussie Shiznat
|
11
|
+
- aussie goodness
|
12
|
+
- aussie alt
|
13
|
+
- aussi
|
14
|
+
- australian 90s
|
15
|
+
- aussierock
|
16
|
+
- australian artists
|
17
|
+
- aussie music
|
18
|
+
- awesome aussie
|
19
|
+
- brisbane
|
20
|
+
- brisbane-australia artist
|
21
|
+
:country: Australia
|
22
|
+
|
@@ -0,0 +1,114 @@
|
|
1
|
+
---
|
2
|
+
:tags:
|
3
|
+
- artists from germany
|
4
|
+
- aus deutschland
|
5
|
+
- berlin
|
6
|
+
- bavaria
|
7
|
+
- bayern
|
8
|
+
- bremen
|
9
|
+
- berlin hip-hop
|
10
|
+
- berlin funk
|
11
|
+
- bundesvision song contest
|
12
|
+
- deutsch
|
13
|
+
- deutschpunk
|
14
|
+
- deutschrap
|
15
|
+
- deutscher ska
|
16
|
+
- deutschrock
|
17
|
+
- deutsch rock
|
18
|
+
- deutschland
|
19
|
+
- deutschpop
|
20
|
+
- deutsch pop
|
21
|
+
- deutsche
|
22
|
+
- deutscher gitarrenpop
|
23
|
+
- deutsch indie
|
24
|
+
- deutsch punk
|
25
|
+
- deutschzeugs
|
26
|
+
- deutschsprachig und grandios
|
27
|
+
- deutscher-deutsche
|
28
|
+
- deutscher
|
29
|
+
- deutsch undeutsch
|
30
|
+
- deutsch aber cool
|
31
|
+
- deutschsprachig
|
32
|
+
- deutsche texte
|
33
|
+
- deutsche interpreten
|
34
|
+
- deutsch alternative
|
35
|
+
- deutchrock
|
36
|
+
- deutsche artisten
|
37
|
+
- deutscher hiphop
|
38
|
+
- deutscher hip hop
|
39
|
+
- deutscher hip-hop
|
40
|
+
- deutschrap mit niveau
|
41
|
+
- deutsch rap
|
42
|
+
- deutsch hiphop
|
43
|
+
- deutsche die man sich antuen kann
|
44
|
+
- deutscher sprechgesang
|
45
|
+
- fresing
|
46
|
+
- "from: germany"
|
47
|
+
- german
|
48
|
+
- germany
|
49
|
+
- german artists
|
50
|
+
- german house
|
51
|
+
- german ska
|
52
|
+
- german rock
|
53
|
+
- german bands
|
54
|
+
- german indie
|
55
|
+
- german indiepop
|
56
|
+
- german pop
|
57
|
+
- german alternative
|
58
|
+
- germanindie
|
59
|
+
- german indie combo
|
60
|
+
- gutes aus deutschland
|
61
|
+
- german band
|
62
|
+
- german but sing english
|
63
|
+
- german pop-rock
|
64
|
+
- german music
|
65
|
+
- giessen
|
66
|
+
- german artist
|
67
|
+
- good german stuff
|
68
|
+
- german metal
|
69
|
+
- german independent
|
70
|
+
- german hiphop
|
71
|
+
- german hip-hop
|
72
|
+
- german hip hop
|
73
|
+
- german rap
|
74
|
+
- guterdehiphop
|
75
|
+
- german reggae
|
76
|
+
- german dancehall
|
77
|
+
- german rapp
|
78
|
+
- germanrap
|
79
|
+
- german industrial
|
80
|
+
- hamburger schule
|
81
|
+
- hamburg
|
82
|
+
- hamburg city
|
83
|
+
- hamburg hip hop
|
84
|
+
- hamburger
|
85
|
+
- indie made in germany
|
86
|
+
- jena
|
87
|
+
- jena city punkrock
|
88
|
+
- koblenz
|
89
|
+
- made in germany
|
90
|
+
- munich
|
91
|
+
- muenchen
|
92
|
+
- music that makes me proud of being german
|
93
|
+
- neudeutsch
|
94
|
+
- neo ndw
|
95
|
+
- neue deutsche welle
|
96
|
+
- norddeutsch
|
97
|
+
- rock - made in germany
|
98
|
+
- rock german
|
99
|
+
# Artists
|
100
|
+
- andreas herde
|
101
|
+
- beginner
|
102
|
+
- dendemann
|
103
|
+
- fettes brot
|
104
|
+
- guano apes
|
105
|
+
- juli
|
106
|
+
- jonas pfetzing
|
107
|
+
- marcel roemer
|
108
|
+
- martin moeller
|
109
|
+
- peter fox
|
110
|
+
- silbermond
|
111
|
+
- simon triebel
|
112
|
+
- seed
|
113
|
+
:country: Germany
|
114
|
+
|