Sha256: b694dfecb2c62f06b1f9247bae0e9c267c5d87b873ca114b902453d453914ea9

Contents?: true

Size: 200 Bytes

Versions: 31

Compression:

Stored size: 200 Bytes

Contents

RSpec::Matchers.define :be_strkey do |version_byte|
  match do |actual|
    begin
      Stellar::Util::StrKey.check_decode(version_byte, actual)
    rescue ArgumentError
      false
    end
  end
end

Version data entries

31 entries across 31 versions & 3 rubygems

Version Path
stellar-base-0.22.0 spec/support/matchers/be_strkey.rb
stellar-base-0.21.0 spec/support/matchers/be_strkey.rb
stellar-base-0.20.0 spec/support/matchers/be_strkey.rb
stellar-base-0.19.0 spec/support/matchers/be_strkey.rb
stellar-base-0.18.0 spec/support/matchers/be_strkey.rb
stellar-base-0.17.0 spec/support/matchers/be_strkey.rb
stellar-base-0.16.0 spec/support/matchers/be_strkey.rb
stellar-base-0.15.0 spec/support/matchers/be_strkey.rb
stellar-base-0.14.0 spec/support/matchers/be_strkey.rb
stellar-base-0.13.0 spec/support/matchers/be_strkey.rb
stellar-base-0.12.0 spec/support/matchers/be_strkey.rb
stellar-base-0.11.0 spec/support/matchers/be_strkey.rb
auction-ruby-base-0.1.3 spec/support/matchers/be_strkey.rb
auction-ruby-base-0.1.2 spec/support/matchers/be_strkey.rb
auction-ruby-base-0.1.1 spec/support/matchers/be_strkey.rb
stellar-base-0.10.0 spec/support/matchers/be_strkey.rb
stellar-base-0.9.0 spec/support/matchers/be_strkey.rb
stellar-base-0.8.0 spec/support/matchers/be_strkey.rb
stellar-base-0.7.0 spec/support/matchers/be_strkey.rb
stellar-base-0.6.1 spec/support/matchers/be_strkey.rb