bwapi 11.0.1.pre.600 → 11.0.1.pre.606
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/queries.rb +2 -0
- data/lib/bwapi/client/projects/queries/move.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
|
+
ZmM0NTYwZTI1Zjk4ZDUzNWY5MzZjMGM2ZGIzY2ZlZDYwYjAyYzlkYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjJmODFkNTIyZGY3YmVmZGIyNzE4ZTRmMjNjMWU2NWRmYjkwNDZjYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZGFiYjEwZjVkZTE1OGQwNDMxNTc1YTY5YzY1ZTc0OWQyNTBiYWQwYmI4ZWQ1
|
10
|
+
MzRkOTg0MzhhYWI2Y2VkZTU4NWIwMjA3MTQwZmFlN2VmZWIxMDJkMGEyNTQ1
|
11
|
+
NWJlNDc3NmFhMmI0MWFkNDNhNzJkNTRkODBlMGVlMTViNzcxZjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmE5NDhhMjc1YjVjOTAxNWExZTFhY2M2ZDEyYmZjM2EyZmJkMDdiNjI5Njlm
|
14
|
+
YWYyM2E1YmE2YjliZmFhZGRlYjU0ODg0YTFjMGVlMWVkYjc2NzI0MmU5ZWU2
|
15
|
+
MTc2MGU3MDEwZDdlM2IyNzFiN2M2ODNiYjQ2OTNhNjdmYzZlNGU=
|
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'bwapi/client/projects/queries/backfill'
|
2
2
|
require 'bwapi/client/projects/queries/date_range'
|
3
3
|
require 'bwapi/client/projects/queries/mentions'
|
4
|
+
require 'bwapi/client/projects/queries/move'
|
4
5
|
|
5
6
|
module BWAPI
|
6
7
|
class Client
|
@@ -96,6 +97,7 @@ module BWAPI
|
|
96
97
|
include BWAPI::Client::Projects::Queries::Backfill
|
97
98
|
include BWAPI::Client::Projects::Queries::DateRange
|
98
99
|
include BWAPI::Client::Projects::Queries::Mentions
|
100
|
+
include BWAPI::Client::Projects::Queries::Move
|
99
101
|
end
|
100
102
|
end
|
101
103
|
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module Projects
|
4
|
+
module Queries
|
5
|
+
# Move module for queries endpoints
|
6
|
+
module Move
|
7
|
+
# Move query to different project
|
8
|
+
#
|
9
|
+
# @param project_id [Integer] Id of original project
|
10
|
+
# @param query_id [Integer] Id of original query
|
11
|
+
# @param dest_project_id [Integer] Id of destination project
|
12
|
+
# @return [Hash] Returns move status
|
13
|
+
def update_move(project_id, query_id, dest_project_id)
|
14
|
+
post "/projects/#{project_id}/queries/#{query_id}/move/#{dest_project_id}"
|
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: 11.0.1.pre.
|
4
|
+
version: 11.0.1.pre.606
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Chrisp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -246,6 +246,7 @@ files:
|
|
246
246
|
- lib/bwapi/client/projects/queries/backfill.rb
|
247
247
|
- lib/bwapi/client/projects/queries/date_range.rb
|
248
248
|
- lib/bwapi/client/projects/queries/mentions.rb
|
249
|
+
- lib/bwapi/client/projects/queries/move.rb
|
249
250
|
- lib/bwapi/client/projects/query/mentionfind.rb
|
250
251
|
- lib/bwapi/client/projects/query_groups.rb
|
251
252
|
- lib/bwapi/client/projects/rules.rb
|