bwapi 10.0.0.pre.546 → 10.0.0.pre.549
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Y2VhNGVkM2JmZTY4Y2NjODhmZTVjMDIzODUxYzQ0NDg0YTJlYTE1Ng==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MmNlMDc2Nzc2NDExZGM1ODE4MzgxNTQ5MmMzZGEzYWQwNjViNmM5Nw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NmQ0MjhkYmE0OTQ5NmNiMGYxZjRmMjQ3YTdmYzQ2ODkxYzc5N2Q0MzJhYzYz
|
10
|
+
ZjMwNjFhZDNlNzZiZTliYjM2Nzc3YzM3MjNiMjUzMDk4Y2IxZTE2NDZlZjZh
|
11
|
+
ODNlOTkzYzJmNjBkNGY3Yzg2MTExZTUwMjQ2ZDY1ZmFhM2Y0YmE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWMzZmZjMmVhNGJjNWI4OTk2ZWUzN2ZiMGZlNGFmOGMxZmZkNzM4MTU2MjEx
|
14
|
+
ZDg3MWY3ZjQ4NTRmN2ZiNjJlOWM5ZDc2NmU2YjVjODIxMTY4MTA5ODM0MTk5
|
15
|
+
OWNjZTRjYzNhZDUwYzQ1MGRjZmY4ODdlMGU0YmJkNGY3MTI3YTg=
|
@@ -21,15 +21,15 @@ module BWAPI
|
|
21
21
|
# Define the colour for a category
|
22
22
|
#
|
23
23
|
# TODO: Add parameters documentation
|
24
|
-
def create_category_colour(project_id)
|
25
|
-
post "/commandcenter/projects/#{project_id}/categoryColours"
|
24
|
+
def create_category_colour(project_id, opts = {})
|
25
|
+
post "/commandcenter/projects/#{project_id}/categoryColours", opts
|
26
26
|
end
|
27
27
|
|
28
28
|
# Update the colour for a category
|
29
29
|
#
|
30
30
|
# TODO: Add parameters documentation
|
31
|
-
def update_category_colour(project_id, category_id)
|
32
|
-
put "/commandcenter/projects/#{project_id}/categoryColours/#{category_id}"
|
31
|
+
def update_category_colour(project_id, category_id, opts = {})
|
32
|
+
put "/commandcenter/projects/#{project_id}/categoryColours/#{category_id}", opts
|
33
33
|
end
|
34
34
|
|
35
35
|
# Remove the colour for a category
|
@@ -21,15 +21,15 @@ module BWAPI
|
|
21
21
|
# Define the colour for a tag
|
22
22
|
#
|
23
23
|
# TODO: Add parameters documentation
|
24
|
-
def create_tag_colour(project_id)
|
25
|
-
post "/commandcenter/projects/#{project_id}/tagColours"
|
24
|
+
def create_tag_colour(project_id, opts = {})
|
25
|
+
post "/commandcenter/projects/#{project_id}/tagColours", opts
|
26
26
|
end
|
27
27
|
|
28
28
|
# Update the colour for a tag
|
29
29
|
#
|
30
30
|
# TODO: Add parameters documentation
|
31
|
-
def update_tag_colour(project_id, tag_name)
|
32
|
-
put "/commandcenter/projects/#{project_id}/tagColours/#{tag_name}"
|
31
|
+
def update_tag_colour(project_id, tag_name, opts = {})
|
32
|
+
put "/commandcenter/projects/#{project_id}/tagColours/#{tag_name}", opts
|
33
33
|
end
|
34
34
|
|
35
35
|
# Remove the colour for a tag
|
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.549
|
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-02-
|
11
|
+
date: 2015-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|