bwapi 10.0.0.pre.493 → 10.0.0.pre.495
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 +8 -8
- data/lib/bwapi/client/projects/data.rb +2 -0
- data/lib/bwapi/client/projects/data/headlines.rb +20 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Mjc2NWIyMTZhODMwNWQxNGU1MmZlNGNmZjM3Yzk4N2Y5NGU1YWE4MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZThkOTBjN2YwZDYyZDE4NmRhMTMwZThmZGMzNjljYjdjY2MzYTUyMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2JjM2E5MWViZTEwYTQ3OGY2MjQ5ODhiY2Y0MDQxYjE0OTY3NzkwZjQ1ZGJm
|
10
|
+
OGJkYTM2MTRjMmQ5ZGNiY2E3YTNkOTg0MmY2ZTZkMjljMGEwMzMxYzNmMjAw
|
11
|
+
NzJmNWZiODdkYTQ3MjZiMjNkMzAyNTU3MzU3ZGY4OTg0NDlkZWU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTBjMzlkZGYyMDFjOTM5NDlhMjYxZTgyNjE1MDMzMTYzOGNhYTJlNzUyODVj
|
14
|
+
Y2I0NzFjYTE1OThkYjAyYmI0ZWUwNWIwNjRiZTQzOWZkZDA0NzlkZDE4YWZm
|
15
|
+
YmYzZWUyZTM2NDVkMzg1MTZkNjAxODhmNzdjNmI5M2VlZDg0MDY=
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'bwapi/client/projects/data/headlines'
|
1
2
|
require 'bwapi/client/projects/data/mentions'
|
2
3
|
require 'bwapi/client/projects/data/volume'
|
3
4
|
|
@@ -29,6 +30,7 @@ module BWAPI
|
|
29
30
|
get "projects/#{project_id}/data/headlines", opts
|
30
31
|
end
|
31
32
|
|
33
|
+
include BWAPI::Client::Projects::Data::Headlines
|
32
34
|
include BWAPI::Client::Projects::Data::Mentions
|
33
35
|
include BWAPI::Client::Projects::Data::Volume
|
34
36
|
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module Projects
|
4
|
+
module Data
|
5
|
+
# Headlines module for projects/data/headlines endpoints
|
6
|
+
module Headlines
|
7
|
+
# Get mention headlines that fall within the submitted filters
|
8
|
+
#
|
9
|
+
# @param project_id [Integer] Id of project
|
10
|
+
# @param opts [Hash] options hash of parameters
|
11
|
+
# @option opts [Hash] filter The filters to apply
|
12
|
+
# @return [Hash] All Mention headlines
|
13
|
+
def data_headlines(project_id, opts = {})
|
14
|
+
get "projects/#{project_id}/data/headlines", opts
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
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.
|
4
|
+
version: 10.0.0.pre.495
|
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-
|
11
|
+
date: 2014-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -186,6 +186,7 @@ files:
|
|
186
186
|
- lib/bwapi/client/projects/categories.rb
|
187
187
|
- lib/bwapi/client/projects/categories/copy.rb
|
188
188
|
- lib/bwapi/client/projects/data.rb
|
189
|
+
- lib/bwapi/client/projects/data/headlines.rb
|
189
190
|
- lib/bwapi/client/projects/data/mentions.rb
|
190
191
|
- lib/bwapi/client/projects/data/mentions/notes.rb
|
191
192
|
- lib/bwapi/client/projects/data/volume.rb
|