alchemy-api-rb 0.2.2 → 0.3.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: 31277e5e90e5ae62da0fefb394183353d4e33ced
4
- data.tar.gz: d19aa8079f9202e4b458d369cec03f49cf72a6be
3
+ metadata.gz: 68d09f08382b94eb3e56c2384d8ede01e31adac3
4
+ data.tar.gz: e464c34e50a1ca8247d99741141ae4ef406fe096
5
5
  SHA512:
6
- metadata.gz: 04255bbc5570da2d2da96c51718bbde33affd0f58c7738300de5f32e15cfa8e7df4fcd8393e57d912e6ce4d9d8e27619fb9edaef778278d2ab24bcf24121dd19
7
- data.tar.gz: adcb2ac528160d034d9950270e3b0afad28ec6af1c8953dc72430bfdb6bb8a8218c5c63a41980382fe33b6954dade0767f93b8ea298901961d1a030e9bb579e1
6
+ metadata.gz: e1b35fe6564153d24501daa78b60311a6b921b7fcc537b9b154ddad82578f0dd3fcd96dd4c760a2858cf79cc8618b48c3f5cae3f78bd20fdc1916ad63d50701c
7
+ data.tar.gz: 0f81d3473b2da94fd5c40404d3faca9e3d7fb2e38de8ead5732b46b14bb40ab6af87f83c4b45056726e4d0fb1b26ac19d75f942812c4c35c170d84a05701e31a
@@ -1,11 +1,13 @@
1
1
  language: ruby
2
2
  rvm:
3
- # - 1.8.7
4
- # - 1.9.2
3
+ - 2.1.2
4
+ - 2.0.0
5
5
  - 1.9.3
6
- # - jruby-18mode # JRuby in 1.8 mode
7
- # - jruby-19mode # JRuby in 1.9 mode
8
- # - rbx-18mode
9
- # - rbx-19mode
10
- # uncomment this line if your project needs to run something other than `rake`:
11
- # script: bundle exec rspec spec
6
+ - jruby
7
+ env:
8
+ global:
9
+ secure: CubibQsfHYol2AlaplZH5Q1AiGJY/tn9pR9A06xrK28YQc4TLeEE4vrzntBiMd7UrgHjJ07gDshSF5muoCpLscuC0sK7LqHVA62iPYuIiK+9gd6+OPgnJ+3Rw5MMJLuboHkPwKHIMgCArtg+xPCHASxt4eK59wny80d9b7ifnnw=
10
+ cache: bundler
11
+ addons:
12
+ code_climate:
13
+ repo_token: 412bc15e5c0d57c3381d70da56b468979f649edc02f3078f697d8f66334b3fc5
data/Gemfile CHANGED
@@ -2,3 +2,8 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in alchemy-api-rb.gemspec
4
4
  gemspec
5
+
6
+ group :test do
7
+ gem 'codeclimate-test-reporter', group: :test, require: nil
8
+ gem 'coveralls', require: false
9
+ end
data/README.md CHANGED
@@ -1,18 +1,23 @@
1
1
  # AlchemyAPI
2
2
 
