bwapi 10.0.0.pre.505 → 10.0.0.pre.508
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.rb +1 -1
- 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/mentions.rb +32 -2
- data/lib/bwapi/error.rb +0 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTM1NWU4ZTQ2ZTIyM2ZkODI0YjZjMDZiZjE0MzFmM2NhNzI0OTRkMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTI2YjZkNTYzNjM3YTNlZTc4MDdmM2YxNmY3NzI4ZWRkMzNhZmUzMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzYyMjRhODFiMzM3MDBhMzMwZWQ5YWFiMmE2ODQ2MmYyMzEzY2JjNzM4MGQ4
|
10
|
+
Y2NhODllOGZlYTA3NjdmMzJiNzM1ZWE4NGI2ZjFhMGYyZmU3NDU3NmVhMTYx
|
11
|
+
NmExNTkzYWY1NzJjYjAzYTBmMjk0YTJhMDhmYTA1Nzk1ZDEyNzU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDM0NWYyZjQzOGNhMDZlMDVjYTY0MDZjYjI4MTg4ZWIwNjNiNTYzNDE4Y2Fj
|
14
|
+
ZDI2NTYzYzExYjcyN2IxZGQzM2M4NTdjYzRhOThkZjgzMzlhYzc2MjUxZDkz
|
15
|
+
ZTA5OWZkMGFlN2E2NTkyZjlmMTg4YmFiYTlhYjY5NGM1MTQ0OGQ=
|
File without changes
|
File without changes
|
@@ -31,7 +31,7 @@ module BWAPI
|
|
31
31
|
patch "projects/#{project_id}/data/mentions", opts
|
32
32
|
end
|
33
33
|
|
34
|
-
# Get mentions that fall within the submitted filters with
|
34
|
+
# Get mentions that fall within the submitted filters with full text
|
35
35
|
#
|
36
36
|
# @param project_id [Integer] Id of project
|
37
37
|
# @param opts [Hash] options hash of parameters
|
@@ -42,7 +42,7 @@ module BWAPI
|
|
42
42
|
# @option opts [String] orderDirection Direction of sort
|
43
43
|
# @option opts [Integer] orderByCategory Category to sort by when orderBy category
|
44
44
|
# @return [Hash] All Mentions
|
45
|
-
def
|
45
|
+
def data_mentions_full_text(project_id, opts = {})
|
46
46
|
get "projects/#{project_id}/data/mentions/fulltext", opts
|
47
47
|
end
|
48
48
|
|
@@ -61,6 +61,36 @@ module BWAPI
|
|
61
61
|
get "projects/#{project_id}/data/mentions/tweets", opts
|
62
62
|
end
|
63
63
|
|
64
|
+
# Get mentions that fall within the submitted filters for all facebook posts
|
65
|
+
#
|
66
|
+
# @param project_id [Integer] Id of project
|
67
|
+
# @param opts [Hash] options hash of parameters
|
68
|
+
# @option opts [Hash] filter The filters to apply
|
69
|
+
# @option opts [Integer] page Page of projects to retrieve
|
70
|
+
# @option opts [Integer] pageSize Results per page of results
|
71
|
+
# @option opts [String] orderBy Parameter to sort by
|
72
|
+
# @option opts [String] orderDirection Direction of sort
|
73
|
+
# @option opts [Integer] orderByCategory Category to sort by when orderBy category
|
74
|
+
# @return [Hash] All Mentions
|
75
|
+
def data_mentions_facebook_posts(project_id, opts = {})
|
76
|
+
get "projects/#{project_id}/data/mentions/facebookposts", opts
|
77
|
+
end
|
78
|
+
|
79
|
+
# Get mentions that fall within the submitted filters for all facebook comments
|
80
|
+
#
|
81
|
+
# @param project_id [Integer] Id of project
|
82
|
+
# @param opts [Hash] options hash of parameters
|
83
|
+
# @option opts [Hash] filter The filters to apply
|
84
|
+
# @option opts [Integer] page Page of projects to retrieve
|
85
|
+
# @option opts [Integer] pageSize Results per page of results
|
86
|
+
# @option opts [String] orderBy Parameter to sort by
|
87
|
+
# @option opts [String] orderDirection Direction of sort
|
88
|
+
# @option opts [Integer] orderByCategory Category to sort by when orderBy category
|
89
|
+
# @return [Hash] All Mentions
|
90
|
+
def data_mentions_facebook_comments(project_id, opts = {})
|
91
|
+
get "projects/#{project_id}/data/mentions/facebookcomments", opts
|
92
|
+
end
|
93
|
+
|
64
94
|
include BWAPI::Client::Projects::Data::Mentions::Notes
|
65
95
|
end
|
66
96
|
end
|
data/lib/bwapi/error.rb
CHANGED
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.508
|
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-
|
11
|
+
date: 2014-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -182,9 +182,9 @@ files:
|
|
182
182
|
- lib/bwapi/client/oauth.rb
|
183
183
|
- lib/bwapi/client/ping.rb
|
184
184
|
- lib/bwapi/client/projects.rb
|
185
|
-
- lib/bwapi/client/projects/
|
186
|
-
- lib/bwapi/client/projects/
|
187
|
-
- lib/bwapi/client/projects/
|
185
|
+
- lib/bwapi/client/projects/bulk_actions.rb
|
186
|
+
- lib/bwapi/client/projects/bulk_actions/author.rb
|
187
|
+
- lib/bwapi/client/projects/bulk_actions/mentions.rb
|
188
188
|
- lib/bwapi/client/projects/categories.rb
|
189
189
|
- lib/bwapi/client/projects/categories/copy.rb
|
190
190
|
- lib/bwapi/client/projects/data.rb
|