bwapi 10.0.0.pre.546 → 10.0.0.pre.549

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTY1MGE4MGFiMTRjMzEzNWY5MTNhZmU4ZDhiMThhMTQzNzZlZDExYw==
4
+ Y2VhNGVkM2JmZTY4Y2NjODhmZTVjMDIzODUxYzQ0NDg0YTJlYTE1Ng==
5
5
  data.tar.gz: !binary |-
6
- MjUzZmY0YjE0NzEyZmE3MzNmYWViMTNiNjE5MDBjMWJjMTljZTM2Yg==
6
+ MmNlMDc2Nzc2NDExZGM1ODE4MzgxNTQ5MmMzZGEzYWQwNjViNmM5Nw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MmQ4NGRiYzZiMzc4MzAwNjk2N2YyMzc0YWFiZjA4YTI3N2ZkNzgyZDNhNTlk
10
- MWZiMTM2ZjViZWY1NDQ3NmZhMmQxYTVjOTJiNjc0NGMyMjMzZWMzNzkxZGFh
11
- Mjk0ZDRkODRmMjVmMjhjN2NjOTViZGRjYjg1OWI4MzNmYzRkZDA=
9
+ NmQ0MjhkYmE0OTQ5NmNiMGYxZjRmMjQ3YTdmYzQ2ODkxYzc5N2Q0MzJhYzYz
10
+ ZjMwNjFhZDNlNzZiZTliYjM2Nzc3YzM3MjNiMjUzMDk4Y2IxZTE2NDZlZjZh
11
+ ODNlOTkzYzJmNjBkNGY3Yzg2MTExZTUwMjQ2ZDY1ZmFhM2Y0YmE=
12
12
  data.tar.gz: !binary |-
13
- NGNkYTBiZmUxZTVmZjcyMzBkMDEyNGY0OGNkYzMwYjU5ZjA3ZjI1NGU5ZDM0
14
- ODk2NjNkMjcwOTU1MTFlYzEyNjA0ZjkzZDdjYzUxYTU5OGQ4ODQ3Y2IzZDRh
15
- YzJjMmIxZDlmZDdkMGRkOWJkNmI0MDI0NGU5ZDc3YzkxZjFkM2Y=
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.546
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-06 00:00:00.000000000 Z
11
+ date: 2015-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec