LyricFind 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +32 -26
- data/README.md +21 -3
- data/lib/lyricfind/version.rb +1 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46a9dd1f14aea448b14aaa9d40c9dd17e77beef2
|
4
|
+
data.tar.gz: 11211aa0f46a794e491d4e3cc3ee67e957d22b4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1db942d3a6802d961c88d3336892d3d06673d241ca84471489a6ebf23cd8aa6ffb37922096330dc80518e2e13a55046fa2179d510fcc2ef5729fc581be0e574
|
7
|
+
data.tar.gz: d6cee2b0e6938af187c8646cc28028638fb050b8bbb824dab06543fac3c436644c5564bf14c96dba039edec237efcb48837e9b7215709e572d107b16aad489b5
|
data/Gemfile.lock
CHANGED
@@ -1,52 +1,55 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
LyricFind (0.1.
|
4
|
+
LyricFind (0.1.7)
|
5
5
|
nokogiri (~> 1.6)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
addressable (2.
|
10
|
+
addressable (2.4.0)
|
11
11
|
builder (3.2.2)
|
12
|
-
crack (0.4.
|
12
|
+
crack (0.4.3)
|
13
13
|
safe_yaml (~> 1.0.0)
|
14
|
-
cucumber (2.
|
14
|
+
cucumber (2.3.2)
|
15
15
|
builder (>= 2.1.2)
|
16
|
-
cucumber-core (~> 1.
|
16
|
+
cucumber-core (~> 1.4.0)
|
17
|
+
cucumber-wire (~> 0.0.1)
|
17
18
|
diff-lcs (>= 1.1.3)
|
18
|
-
gherkin (~> 2.
|
19
|
+
gherkin (~> 3.2.0)
|
19
20
|
multi_json (>= 1.7.5, < 2.0)
|
20
21
|
multi_test (>= 0.1.2)
|
21
|
-
cucumber-core (1.
|
22
|
-
gherkin (~> 2.
|
22
|
+
cucumber-core (1.4.0)
|
23
|
+
gherkin (~> 3.2.0)
|
24
|
+
cucumber-wire (0.0.1)
|
23
25
|
diff-lcs (1.2.5)
|
24
|
-
gherkin (2.
|
25
|
-
|
26
|
-
|
26
|
+
gherkin (3.2.0)
|
27
|
+
hashdiff (0.3.0)
|
28
|
+
mini_portile2 (2.0.0)
|
27
29
|
multi_json (1.11.2)
|
28
30
|
multi_test (0.1.2)
|
29
|
-
nokogiri (1.6.
|
30
|
-
|
31
|
-
rake (10.
|
32
|
-
rspec (3.
|
33
|
-
rspec-core (~> 3.
|
34
|
-
rspec-expectations (~> 3.
|
35
|
-
rspec-mocks (~> 3.
|
36
|
-
rspec-core (3.
|
37
|
-
rspec-support (~> 3.
|
38
|
-
rspec-expectations (3.
|
31
|
+
nokogiri (1.6.7.2)
|
32
|
+
mini_portile2 (~> 2.0.0.rc2)
|
33
|
+
rake (10.5.0)
|
34
|
+
rspec (3.4.0)
|
35
|
+
rspec-core (~> 3.4.0)
|
36
|
+
rspec-expectations (~> 3.4.0)
|
37
|
+
rspec-mocks (~> 3.4.0)
|
38
|
+
rspec-core (3.4.4)
|
39
|
+
rspec-support (~> 3.4.0)
|
40
|
+
rspec-expectations (3.4.0)
|
39
41
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
-
rspec-support (~> 3.
|
41
|
-
rspec-mocks (3.
|
42
|
+
rspec-support (~> 3.4.0)
|
43
|
+
rspec-mocks (3.4.1)
|
42
44
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
-
rspec-support (~> 3.
|
44
|
-
rspec-support (3.
|
45
|
+
rspec-support (~> 3.4.0)
|
46
|
+
rspec-support (3.4.1)
|
45
47
|
safe_yaml (1.0.4)
|
46
48
|
vcr (2.9.3)
|
47
|
-
webmock (1.
|
49
|
+
webmock (1.24.2)
|
48
50
|
addressable (>= 2.3.6)
|
49
51
|
crack (>= 0.3.2)
|
52
|
+
hashdiff
|
50
53
|
|
51
54
|
PLATFORMS
|
52
55
|
ruby
|
@@ -59,3 +62,6 @@ DEPENDENCIES
|
|
59
62
|
rspec (~> 3.0)
|
60
63
|
vcr (~> 2.9)
|
61
64
|
webmock (~> 1.21)
|
65
|
+
|
66
|
+
BUNDLED WITH
|
67
|
+
1.11.2
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/LyricFind.svg)](http://badge.fury.io/rb/LyricFind) | [![Code Climate](https://codeclimate.com/github/ihassin/lyricfind/badges/gpa.svg)](https://codeclimate.com/github/ihassin/lyricfind) | [![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](http://opensource.org/licenses/MIT) | [![Issues](http://img.shields.io/github/issues/ihassin/lyricfind.svg?style=flat-square)](http://github.com/ihassin/lyricfind/issues) | [![Releases](http://img.shields.io/github/release/ihassin/lyricfind.svg?style=flat-square)](http://github.com/ihassin/lyricfind/releases) | [![Dependencies](http://img.shields.io/gemnasium/ihassin/lyricfind.svg?style=flat-square)](https://gemnasium.com/ihassin/lyricfind)
|
4
4
|
|
5
|
-
This gem allows your application to access LyricFind's API services
|
5
|
+
This gem allows your application to access LyricFind's API services to search and retrieve song information, snippets and lyrics.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -34,7 +34,21 @@ rake
|
|
34
34
|
|
35
35
|
For usage examples from tests, please see [here](https://github.com/ihassin/lyricfind/blob/master/spec/lyricfind_spec.rb)
|
36
36
|
|
37
|
-
|
37
|
+
Example for getting a song object back with info:
|
38
|
+
|
39
|
+
```ruby
|
40
|
+
lf = LyricFind::API.new 'search-key', 'display-key'
|
41
|
+
song = lf.get_song_info 'u2', 'one'
|
42
|
+
# => song.lyrics
|
43
|
+
# => song.artist
|
44
|
+
# => song.song_name
|
45
|
+
# => song.album
|
46
|
+
# => song.duration
|
47
|
+
# => song.snippet
|
48
|
+
# => song.instrumental
|
49
|
+
```
|
50
|
+
|
51
|
+
Example for getting just the lyrics:
|
38
52
|
```ruby
|
39
53
|
require 'LyricFind'
|
40
54
|
|
@@ -56,4 +70,8 @@ puts lf.get_lyrics_by_song_name 'u2', 'one'
|
|
56
70
|
|
57
71
|
## Other efforts
|
58
72
|
|
59
|
-
Look [here](https://github.com/pilu/lyricfind) if you're looking for
|
73
|
+
Look [here](https://github.com/pilu/lyricfind) if you're looking for an impementation in Go
|
74
|
+
|
75
|
+
## RubyGems
|
76
|
+
|
77
|
+
Check out the gem [here](https://rubygems.org/gems/LyricFind)
|
data/lib/lyricfind/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: LyricFind
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Itamar Hassin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -135,26 +135,12 @@ files:
|
|
135
135
|
- lib/lyricfind/song_info.rb
|
136
136
|
- lib/lyricfind/version.rb
|
137
137
|
- lyricfind.gemspec
|
138
|
-
- vendor/cache/addressable-2.3.8.gem
|
139
138
|
- vendor/cache/builder-3.2.2.gem
|
140
|
-
- vendor/cache/crack-0.4.2.gem
|
141
|
-
- vendor/cache/cucumber-2.0.0.gem
|
142
|
-
- vendor/cache/cucumber-core-1.1.3.gem
|
143
139
|
- vendor/cache/diff-lcs-1.2.5.gem
|
144
|
-
- vendor/cache/gherkin-2.12.2.gem
|
145
|
-
- vendor/cache/mini_portile-0.6.2.gem
|
146
140
|
- vendor/cache/multi_json-1.11.2.gem
|
147
141
|
- vendor/cache/multi_test-0.1.2.gem
|
148
|
-
- vendor/cache/nokogiri-1.6.6.2.gem
|
149
|
-
- vendor/cache/rake-10.4.2.gem
|
150
|
-
- vendor/cache/rspec-3.3.0.gem
|
151
|
-
- vendor/cache/rspec-core-3.3.1.gem
|
152
|
-
- vendor/cache/rspec-expectations-3.3.0.gem
|
153
|
-
- vendor/cache/rspec-mocks-3.3.1.gem
|
154
|
-
- vendor/cache/rspec-support-3.3.0.gem
|
155
142
|
- vendor/cache/safe_yaml-1.0.4.gem
|
156
143
|
- vendor/cache/vcr-2.9.3.gem
|
157
|
-
- vendor/cache/webmock-1.21.0.gem
|
158
144
|
homepage: https://github.com/ihassin/lyricfind
|
159
145
|
licenses:
|
160
146
|
- MIT
|
@@ -175,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
161
|
version: '0'
|
176
162
|
requirements: []
|
177
163
|
rubyforge_project:
|
178
|
-
rubygems_version: 2.4.
|
164
|
+
rubygems_version: 2.4.8
|
179
165
|
signing_key:
|
180
166
|
specification_version: 4
|
181
167
|
summary: Access LyricFind's API
|