whatup 0.3.1 → 0.3.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: 3c236a803d598d94e183de61c6a8c750f60c0fb7ba9ee7b6146cd5574bbce525
4
- data.tar.gz: dffea436af3a21fe6148ab520567deacbc6d342122a92c9db2104f1e9b026d84
3
+ metadata.gz: 1ee10c77cdfcc15570f256077d60c6de08b5422dfae92a4b59428048392e31b4
4
+ data.tar.gz: a2120cb662058bbbb724317970ac96a4d0c9803111f07f5f170df76e80fc0c22
5
5
  SHA512:
6
- metadata.gz: 4bda3ba71c444f9e2eea7575a63c589ba167b51a8f0a276780403f480da45168c2b401ddc6457bcc27a61c01e435aa78af47ec143ad4589c5b61c9b0f3b2200c
7
- data.tar.gz: 68190fe40784698bb21fde77708c8b0305590625ffbe02fdabd42ae6cc240da926eb4d06d6c7ebb07af73703629f0ac7590aa9fbe4cb49746d99c57bb24aee0f
6
+ metadata.gz: 4db17ea037a2c494a7461d9676f56854b69688f57229fe076e0df48f0d51a66f3cad3a9802fc1804b516cb021a662cdb51c81c3ea78144bd5f341d006914ef78
7
+ data.tar.gz: e8bb59b0c2c77b86d37fd4d0908e0c44f08da41969df1525bdf1ea3da370595ec7ee9e4440ec5b7d048dd134e0f4f8448edee0247dcec26b7bca53e21b8938e4
@@ -17,7 +17,7 @@ module Whatup
17
17
  attr_accessor *%i[socket composing_dm deleted]
18
18
 
19
19
  def puts msg
20
- socket.puts msg
20
+ socket&.puts(msg)
21
21
  end
22
22
 
23
23
  def gets
@@ -18,7 +18,7 @@ module Whatup
18
18
  clients.where.not id: except.id
19
19
  else
20
20
  clients
21
- end.each { |c| c.puts yield }
21
+ end.each { |c| c&.puts(yield) }
22
22
  end
23
23
  end
24
24
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Whatup
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whatup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Delk