lateral 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c95672546d13d4474ec180392a6cf4f9c80b4baa
4
+ data.tar.gz: 18500d29ab160ea8d757989f0b8d99329a4c3029
5
+ SHA512:
6
+ metadata.gz: d2cb643b2e87c97b248d928c1bf584aff8a1862add82326a703d41f6e19dc3bb06259869ef0427296b295b7e0bd1643be11f9883017d698d9918f652b1f552bf
7
+ data.tar.gz: a51d67380d5fffeb99180dd6eed80b513c93edd64378a50f5dfe9e8199a854dd78ac2f686596cdaaed1bdf51ec3f63f2fa5a2d4dcc12be63718ac4add066bccb
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,27 @@
1
+ AllCops:
2
+ Include:
3
+ - '**/Gemfile'
4
+ - '**/Rakefile'
5
+ Exclude:
6
+ - 'bin/*'
7
+
8
+ Metrics/LineLength:
9
+ Max: 120
10
+
11
+ Style/Documentation:
12
+ Enabled: false
13
+
14
+ Metrics/AbcSize:
15
+ Max: 20
16
+
17
+ Metrics/CyclomaticComplexity:
18
+ Max: 7
19
+
20
+ Metrics/PerceivedComplexity:
21
+ Max: 8
22
+
23
+ Metrics/MethodLength:
24
+ Max: 15
25
+
26
+ Metrics/ModuleLength:
27
+ Enabled: false
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.2
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in lateral.gemspec
4
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,22 @@
1
+ guard :bundler do
2
+ watch('Gemfile')
3
+ end
4
+
5
+ # This group allows to skip running the rest when RSpec fails
6
+ group :red_green_refactor, halt_on_fail: true do
7
+ guard :rspec,
8
+ cmd: 'COVERAGE=false rspec --no-profile',
9
+ failed_mode: :none,
10
+ all_after_pass: true,
11
+ all_on_start: true do
12
+ watch(%r{^spec/.+_spec\.rb$})
13
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
14
+ watch(%r{^spec/support/(.+)\.rb$}) { 'spec' }
15
+ watch('spec/spec_helper.rb') { 'spec' }
16
+ end
17
+
18
+ guard :rubocop, cli: '-D' do
19
+ watch(%r{.+\.rb$})
20
+ watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
21
+ end
22
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Navin Peiris
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,88 @@
1
+ # Lateral
2
+
3
+ Ruby wrapper for [lateral.io](https://lateral.io) content recommendation service. For more information on
4
+ methods allowed, returned codes etc, see the [api docs](https://lateral.io/docs).
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'lateral'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install lateral
21
+
22
+ ## Usage
23
+
24
+ ### Get an API Key
25
+
26
+ You can get an API key from [https://lateral.io/](https://lateral.io/).
27
+
28
+ ### Use the service
29
+
30
+ ```ruby
31
+ text_matcher = Lateral::TextMatcher.new API_KEY
32
+ ```
33
+
34
+ #### Available methods
35
+
36
+ NOTE: The hash-bang methods throws an error if the request failed while the non hash-bang methods return null
37
+
38
+ ```ruby
39
+ # Adding documents
40
+ text_matcher.add document_id: 'document-id', text: 'document text'
41
+ text_matcher.add! document_id: 'document-id', text: 'document text'
42
+
43
+ # Deleting a document
44
+ text_matcher.delete document_id: 'document-id'
45
+ text_matcher.delete! document_id: 'document-id'
46
+
47
+ # Delete all documents
48
+ text_matcher.delete_all
49
+ text_matcher.delete_all!
50
+
51
+ # Fetch a document
52
+ text_matcher.fetch document_id: 'document-id'
53
+ text_matcher.fetch! document_id: 'document-id'
54
+
55
+ # List document ids
56
+ text_matcher.list
57
+ text_matcher.list!
58
+
59
+ # Recommend by id
60
+ text_matcher.recommend_by_id document_id: 'document-id', records: 20
61
+ text_matcher.recommend_by_id! document_id: 'document-id', records: 20
62
+
63
+ # Recommend by text
64
+ text_matcher.recommend_by_text text: 'some text', records: 20
65
+ text_matcher.recommend_by_text! text: 'some text', records: 20
66
+
67
+ # Update meta tags
68
+ text_matcher.update_meta document_id: 'document-id', meta: 'meta-tags'
69
+ text_matcher.update_meta! document_id: 'document-id', meta: 'meta-tags'
70
+
71
+ # Update text
72
+ text_matcher.update_text document_id: 'document-id', text: 'new document text'
73
+ text_matcher.update_text! document_id: 'document-id', text: 'new document text'
74
+ ```
75
+
76
+ ## Development
77
+
78
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
79
+
80
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
81
+
82
+ ## Contributing
83
+
84
+ 1. Fork it ( https://github.com/navinpeiris/lateral/fork )
85
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
86
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
87
+ 4. Push to the branch (`git push origin my-new-feature`)
88
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'bundler/gem_tasks'
3
+ require 'rspec/core/rake_task'
4
+ require 'rubocop/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ RuboCop::RakeTask.new(:rubocop) do |task|
9
+ task.options << '--display-cop-names'
10
+ end
11
+
12
+ task default: %w(spec rubocop)
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "lateral"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
data/lateral.gemspec ADDED
@@ -0,0 +1,36 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'lateral/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'lateral'
8
+ spec.version = Lateral::VERSION
9
+ spec.authors = ['Navin Peiris']
10
+ spec.email = ['navin.peiris@gmail.com']
11
+
12
+ spec.summary = %q{Ruby wrapper for lateral.io content recommendation API}
13
+ spec.description = %q{Ruby wrapper for lateral.io content recommendation API}
14
+ spec.homepage = 'https://github.com/navinpeiris/lateral'
15
+ spec.license = 'MIT'
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = 'exe'
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ['lib']
21
+
22
+ spec.add_dependency 'httparty', '~> 0.13.5'
23
+
24
+ spec.add_development_dependency 'bundler', '~> 1.9'
25
+ spec.add_development_dependency 'rake', '~> 10.0'
26
+ spec.add_development_dependency 'rspec', '~> 3.2.0'
27
+ spec.add_development_dependency 'rspec-its', '~> 1.2.0'
28
+ spec.add_development_dependency 'rubocop', '~> 0.31.0'
29
+ spec.add_development_dependency 'webmock', '~> 1.21.0'
30
+ spec.add_development_dependency 'simplecov', '~> 0.10.0'
31
+ spec.add_development_dependency 'guard-bundler', '~> 2.1.0'
32
+ spec.add_development_dependency 'guard-rspec', '~> 4.5.0'
33
+ spec.add_development_dependency 'guard-rubocop', '~> 1.2.0'
34
+ spec.add_development_dependency 'terminal-notifier-guard', '~> 1.6.4'
35
+ spec.add_development_dependency 'terminal-notifier', '~> 1.6.2'
36
+ end
data/lib/lateral.rb ADDED
@@ -0,0 +1,5 @@
1
+ require 'lateral/version'
2
+ require 'lateral/text_matcher'
3
+
4
+ module Lateral
5
+ end
@@ -0,0 +1,12 @@
1
+ module Lateral
2
+ class Document
3
+ attr_reader :id, :created_at, :text, :meta
4
+
5
+ def initialize(args)
6
+ @id = args.fetch 'document_id'
7
+ @created_at = args.fetch 'created_at'
8
+ @text = args.fetch 'text'
9
+ @meta = args.fetch 'meta', {}
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,20 @@
1
+ module Lateral
2
+ class LateralError < StandardError
3
+ attr_reader :code
4
+
5
+ def initialize(code, message)
6
+ super message
7
+ @code = code
8
+ end
9
+
10
+ def self.from_response(response)
11
+ message = begin
12
+ JSON.parse(response.body)['message']
13
+ rescue JSON::ParserError
14
+ response.body
15
+ end
16
+
17
+ new(response.code, message)
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,10 @@
1
+ module Lateral
2
+ class Recommendation
3
+ attr_reader :document_id, :distance
4
+
5
+ def initialize(args)
6
+ @document_id = args.fetch 'document_id'
7
+ @distance = args.fetch 'distance'
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,61 @@
1
+ require 'httparty'
2
+
3
+ require_relative 'document'
4
+ require_relative 'recommendation'
5
+ require_relative 'error'
6
+
7
+ module Lateral
8
+ class TextMatcher
9
+ include HTTParty
10
+
11
+ base_uri 'https://recommender-api.lateral.io'
12
+ format :json
13
+ # debug_output $stdout
14
+
15
+ def initialize(api_key)
16
+ TextMatcher.default_params 'subscription-key' => api_key
17
+ end
18
+
19
+ API_METHODS = {
20
+ add: { method: :post, endpoint: '/add/', result_class: Document },
21
+ delete: { method: :post, endpoint: '/delete/', result_class: Document },
22
+ delete_all: { method: :post, endpoint: '/delete-all/' },
23
+ fetch: { method: :get, endpoint: '/fetch/', result_class: Document },
24
+ list: { method: :get, endpoint: '/list/' },
25
+ recommend_by_id: { method: :post, endpoint: '/recommend-by-id/', result_class: Recommendation },
26
+ recommend_by_text: { method: :post, endpoint: '/recommend-by-text/', result_class: Recommendation },
27
+ update_meta: { method: :post, endpoint: '/update-meta/', result_class: Document },
28
+ update_text: { method: :post, endpoint: '/update-text/', result_class: Document }
29
+ }
30
+
31
+ API_METHODS.each do |method, options|
32
+ define_method(method) do |args = nil|
33
+ call_api(args, options, raise_error_on_failure: false)
34
+ end
35
+
36
+ define_method("#{method}!") do |args = nil|
37
+ call_api(args, options, raise_error_on_failure: true)
38
+ end
39
+ end
40
+
41
+ private
42
+
43
+ def call_api(args, options, raise_error_on_failure: false)
44
+ response = self.class.send(options[:method], options[:endpoint], body: args)
45
+
46
+ if response.success?
47
+ return nil if response.body.nil? || response.body.empty?
48
+
49
+ result = JSON.parse(response.body)
50
+
51
+ if (result_class = options[:result_class])
52
+ result = result.is_a?(Array) ? (result.map { |r| result_class.new(r) }) : result_class.new(result)
53
+ end
54
+
55
+ result
56
+ else
57
+ fail LateralError.from_response(response) if raise_error_on_failure
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,3 @@
1
+ module Lateral
2
+ VERSION = '0.1.0'
3
+ end
metadata ADDED
@@ -0,0 +1,245 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lateral
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Navin Peiris
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-06-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.13.5
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.13.5
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.9'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.9'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 3.2.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 3.2.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec-its
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 1.2.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 1.2.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.31.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.31.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: webmock
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 1.21.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 1.21.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: simplecov
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.10.0
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.10.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: guard-bundler
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 2.1.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 2.1.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: guard-rspec
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 4.5.0
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 4.5.0
153
+ - !ruby/object:Gem::Dependency
154
+ name: guard-rubocop
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 1.2.0
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 1.2.0
167
+ - !ruby/object:Gem::Dependency
168
+ name: terminal-notifier-guard
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: 1.6.4
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: 1.6.4
181
+ - !ruby/object:Gem::Dependency
182
+ name: terminal-notifier
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: 1.6.2
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: 1.6.2
195
+ description: Ruby wrapper for lateral.io content recommendation API
196
+ email:
197
+ - navin.peiris@gmail.com
198
+ executables: []
199
+ extensions: []
200
+ extra_rdoc_files: []
201
+ files:
202
+ - ".gitignore"
203
+ - ".rspec"
204
+ - ".rubocop.yml"
205
+ - ".travis.yml"
206
+ - CODE_OF_CONDUCT.md
207
+ - Gemfile
208
+ - Guardfile
209
+ - LICENSE.txt
210
+ - README.md
211
+ - Rakefile
212
+ - bin/console
213
+ - bin/setup
214
+ - lateral.gemspec
215
+ - lib/lateral.rb
216
+ - lib/lateral/document.rb
217
+ - lib/lateral/error.rb
218
+ - lib/lateral/recommendation.rb
219
+ - lib/lateral/text_matcher.rb
220
+ - lib/lateral/version.rb
221
+ homepage: https://github.com/navinpeiris/lateral
222
+ licenses:
223
+ - MIT
224
+ metadata: {}
225
+ post_install_message:
226
+ rdoc_options: []
227
+ require_paths:
228
+ - lib
229
+ required_ruby_version: !ruby/object:Gem::Requirement
230
+ requirements:
231
+ - - ">="
232
+ - !ruby/object:Gem::Version
233
+ version: '0'
234
+ required_rubygems_version: !ruby/object:Gem::Requirement
235
+ requirements:
236
+ - - ">="
237
+ - !ruby/object:Gem::Version
238
+ version: '0'
239
+ requirements: []
240
+ rubyforge_project:
241
+ rubygems_version: 2.4.5
242
+ signing_key:
243
+ specification_version: 4
244
+ summary: Ruby wrapper for lateral.io content recommendation API
245
+ test_files: []