siilar 1.0.0.pre → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f06b4bdcda7a709d1f1e6e065eb88315abffc1c
4
- data.tar.gz: ef394621c6c509e794e7c8465bd60215d8f409fd
3
+ metadata.gz: e5dbbfc5c08063dc61515f786262fe8496a5a4eb
4
+ data.tar.gz: 41142d35c7c0aba195ef7f1d5b8650df24772ca4
5
5
  SHA512:
6
- metadata.gz: 5862668d5246a2cff2ea72354083f435b708a396282e6604e2940491294d4d6f820e4852f42fb61a3908ae7ee0df8b79a728566528fcbec17ee3ba8c1b464da5
7
- data.tar.gz: 2c0ba73ad89122416a6a5203745b976cdcb4d126a1d579ccd070b0da815b61c29ddef45f5b261a2f4756e06c85d223b860cab56f8258cebdfe113e90fc9f2baa
6
+ metadata.gz: 9fcda4f6aabbecd98c063feee28120537830147176678b18dc5f5f8ee66586bf611d3e53c92ec0e11f542a639fbc3e41438ddcf0551071966da1c17324357075
7
+ data.tar.gz: 5e27cb0e3c5c0b785564bbba90a4c515c978ec29afbe24190137fe8e55521b5ee4ed0073b60e97d9848d232dca195bf41264f23e534bb5bbf63d088bb1de9be9
@@ -11,6 +11,16 @@ module Siilar
11
11
 
12
12
  response.map { |r| Struct::Track.new(r) }
13
13
  end
14
+
15
+ # Search for a track from external ids
16
+ #
17
+ # @see http://api.siilar.com/1.0/doc/search-and-analyze#search-from-external
18
+ def similar_from_external(query = {})
19
+ options = { query: query }
20
+ response = client.get('1.0/search-from-external', options)
21
+
22
+ response.map { |r| Struct::Track.new(r) }
23
+ end
14
24
  end
15
25
  end
16
26
  end
@@ -1,3 +1,3 @@
1
1
  module Siilar
2
- VERSION = '1.0.0.pre'
2
+ VERSION = '1.0.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: siilar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehdi Lahmam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-30 00:00:00.000000000 Z
11
+ date: 2015-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -110,9 +110,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  requirements:
113
- - - ">"
113
+ - - ">="
114
114
  - !ruby/object:Gem::Version
115
- version: 1.3.1
115
+ version: '0'
116
116
  requirements: []
117
117
  rubyforge_project:
118
118
  rubygems_version: 2.4.5