obsws 0.5.0 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7826cef2f98842479438cf09ac7dec77e7c8e24a8adca3dcf55fce92676c2f4
4
- data.tar.gz: 0c5dc416a213a344488cf2059d789aa07536d83440b14fd9c2d41918821e5a9c
3
+ metadata.gz: 516727ae86bc3f1f6eaa13a6bc4434bbed7fdeaebd1d5311ba52b40de1a292f0
4
+ data.tar.gz: 1d42563cfd5d224a1e0f6bad9cbc306222105b098cedb46a062b20544d409104
5
5
  SHA512:
6
- metadata.gz: 178671ff1a8f5577694fe4d7f02e0c96f6d37ef50ec36ba6ee802f6999ad5fc470695ade79caf2393b32eb9d0fc325236131490f5348a020d9fb73eb6aaa219d
7
- data.tar.gz: bb0fe9a35b56699bd64b0f0d55d1f203ceaa7fe1abfafcc5d3ca23cb3207275662f223a1d4a124e1a89f52c724d688fdfaf5f548bec5586155ee732d99bebb08
6
+ metadata.gz: a320d897a324f6f90c7fca50f27dee4f3fcf62121e14c2787f144e8b90a3a1e7732b82e6a54571b427bc61dd0eb43cde47da8ff5e3dd31068dc25468063055fe
7
+ data.tar.gz: '08886350eb47e6689d60dd5afe6dffe0bb69709f6b3b2ad95cd2b98a85c5e3f2948cfdcc7cb63582f710afcaaa1bb9a24980f4091460f8e76bbd37507fa196a6'
data/README.md CHANGED
@@ -115,7 +115,7 @@ If a connection attempt fails or times out an `OBSWSConnectionError` will be rai
115
115
 
116
116
  If a request fails an `OBSWSRequestError` will be raised with a status code.
117
117
 
118
- - The request name and code are retrievable through attributes {OBSWSRequestError}.name and {OBSWSRequestError}.code
118
+ - The request name and code are retrievable through attributes {OBSWSRequestError}.req_name and {OBSWSRequestError}.code
119
119
 
120
120
  For a full list of status codes refer to [Codes](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#requeststatus)
121
121
 
data/lib/obsws/version.rb CHANGED
@@ -11,7 +11,7 @@ module OBSWS
11
11
  end
12
12
 
13
13
  def patch
14
- 0
14
+ 2
15
15
  end
16
16
 
17
17
  def to_a
data/lib/obsws.rb CHANGED
@@ -22,10 +22,10 @@ module OBSWS
22
22
  class OBSWSConnectionError < OBSWSError; end
23
23
 
24
24
  class OBSWSRequestError < OBSWSError
25
- attr_reader :name, :code
25
+ attr_reader :req_name, :code
26
26
 
27
- def initialize(name, code, msg)
28
- @name = name
27
+ def initialize(req_name, code, msg)
28
+ @req_name = req_name
29
29
  @code = code
30
30
  @msg = msg
31
31
  super(message)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obsws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - onyx_online