ffi-shout 0.1.0 → 0.1.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: 3afeb4f1d4e446f230a11be7e907e5ca99cc60bfe591cb10902b951ba7fc9a41
4
- data.tar.gz: efc7c5332efca1d45ffba08ca66357796bf3a800e2584189214fc974807bd8a7
3
+ metadata.gz: ea2669e028d98e29d1098255a1e5df5a5591c3bdc278f75e4bdd13c9916ae0c5
4
+ data.tar.gz: 75bebcd82aaf4903912769d2cf2024d7fdb4609152eda65b0a5412b8ad55c55e
5
5
  SHA512:
6
- metadata.gz: 3b3de3046e1fb2875a36481ac428e2142b761291597f0a959e34480845cfef5ee8c2c6a73df322e94896eead1b68c7acbc0bc77366edc324bbbe710941ed9657
7
- data.tar.gz: ff0ab48f10510901e8a4321eeefd73f4609cb2423262897c942c0ca80f0d03880f078d4f8e36c4ac9bfebd694fa10682186f765fb412f04b6d7a0031aaf3bf46
6
+ metadata.gz: 85bd48a2dd369f185108bfbc41a2d3f5849d5d51d7631b61a7445615caafa83a8605a6b7a9fc1eba77009bb0cac6e91795b3e230bbc5b5332bdcc59af8bb8cbf
7
+ data.tar.gz: 99661563747d769fadca69e614788b39d6c49453ab1be16fbe4b21db0d14b2692b63126b2ead909d2e343feedcf18ef84a757f68acf2b8d67eae8a18f04cb4dc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1
4
+
5
+ - Fix `Connection#delay` raising a bogus `Shout::MetadataError` when the stream is behind schedule; it now returns the negative delay.
6
+
3
7
  ## 0.1.0
4
8
 
5
9
  - Initial release.
@@ -96,7 +96,7 @@ module Shout
96
96
 
97
97
  # Milliseconds to wait before sending more data.
98
98
  def delay
99
- Native.shout_delay(shout).tap { |ret| Error.check_error(ret, shout) }
99
+ Native.shout_delay(shout)
100
100
  end
101
101
 
102
102
  # Updates the stream's metadata. Accepts a Metadata, a Hash or a String
data/lib/shout/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Shout
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-shout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roel van Dijk