imagga_auto_tag 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: e4641b1a4efb8144d051899306c267d815af2b56
4
+ data.tar.gz: 68caa48fab91beecd93d3fe9deea06f65c02de6a
5
+ SHA512:
6
+ metadata.gz: dfff46a628f1958c5adfe6d658a84adb18a532bfdb894a7fc11c4f2c7af2bdf4a79a4468e452bb94d07aeb378a4e9b44173297a17edb55a99ff0ab533258d93e
7
+ data.tar.gz: ae4ae9f7f9434ff21b989bfa4bd2408e2f062c048e6c869cba83cf1af9e538956894189b9c04254e84c284cd284066755f5d19a1d76fef4345b83ccb36950bf9
data/.gitignore ADDED
@@ -0,0 +1,15 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ .env
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format documentation
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in imagga_auto_tag.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Luke Chesser
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,49 @@
1
+ # ImaggaAutoTag
2
+
3
+ Ruby client for fetching tags for an image using the [Imagga Auto Tagging API](http://imagga.com/solutions/auto-tagging.html).
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'imagga_auto_tag'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install imagga_auto_tag
20
+
21
+ ## Usage
22
+
23
+ ```ruby
24
+ client = ImaggaAutoTag::Client.new(your_imagga_api_key)
25
+ results = client.fetch("http://static.ddmcdn.com/gif/landscape-photography-1.jpg")
26
+
27
+ results.tags
28
+ # => array of tags
29
+
30
+ results.scrub(30)
31
+ # => removes tags with a confidence of less than 30
32
+
33
+ results.tags[0].tap do |tag|
34
+ tag.name # => tag name
35
+ tag.confidence # => tag confidence as a float
36
+ end
37
+
38
+ results.to_csv
39
+ # => comma delimitted string of tag names
40
+ # => 'tag1,tag2,etc..'
41
+ ```
42
+
43
+ ## Contributing
44
+
45
+ 1. Fork it ( https://github.com/lukechesser/imagga_auto_tag/fork )
46
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
47
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
48
+ 4. Push to the branch (`git push origin my-new-feature`)
49
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'imagga_auto_tag/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "imagga_auto_tag"
8
+ spec.version = ImaggaAutoTag::VERSION
9
+ spec.authors = ["Luke Chesser"]
10
+ spec.email = ["luke@unsplash.com"]
11
+ spec.summary = %q{Imagga Auto Tagging API client}
12
+ spec.description = %q{Ruby wrapper around the Imagga Auto Tagging API}
13
+ spec.homepage = "https://github.com/lukechesser/imagga-auto-tag"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.7"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+
24
+ spec.add_development_dependency "rspec"
25
+ spec.add_development_dependency "vcr"
26
+ spec.add_development_dependency "webmock"
27
+
28
+ spec.add_dependency "faraday"
29
+ spec.add_dependency "json"
30
+ end
@@ -0,0 +1,27 @@
1
+ module ImaggaAutoTag
2
+
3
+ class Client
4
+
5
+ IMAGGA_API_BASE_URL = "https://api.imagga.com" || ENV['IMAGGA_API_BASE_URL']
6
+ IMAGGA_API_TAG_PATH = "/draft/tags" || ENV['IMAGGA_API_TAG_PATH']
7
+
8
+ attr_reader :response
9
+
10
+ def initialize(api_key)
11
+ @api_key = api_key
12
+ @conn = Faraday.new(:url => IMAGGA_API_BASE_URL)
13
+ end
14
+
15
+ def fetch(url)
16
+ @response = @conn.get do |req|
17
+ req.url IMAGGA_API_TAG_PATH
18
+ req.params['api_key'] = @api_key
19
+ req.params['url'] = url
20
+ end
21
+
22
+ TaggedImage.new(@response)
23
+ end
24
+
25
+ end
26
+
27
+ end
@@ -0,0 +1,14 @@
1
+ module ImaggaAutoTag
2
+
3
+ class Tag
4
+
5
+ attr_reader :confidence, :name
6
+
7
+ def initialize(raw_data)
8
+ @confidence = raw_data['confidence']
9
+ @name = raw_data['tag']
10
+ end
11
+
12
+ end
13
+
14
+ end
@@ -0,0 +1,31 @@
1
+ module ImaggaAutoTag
2
+
3
+ class TaggedImage
4
+
5
+ attr_reader :status, :tags
6
+
7
+ def initialize(api_response)
8
+ body = JSON.parse(api_response.body)
9
+
10
+ @tags = []
11
+
12
+ body['tags'].each do |tag|
13
+ @tags.push Tag.new(tag)
14
+ end
15
+
16
+ @status = api_response.status
17
+ end
18
+
19
+ def scrub(threshold = 30)
20
+ @tags.select! do |tag|
21
+ tag.confidence > threshold
22
+ end
23
+ end
24
+
25
+ def to_csv
26
+ @tags.collect { |t| t.name }.join(',')
27
+ end
28
+
29
+ end
30
+
31
+ end
@@ -0,0 +1,3 @@
1
+ module ImaggaAutoTag
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,6 @@
1
+ require "faraday"
2
+ require "json"
3
+ require "imagga_auto_tag/version"
4
+ require "imagga_auto_tag/client"
5
+ require "imagga_auto_tag/tagged_image"
6
+ require "imagga_auto_tag/tag"
@@ -0,0 +1,125 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.imagga.com/draft/tags?api_key=acc_86d36eb78c04c30&url=http://static.ddmcdn.com/gif/landscape-photography-1.jpg
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx/1.6.0
23
+ Date:
24
+ - Wed, 10 Dec 2014 02:42:04 GMT
25
+ Content-Type:
26
+ - application/json
27
+ Content-Length:
28
+ - '5920'
29
+ Connection:
30
+ - keep-alive
31
+ Access-Control-Allow-Origin:
32
+ - "*"
33
+ Access-Control-Allow-Methods:
34
+ - OPTIONS, PUT, GET, POST, DELETE
35
+ Access-Control-Allow-Headers:
36
+ - content-type, accept, cache-control, x-requested-with
37
+ Access-Control-Max-Age:
38
+ - '60'
39
+ body:
40
+ encoding: UTF-8
41
+ string: "{\n \"tags\": [\n {\n \"confidence\": 45.87292714129046,
42
+ \n \"tag\": \"field\"\n }, \n {\n \"confidence\":
43
+ 45.019462630471075, \n \"tag\": \"grass\"\n }, \n {\n
44
+ \ \"confidence\": 41.539616750533774, \n \"tag\": \"meadow\"\n
45
+ \ }, \n {\n \"confidence\": 37.68175405091519, \n
46
+ \ \"tag\": \"landscape\"\n }, \n {\n \"confidence\":
47
+ 34.47865257334126, \n \"tag\": \"summer\"\n }, \n {\n
48
+ \ \"confidence\": 33.133958517035, \n \"tag\": \"sky\"\n
49
+ \ }, \n {\n \"confidence\": 29.98744024808808, \n
50
+ \ \"tag\": \"rural\"\n }, \n {\n \"confidence\":
51
+ 28.823619628995857, \n \"tag\": \"countryside\"\n }, \n
52
+ \ {\n \"confidence\": 27.131082541347382, \n \"tag\":
53
+ \"country\"\n }, \n {\n \"confidence\": 27.093789187148097,
54
+ \n \"tag\": \"spring\"\n }, \n {\n \"confidence\":
55
+ 25.714842645518626, \n \"tag\": \"farm\"\n }, \n {\n
56
+ \ \"confidence\": 24.336827549986037, \n \"tag\": \"horizon\"\n
57
+ \ }, \n {\n \"confidence\": 24.115280119433198, \n
58
+ \ \"tag\": \"clouds\"\n }, \n {\n \"confidence\":
59
+ 23.561707674279226, \n \"tag\": \"sun\"\n }, \n {\n
60
+ \ \"confidence\": 23.556618136482914, \n \"tag\": \"agriculture\"\n
61
+ \ }, \n {\n \"confidence\": 22.642037498437524, \n
62
+ \ \"tag\": \"cloud\"\n }, \n {\n \"confidence\":
63
+ 22.567807528953672, \n \"tag\": \"sunny\"\n }, \n {\n
64
+ \ \"confidence\": 21.692051236071865, \n \"tag\": \"plant\"\n
65
+ \ }, \n {\n \"confidence\": 21.469710723996684, \n
66
+ \ \"tag\": \"environment\"\n }, \n {\n \"confidence\":
67
+ 20.808006937712843, \n \"tag\": \"outdoor\"\n }, \n {\n
68
+ \ \"confidence\": 20.273804774870438, \n \"tag\": \"pasture\"\n
69
+ \ }, \n {\n \"confidence\": 19.97223888645286, \n
70
+ \ \"tag\": \"weather\"\n }, \n {\n \"confidence\":
71
+ 19.672755570551505, \n \"tag\": \"season\"\n }, \n {\n
72
+ \ \"confidence\": 19.129671346370415, \n \"tag\": \"lawn\"\n
73
+ \ }, \n {\n \"confidence\": 18.09129540318274, \n
74
+ \ \"tag\": \"outdoors\"\n }, \n {\n \"confidence\":
75
+ 17.82011861957261, \n \"tag\": \"land\"\n }, \n {\n
76
+ \ \"confidence\": 17.53373669750844, \n \"tag\": \"cloudscape\"\n
77
+ \ }, \n {\n \"confidence\": 17.227521342721275, \n
78
+ \ \"tag\": \"scenery\"\n }, \n {\n \"confidence\":
79
+ 17.0521923231383, \n \"tag\": \"sunlight\"\n }, \n {\n
80
+ \ \"confidence\": 16.598898786080063, \n \"tag\": \"outside\"\n
81
+ \ }, \n {\n \"confidence\": 16.490149573311943, \n
82
+ \ \"tag\": \"cloudy\"\n }, \n {\n \"confidence\":
83
+ 15.857062477693319, \n \"tag\": \"clear\"\n }, \n {\n
84
+ \ \"confidence\": 15.829675488345195, \n \"tag\": \"tree\"\n
85
+ \ }, \n {\n \"confidence\": 15.24591685171035, \n
86
+ \ \"tag\": \"plain\"\n }, \n {\n \"confidence\":
87
+ 15.071062582287361, \n \"tag\": \"scene\"\n }, \n {\n
88
+ \ \"confidence\": 14.274802746575993, \n \"tag\": \"day\"\n
89
+ \ }, \n {\n \"confidence\": 13.820782181417332, \n
90
+ \ \"tag\": \"hill\"\n }, \n {\n \"confidence\":
91
+ 13.37486025558128, \n \"tag\": \"natural\"\n }, \n {\n
92
+ \ \"confidence\": 13.367081765784242, \n \"tag\": \"farming\"\n
93
+ \ }, \n {\n \"confidence\": 12.898074060896516, \n
94
+ \ \"tag\": \"scenic\"\n }, \n {\n \"confidence\":
95
+ 10.999456006061584, \n \"tag\": \"fields\"\n }, \n {\n
96
+ \ \"confidence\": 10.287484889012664, \n \"tag\": \"grassland\"\n
97
+ \ }, \n {\n \"confidence\": 10.19599186203595, \n
98
+ \ \"tag\": \"farmland\"\n }, \n {\n \"confidence\":
99
+ 10.151697168209193, \n \"tag\": \"fresh\"\n }, \n {\n
100
+ \ \"confidence\": 10.061411487391338, \n \"tag\": \"park\"\n
101
+ \ }, \n {\n \"confidence\": 10.055026818532369, \n
102
+ \ \"tag\": \"flora\"\n }, \n {\n \"confidence\":
103
+ 9.471499129485952, \n \"tag\": \"sunset\"\n }, \n {\n
104
+ \ \"confidence\": 9.435488194403247, \n \"tag\": \"tranquil\"\n
105
+ \ }, \n {\n \"confidence\": 8.944498856145206, \n
106
+ \ \"tag\": \"travel\"\n }, \n {\n \"confidence\":
107
+ 8.836695582313878, \n \"tag\": \"freedom\"\n }, \n {\n
108
+ \ \"confidence\": 8.68426390350368, \n \"tag\": \"colorful\"\n
109
+ \ }, \n {\n \"confidence\": 8.358216968823195, \n
110
+ \ \"tag\": \"vibrant\"\n }, \n {\n \"confidence\":
111
+ 8.260337283211635, \n \"tag\": \"idyllic\"\n }, \n {\n
112
+ \ \"confidence\": 8.182653073843216, \n \"tag\": \"sunrise\"\n
113
+ \ }, \n {\n \"confidence\": 8.01481616674438, \n \"tag\":
114
+ \"peaceful\"\n }, \n {\n \"confidence\": 8.011175205099152,
115
+ \n \"tag\": \"bright\"\n }, \n {\n \"confidence\":
116
+ 7.933190186126691, \n \"tag\": \"color\"\n }, \n {\n
117
+ \ \"confidence\": 7.860003741597381, \n \"tag\": \"yellow\"\n
118
+ \ }, \n {\n \"confidence\": 7.8105899950891775, \n
119
+ \ \"tag\": \"lea\"\n }, \n {\n \"confidence\":
120
+ 7.76446030144356, \n \"tag\": \"heavens\"\n }, \n {\n
121
+ \ \"confidence\": 7.650482427445872, \n \"tag\": \"vista\"\n
122
+ \ }\n ]\n}\n"
123
+ http_version:
124
+ recorded_at: Wed, 10 Dec 2014 02:42:04 GMT
125
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,61 @@
1
+ require 'spec_helper'
2
+
3
+ describe "An Imagga Auto Tag API" do
4
+
5
+ context "client" do
6
+
7
+ before(:each) do
8
+ @client = ImaggaAutoTag::Client.new(ENV['IMAGGA_API_KEY'])
9
+ end
10
+
11
+ it "connects" do
12
+ VCR.use_cassette('image') do
13
+ expect {
14
+ results = @client.fetch("http://static.ddmcdn.com/gif/landscape-photography-1.jpg")
15
+ }.not_to raise_error
16
+ end
17
+ end
18
+
19
+ end
20
+
21
+ context "result" do
22
+
23
+ before do
24
+ VCR.use_cassette('image') do
25
+ @client = ImaggaAutoTag::Client.new(ENV['IMAGGA_API_KEY'])
26
+ @results = @client.fetch("http://static.ddmcdn.com/gif/landscape-photography-1.jpg")
27
+ end
28
+ end
29
+
30
+ it "returns a tagged image object" do
31
+ expect(@results).to be_an_instance_of(ImaggaAutoTag::TaggedImage)
32
+ end
33
+
34
+ it "has a status code" do
35
+ expect(@results.status).to be 200
36
+ end
37
+
38
+ it "has tags" do
39
+ expect(@results.tags[0]).to be_an_instance_of(ImaggaAutoTag::Tag)
40
+ end
41
+
42
+ it "has tags with a confidence and name" do
43
+ expect(@results.tags[0].name).to be_an_instance_of(String)
44
+ expect(@results.tags[0].confidence).to be_an_instance_of(Float)
45
+ end
46
+
47
+ it "drops tags under a certain threshold if scrubbed" do
48
+ number_of_tags = @results.tags.size
49
+
50
+ @results.scrub
51
+
52
+ expect(@results.tags.size).to be < number_of_tags
53
+ end
54
+
55
+ it "converts tags into a comma delimitted string" do
56
+ expect(@results.to_csv).to be_an_instance_of(String)
57
+ end
58
+
59
+ end
60
+
61
+ end
@@ -0,0 +1,13 @@
1
+ require 'rubygems'
2
+ require 'rspec'
3
+ require 'imagga_auto_tag'
4
+ require 'vcr'
5
+
6
+ VCR.configure do |c|
7
+ c.cassette_library_dir = 'spec/cassettes'
8
+ c.hook_into :webmock
9
+ end
10
+
11
+ RSpec.configure do |c|
12
+ c.mock_with :rspec
13
+ end
metadata ADDED
@@ -0,0 +1,160 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: imagga_auto_tag
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Luke Chesser
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-12-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: vcr
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: webmock
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: faraday
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: json
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Ruby wrapper around the Imagga Auto Tagging API
112
+ email:
113
+ - luke@unsplash.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - Gemfile
121
+ - LICENSE.txt
122
+ - README.md
123
+ - Rakefile
124
+ - imagga_auto_tag.gemspec
125
+ - lib/imagga_auto_tag.rb
126
+ - lib/imagga_auto_tag/client.rb
127
+ - lib/imagga_auto_tag/tag.rb
128
+ - lib/imagga_auto_tag/tagged_image.rb
129
+ - lib/imagga_auto_tag/version.rb
130
+ - spec/cassettes/image.yml
131
+ - spec/imagga_auto_tag_spec.rb
132
+ - spec/spec_helper.rb
133
+ homepage: https://github.com/lukechesser/imagga-auto-tag
134
+ licenses:
135
+ - MIT
136
+ metadata: {}
137
+ post_install_message:
138
+ rdoc_options: []
139
+ require_paths:
140
+ - lib
141
+ required_ruby_version: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ required_rubygems_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ requirements: []
152
+ rubyforge_project:
153
+ rubygems_version: 2.2.2
154
+ signing_key:
155
+ specification_version: 4
156
+ summary: Imagga Auto Tagging API client
157
+ test_files:
158
+ - spec/cassettes/image.yml
159
+ - spec/imagga_auto_tag_spec.rb
160
+ - spec/spec_helper.rb