3
3
  [![Build Status](https://secure.travis-ci.org/technekes/alchemy-api-rb.png?branch=master)](http://travis-ci.org/technekes/alchemy-api-rb)
4
- [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/technekes/alchemy-api-rb)
4
+ [![Code Climate](https://codeclimate.com/github/technekes/alchemy-api-rb.png)](https://codeclimate.com/github/technekes/alchemy-api-rb)
5
+ [![Coverage Status](https://img.shields.io/coveralls/technekes/alchemy-api-rb.svg)](https://coveralls.io/r/technekes/alchemy-api-rb)
6
+ [![Dependency Status](https://gemnasium.com/connexio-labs/omniauth-connexio.png)](https://gemnasium.com/connexio-labs/omniauth-connexio)
7
+ [![Gem Version](https://badge.fury.io/rb/alchemy-api-rb.png)](http://badge.fury.io/rb/alchemy-api-rb)
5
8
 
6
9
  This is a Ruby Client Library that provides access to the [Alchemy text mining API](http://www.alchemyapi.com/). The current version targets the following API's:
7
10
 
8
11
  * Keyword Extraction
9
12
  * Text Extraction
10
13
  * Entity Extraction
14
+ * Relation Extraction
11
15
  * Sentiment Analysis
12
16
  * Concept Tagging
13
17
  * Text Categorization
14
18
  * Language Detection
15
19
  * Author Extraction
20
+ * Image Tagging
16
21
 
17
22
  Not yet implemented API's:
18
23
 
@@ -45,7 +50,7 @@ Set your API Key in an initializer or something similar:
45
50
  You may set the key along with other config settings:
46
51
 
47
52
  AlchemyAPI.configure do |config|
48
- config.key = "xxxxxxxxxxxxxxxxxx"
53
+ config.apikey = "xxxxxxxxxxxxxxxxxx"
49
54
  config.output_mode = :xml # not yet supported
50
55
  end
51
56
 
@@ -72,9 +77,13 @@ Results for keyword extraction are returned as a array of keywords:
72
77
 
73
78
  ## Testing
74
79
 
75
- The spec_helper is looking for your API Key in the project root in a file named `.keys`. Put just your key in there and then you can run:
80
+ The specs are expecting your API Key as an environment variable named `ALCHEMY_API_KEY`. You can export it locally or prepend the test command like so:
76
81
 
77
- rake test
82
+ ALCHEMY_API_KEY="this-is-my-40-character-key" bundle exec rake test
83
+
84
+ If you would like to expirement with the API you can run the `console` rake task and use the commands above to set the API Key issue search commands:
85
+
86
+ bundle exec rake console
78
87
 
79
88
  ## TODO
80
89
 
@@ -89,3 +98,7 @@ The spec_helper is looking for your API Key in the project root in a file named
89
98
  3. Commit your changes (`git commit -am 'Added some feature'`)
90
99
  4. Push to the branch (`git push origin my-new-feature`)
91
100
  5. Create new Pull Request
101
+
102
+ ## License
103
+
104
+ MIT License. See LICENSE for details.
data/Rakefile CHANGED
@@ -9,3 +9,11 @@ Rake::TestTask.new do |t|
9
9
  t.test_files = FileList['spec/**/*_spec.rb']
10
10
  t.verbose = true
11
11
  end
12
+
13
+ desc 'Open a pry session preloaded with this library'
14
+ task :console do
15
+ require 'pry'
16
+ require './lib/alchemy_api.rb'
17
+ ARGV.clear
18
+ Pry.start
19
+ end
@@ -7,6 +7,7 @@ Gem::Specification.new do |gem|
7
7
  gem.description = %q{Provides access to the Alchemy text mining API - http://www.alchemyapi.com/}
8
8
  gem.summary = %q{This is a ruby client library that provides access to the Alechemy text mining API. The initial version targets the keyword extraction api specificaly, with other implementations to follow.}
9
9
  gem.homepage = "https://github.com/technekes/alchemy-api-rb"
10
+ gem.license = "MIT"
10
11
 
11
12
  gem.files = `git ls-files`.split($\)
12
13
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -15,12 +16,14 @@ Gem::Specification.new do |gem|
15
16
  gem.require_paths = ["lib"]
16
17
  gem.version = AlchemyAPI::VERSION
17
18
 
18
- gem.add_dependency 'faraday', '~> 0.8.1'
19
- gem.add_dependency 'excon', '~> 0.28.0'
19
+ gem.add_dependency 'faraday', '~> 0.8.x'
20
+ gem.add_dependency 'excon', '~> 0.28.x'
20
21
 
21
- gem.add_development_dependency 'minitest', '~> 3.1.0'
22
- gem.add_development_dependency 'rake', '~> 0.9.2'
23
- gem.add_development_dependency 'turn', '~> 0.9.5'
24
- gem.add_development_dependency 'vcr', '~> 2.2.0'
25
- gem.add_development_dependency 'fakeweb', '~> 1.3.0'
22
+ gem.add_development_dependency 'minitest', '~> 3.1.x'
23
+ gem.add_development_dependency 'pry', '~> 0.10.x'
24
+ gem.add_development_dependency 'rake', '~> 10.3.x'
25
+ gem.add_development_dependency 'turn', '~> 0.9.x'
26
+ gem.add_development_dependency 'vcr', '~> 2.3.x'
27
+ gem.add_development_dependency 'webmock', '~> 1.18.x'
28
+ gem.add_development_dependency 'coveralls', '~> 0.7.x'
26
29
  end
@@ -41,7 +41,9 @@ module AlchemyAPI
41
41
  end
42
42
 
43
43
  def connection
44
- @connection ||= Faraday.new(url: BASE_URL)
44
+ @connection ||= Faraday.new(url: BASE_URL) do |builder|
45
+ builder.adapter :excon
46
+ end
45
47
  end
46
48
 
47
49
  def supported_search_types
@@ -0,0 +1,19 @@
1
+ module AlchemyAPI
2
+ class ImageTagging < Base
3
+ Config.add_mode :image_tagging, self
4
+
5
+ def web_method
6
+ "#{method_prefix}GetRankedImageKeywords"
7
+ end
8
+
9
+ private
10
+
11
+ def supported_search_types
12
+ [:url]
13
+ end
14
+
15
+ def indexer
16
+ "imageKeywords"
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,16 @@
1
+ module AlchemyAPI
2
+ class Taxonomy < Base
3
+ Config.add_mode :taxonomy, self
4
+
5
+ def web_method
6
+ "#{method_prefix}GetRankedTaxonomy"
7
+ end
8
+
9
+ private
10
+
11
+ def indexer
12
+ "taxonomy"
13
+ end
14
+ end
15
+ end
16
+
@@ -0,0 +1,19 @@
1
+ module AlchemyAPI
2
+ class TitleExtraction < Base
3
+ Config.add_mode :title_extraction, self
4
+
5
+ def web_method
6
+ "#{method_prefix}GetTitle"
7
+ end
8
+
9
+ private
10
+
11
+ def supported_search_types
12
+ [:url, :html]
13
+ end
14
+
15
+ def indexer
16
+ "title"
17
+ end
18
+ end
19
+ end
@@ -1,3 +1,3 @@
1
1
  module AlchemyAPI
2
- VERSION = "0.2.2"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -3,6 +3,7 @@ require "alchemy-api/config"
3
3
  require "alchemy-api/base"
4
4
  require "alchemy-api/keyword_extraction"
5
5
  require "alchemy-api/text_extraction"
6
+ require "alchemy-api/title_extraction"
6
7
  require "alchemy-api/entity_extraction"
7
8
  require "alchemy-api/sentiment_analysis"
8
9
  require "alchemy-api/relation_extraction"
@@ -10,8 +11,8 @@ require "alchemy-api/concept_tagging"
10
11
  require "alchemy-api/text_categorization"
11
12
  require "alchemy-api/language_detection"
12
13
  require "alchemy-api/author_extraction"
13
-
14
- Faraday.default_adapter = :excon
14
+ require "alchemy-api/taxonomy"
15
+ require "alchemy-api/image_tagging"
15
16
 
16
17
  module AlchemyAPI
17
18
  BASE_URL = "http://access.alchemyapi.com/calls/"
@@ -7,6 +7,12 @@ describe AlchemyAPI::Base do
7
7
  it "creates a connection" do
8
8
  subject.send(:connection).wont_be_nil
9
9
  end
10
+
11
+ describe "#adapter" do
12
+ it "uses the excon adapter" do
13
+ subject.send(:connection).builder.handlers.must_include Faraday::Adapter::Excon
14
+ end
15
+ end
10
16
  end
11
17
 
12
18
  describe "#merge_options" do
@@ -17,4 +23,5 @@ describe AlchemyAPI::Base do
17
23
  subject.merged_options(opts).must_be :==, expected
18
24
  end
19
25
  end
26
+
20
27
  end
@@ -0,0 +1,40 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
2
+
3
+ describe AlchemyAPI, "image_tagging" do
4
+ before do
5
+ AlchemyAPI::Config.apikey = API_KEY
6
+ end
7
+
8
+ subject() { AlchemyAPI::ImageTagging.new }
9
+
10
+ describe "#search" do
11
+ {
12
+ :url => "http://demo1.alchemyapi.com/images/vision/emaxfpo.jpg"
13
+ }.each do |type,value|
14
+ [:json].each do |output_mode|
15
+ before do
16
+ AlchemyAPI::Config.output_mode = output_mode
17
+ end
18
+
19
+ describe "#{type} search with #{output_mode} results" do
20
+ it "returns an array of results" do
21
+ VCR.use_cassette("image_tagging_basic_#{type}_#{output_mode}_search") do
22
+ result = subject.search(type => value)
23
+
24
+ result.must_be_instance_of Array
25
+ end
26
+ end
27
+
28
+ it "includes the keyword text and score" do
29
+ VCR.use_cassette("image_tagging_basic_#{type}_#{output_mode}_search") do
30
+ result = subject.search(type => value)[0]
31
+
32
+ result["text"].wont_be_nil
33
+ result["score"].wont_be_nil
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -1,14 +1,21 @@
1
1
  require 'minitest/spec'
2
2
  require 'minitest/autorun'
3
3
  require 'turn/autorun'
4
+ require 'webmock/minitest'
4
5
  require 'vcr'
6
+ require 'pry'
7
+ require 'codeclimate-test-reporter'
8
+ require 'coveralls'
9
+
10
+ CodeClimate::TestReporter.start
11
+ Coveralls.wear!
5
12
 
6
13
  require File.expand_path(File.join(File.dirname(__FILE__), '../lib/alchemy_api'))
7
14
 
8
- API_KEY = File.read('./.keys').chomp
15
+ API_KEY = ENV['ALCHEMY_API_KEY']
9
16
 
10
17
  VCR.configure do |c|
11
18
  c.cassette_library_dir = 'spec/vcr_cassettes'
12
- c.hook_into :fakeweb
19
+ c.hook_into :webmock
13
20
  c.filter_sensitive_data("ALCHEMY_KEY") { API_KEY }
14
21
  end
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://access.alchemyapi.com/calls/url/URLGetRankedImageKeywords
6
+ body:
7
+ encoding: US-ASCII
8
+ string: apikey=ALCHEMY_KEY&url=http://demo1.alchemyapi.com/images/vision/emaxfpo.jpg&outputMode=json
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.9
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ response:
15
+ status:
16
+ code: 200
17
+ message:
18
+ headers:
19
+ Server:
20
+ - nginx
21
+ Date:
22
+ - Sat, 26 Jul 2014 20:48:53 GMT
23
+ Content-Type:
24
+ - application/json
25
+ Content-Length:
26
+ - '521'
27
+ Connection:
28
+ - keep-alive
29
+ Cache-Control:
30
+ - no-cache
31
+ Access-Control-Allow-Origin:
32
+ - '*, *'
33
+ body:
34
+ encoding: UTF-8
35
+ string: "{\r\n \"status\": \"OK\",\r\n \"usage\": \"By accessing AlchemyAPI
36
+ or using information generated by AlchemyAPI, you are agreeing to be bound
37
+ by the AlchemyAPI Terms of Use: http://www.alchemyapi.com/company/terms.html\",\r\n
38
+ \ \"url\": \"http://demo1.alchemyapi.com/images/vision/emaxfpo.jpg\",\r\n
39
+ \ \"totalTransactions\": \"4\",\r\n \"imageKeywords\": [\r\n {\r\n
40
+ \ \"text\": \"cat\",\r\n \"score\": \"0.999665\"\r\n
41
+ \ },\r\n {\r\n \"text\": \"animal\",\r\n \"score\":
42
+ \"0.574443\"\r\n }\r\n ]\r\n}\r\n"
43
+ http_version:
44
+ recorded_at: Sat, 26 Jul 2014 20:48:53 GMT
45
+ recorded_with: VCR 2.9.2
metadata CHANGED
@@ -1,113 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy-api-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Allen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-05 00:00:00.000000000 Z
11
+ date: 2014-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.8.1
19
+ version: 0.8.x
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.8.1
26
+ version: 0.8.x
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: excon
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.28.0
33
+ version: 0.28.x
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.28.0
40
+ version: 0.28.x
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 3.1.0
47
+ version: 3.1.x
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 3.1.0
54
+ version: 3.1.x
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.10.x
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.10.x
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rake
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
- - - ~>
73
+ - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: 0.9.2
75
+ version: 10.3.x
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
- - - ~>
80
+ - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: 0.9.2
82
+ version: 10.3.x
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: turn
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - ~>
87
+ - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: 0.9.5
89
+ version: 0.9.x
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - ~>
94
+ - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: 0.9.5
96
+ version: 0.9.x
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: vcr
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
- - - ~>
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 2.3.x
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 2.3.x
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
88
116
  - !ruby/object:Gem::Version
89
- version: 2.2.0
117
+ version: 1.18.x
90
118
  type: :development
91
119
  prerelease: false
92
120
  version_requirements: !ruby/object:Gem::Requirement
93
121
  requirements:
94
- - - ~>
122
+ - - "~>"
95
123
  - !ruby/object:Gem::Version
96
- version: 2.2.0
124
+ version: 1.18.x
97
125
  - !ruby/object:Gem::Dependency
98
- name: fakeweb
126
+ name: coveralls
99
127
  requirement: !ruby/object:Gem::Requirement
100
128
  requirements:
101
- - - ~>
129
+ - - "~>"
102
130
  - !ruby/object:Gem::Version
103
- version: 1.3.0
131
+ version: 0.7.x
104
132
  type: :development
105
133
  prerelease: false
106
134
  version_requirements: !ruby/object:Gem::Requirement
107
135
  requirements:
108
- - - ~>
136
+ - - "~>"
109
137
  - !ruby/object:Gem::Version
110
- version: 1.3.0
138
+ version: 0.7.x
111
139
  description: Provides access to the Alchemy text mining API - http://www.alchemyapi.com/
112
140
  email:
113
141
  - john.allen@technekes.com
@@ -115,9 +143,9 @@ executables: []
115
143
  extensions: []
116
144
  extra_rdoc_files: []
117
145
  files:
118
- - .gitignore
119
- - .travis.yml
120
- - .yardopts
146
+ - ".gitignore"
147
+ - ".travis.yml"
148
+ - ".yardopts"
121
149
  - Gemfile
122
150
  - LICENSE
123
151
  - README.md
@@ -128,12 +156,15 @@ files:
128
156
  - lib/alchemy-api/concept_tagging.rb
129
157
  - lib/alchemy-api/config.rb
130
158
  - lib/alchemy-api/entity_extraction.rb
159
+ - lib/alchemy-api/image_tagging.rb
131
160
  - lib/alchemy-api/keyword_extraction.rb
132
161
  - lib/alchemy-api/language_detection.rb
133
162
  - lib/alchemy-api/relation_extraction.rb
134
163
  - lib/alchemy-api/sentiment_analysis.rb
164
+ - lib/alchemy-api/taxonomy.rb
135
165
  - lib/alchemy-api/text_categorization.rb
136
166
  - lib/alchemy-api/text_extraction.rb
167
+ - lib/alchemy-api/title_extraction.rb
137
168
  - lib/alchemy-api/version.rb
138
169
  - lib/alchemy_api.rb
139
170
  - spec/alchemy_api_spec.rb
@@ -141,6 +172,7 @@ files:
141
172
  - spec/base_spec.rb
142
173
  - spec/concept_tagging_spec.rb
143
174
  - spec/entity_extraction_spec.rb
175
+ - spec/image_tagging_spec.rb
144
176
  - spec/keyword_extraction_spec.rb
145
177
  - spec/language_detection_spec.rb
146
178
  - spec/relation_extraction_spec.rb
@@ -158,6 +190,7 @@ files:
158
190
  - spec/vcr_cassettes/entity_basic_html_json_search.yml
159
191
  - spec/vcr_cassettes/entity_basic_text_json_search.yml
160
192
  - spec/vcr_cassettes/entity_basic_url_json_search.yml
193
+ - spec/vcr_cassettes/image_tagging_basic_url_json_search.yml
161
194
  - spec/vcr_cassettes/keyword_basic_html_json_search.yml
162
195
  - spec/vcr_cassettes/keyword_basic_text_json_search.yml
163
196
  - spec/vcr_cassettes/keyword_basic_url_json_search.yml
@@ -173,7 +206,8 @@ files:
173
206
  - spec/vcr_cassettes/text_basic_html_json_search.yml
174
207
  - spec/vcr_cassettes/text_basic_url_json_search.yml
175
208
  homepage: https://github.com/technekes/alchemy-api-rb
176
- licenses: []
209
+ licenses:
210
+ - MIT
177
211
  metadata: {}
178
212
  post_install_message:
179
213
  rdoc_options: []
@@ -181,17 +215,17 @@ require_paths:
181
215
  - lib
182
216
  required_ruby_version: !ruby/object:Gem::Requirement
183
217
  requirements:
184
- - - '>='
218
+ - - ">="
185
219
  - !ruby/object:Gem::Version
186
220
  version: '0'
187
221
  required_rubygems_version: !ruby/object:Gem::Requirement
188
222
  requirements:
189
- - - '>='
223
+ - - ">="
190
224
  - !ruby/object:Gem::Version
191
225
  version: '0'
192
226
  requirements: []
193
227
  rubyforge_project:
194
- rubygems_version: 2.1.0
228
+ rubygems_version: 2.2.2
195
229
  signing_key:
196
230
  specification_version: 4
197
231
  summary: This is a ruby client library that provides access to the Alechemy text mining
@@ -203,6 +237,7 @@ test_files:
203
237
  - spec/base_spec.rb
204
238
  - spec/concept_tagging_spec.rb
205
239
  - spec/entity_extraction_spec.rb
240
+ - spec/image_tagging_spec.rb
206
241
  - spec/keyword_extraction_spec.rb
207
242
  - spec/language_detection_spec.rb
208
243
  - spec/relation_extraction_spec.rb
@@ -220,6 +255,7 @@ test_files:
220
255
  - spec/vcr_cassettes/entity_basic_html_json_search.yml
221
256
  - spec/vcr_cassettes/entity_basic_text_json_search.yml
222
257
  - spec/vcr_cassettes/entity_basic_url_json_search.yml
258
+ - spec/vcr_cassettes/image_tagging_basic_url_json_search.yml
223
259
  - spec/vcr_cassettes/keyword_basic_html_json_search.yml
224
260
  - spec/vcr_cassettes/keyword_basic_text_json_search.yml
225
261
  - spec/vcr_cassettes/keyword_basic_url_json_search.yml