LyricFind 0.1.6 → 0.1.7

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 (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +32 -26
  3. data/README.md +21 -3
  4. data/lib/lyricfind/version.rb +1 -1
  5. metadata +3 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20b1ab696d7544364ffd20a380e5cd7c14b63ee5
4
- data.tar.gz: 6a8ddb99be8d235adc8f93f4a8fcd5bf3b286156
3
+ metadata.gz: 46a9dd1f14aea448b14aaa9d40c9dd17e77beef2
4
+ data.tar.gz: 11211aa0f46a794e491d4e3cc3ee67e957d22b4c
5
5
  SHA512:
6
- metadata.gz: 755e33933aa02295c4f50fa0d1f929d21017b24c31131f514abea759fe9f922377ec5d8f4a6cf533700066d2d995f3f4b7550d6257870161fd8821df2fc2573c
7
- data.tar.gz: 0ceb9c046d67f779847656dfbfb602d9d70d26ba575e20903276f106b49dbf0d1f8c650a3da4da95367802cd98787e425e781f4c81a8df7d360500064b899d08
6
+ metadata.gz: b1db942d3a6802d961c88d3336892d3d06673d241ca84471489a6ebf23cd8aa6ffb37922096330dc80518e2e13a55046fa2179d510fcc2ef5729fc581be0e574
7
+ data.tar.gz: d6cee2b0e6938af187c8646cc28028638fb050b8bbb824dab06543fac3c436644c5564bf14c96dba039edec237efcb48837e9b7215709e572d107b16aad489b5
@@ -1,52 +1,55 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- LyricFind (0.1.6)
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.3.8)
10
+ addressable (2.4.0)
11
11
  builder (3.2.2)
12
- crack (0.4.2)
12
+ crack (0.4.3)
13
13
  safe_yaml (~> 1.0.0)
14
- cucumber (2.0.0)
14
+ cucumber (2.3.2)
15
15
  builder (>= 2.1.2)
16
- cucumber-core (~> 1.1.3)
16
+ cucumber-core (~> 1.4.0)
17
+ cucumber-wire (~> 0.0.1)
17
18
  diff-lcs (>= 1.1.3)
18
- gherkin (~> 2.12)
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.1.3)
22
- gherkin (~> 2.12.0)
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.12.2)
25
- multi_json (~> 1.3)
26
- mini_portile (0.6.2)
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.6.2)
30
- mini_portile (~> 0.6.0)
31
- rake (10.4.2)
32
- rspec (3.3.0)
33
- rspec-core (~> 3.3.0)
34
- rspec-expectations (~> 3.3.0)
35
- rspec-mocks (~> 3.3.0)
36
- rspec-core (3.3.1)
37
- rspec-support (~> 3.3.0)
38
- rspec-expectations (3.3.0)
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.3.0)
41
- rspec-mocks (3.3.1)
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.3.0)
44
- rspec-support (3.3.0)
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.21.0)
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
- Simple example:
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 am impementation in Go
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)
@@ -1,3 +1,3 @@
1
1
  module LyricFind
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
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.6
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: 2015-08-02 00:00:00.000000000 Z
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.6
164
+ rubygems_version: 2.4.8
179
165
  signing_key:
180
166
  specification_version: 4
181
167
  summary: Access LyricFind's API