vocalist 1.0.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.
Files changed (93) hide show
  1. data/.document +5 -0
  2. data/.gitignore +27 -0
  3. data/LICENSE +20 -0
  4. data/README.rdoc +17 -0
  5. data/Rakefile +70 -0
  6. data/VERSION +1 -0
  7. data/data/countries/albania.yml +6 -0
  8. data/data/countries/algeria.yml +5 -0
  9. data/data/countries/argentina.yml +12 -0
  10. data/data/countries/armenia.yml +5 -0
  11. data/data/countries/australia.yml +22 -0
  12. data/data/countries/austria.yml +5 -0
  13. data/data/countries/bahamas.yml +7 -0
  14. data/data/countries/belarus.yml +6 -0
  15. data/data/countries/belgium.yml +6 -0
  16. data/data/countries/benin.yml +4 -0
  17. data/data/countries/bolivia.yml +5 -0
  18. data/data/countries/bonia.yml +10 -0
  19. data/data/countries/brazil.yml +6 -0
  20. data/data/countries/bulgaria.yml +6 -0
  21. data/data/countries/cameroon.yml +6 -0
  22. data/data/countries/canada.yml +13 -0
  23. data/data/countries/cape-verde.yml +9 -0
  24. data/data/countries/chile.yml +7 -0
  25. data/data/countries/china.yml +5 -0
  26. data/data/countries/colombia.yml +7 -0
  27. data/data/countries/croatia.yml +6 -0
  28. data/data/countries/cuba.yml +5 -0
  29. data/data/countries/cyprus.yml +5 -0
  30. data/data/countries/czech-republic.yml +6 -0
  31. data/data/countries/democratic-republic-of-the-congo.yml +5 -0
  32. data/data/countries/denmark.yml +5 -0
  33. data/data/countries/estonia.yml +5 -0
  34. data/data/countries/faroe-islands.yml +6 -0
  35. data/data/countries/finland.yml +5 -0
  36. data/data/countries/france.yml +14 -0
  37. data/data/countries/germany.yml +114 -0
  38. data/data/countries/greece.yml +5 -0
  39. data/data/countries/hungary.yml +5 -0
  40. data/data/countries/iceland.yml +7 -0
  41. data/data/countries/india.yml +9 -0
  42. data/data/countries/iran.yml +5 -0
  43. data/data/countries/ireland.yml +12 -0
  44. data/data/countries/island-of-dominica.yml +4 -0
  45. data/data/countries/israel.yml +6 -0
  46. data/data/countries/italy.yml +9 -0
  47. data/data/countries/ivory-coast.yml +5 -0
  48. data/data/countries/jamaica.yml +6 -0
  49. data/data/countries/japan.yml +6 -0
  50. data/data/countries/kazakhstan.yml +8 -0
  51. data/data/countries/korea.yml +6 -0
  52. data/data/countries/kyrgyzstan.yml +5 -0
  53. data/data/countries/latvia.yml +6 -0
  54. data/data/countries/lebanon.yml +5 -0
  55. data/data/countries/lithuania.yml +6 -0
  56. data/data/countries/luxembourg.yml +9 -0
  57. data/data/countries/macedonia.yml +6 -0
  58. data/data/countries/malaysia.yml +4 -0
  59. data/data/countries/mali.yml +4 -0
  60. data/data/countries/mexico.yml +8 -0
  61. data/data/countries/moldavia.yml +5 -0
  62. data/data/countries/mongolia.yml +4 -0
  63. data/data/countries/morocco.yml +12 -0
  64. data/data/countries/netherlands.yml +9 -0
  65. data/data/countries/new-zealand.yml +17 -0
  66. data/data/countries/norway.yml +11 -0
  67. data/data/countries/peru.yml +7 -0
  68. data/data/countries/philippines.yml +11 -0
  69. data/data/countries/poland.yml +9 -0
  70. data/data/countries/portugal.yml +9 -0
  71. data/data/countries/puerto-rico.yml +5 -0
  72. data/data/countries/romania.yml +6 -0
  73. data/data/countries/russia.yml +7 -0
  74. data/data/countries/senegal.yml +5 -0
  75. data/data/countries/serbia.yml +5 -0
  76. data/data/countries/slovakia.yml +6 -0
  77. data/data/countries/solvenia.yml +5 -0
  78. data/data/countries/south-africa.yml +5 -0
  79. data/data/countries/spain.yml +7 -0
  80. data/data/countries/sweden.yml +18 -0
  81. data/data/countries/switzerland.yml +5 -0
  82. data/data/countries/taiwan.yml +5 -0
  83. data/data/countries/tanzania.yml +5 -0
  84. data/data/countries/thailand.yml +8 -0
  85. data/data/countries/uk.yml +92 -0
  86. data/data/countries/usa.yml +44 -0
  87. data/lib/vocalist.rb +0 -0
  88. data/lib/vocalist/nationality.rb +95 -0
  89. data/spec/spec.opts +1 -0
  90. data/spec/spec_helper.rb +9 -0
  91. data/spec/vocalist_spec.rb +7 -0
  92. data/vocalist.gemspec +139 -0
  93. metadata +189 -0
