bwapi 2.0.3.pre.72 → 2.0.3.pre.76

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
- YWZlODc3OTY4YWY4MDI0M2U2YzhjOTBiNGY5ZGI5M2QwZWM2MDI3Yg==
4
+ MmVkZWQ4YTA0NzhiM2JlZmVhMThlZTU0NDI4YWQzNWQzYjI5Nzc1NA==
5
5
  data.tar.gz: !binary |-
6
- YmU0ZGVmOTNhZjUxOWQ0ZDcxYTM4ZjI0YzA4ZjBhODc3MTkzMGU5ZQ==
6
+ NDM2NDY1M2YzNmEzYWIyMDUwYjM3ZDRiOGZmNzVjMTY4MjBjMDA0ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjQwZWRiZWZiNzI0YzBkMjNiZTdhN2JiYThmZGQ2MDE3MmM2NGUzZWI5MzJm
10
- MjY4YjU0MmJmMjM4OGVhZjRiMzVhMGMyMTQxZmMzNWNkYTZjNjY4MDVjYzAx
11
- ZDQ4ZmIyN2NlOWRkNmVkMzNhOTZmYjU1NTY2ZmNkNDNmZjRiYWU=
9
+ OTI3NGIzNTA5ZTcwZjA1OTllODdlMDhhOTJiODhlODcwNjJmOWM4YjU1MDBi
10
+ ODBmZjVhZGRiY2YzNjZmMjZkYzA4MTNkNmU2NmQ5Njc5NDQ3ZjY5ZDg4MWRj
11
+ N2ZiZDc0MzY1YjdiMzA5NzhlMDI5M2I3M2JiOGQ3MzBlZDY5M2Y=
12
12
  data.tar.gz: !binary |-
13
- ODBkNzZkNGE5YzBhNmVjOWVhZTZkYTc4ZTQzOGFiZjg0MjlkMzAyMWE1YjM4
14
- M2IwZWRkMzdlNWE5ODlkNjhjMjMyMTc5NjFkOTY2MDBjNGNhYzhhY2Y3ZmM0
15
- YmU4NGU1YTBiNzI0MDAzYTliOTllNTVjZGMwYWM5YTI5OWVhZDA=
13
+ NTIzYjdmNjgwMGI5MDdkODhhMGNjOThhZGY1ODFmOWRlZGMxYTQzYmNkMjM3
14
+ OTFlNjA0ZjZlOTU2NTU2NjkwNGViMTJjYTc1YTI4NmJlZWQwYmYxNjVhYjdk
15
+ YWJlZmJiNDI1NzAzOTI2MDI2M2Y4ZTZmOTQ0YmIyN2M0MjI3MzA=
@@ -37,8 +37,8 @@ module BWAPI
37
37
  # @option opts [String] filter Filter of the stream
38
38
  # @option opts [String] lastModified Last modification date of stream
39
39
  # @return [Hashie::Mash] Specific stream
40
- def create_stream project_id, stream_dashboard_id
41
- post "projects/#{project_id}/streamDashboards/#{stream_dashboard_id}/streams"
40
+ def create_stream project_id, stream_dashboard_id, opts={}
41
+ post "projects/#{project_id}/streamDashboards/#{stream_dashboard_id}/streams", opts
42
42
  end
43
43
 
44
44
  # Update a stream in a stream dashboard
@@ -53,8 +53,8 @@ module BWAPI
53
53
  # @option opts [String] filter Filter of the stream
54
54
  # @option opts [String] lastModified Last modification date of stream
55
55
  # @return [Hashie::Mash] Updated stream
56
- def update_stream project_id, stream_dashboard_id, stream_id
57
- put "projects/#{project_id}/streamDashboards/#{stream_dashboard_id}/streams/#{stream_id}"
56
+ def update_stream project_id, stream_dashboard_id, stream_id, opts={}
57
+ put "projects/#{project_id}/streamDashboards/#{stream_dashboard_id}/streams/#{stream_id}", opts
58
58
  end
59
59
 
60
60
  # Delete a stream in a stream dashboard
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bwapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3.pre.72
4
+ version: 2.0.3.pre.76
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Chrisp