bwapi 10.0.0.pre.513 → 10.0.0.pre.516

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDQwYjBmZDhmOWVmZGE0NmNkNGQ0Yzk4YWRhMjYxMjBjZDRmODhiZg==
4
+ MWY0Y2EyMjMxNDA0NjJiOGZjMDkwYmY3YmViYTdlNDliMzVmMGU3OA==
5
5
  data.tar.gz: !binary |-
6
- NDQ3MThkYTRjNDQ2NjA0NTYxZWE0NjRmNzk1OWU4NzJmZTExNjU5Yw==
6
+ OGQ2NzAxZTFmMTEyNmMyNjhiMTE0NzNhOGU5ZTdiNzA2NWE5MDNmMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWY3ZTI1ODFiYzQzNTQxYWU5ZWE5MmM3NGE2ZDRiODQ2NjUyYWIwNmJkMGY4
10
- YmMxMTMzOTAwNTE5MTc3MGRmNjk1ZTU5M2Q2YTA2YzY4OWQxYzhkMDhiOWZj
11
- ZjczNDkwY2UwYTQ3Yjg5NDE3MDllOTAyMjY5MDQ1MGVjZTE2ODU=
9
+ MzJkODcwZDBkZWRkNmNkOTc2NThjZWMwNTJmOTU3MjQyYzc5OTY3YTA2OWU4
10
+ MDQyYWE3MDMzOTUxYmMzZjI2YWY2YTM4MjMwNjljNmVmMGNhYWVkNzU5Mjdj
11
+ NTI1NGMyYTJjZjg2NjEzZjI5MWJkYzNhMTNhY2I2MmQ5MzNhZTY=
12
12
  data.tar.gz: !binary |-
13
- OTg3NTUzMWFhOGZkYWEwZWFmNzFhYjA4ZjM5MjMwOThhMmJhYWI3NzdkNzhh
14
- NWQ0MDM3NjkyMjBjYmRmM2QzZTcxMWFlZjJiNWQ0NGNiYTZhOGQ2ZTc2Yjdh
15
- OWE1ZjEwOTc3MTEwODI5ZTJhMzZjMzEzYmE0NDA2OWUyOTUxMjc=
13
+ YjkwMjk3ODRiYTlhMWU0YTM1ZDZlNjQ5MDU1MjFkNTM3YzhmY2FlZGVlODdh
14
+ OWQ2ZmNlMmFlZGI0ZTdjYTA0YjE0N2Q4N2UyYjI3MmNiMTg2YTJhZTVmMmIz
15
+ NzJlZjIwYWRiZDI2NjQ5YjA3Mjc2OGQwZDAxMjcwNjgzYzI2MmI=
@@ -1,4 +1,5 @@
1
1
  require 'bwapi/client/admin/become'
2
+ require 'bwapi/client/admin/demographics'
2
3
  require 'bwapi/client/admin/search'
3
4
  require 'bwapi/client/admin/clients/sub_clients'
4
5
  require 'bwapi/client/admin/clients/users'
@@ -27,6 +28,7 @@ module BWAPI
27
28
  end
28
29
 
29
30
  include BWAPI::Client::Admin::Become
31
+ include BWAPI::Client::Admin::Demographics
30
32
  include BWAPI::Client::Admin::Search
31
33
  include BWAPI::Client::Admin::Clients::SubClients
32
34
  include BWAPI::Client::Admin::Clients::Users
@@ -0,0 +1,17 @@
1
+ module BWAPI
2
+ class Client
3
+ module Admin
4
+ # Demographics module for admin/demographics endpoints
5
+ module Demographics
6
+ # Get the classification of an author by author description
7
+ #
8
+ # @param opts [Hash] options hash of parameters
9
+ # @option opts [String] description of the author
10
+ # @return [Hash] Classification of an author
11
+ def classify_author(opts = {})
12
+ get 'admin/demographics/classify', opts
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bwapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.0.0.pre.513
4
+ version: 10.0.0.pre.516
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Chrisp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-18 00:00:00.000000000 Z
11
+ date: 2015-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -148,6 +148,7 @@ files:
148
148
  - lib/bwapi/client/admin/clients/user_groups.rb
149
149
  - lib/bwapi/client/admin/clients/users.rb
150
150
  - lib/bwapi/client/admin/clients/users/sharing.rb
151
+ - lib/bwapi/client/admin/demographics.rb
151
152
  - lib/bwapi/client/admin/search.rb
152
153
  - lib/bwapi/client/aggregates.rb
153
154
  - lib/bwapi/client/author.rb