bwapi 10.0.0.pre.549 → 10.0.0
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 +5 -13
- data/.editorconfig +1 -1
- data/.gitignore +1 -1
- data/lib/bwapi/client.rb +3 -26
- data/lib/bwapi/client/admin.rb +0 -2
- data/lib/bwapi/client/brandwatch.rb +0 -6
- data/lib/bwapi/client/brandwatch/become.rb +2 -0
- data/lib/bwapi/client/brandwatch/clients.rb +8 -2
- data/lib/bwapi/client/brandwatch/clients/users.rb +2 -0
- data/lib/bwapi/client/command_center.rb +0 -12
- data/lib/bwapi/client/command_center/displays/scenes.rb +1 -1
- data/lib/bwapi/client/command_center/scene_types.rb +3 -3
- data/lib/bwapi/client/oauth.rb +1 -2
- data/lib/bwapi/client/projects.rb +11 -13
- data/lib/bwapi/client/projects/{bulk_actions.rb → bulkactions.rb} +2 -2
- data/lib/bwapi/client/projects/{bulk_actions → bulkactions}/author.rb +0 -0
- data/lib/bwapi/client/projects/{bulk_actions → bulkactions}/mentions.rb +0 -0
- data/lib/bwapi/client/projects/data.rb +0 -20
- data/lib/bwapi/client/projects/data/mentions.rb +2 -32
- data/lib/bwapi/client/projects/signals/groups.rb +5 -18
- data/lib/bwapi/client/user.rb +0 -2
- data/lib/bwapi/configuration.rb +2 -3
- data/lib/bwapi/default.rb +3 -7
- data/lib/bwapi/error.rb +2 -0
- data/spec/bwapi/client_spec.rb +167 -29
- metadata +30 -72
- data/lib/bwapi/client/admin/demographics.rb +0 -17
- data/lib/bwapi/client/aggregates.rb +0 -13
- data/lib/bwapi/client/author.rb +0 -56
- data/lib/bwapi/client/brandwatch/clients/command_center.rb +0 -20
- data/lib/bwapi/client/brandwatch/clients/command_center/limits.rb +0 -33
- data/lib/bwapi/client/brandwatch/clients/command_center/scene_types.rb +0 -26
- data/lib/bwapi/client/brandwatch/clients/command_center/themes.rb +0 -26
- data/lib/bwapi/client/brandwatch/clients/command_center/users.rb +0 -30
- data/lib/bwapi/client/brandwatch/clients/command_center/users/access.rb +0 -28
- data/lib/bwapi/client/brandwatch/command_center.rb +0 -14
- data/lib/bwapi/client/brandwatch/command_center/scene_types.rb +0 -31
- data/lib/bwapi/client/brandwatch/command_center/themes.rb +0 -17
- data/lib/bwapi/client/brandwatch/log_level.rb +0 -17
- data/lib/bwapi/client/brandwatch/price_structures.rb +0 -45
- data/lib/bwapi/client/brandwatch/usage_report.rb +0 -19
- data/lib/bwapi/client/command_center/category_colours.rb +0 -15
- data/lib/bwapi/client/command_center/colour_palette.rb +0 -22
- data/lib/bwapi/client/command_center/display_access.rb +0 -12
- data/lib/bwapi/client/command_center/display_access/users.rb +0 -14
- data/lib/bwapi/client/command_center/display_access/users/access.rb +0 -21
- data/lib/bwapi/client/command_center/projects.rb +0 -16
- data/lib/bwapi/client/command_center/projects/category_colours.rb +0 -45
- data/lib/bwapi/client/command_center/projects/data.rb +0 -21
- data/lib/bwapi/client/command_center/projects/tag_colours.rb +0 -45
- data/lib/bwapi/client/command_center/query_colours.rb +0 -36
- data/lib/bwapi/client/command_center/tag_colours.rb +0 -15
- data/lib/bwapi/client/dimensions.rb +0 -13
- data/lib/bwapi/client/projects/data/audience.rb +0 -21
- data/lib/bwapi/client/projects/data/audience_activity.rb +0 -21
- data/lib/bwapi/client/projects/data/channel_metrics.rb +0 -21
- data/lib/bwapi/client/projects/data/emoticons.rb +0 -23
- data/lib/bwapi/client/projects/data/hashtags.rb +0 -23
- data/lib/bwapi/client/projects/data/headlines.rb +0 -20
- data/lib/bwapi/client/projects/data/impressions.rb +0 -21
- data/lib/bwapi/client/projects/data/mentioned_authors.rb +0 -23
- data/lib/bwapi/client/projects/data/owner_activity.rb +0 -21
- data/lib/bwapi/client/projects/data/urls.rb +0 -23
- data/lib/bwapi/client/projects/query/mentionfind.rb +0 -21
- data/lib/bwapi/client/user/instagram_credentials.rb +0 -32
- data/spec/bwapi/configuration_spec.rb +0 -499
- data/spec/bwapi/default_spec.rb +0 -242
data/lib/bwapi/client/user.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'bwapi/client/user/instagram_credentials'
|
2
1
|
require 'bwapi/client/user/notifications'
|
3
2
|
|
4
3
|
module BWAPI
|
@@ -52,7 +51,6 @@ module BWAPI
|
|
52
51
|
user.uiRole
|
53
52
|
end
|
54
53
|
|
55
|
-
include BWAPI::Client::User::InstagramCredentials
|
56
54
|
include BWAPI::Client::User::Notifications
|
57
55
|
end
|
58
56
|
end
|
data/lib/bwapi/configuration.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
module BWAPI
|
2
2
|
# Configuration module
|
3
3
|
module Configuration
|
4
|
-
attr_accessor :access_token, :
|
5
|
-
:
|
4
|
+
attr_accessor :access_token, :adapter, :api_endpoint, :client_id, :debug, :grant_type,
|
5
|
+
:logger, :performance, :refresh_token, :user_agent, :username, :verify_ssl
|
6
6
|
|
7
7
|
attr_writer :client_secret, :password
|
8
8
|
|
@@ -11,7 +11,6 @@ module BWAPI
|
|
11
11
|
def keys
|
12
12
|
@keys ||= [
|
13
13
|
:access_token,
|
14
|
-
:access_token_expiry,
|
15
14
|
:adapter,
|
16
15
|
:api_endpoint,
|
17
16
|
:client_id,
|
data/lib/bwapi/default.rb
CHANGED
@@ -26,12 +26,8 @@ module BWAPI
|
|
26
26
|
ENV['BWAPI_ACCESS_TOKEN']
|
27
27
|
end
|
28
28
|
|
29
|
-
def access_token_expiry
|
30
|
-
nil
|
31
|
-
end
|
32
|
-
|
33
29
|
def adapter
|
34
|
-
ENV['BWAPI_ADAPTER']
|
30
|
+
ENV['BWAPI_ADAPTER'] || ADAPTER
|
35
31
|
end
|
36
32
|
|
37
33
|
def api_endpoint
|
@@ -58,7 +54,7 @@ module BWAPI
|
|
58
54
|
end
|
59
55
|
|
60
56
|
def debug
|
61
|
-
ENV['BWAPI_DEBUG']
|
57
|
+
ENV['BWAPI_DEBUG'] || false
|
62
58
|
end
|
63
59
|
|
64
60
|
def grant_type
|
@@ -90,7 +86,7 @@ module BWAPI
|
|
90
86
|
end
|
91
87
|
|
92
88
|
def verify_ssl
|
93
|
-
ENV['BWAPI_VERIFY_SSL']
|
89
|
+
ENV['BWAPI_VERIFY_SSL'] || false
|
94
90
|
end
|
95
91
|
end
|
96
92
|
end
|
data/lib/bwapi/error.rb
CHANGED
data/spec/bwapi/client_spec.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
require 'helper'
|
2
2
|
|
3
3
|
describe BWAPI::Client do
|
4
|
-
before
|
4
|
+
before do
|
5
|
+
BWAPI.reset
|
6
|
+
end
|
5
7
|
|
6
8
|
describe 'when called' do
|
7
9
|
it 'should be a client class instance' do
|
@@ -10,34 +12,13 @@ describe BWAPI::Client do
|
|
10
12
|
end
|
11
13
|
|
12
14
|
describe '.authenticated?' do
|
13
|
-
it 'returns false when not authenticated' do
|
14
|
-
expect(BWAPI::Client.new.authenticated?).to eql(false)
|
15
|
-
end
|
16
|
-
|
17
15
|
it 'returns true when authenticated' do
|
18
|
-
|
19
|
-
expect(bw.authenticated?).to eql(true)
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
describe '.access_token_expired?' do
|
24
|
-
it 'returns true if access_token is set to nil' do
|
25
|
-
expect(BWAPI::Client.new.access_token_expired?).to eql(true)
|
16
|
+
expect(BWAPI::Client.new.authenticated?).to eql(false)
|
26
17
|
end
|
27
18
|
|
28
|
-
it 'returns
|
19
|
+
it 'returns false when not authenticated' do
|
29
20
|
bw = BWAPI::Client.new access_token: 'abcdef-ghijkl-123456-789012'
|
30
|
-
expect(bw.
|
31
|
-
end
|
32
|
-
|
33
|
-
it 'returns true if access token has expired' do
|
34
|
-
bw = BWAPI::Client.new access_token: 'abcdef-ghijkl-123456-789012', access_token_expiry: (Time.now - 3600).iso8601
|
35
|
-
expect(bw.access_token_expired?).to eql(true)
|
36
|
-
end
|
37
|
-
|
38
|
-
it 'returns false if access token has not expired' do
|
39
|
-
bw = BWAPI::Client.new access_token: 'abcdef-ghijkl-123456-789012', access_token_expiry: (Time.now + 3600).iso8601
|
40
|
-
expect(bw.access_token_expired?).to eql(false)
|
21
|
+
expect(bw.authenticated?).to eql(true)
|
41
22
|
end
|
42
23
|
end
|
43
24
|
|
@@ -64,10 +45,167 @@ describe BWAPI::Client do
|
|
64
45
|
end
|
65
46
|
end
|
66
47
|
|
67
|
-
describe '
|
68
|
-
|
69
|
-
|
70
|
-
|
48
|
+
describe 'configuration' do
|
49
|
+
describe 'instance variables' do
|
50
|
+
it 'should create a api_endpoint instance variable' do
|
51
|
+
expect(BWAPI::Client.new.respond_to?(:api_endpoint)).to eq(true)
|
52
|
+
end
|
53
|
+
|
54
|
+
it 'should create a user_agent instance variable' do
|
55
|
+
expect(BWAPI::Client.new.respond_to?(:user_agent)).to eq(true)
|
56
|
+
end
|
57
|
+
|
58
|
+
it 'should create a adapter instance variable' do
|
59
|
+
expect(BWAPI::Client.new.respond_to?(:adapter)).to eq(true)
|
60
|
+
end
|
61
|
+
|
62
|
+
it 'should create a username instance variable' do
|
63
|
+
expect(BWAPI::Client.new.respond_to?(:username)).to eq(true)
|
64
|
+
end
|
65
|
+
|
66
|
+
it 'should create a password instance variable which cannot be accessed' do
|
67
|
+
expect(BWAPI::Client.new.respond_to?(:password)).to eq(false)
|
68
|
+
end
|
69
|
+
|
70
|
+
it 'should create a grant_type instance variable' do
|
71
|
+
expect(BWAPI::Client.new.respond_to?(:grant_type)).to eq(true)
|
72
|
+
end
|
73
|
+
|
74
|
+
it 'should create a access_token instance variable' do
|
75
|
+
expect(BWAPI::Client.new.respond_to?(:access_token)).to eq(true)
|
76
|
+
end
|
77
|
+
|
78
|
+
it 'should create a refresh_token instance variable' do
|
79
|
+
expect(BWAPI::Client.new.respond_to?(:refresh_token)).to eq(true)
|
80
|
+
end
|
81
|
+
|
82
|
+
it 'should create a client_id instance variable' do
|
83
|
+
expect(BWAPI::Client.new.respond_to?(:client_id)).to eq(true)
|
84
|
+
end
|
85
|
+
|
86
|
+
it 'should create a client_secret instance variable which cannot accessed' do
|
87
|
+
expect(BWAPI::Client.new.respond_to?(:client_secret)).to eq(false)
|
88
|
+
end
|
89
|
+
|
90
|
+
it 'should create a logger instance variable' do
|
91
|
+
expect(BWAPI::Client.new.respond_to?(:logger)).to eq(true)
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
describe 'configuration values' do
|
96
|
+
describe 'default_adapter' do
|
97
|
+
it 'should have a default default_adapter value' do
|
98
|
+
expect(BWAPI::Client.new.adapter).to eql(:net_http)
|
99
|
+
end
|
100
|
+
|
101
|
+
it 'should allow a user to set a default_adapter value' do
|
102
|
+
bw = BWAPI::Client.new adapter: 'custom_adapter'
|
103
|
+
expect(bw.adapter).to eql('custom_adapter')
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
describe 'user_agent' do
|
108
|
+
it 'should have a default user_agent value' do
|
109
|
+
expect(BWAPI::Client.new.user_agent).to eql("BWAPI Ruby Gem #{BWAPI::VERSION}")
|
110
|
+
end
|
111
|
+
|
112
|
+
it 'should allow a user to set a user_agent value' do
|
113
|
+
bw = BWAPI::Client.new user_agent: 'custom_user_agent'
|
114
|
+
expect(bw.user_agent).to eql('custom_user_agent')
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe 'api_endpoint' do
|
119
|
+
it 'should have a default api_endpoint value' do
|
120
|
+
expect(BWAPI::Client.new.api_endpoint).to eql('https://newapi.brandwatch.com/')
|
121
|
+
end
|
122
|
+
|
123
|
+
it 'should allow a user to set a api_endpoint value' do
|
124
|
+
bw = BWAPI::Client.new api_endpoint: 'http://newapi.custom.brandwatch.com'
|
125
|
+
expect(bw.api_endpoint).to eql('http://newapi.custom.brandwatch.com')
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
describe 'client_id' do
|
130
|
+
it 'should have a default client_id value' do
|
131
|
+
expect(BWAPI::Client.new.client_id).to eql('brandwatch-api-client')
|
132
|
+
end
|
133
|
+
|
134
|
+
it 'should allow a user to set a client_id value' do
|
135
|
+
bw = BWAPI::Client.new client_id: 'custom_client_id'
|
136
|
+
expect(bw.client_id).to eql('custom_client_id')
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
describe 'username' do
|
141
|
+
it 'should have a default value of nil for username' do
|
142
|
+
expect(BWAPI::Client.new.username).to eql(nil)
|
143
|
+
end
|
144
|
+
|
145
|
+
it 'should allow a user to set a username value' do
|
146
|
+
bw = BWAPI::Client.new username: 'jonathan@brandwatch.com'
|
147
|
+
expect(bw.username).to eql('jonathan@brandwatch.com')
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
describe 'password' do
|
152
|
+
it 'should allow a user to set a password value' do
|
153
|
+
bw = BWAPI::Client.new password: 'pa55w0rd'
|
154
|
+
expect(bw.instance_eval { @password }).to eql('pa55w0rd')
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
describe 'grant_type' do
|
159
|
+
it 'should have a default value of api-password for grant_type' do
|
160
|
+
expect(BWAPI::Client.new.grant_type).to eql('api-password')
|
161
|
+
end
|
162
|
+
|
163
|
+
it 'should allow a user to set a grant_type value' do
|
164
|
+
bw = BWAPI::Client.new grant_type: 'custom_grant_type'
|
165
|
+
expect(bw.grant_type).to eql('custom_grant_type')
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
describe 'access_token' do
|
170
|
+
it 'should have a default value of nil for access_token' do
|
171
|
+
expect(BWAPI::Client.new.access_token).to eql(nil)
|
172
|
+
end
|
173
|
+
|
174
|
+
it 'should allow a user to set a access_token value' do
|
175
|
+
bw = BWAPI::Client.new access_token: 'abcdef-ghijkl-123456-789012'
|
176
|
+
expect(bw.access_token).to eql('abcdef-ghijkl-123456-789012')
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
describe 'refresh_token' do
|
181
|
+
it 'should have a default value of nil for refresh_token' do
|
182
|
+
expect(BWAPI::Client.new.refresh_token).to eql(nil)
|
183
|
+
end
|
184
|
+
|
185
|
+
it 'should allow a user to set a refresh_token value' do
|
186
|
+
bw = BWAPI::Client.new refresh_token: 'abcdef-ghijkl-123456-789012'
|
187
|
+
expect(bw.refresh_token).to eql('abcdef-ghijkl-123456-789012')
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
describe 'client_secret' do
|
192
|
+
it 'should allow a user to set a client_secret value' do
|
193
|
+
bw = BWAPI::Client.new client_secret: 'custom_client_secret'
|
194
|
+
expect(bw.instance_eval { @client_secret }).to eql('custom_client_secret')
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
describe 'logger' do
|
199
|
+
it 'should have a default value of nil for logger' do
|
200
|
+
expect(BWAPI::Client.new.logger).to eql(nil)
|
201
|
+
end
|
202
|
+
|
203
|
+
it 'should allow a user to set a logger value' do
|
204
|
+
logger = Object.new
|
205
|
+
bw = BWAPI::Client.new logger: logger
|
206
|
+
expect(bw.logger).to eql(logger)
|
207
|
+
end
|
208
|
+
end
|
71
209
|
end
|
72
210
|
end
|
73
211
|
end
|
metadata
CHANGED
@@ -1,125 +1,125 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bwapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.0.0
|
4
|
+
version: 10.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Chrisp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 3.0.0
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.24.1
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.24.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: allotment
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.1.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.1.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: faraday
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.9.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.9.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: faraday_middleware
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 0.9.1
|
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
82
|
version: 0.9.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: faraday_middleware-parse_csv
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0.1'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0.1'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: faraday_middleware-parse_oj
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 0.3.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.3.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: oj
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: 2.11.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 2.11.0
|
125
125
|
description: A Ruby wrapper for the Brandwatch API
|
@@ -129,10 +129,10 @@ executables:
|
|
129
129
|
extensions: []
|
130
130
|
extra_rdoc_files: []
|
131
131
|
files:
|
132
|
-
- .editorconfig
|
133
|
-
- .gitignore
|
134
|
-
- .rubocop.yml
|
135
|
-
- .travis.yml
|
132
|
+
- ".editorconfig"
|
133
|
+
- ".gitignore"
|
134
|
+
- ".rubocop.yml"
|
135
|
+
- ".travis.yml"
|
136
136
|
- CHANGELOG.md
|
137
137
|
- CONTRIBUTING.md
|
138
138
|
- Gemfile
|
@@ -148,35 +148,15 @@ 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
|
152
151
|
- lib/bwapi/client/admin/search.rb
|
153
|
-
- lib/bwapi/client/aggregates.rb
|
154
|
-
- lib/bwapi/client/author.rb
|
155
152
|
- lib/bwapi/client/brandwatch.rb
|
156
153
|
- lib/bwapi/client/brandwatch/become.rb
|
157
154
|
- lib/bwapi/client/brandwatch/clients.rb
|
158
|
-
- lib/bwapi/client/brandwatch/clients/command_center.rb
|
159
|
-
- lib/bwapi/client/brandwatch/clients/command_center/limits.rb
|
160
|
-
- lib/bwapi/client/brandwatch/clients/command_center/scene_types.rb
|
161
|
-
- lib/bwapi/client/brandwatch/clients/command_center/themes.rb
|
162
|
-
- lib/bwapi/client/brandwatch/clients/command_center/users.rb
|
163
|
-
- lib/bwapi/client/brandwatch/clients/command_center/users/access.rb
|
164
155
|
- lib/bwapi/client/brandwatch/clients/modules.rb
|
165
156
|
- lib/bwapi/client/brandwatch/clients/users.rb
|
166
|
-
- lib/bwapi/client/brandwatch/command_center.rb
|
167
|
-
- lib/bwapi/client/brandwatch/command_center/scene_types.rb
|
168
|
-
- lib/bwapi/client/brandwatch/command_center/themes.rb
|
169
|
-
- lib/bwapi/client/brandwatch/log_level.rb
|
170
|
-
- lib/bwapi/client/brandwatch/price_structures.rb
|
171
|
-
- lib/bwapi/client/brandwatch/usage_report.rb
|
172
157
|
- lib/bwapi/client/client.rb
|
173
158
|
- lib/bwapi/client/command_center.rb
|
174
|
-
- lib/bwapi/client/command_center/category_colours.rb
|
175
159
|
- lib/bwapi/client/command_center/client.rb
|
176
|
-
- lib/bwapi/client/command_center/colour_palette.rb
|
177
|
-
- lib/bwapi/client/command_center/display_access.rb
|
178
|
-
- lib/bwapi/client/command_center/display_access/users.rb
|
179
|
-
- lib/bwapi/client/command_center/display_access/users/access.rb
|
180
160
|
- lib/bwapi/client/command_center/displays.rb
|
181
161
|
- lib/bwapi/client/command_center/displays/events.rb
|
182
162
|
- lib/bwapi/client/command_center/displays/messages.rb
|
@@ -184,17 +164,10 @@ files:
|
|
184
164
|
- lib/bwapi/client/command_center/displays/screens.rb
|
185
165
|
- lib/bwapi/client/command_center/displays/users.rb
|
186
166
|
- lib/bwapi/client/command_center/displays/users/access.rb
|
187
|
-
- lib/bwapi/client/command_center/projects.rb
|
188
|
-
- lib/bwapi/client/command_center/projects/category_colours.rb
|
189
|
-
- lib/bwapi/client/command_center/projects/data.rb
|
190
|
-
- lib/bwapi/client/command_center/projects/tag_colours.rb
|
191
|
-
- lib/bwapi/client/command_center/query_colours.rb
|
192
167
|
- lib/bwapi/client/command_center/scene_types.rb
|
193
|
-
- lib/bwapi/client/command_center/tag_colours.rb
|
194
168
|
- lib/bwapi/client/command_center/themes.rb
|
195
169
|
- lib/bwapi/client/command_center/users.rb
|
196
170
|
- lib/bwapi/client/command_center/users/access.rb
|
197
|
-
- lib/bwapi/client/dimensions.rb
|
198
171
|
- lib/bwapi/client/error_codes.rb
|
199
172
|
- lib/bwapi/client/filters.rb
|
200
173
|
- lib/bwapi/client/languages.rb
|
@@ -205,24 +178,14 @@ files:
|
|
205
178
|
- lib/bwapi/client/oauth.rb
|
206
179
|
- lib/bwapi/client/ping.rb
|
207
180
|
- lib/bwapi/client/projects.rb
|
208
|
-
- lib/bwapi/client/projects/
|
209
|
-
- lib/bwapi/client/projects/
|
210
|
-
- lib/bwapi/client/projects/
|
181
|
+
- lib/bwapi/client/projects/bulkactions.rb
|
182
|
+
- lib/bwapi/client/projects/bulkactions/author.rb
|
183
|
+
- lib/bwapi/client/projects/bulkactions/mentions.rb
|
211
184
|
- lib/bwapi/client/projects/categories.rb
|
212
185
|
- lib/bwapi/client/projects/categories/copy.rb
|
213
186
|
- lib/bwapi/client/projects/data.rb
|
214
|
-
- lib/bwapi/client/projects/data/audience.rb
|
215
|
-
- lib/bwapi/client/projects/data/audience_activity.rb
|
216
|
-
- lib/bwapi/client/projects/data/channel_metrics.rb
|
217
|
-
- lib/bwapi/client/projects/data/emoticons.rb
|
218
|
-
- lib/bwapi/client/projects/data/hashtags.rb
|
219
|
-
- lib/bwapi/client/projects/data/headlines.rb
|
220
|
-
- lib/bwapi/client/projects/data/impressions.rb
|
221
|
-
- lib/bwapi/client/projects/data/mentioned_authors.rb
|
222
187
|
- lib/bwapi/client/projects/data/mentions.rb
|
223
188
|
- lib/bwapi/client/projects/data/mentions/notes.rb
|
224
|
-
- lib/bwapi/client/projects/data/owner_activity.rb
|
225
|
-
- lib/bwapi/client/projects/data/urls.rb
|
226
189
|
- lib/bwapi/client/projects/data/volume.rb
|
227
190
|
- lib/bwapi/client/projects/data_download.rb
|
228
191
|
- lib/bwapi/client/projects/demographics.rb
|
@@ -235,7 +198,6 @@ files:
|
|
235
198
|
- lib/bwapi/client/projects/queries/backfill.rb
|
236
199
|
- lib/bwapi/client/projects/queries/date_range.rb
|
237
200
|
- lib/bwapi/client/projects/queries/mentions.rb
|
238
|
-
- lib/bwapi/client/projects/query/mentionfind.rb
|
239
201
|
- lib/bwapi/client/projects/query_groups.rb
|
240
202
|
- lib/bwapi/client/projects/rules.rb
|
241
203
|
- lib/bwapi/client/projects/rules/backfill.rb
|
@@ -254,7 +216,6 @@ files:
|
|
254
216
|
- lib/bwapi/client/sso.rb
|
255
217
|
- lib/bwapi/client/test_search.rb
|
256
218
|
- lib/bwapi/client/user.rb
|
257
|
-
- lib/bwapi/client/user/instagram_credentials.rb
|
258
219
|
- lib/bwapi/client/user/notifications.rb
|
259
220
|
- lib/bwapi/configuration.rb
|
260
221
|
- lib/bwapi/connection.rb
|
@@ -267,8 +228,6 @@ files:
|
|
267
228
|
- lib/bwapi/response/performance.rb
|
268
229
|
- lib/bwapi/version.rb
|
269
230
|
- spec/bwapi/client_spec.rb
|
270
|
-
- spec/bwapi/configuration_spec.rb
|
271
|
-
- spec/bwapi/default_spec.rb
|
272
231
|
- spec/bwapi_spec.rb
|
273
232
|
- spec/helper.rb
|
274
233
|
homepage: https://github.com/jonathanchrisp/bwapi
|
@@ -281,23 +240,22 @@ require_paths:
|
|
281
240
|
- lib
|
282
241
|
required_ruby_version: !ruby/object:Gem::Requirement
|
283
242
|
requirements:
|
284
|
-
- -
|
243
|
+
- - ">="
|
285
244
|
- !ruby/object:Gem::Version
|
286
245
|
version: 1.9.2
|
287
246
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
288
247
|
requirements:
|
289
|
-
- -
|
248
|
+
- - ">="
|
290
249
|
- !ruby/object:Gem::Version
|
291
|
-
version:
|
250
|
+
version: '0'
|
292
251
|
requirements: []
|
293
252
|
rubyforge_project:
|
294
|
-
rubygems_version: 2.4.
|
253
|
+
rubygems_version: 2.4.2
|
295
254
|
signing_key:
|
296
255
|
specification_version: 4
|
297
256
|
summary: Brandwatch API Wrapper
|
298
257
|
test_files:
|
299
258
|
- spec/bwapi/client_spec.rb
|
300
|
-
- spec/bwapi/configuration_spec.rb
|
301
|
-
- spec/bwapi/default_spec.rb
|
302
259
|
- spec/bwapi_spec.rb
|
303
260
|
- spec/helper.rb
|
261
|
+
has_rdoc:
|