@@ -0,0 +1,5 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
@@ -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.
@@ -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.
@@ -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,6 @@
1
+ ---
2
+ :tags:
3
+ - albania
4
+ - albanian
5
+ - albanian pop
6
+ :country: Albania
@@ -0,0 +1,5 @@
1
+ ---
2
+ :tags:
3
+ - algeria
4
+ - algerian
5
+ :country: Algeria
@@ -0,0 +1,12 @@
1
+ ---
2
+ :tags:
3
+ - argentina
4
+ - argentine
5
+ - argentinean
6
+ - argentinian
7
+ - argentina heavy metal
8
+ - argentina rock
9
+ - argentine rock
10
+ - rock argentino
11
+ :country: Argentina
12
+
@@ -0,0 +1,5 @@
1
+ ---
2
+ :tags:
3
+ - armenia
4
+ - armenian
5
+ :country: Armenia
@@ -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,5 @@
1
+ ---
2
+ :tags:
3
+ - austria
4
+ - austrian
5
+ :country: Austria
@@ -0,0 +1,7 @@
1
+ ---
2
+ :tags:
3
+ - bahamas
4
+ - bahamian
5
+ - bahama
6
+ - baha men
7
+ :country: Bahamas
@@ -0,0 +1,6 @@
1
+ ---
2
+ :tags:
3
+ - belarus
4
+ - belarusian
5
+ - belarussian
6
+ :country: Belarus
@@ -0,0 +1,6 @@
1
+ ---
2
+ :tags:
3
+ - belgian
4
+ - belgish
5
+ - belgium
6
+ :country: Belgium
@@ -0,0 +1,4 @@
1
+ ---
2
+ :tags:
3
+ - benin
4
+ :country: Benin
@@ -0,0 +1,5 @@
1
+ ---
2
+ :tags:
3
+ - bolivia
4
+ - bolivian
5
+ :country: Bolivia
@@ -0,0 +1,10 @@
1
+ ---
2
+ :tags:
3
+ - bosnia
4
+ - bosnian artist
5
+ - bosnian artists
6
+ - bosnian dub
7
+ - bosnian ethno
8
+ - bosnian ethno
9
+ - bosnian raggae
10
+ :country: Bosnia
@@ -0,0 +1,6 @@
1
+ ---
2
+ :tags:
3
+ - brazilian
4
+ - brazil
5
+ - brasil
6
+ :country: Brazil
@@ -0,0 +1,6 @@
1
+ ---
2
+ :tags:
3
+ - bulgaria
4
+ - bulgarian
5
+ - bulgarian folk
6
+ :country: Bulgaria
@@ -0,0 +1,6 @@
1
+ ---
2
+ :tags:
3
+ - cameroon
4
+ - cameroonian
5
+ - cameroun
6
+ :country: Cameroon
@@ -0,0 +1,13 @@
1
+ ---
2
+ :tags:
3
+ - british columbia
4
+ - canadian
5
+ - canadian punk
6
+ - canadian metal
7
+ - canada
8
+ - i am canadian
9
+ - ontario
10
+ - toronto
11
+ - billy talent
12
+ - vancouver
13
+ :country: Canada
@@ -0,0 +1,9 @@
1
+ ---
2
+ :tags:
3
+ - cabo verde
4
+ - caboverdean
5
+ - cap vert
6
+ - cape verde
7
+ - capeverdean
8
+ - cape verdean
9
+ :country: Cape Verde
@@ -0,0 +1,7 @@
1
+ ---
2
+ :tags:
3
+ - chile
4
+ - chilean
5
+ - chilenp
6
+ - metal chileno
7
+ :country: Chile
@@ -0,0 +1,5 @@
1
+ ---
2
+ :tags:
3
+ - chinese
4
+ - china
5
+ :country: China
@@ -0,0 +1,7 @@
1
+ ---
2
+ :tags:
3
+ - colombia
4
+ - colombian
5
+ - columbia
6
+ - colombiana
7
+ :country: Colombia
@@ -0,0 +1,6 @@
1
+ ---
2
+ :tags:
3
+ - croatia
4
+ - croatian
5
+ - croation punk
6
+ :country: Croatia
@@ -0,0 +1,5 @@
1
+ ---
2
+ :tags:
3
+ - cuba
4
+ - kuba
5
+ :country: Cuba
@@ -0,0 +1,5 @@
1
+ ---
2
+ :tags:
3
+ - cyprus
4
+ - cypriot
5
+ :country: Cyprus
@@ -0,0 +1,6 @@
1
+ ---
2
+ :tags:
3
+ - czech
4
+ - czech folk
5
+ - czech republic
6
+ :country: Czech Republic
@@ -0,0 +1,5 @@
1
+ ---
2
+ :tags:
3
+ - democratic republic of the congo
4
+ - democratic republic of congo
5
+ :country: Democratic Republic of the Congo
@@ -0,0 +1,5 @@
1
+ ---
2
+ :tags:
3
+ - danish
4
+ - denmark
5
+ :country: Denmark
@@ -0,0 +1,5 @@
1
+ ---
2
+ :tags:
3
+ - estonia
4
+ - estonian
5
+ :country: Estonia
@@ -0,0 +1,6 @@
1
+ ---
2
+ :tags:
3
+ - faroe islands
4
+ - faroese
5
+ - faroese metal
6
+ :country: Faroe Islands
@@ -0,0 +1,5 @@
1
+ ---
2
+ :tags:
3
+ - finnish
4
+ - finland
5
+ :country: Finland
@@ -0,0 +1,14 @@
1
+ ---
2
+ :tags:
3
+ - french
4
+ - france
5
+ - francais
6
+ - french house
7
+ - french techno
8
+ - french electro
9
+ - french pop
10
+ - french indie pop
11
+ - french female
12
+ - lyon
13
+ - nancy
14
+ :country: France
@@ -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
+