ratproto 0.3.0 → 0.3.1

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: dd51fed594f086af2d560047baf82a7adfe1f29483421d8dd1c4e0ffef8e00f4
4
- data.tar.gz: b91f3eaac638d75e04d3030fb9cf59f70e6d8589f223fe0c1a846837ffa1336e
3
+ metadata.gz: 5f6ecf6b20c9235a6f792aedbe3d555e8387d788dbe1bb7e8ae65850a8de34b6
4
+ data.tar.gz: 9f6b2dd26064ae1bc1ed8e854c2f0fd1c193672556e99c3ec78df5eab9ba50e9
5
5
  SHA512:
6
- metadata.gz: 5cb31e38a0d44e863da64ccbd826258d48c8ae6451e63279e577213fe482ed4122c084a338264c8dcb118369a3fd8e571678a02bf070537368b89b5d4011b91e
7
- data.tar.gz: 85cd4e59791b9f09a987dbe1ac2e8ebfe2d4d991b7033d851d7d26e8b56f21b19816fb6fb763c9272491378d98c2e3fe7e4acdb0a7925e17a15ac31eba8efa59
6
+ metadata.gz: 0e0326c6bba6787261b88668a0a5877f0a68eaff5146bdfd769a404271f050f200decf652546855cadd2f9f8040190f4d26ff65e867fcb1e1bacbd3148237db8
7
+ data.tar.gz: fee5cf28d9a8cf5a64dcf06fae08db2f467832c0ed56327010c31a3bb71c2e0159e2ec8cda2f14aa6df4848eba76751d67563d3f3a83e71f38a36cdac9c92c87
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.3.1] - 2026-07-30
2
+
3
+ - added polyfill of `Hash#except` for Ruby 2.6
4
+
1
5
  ## [0.3.0] - 2026-07-30
2
6
 
3
7
  * `stream`:
data/lib/ratproto/cli.rb CHANGED
@@ -3,6 +3,7 @@
3
3
  require 'clamp'
4
4
 
5
5
  require_relative 'version'
6
+ require_relative 'ext'
6
7
  require_relative 'commands/base'
7
8
  require_relative 'commands/fetch'
8
9
  require_relative 'commands/resolve'
@@ -0,0 +1,10 @@
1
+ # for Ruby 2.6
2
+ # from https://github.com/rails/rails/blob/main/activesupport/lib/active_support/core_ext/hash/except.rb
3
+
4
+ class Hash
5
+ unless method_defined?(:except)
6
+ def except(*keys)
7
+ slice(*self.keys - keys)
8
+ end
9
+ end
10
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RatProto
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ratproto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kuba Suder
@@ -107,6 +107,7 @@ files:
107
107
  - lib/ratproto/commands/resolve.rb
108
108
  - lib/ratproto/commands/stream.rb
109
109
  - lib/ratproto/commands/stream_labels.rb
110
+ - lib/ratproto/ext.rb
110
111
  - lib/ratproto/version.rb
111
112
  - sig/ratproto.rbs
112
113
  homepage: https://ruby.sdk.blue