face 0.0.7 → 0.0.8

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: aa721c8007babb507dfc7fe4a7739145a07a02d7
4
+ data.tar.gz: 278aabb0873b98a5fec271cb32a71d130fe2b8c5
5
+ SHA512:
6
+ metadata.gz: b358f2742be5d9c1c4ee99c193bb78b116ac3583f961f226c4e083db4da7ff532dff5d21b819e587a4a35c15c18b9295224bfb2fa0c7a9ad9a590d49027ee32f
7
+ data.tar.gz: 19e684936c4e63e20536bccde06f5ec4baa6b22b35bdd3e38308d49c98ea3f088a54a6e5c72f84bf256db9717438dbea1c2d412cc650ec32c251f3edcc15be73
@@ -6,6 +6,11 @@ module Face
6
6
  make_request(:faces_detect, opts)
7
7
  end
8
8
 
9
+ def faces_group(opts={})
10
+ opts.assert_valid_keys(:urls, :file, :detector, :attributes, :callback, :callback_url)
11
+ make_request(:faces_group, opts)
12
+ end
13
+
9
14
  def faces_recognize(opts={})
10
15
  opts.assert_valid_keys(:uids, :urls, :namespace, :detector, :attributes, :callback, :callback_url)
11
16
  make_request(:faces_recognize, opts.merge(user_auth_param))
@@ -6,6 +6,7 @@ module Face
6
6
 
7
7
  API_METHODS = {
8
8
  :faces_detect => 'http://api.skybiometry.com/fc/faces/detect.json',
9
+ :faces_group => 'http://api.skybiometry.com/fc/faces/group.json',
9
10
  :faces_recognize => 'http://api.skybiometry.com/fc/faces/recognize.json',
10
11
  :faces_train => 'http://api.skybiometry.com/fc/faces/train.json',
11
12
  :faces_status => 'http://api.skybiometry.com/fc/faces/status.json',
@@ -1,3 +1,3 @@
1
1
  module Face
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: face
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
5
- prerelease:
4
+ version: 0.0.8
6
5
  platform: ruby
7
6
  authors:
8
7
  - Roc Yu
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-20 00:00:00.000000000 Z
11
+ date: 2013-06-06 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rest-client
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.6.1
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.6.1
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: json
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: 1.4.6
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: 1.4.6
46
41
  description: ''
@@ -68,26 +63,25 @@ files:
68
63
  - lib/face/version.rb
69
64
  homepage: http://rubygems.org/gems/face
70
65
  licenses: []
66
+ metadata: {}
71
67
  post_install_message:
72
68
  rdoc_options: []
73
69
  require_paths:
74
70
  - lib
75
71
  required_ruby_version: !ruby/object:Gem::Requirement
76
- none: false
77
72
  requirements:
78
- - - ! '>='
73
+ - - '>='
79
74
  - !ruby/object:Gem::Version
80
75
  version: '0'
81
76
  required_rubygems_version: !ruby/object:Gem::Requirement
82
- none: false
83
77
  requirements:
84
- - - ! '>='
78
+ - - '>='
85
79
  - !ruby/object:Gem::Version
86
80
  version: '0'
87
81
  requirements: []
88
82
  rubyforge_project: face
89
- rubygems_version: 1.8.24
83
+ rubygems_version: 2.0.3
90
84
  signing_key:
91
- specification_version: 3
85
+ specification_version: 4
92
86
  summary: Ruby wraper of SkyBiometry Face Detection and Recognition API
93
87
  test_files: []