bwapi 12.1.0.pre.646 → 12.1.0.pre.648

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/bwapi/client/projects.rb +11 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YWE4YmU1MTRhZjNjYjBlZDdmNmVmNGFiOGExNTBmYzJjZjkwYmEyMw==
4
+ ZmZhNjVkNmUwZTYwNzE5NTczOTBmZmM1MjdhNWJlYmVkZTcxMTZhZQ==
5
5
  data.tar.gz: !binary |-
6
- ZGQ0MzJiZTc3NDE5ZGQ3ZmM4MjgzNTZkNGMwOGI0YzYwMWFhNmI2NA==
6
+ MWUxNzhiNTQyNTZhN2UyM2YxMzE5MWYwOTRmMTFlODA2MWVjMGRlOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjVjZTNkOWQwZWM4N2Y2MGFmODMyNGJlZmU2OTZhNmVmMjc5NzNkYjMxOTVi
10
- YTI0YzM1ZGE5ZDZmY2RiNWIzZDM4YmU5ZjkzYzdmNTczZDYxY2EyOTcxN2Nk
11
- OWE2NTcwMmY3M2I5NWMwOGQ2Mzc0MGJjYzNhMDllYmVhOTQwOTY=
9
+ ZTNjYTkyNDY2YzQ1ZjcxMWJlODI2YmVmNTZlODZlNjUxNjZhOTdmZmRkOGY0
10
+ ZTAzZTAzMjQ2NWM2MmIyZmRmYjNiYjhhODU0NDAzMjRlZmEyNTQ4OWM5NmIw
11
+ Y2ZmM2Y2MGE2YjU3M2QyNTY3ZGMzOGI2YWNhMDhhNWYxNjkzYjM=
12
12
  data.tar.gz: !binary |-
13
- MTU2ZDllOTNmOTQ2NmRlMjVhODM5MzdiMzExMjQ1MTEwOWU4YTFmODZlOTM4
14
- MDNmOTU3YmQyMWNhMmE4NjQ3OTZjNDBhMmRiNWJmNzAxNWJhYjFjYzgxMThk
15
- YTQ4YjgxNGI2NDA5MWZkNDE1MGQ4OTFhZmQxODZlYzVhNjU2MjM=
13
+ NzQzNzg3ZWU2ZGQ3MjA0NDczMTg1NjU0MmIzZDBjMDZhMTYyNTgzNzA1ODFl
14
+ OTQxOThhMmMwMWQxMzEyODdkOWY5ZWU3MzgwYmVjMDI0NDNjMTcyNWUxYjg2
15
+ ODMzY2FkMTY0NjYxNmNkMzRjMjhmMjM1YTAzMTZhM2NlY2FjOWI=
@@ -91,6 +91,17 @@ module BWAPI
91
91
  get "/projects/#{project_id}/audiences", opts
92
92
  end
93
93
 
94
+ # Copy Published Projects into current user account
95
+ #
96
+ # @param project_id [Integer] Id of project
97
+ # @param opts [Hash] options hash of parameters
98
+ # @option opts [Hash] structureOnly should copy only the structure (no backfills)
99
+ # backfills should be run reperatly
100
+ # @return [Hash] Copied project
101
+ def copy_project(project_id, opts = {})
102
+ post "projects/#{project_id}/copy", opts
103
+ end
104
+
94
105
  # Given a query id retrieve summary statistics for the given Twitter audience
95
106
  #
96
107
  # TODO: Add parameters documentation
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: 12.1.0.pre.646
4
+ version: 12.1.0.pre.648
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-02 00:00:00.000000000 Z
11
+ date: 2015-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec