oxford-face-api 0.1.1 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aab804216ed69324bad52e2d4bd4a230c09d3d80
4
- data.tar.gz: 9815e0e9631f14a6e22ee550528f506ff0ec05bd
3
+ metadata.gz: 719bddaed40891e3fede8e2d2f9929df7d6beb96
4
+ data.tar.gz: 32cce4a4b4aae1752d36af1a4646a16e7b3a0d55
5
5
  SHA512:
6
- metadata.gz: d065c82958e633e8d3e4fbb492631be9a444e74e9dda5847b600f1bc1df65bc93d469087f582397ce5984faa86bd9c185cd51b58a5eba0613e5de668f03b52c0
7
- data.tar.gz: e5528227eefd880e26368b6d8997e0049f47405a2cc46aba5a9c893b913fef5390a4a0dcbd1ea33f4cafabdeffa042b664b08eb62d8584d09529c0d204d5a16e
6
+ metadata.gz: 6bbd7c6313af3820c097f60ac191616691e20769538c15d7c734c41e3e603b8cb89c7e0976e1ca915b9aaa39895b7554654db3440948dffaea7727c5685e2d75
7
+ data.tar.gz: 89a68a7437341b5b2ef15a97e6420107d8475d9e8a6ef5c5cd7ac76cdd361134c702d15684e73b049421283b5abb092d4ad9281033107d05fbe70fe240f889bd
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Taekmin Kim
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -3,7 +3,7 @@ Ruby gem for Microsoft Oxford Face api
3
3
 
4
4
  ### Usage
5
5
 
6
- ```
6
+ ```ruby
7
7
  require 'oxford/face/api'
8
8
 
9
9
  KEY="YOUR_API_KEY" # from Microsoft Oxford
@@ -19,3 +19,7 @@ return_face_attributes = "age,gender"
19
19
  res = f.detect(img_url, return_face_id, return_face_landmarks, return_face_attributes)
20
20
  puts res.body # => https://gist.github.com/tantara/5d72786bd3c6acc285a29ec44c4a8d1e
21
21
  ```
22
+
23
+ ### License
24
+
25
+ MIT
@@ -1,7 +1,7 @@
1
1
  module Oxford
2
2
  module Face
3
3
  module Api
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
6
6
  end
7
7
  end
@@ -32,5 +32,5 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency "minitest", "~> 5.10.1"
33
33
 
34
34
  spec.add_dependency "rake", ">= 10.0"
35
- spec.add_dependency "json", ">= 2.0"
35
+ spec.add_dependency "json", ">= 1.8"
36
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxford-face-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taekmin Kim
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '2.0'
75
+ version: '1.8'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '2.0'
82
+ version: '1.8'
83
83
  description: Microsoft Oxford Face API
84
84
  email:
85
85
  - tantara.tm@gmail.com
@@ -89,6 +89,7 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - ".gitignore"
91
91
  - Gemfile
92
+ - LICENSE.md
92
93
  - README.md
93
94
  - Rakefile
94
95
  - bin/console