obsws 0.5.0 → 0.5.1

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: 0606bed536e19c257b46e3f4ed909b8933354986fd3718da1ecadc0b26341830
4
+ data.tar.gz: 1356baa9acb5d13eef9d5a3526d807e1e820ccf6321e991a06fabb9393350e32
5
5
  SHA512:
6
- metadata.gz: 178671ff1a8f5577694fe4d7f02e0c96f6d37ef50ec36ba6ee802f6999ad5fc470695ade79caf2393b32eb9d0fc325236131490f5348a020d9fb73eb6aaa219d
7
- data.tar.gz: bb0fe9a35b56699bd64b0f0d55d1f203ceaa7fe1abfafcc5d3ca23cb3207275662f223a1d4a124e1a89f52c724d688fdfaf5f548bec5586155ee732d99bebb08
6
+ metadata.gz: 716f299113c6d013b78d5f9877ea5b3aa9a10d6663a3e705c70f376e43bdbf3cc8b146353a6240d112e598476a503ff4a2338d672ae1ac5390a7764ae3efb14d
7
+ data.tar.gz: dfa40a8967fbebc8d44ea2f551279306be8e31590d5282bc8ebff5a80573052c71a9cc4628a95482b3db21f17781d321cd44c2395ba39cc8e64023dbec29de67
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
+ 1
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 = 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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - onyx_online