lyrics_finder 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -0
- data/.gitignore +24 -0
- data/.rspec +4 -0
- data/.travis.yml +11 -0
- data/Gemfile +4 -0
- data/Guardfile +11 -0
- data/LICENSE.txt +22 -0
- data/README.md +79 -0
- data/Rakefile +9 -0
- data/bin/lyricsfinder +3 -0
- data/lib/lyrics_finder/cli.rb +14 -0
- data/lib/lyrics_finder/dependencies.rb +13 -0
- data/lib/lyrics_finder/providers/azlyrics.rb +19 -0
- data/lib/lyrics_finder/providers/lyrics_wikia.rb +23 -0
- data/lib/lyrics_finder/providers/song_lyrics.rb +19 -0
- data/lib/lyrics_finder/providers.rb +8 -0
- data/lib/lyrics_finder/version.rb +3 -0
- data/lib/lyrics_finder.rb +53 -0
- data/lyrics_finder.gemspec +35 -0
- data/spec/lyrics_finder_spec.rb +142 -0
- data/spec/providers/azlyrics_spec.rb +16 -0
- data/spec/providers/lyrics_wikia_spec.rb +34 -0
- data/spec/providers/song_lyrics_spec.rb +16 -0
- data/spec/providers_spec.rb +9 -0
- data/spec/spec_helper.rb +10 -0
- data/spec/support/azlyrics_sample_songs.rb +47 -0
- data/spec/support/lyrics_wikia_sample_songs.rb +46 -0
- data/spec/support/song_lyrics_sample_songs.rb +47 -0
- data/spec/support/vcr_setup.rb +4 -0
- data/spec/vcr_cassettes/Azlyrics_200_search.yml +153 -0
- data/spec/vcr_cassettes/LyricsWikia_200_search.yml +1972 -0
- data/spec/vcr_cassettes/LyricsWikia_Song_does_not_exist_search.yml +631 -0
- data/spec/vcr_cassettes/Nonexistent_Song_404_search.yml +3917 -0
- data/spec/vcr_cassettes/SongLyrics_200_search.yml +2274 -0
- metadata +262 -0
metadata
ADDED
@@ -0,0 +1,262 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lyrics_finder
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Daniel Romero
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-06-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.6'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.14.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.14.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec-nc
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.0.6
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.0.6
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: vcr
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.9.2
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.9.2
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: webmock
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.18.0
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.18.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: coveralls
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.7.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.7.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: nokogiri
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.6.1
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.6.1
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: activesupport
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 4.1.1
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 4.1.1
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: i18n
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.6.9
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.6.9
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: contracts
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.4'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0.4'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: thor
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 0.19.1
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - '='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 0.19.1
|
181
|
+
description: Simple library for finding song lyrics
|
182
|
+
email:
|
183
|
+
- dromveg@gmail.com
|
184
|
+
executables:
|
185
|
+
- lyricsfinder
|
186
|
+
extensions: []
|
187
|
+
extra_rdoc_files: []
|
188
|
+
files:
|
189
|
+
- ".coveralls.yml"
|
190
|
+
- ".gitignore"
|
191
|
+
- ".rspec"
|
192
|
+
- ".travis.yml"
|
193
|
+
- Gemfile
|
194
|
+
- Guardfile
|
195
|
+
- LICENSE.txt
|
196
|
+
- README.md
|
197
|
+
- Rakefile
|
198
|
+
- bin/lyricsfinder
|
199
|
+
- lib/lyrics_finder.rb
|
200
|
+
- lib/lyrics_finder/cli.rb
|
201
|
+
- lib/lyrics_finder/dependencies.rb
|
202
|
+
- lib/lyrics_finder/providers.rb
|
203
|
+
- lib/lyrics_finder/providers/azlyrics.rb
|
204
|
+
- lib/lyrics_finder/providers/lyrics_wikia.rb
|
205
|
+
- lib/lyrics_finder/providers/song_lyrics.rb
|
206
|
+
- lib/lyrics_finder/version.rb
|
207
|
+
- lyrics_finder.gemspec
|
208
|
+
- spec/lyrics_finder_spec.rb
|
209
|
+
- spec/providers/azlyrics_spec.rb
|
210
|
+
- spec/providers/lyrics_wikia_spec.rb
|
211
|
+
- spec/providers/song_lyrics_spec.rb
|
212
|
+
- spec/providers_spec.rb
|
213
|
+
- spec/spec_helper.rb
|
214
|
+
- spec/support/azlyrics_sample_songs.rb
|
215
|
+
- spec/support/lyrics_wikia_sample_songs.rb
|
216
|
+
- spec/support/song_lyrics_sample_songs.rb
|
217
|
+
- spec/support/vcr_setup.rb
|
218
|
+
- spec/vcr_cassettes/Azlyrics_200_search.yml
|
219
|
+
- spec/vcr_cassettes/LyricsWikia_200_search.yml
|
220
|
+
- spec/vcr_cassettes/LyricsWikia_Song_does_not_exist_search.yml
|
221
|
+
- spec/vcr_cassettes/Nonexistent_Song_404_search.yml
|
222
|
+
- spec/vcr_cassettes/SongLyrics_200_search.yml
|
223
|
+
homepage: https://github.com/dnlR/lyrics_finder
|
224
|
+
licenses:
|
225
|
+
- MIT
|
226
|
+
metadata: {}
|
227
|
+
post_install_message:
|
228
|
+
rdoc_options: []
|
229
|
+
require_paths:
|
230
|
+
- lib
|
231
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
232
|
+
requirements:
|
233
|
+
- - ">="
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
version: '0'
|
236
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
237
|
+
requirements:
|
238
|
+
- - ">="
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: '0'
|
241
|
+
requirements: []
|
242
|
+
rubyforge_project:
|
243
|
+
rubygems_version: 2.2.2
|
244
|
+
signing_key:
|
245
|
+
specification_version: 4
|
246
|
+
summary: Solution for finding song lyrics
|
247
|
+
test_files:
|
248
|
+
- spec/lyrics_finder_spec.rb
|
249
|
+
- spec/providers/azlyrics_spec.rb
|
250
|
+
- spec/providers/lyrics_wikia_spec.rb
|
251
|
+
- spec/providers/song_lyrics_spec.rb
|
252
|
+
- spec/providers_spec.rb
|
253
|
+
- spec/spec_helper.rb
|
254
|
+
- spec/support/azlyrics_sample_songs.rb
|
255
|
+
- spec/support/lyrics_wikia_sample_songs.rb
|
256
|
+
- spec/support/song_lyrics_sample_songs.rb
|
257
|
+
- spec/support/vcr_setup.rb
|
258
|
+
- spec/vcr_cassettes/Azlyrics_200_search.yml
|
259
|
+
- spec/vcr_cassettes/LyricsWikia_200_search.yml
|
260
|
+
- spec/vcr_cassettes/LyricsWikia_Song_does_not_exist_search.yml
|
261
|
+
- spec/vcr_cassettes/Nonexistent_Song_404_search.yml
|
262
|
+
- spec/vcr_cassettes/SongLyrics_200_search.yml
|