bwapi 10.0.0 → 11.0.0.pre.550
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/.editorconfig +1 -1
- data/.gitignore +1 -1
- data/lib/bwapi/client.rb +26 -3
- data/lib/bwapi/client/admin.rb +2 -0
- data/lib/bwapi/client/admin/demographics.rb +17 -0
- data/lib/bwapi/client/aggregates.rb +13 -0
- data/lib/bwapi/client/author.rb +56 -0
- data/lib/bwapi/client/brandwatch.rb +6 -0
- data/lib/bwapi/client/brandwatch/become.rb +0 -2
- data/lib/bwapi/client/brandwatch/clients.rb +2 -8
- data/lib/bwapi/client/brandwatch/clients/command_center.rb +20 -0
- data/lib/bwapi/client/brandwatch/clients/command_center/limits.rb +33 -0
- data/lib/bwapi/client/brandwatch/clients/command_center/scene_types.rb +26 -0
- data/lib/bwapi/client/brandwatch/clients/command_center/themes.rb +26 -0
- data/lib/bwapi/client/brandwatch/clients/command_center/users.rb +30 -0
- data/lib/bwapi/client/brandwatch/clients/command_center/users/access.rb +28 -0
- data/lib/bwapi/client/brandwatch/clients/users.rb +0 -2
- data/lib/bwapi/client/brandwatch/command_center.rb +14 -0
- data/lib/bwapi/client/brandwatch/command_center/scene_types.rb +31 -0
- data/lib/bwapi/client/brandwatch/command_center/themes.rb +17 -0
- data/lib/bwapi/client/brandwatch/log_level.rb +17 -0
- data/lib/bwapi/client/brandwatch/price_structures.rb +45 -0
- data/lib/bwapi/client/brandwatch/usage_report.rb +19 -0
- data/lib/bwapi/client/command_center.rb +12 -0
- data/lib/bwapi/client/command_center/category_colours.rb +15 -0
- data/lib/bwapi/client/command_center/colour_palette.rb +22 -0
- data/lib/bwapi/client/command_center/display_access.rb +12 -0
- data/lib/bwapi/client/command_center/display_access/users.rb +14 -0
- data/lib/bwapi/client/command_center/display_access/users/access.rb +21 -0
- data/lib/bwapi/client/command_center/displays/scenes.rb +1 -1
- data/lib/bwapi/client/command_center/projects.rb +16 -0
- data/lib/bwapi/client/command_center/projects/category_colours.rb +45 -0
- data/lib/bwapi/client/command_center/projects/data.rb +21 -0
- data/lib/bwapi/client/command_center/projects/tag_colours.rb +45 -0
- data/lib/bwapi/client/command_center/query_colours.rb +36 -0
- data/lib/bwapi/client/command_center/scene_types.rb +3 -3
- data/lib/bwapi/client/command_center/tag_colours.rb +15 -0
- data/lib/bwapi/client/dimensions.rb +13 -0
- data/lib/bwapi/client/oauth.rb +2 -1
- data/lib/bwapi/client/projects.rb +13 -11
- data/lib/bwapi/client/projects/{bulkactions.rb → bulk_actions.rb} +2 -2
- data/lib/bwapi/client/projects/{bulkactions → bulk_actions}/author.rb +0 -0
- data/lib/bwapi/client/projects/{bulkactions → bulk_actions}/mentions.rb +0 -0
- data/lib/bwapi/client/projects/data.rb +20 -0
- data/lib/bwapi/client/projects/data/audience.rb +21 -0
- data/lib/bwapi/client/projects/data/audience_activity.rb +21 -0
- data/lib/bwapi/client/projects/data/channel_metrics.rb +21 -0
- data/lib/bwapi/client/projects/data/emoticons.rb +23 -0
- data/lib/bwapi/client/projects/data/hashtags.rb +23 -0
- data/lib/bwapi/client/projects/data/headlines.rb +20 -0
- data/lib/bwapi/client/projects/data/impressions.rb +21 -0
- data/lib/bwapi/client/projects/data/mentioned_authors.rb +23 -0
- data/lib/bwapi/client/projects/data/mentions.rb +32 -2
- data/lib/bwapi/client/projects/data/owner_activity.rb +21 -0
- data/lib/bwapi/client/projects/data/urls.rb +23 -0
- data/lib/bwapi/client/projects/query/mentionfind.rb +21 -0
- data/lib/bwapi/client/projects/signals/groups.rb +18 -5
- data/lib/bwapi/client/user.rb +2 -0
- data/lib/bwapi/client/user/instagram_credentials.rb +32 -0
- data/lib/bwapi/configuration.rb +3 -2
- data/lib/bwapi/default.rb +7 -3
- data/lib/bwapi/error.rb +0 -2
- data/lib/bwapi/version.rb +1 -1
- data/spec/bwapi/client_spec.rb +29 -167
- data/spec/bwapi/configuration_spec.rb +499 -0
- data/spec/bwapi/default_spec.rb +242 -0
- metadata +72 -30
@@ -0,0 +1,242 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
describe BWAPI::Default do
|
4
|
+
describe 'constants' do
|
5
|
+
it 'should have an ADAPTER constant with a default value' do
|
6
|
+
expect(BWAPI::Default::ADAPTER).to eql(:net_http)
|
7
|
+
end
|
8
|
+
|
9
|
+
it 'should have an API_ENDPOINT constant with a default value' do
|
10
|
+
expect(BWAPI::Default::API_ENDPOINT).to eql('https://newapi.brandwatch.com/')
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'should have an CLIENT_ID constant with a default value' do
|
14
|
+
expect(BWAPI::Default::CLIENT_ID).to eql('brandwatch-api-client')
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'should have an GRANT_TYPE constant with a default value' do
|
18
|
+
expect(BWAPI::Default::GRANT_TYPE).to eql('api-password')
|
19
|
+
end
|
20
|
+
|
21
|
+
it 'should have an USER_AGENT constant with a default value' do
|
22
|
+
expect(BWAPI::Default::USER_AGENT).to eql("BWAPI Ruby Gem #{BWAPI::VERSION}")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
describe '.options' do
|
27
|
+
it 'should return the configuration keys' do
|
28
|
+
expect(BWAPI::Default.options).to eql(
|
29
|
+
access_token: nil,
|
30
|
+
access_token_expiry: nil,
|
31
|
+
adapter: :net_http,
|
32
|
+
api_endpoint: 'https://newapi.brandwatch.com/',
|
33
|
+
client_id: 'brandwatch-api-client',
|
34
|
+
client_secret: nil,
|
35
|
+
connection_options: {
|
36
|
+
headers: {
|
37
|
+
user_agent: 'BWAPI Ruby Gem 11.0.0'
|
38
|
+
},
|
39
|
+
request: {
|
40
|
+
params_encoder: Faraday::FlatParamsEncoder
|
41
|
+
}
|
42
|
+
},
|
43
|
+
debug: false,
|
44
|
+
grant_type: 'api-password',
|
45
|
+
logger: nil,
|
46
|
+
password: nil,
|
47
|
+
performance: {},
|
48
|
+
refresh_token: nil,
|
49
|
+
user_agent: 'BWAPI Ruby Gem 11.0.0',
|
50
|
+
username: nil,
|
51
|
+
verify_ssl: false
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe '.access_token' do
|
57
|
+
after { ENV['BWAPI_ACCESS_TOKEN'] = nil }
|
58
|
+
|
59
|
+
it 'should return nil when no environmental variable is set' do
|
60
|
+
expect(BWAPI::Default.access_token).to eql(nil)
|
61
|
+
end
|
62
|
+
|
63
|
+
it 'should return the correct value when the environment variable is set' do
|
64
|
+
ENV['BWAPI_ACCESS_TOKEN'] = '1234-5678-9101-1234'
|
65
|
+
expect(BWAPI::Default.access_token).to eql('1234-5678-9101-1234')
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
describe '.access_token_expiry' do
|
70
|
+
it 'should return nil as default' do
|
71
|
+
expect(BWAPI::Default.access_token_expiry).to eql(nil)
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
describe '.adapter' do
|
76
|
+
after { ENV['BWAPI_ADAPTER'] = nil }
|
77
|
+
|
78
|
+
it 'should return the default value when no environmental variable is set' do
|
79
|
+
expect(BWAPI::Default.adapter).to eql(:net_http)
|
80
|
+
end
|
81
|
+
|
82
|
+
it 'should return the correct value when the environment variable is set' do
|
83
|
+
ENV['BWAPI_ADAPTER'] = 'test'
|
84
|
+
expect(BWAPI::Default.adapter).to eql(:test)
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe '.api_endpoint' do
|
89
|
+
after { ENV['BWAPI_API_ENDPOINT'] = nil }
|
90
|
+
|
91
|
+
it 'should return the default value when no environmental variable is set' do
|
92
|
+
expect(BWAPI::Default.api_endpoint).to eql('https://newapi.brandwatch.com/')
|
93
|
+
end
|
94
|
+
|
95
|
+
it 'should return the correct value when the environment variable is set' do
|
96
|
+
ENV['BWAPI_API_ENDPOINT'] = 'https://newapi.test.brandwatch.com'
|
97
|
+
expect(BWAPI::Default.api_endpoint).to eql('https://newapi.test.brandwatch.com')
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe '.client_id' do
|
102
|
+
after { ENV['BWAPI_CLIENT_ID'] = nil }
|
103
|
+
|
104
|
+
it 'should return the default value when no environmental variable is set' do
|
105
|
+
expect(BWAPI::Default.client_id).to eql('brandwatch-api-client')
|
106
|
+
end
|
107
|
+
|
108
|
+
it 'should return the correct value when the environment variable is set' do
|
109
|
+
ENV['BWAPI_CLIENT_ID'] = 'brandwatch-test-client'
|
110
|
+
expect(BWAPI::Default.client_id).to eql('brandwatch-test-client')
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
describe '.client_secret' do
|
115
|
+
after { ENV['BWAPI_CLIENT_SECRET'] = nil }
|
116
|
+
|
117
|
+
it 'should return nil as default' do
|
118
|
+
expect(BWAPI::Default.client_secret).to eql(nil)
|
119
|
+
end
|
120
|
+
|
121
|
+
it 'should return the correct value when the environment variable is set' do
|
122
|
+
ENV['BWAPI_CLIENT_SECRET'] = 'secret'
|
123
|
+
expect(BWAPI::Default.client_secret).to eql('secret')
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
describe '.connection_options' do
|
128
|
+
it 'should return the default hash values' do
|
129
|
+
expect(BWAPI::Default.connection_options).to eql(
|
130
|
+
headers: {
|
131
|
+
user_agent: 'BWAPI Ruby Gem 11.0.0'
|
132
|
+
},
|
133
|
+
request: {
|
134
|
+
params_encoder: Faraday::FlatParamsEncoder
|
135
|
+
}
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
describe '.debug' do
|
141
|
+
after { ENV['BWAPI_DEBUG'] = nil }
|
142
|
+
|
143
|
+
it 'should return false as default' do
|
144
|
+
expect(BWAPI::Default.debug).to eql(false)
|
145
|
+
end
|
146
|
+
|
147
|
+
it 'should return the correct value when the environment variable is set' do
|
148
|
+
ENV['BWAPI_DEBUG'] = 'true'
|
149
|
+
expect(BWAPI::Default.debug).to eql(true)
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
describe '.grant_type' do
|
154
|
+
after { ENV['BWAPI_GRANT_TYPE'] = nil }
|
155
|
+
|
156
|
+
it 'should return the default value when no environmental variable is set' do
|
157
|
+
expect(BWAPI::Default.grant_type).to eql('api-password')
|
158
|
+
end
|
159
|
+
|
160
|
+
it 'should return the correct value when the environment variable is set' do
|
161
|
+
ENV['BWAPI_GRANT_TYPE'] = 'test-grant'
|
162
|
+
expect(BWAPI::Default.grant_type).to eql('test-grant')
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
describe '.logger' do
|
167
|
+
it 'should return nil as default' do
|
168
|
+
expect(BWAPI::Default.logger).to eql(nil)
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
describe '.password' do
|
173
|
+
after { ENV['BWAPI_PASSWORD'] = nil }
|
174
|
+
|
175
|
+
it 'should return nil as default' do
|
176
|
+
expect(BWAPI::Default.password).to eql(nil)
|
177
|
+
end
|
178
|
+
|
179
|
+
it 'should return the correct value when the environment variable is set' do
|
180
|
+
ENV['BWAPI_PASSWORD'] = 'p455word'
|
181
|
+
expect(BWAPI::Default.password).to eql('p455word')
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
describe '.performance' do
|
186
|
+
it 'should return an empty hash as default' do
|
187
|
+
expect(BWAPI::Default.performance).to eql({})
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
describe '.refresh_token' do
|
192
|
+
after { ENV['BWAPI_REFRESH_TOKEN'] = nil }
|
193
|
+
|
194
|
+
it 'should return nil as default' do
|
195
|
+
expect(BWAPI::Default.refresh_token).to eql(nil)
|
196
|
+
end
|
197
|
+
|
198
|
+
it 'should return the correct value when the environment variable is set' do
|
199
|
+
ENV['BWAPI_REFRESH_TOKEN'] = '1234-5678-9101-1234'
|
200
|
+
expect(BWAPI::Default.refresh_token).to eql('1234-5678-9101-1234')
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
describe '.user_agent' do
|
205
|
+
after { ENV['BWAPI_USER_AGENT'] = nil }
|
206
|
+
|
207
|
+
it 'should return the default value when no environmental variable is set' do
|
208
|
+
expect(BWAPI::Default.user_agent).to eql("BWAPI Ruby Gem #{BWAPI::VERSION}")
|
209
|
+
end
|
210
|
+
|
211
|
+
it 'should return the correct value when the environment variable is set' do
|
212
|
+
ENV['BWAPI_USER_AGENT'] = 'Test User Agent'
|
213
|
+
expect(BWAPI::Default.user_agent).to eql('Test User Agent')
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
describe '.username' do
|
218
|
+
after { ENV['BWAPI_USERNAME'] = nil }
|
219
|
+
|
220
|
+
it 'should return nil as default' do
|
221
|
+
expect(BWAPI::Default.username).to eql(nil)
|
222
|
+
end
|
223
|
+
|
224
|
+
it 'should return the correct value when the environment variable is set' do
|
225
|
+
ENV['BWAPI_USERNAME'] = 'test@brandwatch.com'
|
226
|
+
expect(BWAPI::Default.username).to eql('test@brandwatch.com')
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
describe '.verify_ssl' do
|
231
|
+
after { ENV['BWAPI_VERIFY_SSL'] = nil }
|
232
|
+
|
233
|
+
it 'should return false as default' do
|
234
|
+
expect(BWAPI::Default.verify_ssl).to eql(false)
|
235
|
+
end
|
236
|
+
|
237
|
+
it 'should return the correct value when the environment variable is set' do
|
238
|
+
ENV['BWAPI_VERIFY_SSL'] = 'true'
|
239
|
+
expect(BWAPI::Default.verify_ssl).to eql(true)
|
240
|
+
end
|
241
|
+
end
|
242
|
+
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:
|
4
|
+
version: 11.0.0.pre.550
|
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: 2015-02-11 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
|
-
-
|
133
|
-
-
|
134
|
-
-
|
135
|
-
-
|
132
|
+
- .editorconfig
|
133
|
+
- .gitignore
|
134
|
+
- .rubocop.yml
|
135
|
+
- .travis.yml
|
136
136
|
- CHANGELOG.md
|
137
137
|
- CONTRIBUTING.md
|
138
138
|
- Gemfile
|
@@ -148,15 +148,35 @@ 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
|
153
|
+
- lib/bwapi/client/aggregates.rb
|
154
|
+
- lib/bwapi/client/author.rb
|
152
155
|
- lib/bwapi/client/brandwatch.rb
|
153
156
|
- lib/bwapi/client/brandwatch/become.rb
|
154
157
|
- 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
|
155
164
|
- lib/bwapi/client/brandwatch/clients/modules.rb
|
156
165
|
- 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
|
157
172
|
- lib/bwapi/client/client.rb
|
158
173
|
- lib/bwapi/client/command_center.rb
|
174
|
+
- lib/bwapi/client/command_center/category_colours.rb
|
159
175
|
- 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
|
160
180
|
- lib/bwapi/client/command_center/displays.rb
|
161
181
|
- lib/bwapi/client/command_center/displays/events.rb
|
162
182
|
- lib/bwapi/client/command_center/displays/messages.rb
|
@@ -164,10 +184,17 @@ files:
|
|
164
184
|
- lib/bwapi/client/command_center/displays/screens.rb
|
165
185
|
- lib/bwapi/client/command_center/displays/users.rb
|
166
186
|
- 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
|
167
192
|
- lib/bwapi/client/command_center/scene_types.rb
|
193
|
+
- lib/bwapi/client/command_center/tag_colours.rb
|
168
194
|
- lib/bwapi/client/command_center/themes.rb
|
169
195
|
- lib/bwapi/client/command_center/users.rb
|
170
196
|
- lib/bwapi/client/command_center/users/access.rb
|
197
|
+
- lib/bwapi/client/dimensions.rb
|
171
198
|
- lib/bwapi/client/error_codes.rb
|
172
199
|
- lib/bwapi/client/filters.rb
|
173
200
|
- lib/bwapi/client/languages.rb
|
@@ -178,14 +205,24 @@ files:
|
|
178
205
|
- lib/bwapi/client/oauth.rb
|
179
206
|
- lib/bwapi/client/ping.rb
|
180
207
|
- lib/bwapi/client/projects.rb
|
181
|
-
- lib/bwapi/client/projects/
|
182
|
-
- lib/bwapi/client/projects/
|
183
|
-
- lib/bwapi/client/projects/
|
208
|
+
- lib/bwapi/client/projects/bulk_actions.rb
|
209
|
+
- lib/bwapi/client/projects/bulk_actions/author.rb
|
210
|
+
- lib/bwapi/client/projects/bulk_actions/mentions.rb
|
184
211
|
- lib/bwapi/client/projects/categories.rb
|
185
212
|
- lib/bwapi/client/projects/categories/copy.rb
|
186
213
|
- 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
|
187
222
|
- lib/bwapi/client/projects/data/mentions.rb
|
188
223
|
- 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
|
189
226
|
- lib/bwapi/client/projects/data/volume.rb
|
190
227
|
- lib/bwapi/client/projects/data_download.rb
|
191
228
|
- lib/bwapi/client/projects/demographics.rb
|
@@ -198,6 +235,7 @@ files:
|
|
198
235
|
- lib/bwapi/client/projects/queries/backfill.rb
|
199
236
|
- lib/bwapi/client/projects/queries/date_range.rb
|
200
237
|
- lib/bwapi/client/projects/queries/mentions.rb
|
238
|
+
- lib/bwapi/client/projects/query/mentionfind.rb
|
201
239
|
- lib/bwapi/client/projects/query_groups.rb
|
202
240
|
- lib/bwapi/client/projects/rules.rb
|
203
241
|
- lib/bwapi/client/projects/rules/backfill.rb
|
@@ -216,6 +254,7 @@ files:
|
|
216
254
|
- lib/bwapi/client/sso.rb
|
217
255
|
- lib/bwapi/client/test_search.rb
|
218
256
|
- lib/bwapi/client/user.rb
|
257
|
+
- lib/bwapi/client/user/instagram_credentials.rb
|
219
258
|
- lib/bwapi/client/user/notifications.rb
|
220
259
|
- lib/bwapi/configuration.rb
|
221
260
|
- lib/bwapi/connection.rb
|
@@ -228,6 +267,8 @@ files:
|
|
228
267
|
- lib/bwapi/response/performance.rb
|
229
268
|
- lib/bwapi/version.rb
|
230
269
|
- spec/bwapi/client_spec.rb
|
270
|
+
- spec/bwapi/configuration_spec.rb
|
271
|
+
- spec/bwapi/default_spec.rb
|
231
272
|
- spec/bwapi_spec.rb
|
232
273
|
- spec/helper.rb
|
233
274
|
homepage: https://github.com/jonathanchrisp/bwapi
|
@@ -240,22 +281,23 @@ require_paths:
|
|
240
281
|
- lib
|
241
282
|
required_ruby_version: !ruby/object:Gem::Requirement
|
242
283
|
requirements:
|
243
|
-
- -
|
284
|
+
- - ! '>='
|
244
285
|
- !ruby/object:Gem::Version
|
245
286
|
version: 1.9.2
|
246
287
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
247
288
|
requirements:
|
248
|
-
- -
|
289
|
+
- - ! '>'
|
249
290
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
291
|
+
version: 1.3.1
|
251
292
|
requirements: []
|
252
293
|
rubyforge_project:
|
253
|
-
rubygems_version: 2.4.
|
294
|
+
rubygems_version: 2.4.5
|
254
295
|
signing_key:
|
255
296
|
specification_version: 4
|
256
297
|
summary: Brandwatch API Wrapper
|
257
298
|
test_files:
|
258
299
|
- spec/bwapi/client_spec.rb
|
300
|
+
- spec/bwapi/configuration_spec.rb
|
301
|
+
- spec/bwapi/default_spec.rb
|
259
302
|
- spec/bwapi_spec.rb
|
260
303
|
- spec/helper.rb
|
261
|
-
has_rdoc:
|