wc3_protocol 0.0.1 → 0.0.2

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,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 497152467d10e7a3e76fc722af52711c61be78688223dc49c3d6f964409e8454
4
- data.tar.gz: 3a893457a4b10d0f50ecba541842062bad79a4990cc5452ce56e5dab8cb071fa
3
+ metadata.gz: 81f988c362a4c6df84c3351fa4077afb0f8959c32828a235e9cd39a927c5ff52
4
+ data.tar.gz: 1621e034c74f322c63362f76b8d965cf730799da7dc6dc37638f70e1b7f16f96
5
5
  SHA512:
6
- metadata.gz: fab86e87c0553c716d02fe2c0bc1ffa9655b75099b09355ffba511e782b57c2befa9f114dca338395e49657af1b7be0298d3eb8b22c2a583a5044439069da239
7
- data.tar.gz: 3a63d93392bf209b4e084d9704164724a256f5e1d0749e83baa7bf3f05806f79e9c21a809c3c2c1144d34c569a38970c552dee73a7c1dca05ebc5664d72178ac
6
+ metadata.gz: e1806522af79f4648f36754727e9e178176c39690b39dbb4693ef7c76d1a6f69df7b8212f0b0ba709a347fa422124194d37e09c585e493efe4570a028b81e733
7
+ data.tar.gz: '048660985e4f47fa039c1976ea63bd23d3e370ce3eb93c8a9bff09df5ccee7b0f7c22b55313f786f00f71d7fbcac5418bbdfde4f3c321b9f1454121f5c8205fe'
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # wc3_protocol
2
- ![Gem](https://img.shields.io/gem/v/wc3_protocol?color=default&style=plastic&logo=ruby&logoColor=red)
3
- ![Gem](https://img.shields.io/gem/dt/wc3_protocol?color=blue&style=plastic)
2
+ [![Gem](https://img.shields.io/gem/v/wc3_protocol?color=default&style=plastic&logo=ruby&logoColor=red)](https://rubygems.org/gems/wc3_protocol)
3
+ ![downloads](https://img.shields.io/gem/dt/wc3_protocol?color=blue&style=plastic)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-gold.svg?style=plastic&logo=mit)](LICENSE)
5
5
 
6
6
  > The ruby gem to find and retrieve information of Warcraft3 games
@@ -75,6 +75,7 @@ module Wc3Protocol
75
75
  rescue Timeout::Error
76
76
  # messages received until timeout
77
77
  end
78
+ @udp_socket.close # ensure socket is closed after
78
79
  raw_messages.map { |m| Wc3Protocol::Message.new(raw_msg: m.message, raw_sender_info: m.sender_info) }
79
80
  end
80
81
 
@@ -1,3 +1,3 @@
1
1
  module Wc3Protocol
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wc3_protocol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthäus J. N. Beyrle
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-21 00:00:00.000000000 Z
11
+ date: 2023-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler