Skip to content

Instantly share code, notes, and snippets.

@Jirapong
Created April 23, 2009 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jirapong/100649 to your computer and use it in GitHub Desktop.
Save Jirapong/100649 to your computer and use it in GitHub Desktop.
IronRuby 0.4 0.4.0.0 on .NET 2.0.0.0
OpenSSL::Cipher's CipherError
- exists under OpenSSL namespace (FAILED - 1)
OpenSSL::HMAC.digest
- returns an SHA1 digest
OpenSSL::HMAC.hexdigest
- returns an SHA1 hex digest
OpenSSL::PKey::RSA.new
- new without params (FAILED - 2)
- new with key size (FAILED - 3)
- new with data (ERROR - 4)
OpenSSL::Random#pseudo_bytes
- generates a random binary string of specified length
- generates different binary strings with subsequent invocations
- raises ArgumentError on negative arguments
OpenSSL::Random#random_bytes
- generates a random binary string of specified length
- generates different binary strings with subsequent invocations
- raises ArgumentError on negative arguments
OpenSSL::X509::Certificate#issuer
- is nil by default (FAILED - 5)
- returns the issuer (FAILED - 6)
OpenSSL::X509::Certificate#issuer=
- returns the argument (ERROR - 7)
- raises TypeError if argument is nil (FAILED - 8)
- raises TypeError if argument is not a OpenSSL::X509::Name (FAILED - 9)
OpenSSL::X509::Certificate.new
- returns a x509 certificate
- create a x509 certificate with data (FAILED - 10)
- raises CertificateError if argument is supply not enought data
OpenSSL::X509::Certificate#not_after
- is nil by default (ERROR - 11)
- returns the not before datetime (ERROR - 12)
OpenSSL::X509::Certificate#not_after=
- returns the argument (ERROR - 13)
- allow a nil argument (ERROR - 14)
OpenSSL::X509::Certificate#not_before
- is nil by default (ERROR - 15)
- returns the not before datetime (ERROR - 16)
OpenSSL::X509::Certificate#not_before=
- returns the argument (ERROR - 17)
- allow a nil argument (ERROR - 18)
OpenSSL::X509::Certificate#public_key
- raises OpenSSL::X509::CertificateError by default (FAILED - 19)
- returns the public_key (ERROR - 20)
OpenSSL::X509::Certificate#public_key=
- returns the argument (ERROR - 21)
- raises TypeError if argument is nil (FAILED - 22)
- raises TypeError if argument is not a OpenSSL::PKey::PKey (FAILED - 23)
OpenSSL::X509::Certificate#serial
- is 0 by default
- returns the serial (ERROR - 24)
OpenSSL::X509::Certificate#serial=
- returns the argument (ERROR - 25)
- raises TypeError if argument is nil (FAILED - 26)
- raises TypeError if argument is not a OpenSSL::BN (FAILED - 27)
OpenSSL::X509::Certificate#signature_algorithm
- is string "NULL" by default (ERROR - 28)
- returns the not before datetime (ERROR - 29)
OpenSSL::X509::Certificate#subject
- is nil by default (FAILED - 30)
- returns the subject
OpenSSL::X509::Certificate#subject=
- returns the argument (ERROR - 31)
- raises TypeError if argument is nil (FAILED - 32)
- raises TypeError if argument is not a OpenSSL::X509::Name (FAILED - 33)
OpenSSL::X509::Certificate#version
- is 0 by default
- returns the version (FAILED - 34)
OpenSSL::X509::Certificate#version=
- returns the argument (ERROR - 35)
- raises TypeError if argument is nil (FAILED - 36)
- raises TypeError if argument is not a OpenSSL::BN (FAILED - 37)
OpenSSL::X509::Name.new
- returns a x509 Name (ERROR - 38)
1)
OpenSSL::Cipher's CipherError exists under OpenSSL namespace FAILED
Expected OpenSSL to have constant 'CipherError' but it does not
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
cipher_spec.rb:7
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
cipher_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
2)
OpenSSL::PKey::RSA.new new without params FAILED
Expected "System.Security.Cryptography.RSACryptoServiceProvider"
to equal "-----BEGIN RSA PUBLIC KEY-----\nMAA=\n-----END RSA PUBLIC KEY-----\n"
expectations.rb:9:in `fail_with'
base.rb:6:in `=='
new_spec.rb:7
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
new_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
3)
OpenSSL::PKey::RSA.new new with key size FAILED
Expected "System.Security.Cryptography.RSACryptoServiceProvider"
to equal "-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEA6EVKIlw0Kv2QPgQaVr9tV9b3neEY3vdZCw5euGhlOonHg5dQ\np76oFPM+jehiJod7Zr88RBkVCrosHqIi/k2OTQSkSS8/EWAoePbTtcVCwuqJFy+e\nExhPnOR0wxfTxbe2JfxJhQaTabw08jQSWftIyiolmwFLNyHEfzdw0WdVC+asCORW\nNtXYDjD71GSLMCH/Kg1l9w1A8lXPvAKt1eE2xtIHOIN4cSjFt6ktwPeX7xpkap+I\n7EJYWE3c3IxYQitUGcqEl5jJaCbGBqRBPbhS4lG4Gf5zD0K486Lv8HlDfihoNexx\nvo6JyhJSRYkl9Qqab8pUDQWekaTyjPjRZMJvzwIDAQABAoIBAQCxTELcm5lOv6Md\nU7BvS0xB4tu87hg4CoMzx1JSXY338zgSoKx2fzh6VXsIg7x4QK7XrV5pdOP0/kuz\nTnx7tePLsqFdI+12a/o46+CLPfpKIxFmW3jEhqgu0My4JzYGFMe7kyrjmjNoYLvh\nrhHcEc5sU2PFQGWTvfjqSv2ZOtFWdNeBRbNUPp/UaA1gnZX6ynTZ9CmpxBvMX6fz\n6uyoFoMD8NaMUPMOC/aVarTJ5P6Zu58DfB3o/4t/+O8nTRebJXo0MQT6QLT+qNPp\nZU3TmfcGqwujFaNllG9c24zqtq5JAy8lq+YOJzwp3vPV2iDQ6l5Bh6HWse/JXIRQ\nwU8tTI2xAoGBAP4nZtbgsdM4kUjH1EaF8ZEWnPMVpnLOz9YKRNoTzyYIx+Vsfvqr\naaO435DQCuPjjlnspdb6W0CUBuZQ8/NQ61BaS7SbjkjuWqNCqmsGcuwzIwO+L5VT\nhF84zhb0XtU/ZSgozTVtcUAl/4P7xrmbZYanMiTfbM4WgEj0BwBkyybLAoGBAOn1\nMjAEnIrFOn1inz0O+mHqP+2YOYy5+dSLaxuJ9+PCNLIPHmDFwwoJ/4c9kr+I8PDb\n2i+EyyjsKNYumgw03XKh2XcZnvByRpx8Q/sTmrQ1cMnMs0VfrFpmECs/8NTxBdYR\nGRNjWzITNMQXG7UIEYH4e6x4KF+tkWMazdoi5faNAoGBAJDy5dsNIT4G2A07Mpza\nDXCjBfY5VcnKm4xGJQh/Hbhib6cwHqdWFZSzfoX3sQ5RnME6j0axWFPXWKwIZWlS\nsDIOnXiu8xIzJmxQPCN39Rky/PhIgpjWnfs0yY0b5+4VDts9kfOzrFBam4SplqgK\nsXd/acDP0B0lhhqVWlzmH1rLAoGAb9nN2K8buCx6vh88ShCzG8TGM20ndmQjUL4m\nws+/N6BNWSNpPpLNoCsPgzSox/FMX5p8QWOXTUU6cMtu0o8jn/5I3WveVM4NfBrc\n1ViWCbnS5md6/Zuz5rQM3uB+3w8r3x/lgSNrIhGUlHsHwBDPbffCCL6ZbsSoUV0r\nNTKiBrECgYBZyks+LUdXDLu3Yj6TQxNQLJy0ChE06REbRyVaeroCBCrIJxkPqsCy\nnTf1oBxragUmnWZsuPv/v1zIrPTxXelS9iTTBe8dyiZj7MyCx1LDD1whmoeRPl/V\nA3n4E32/H/TW9asQO/pQng5n/P6f/SQaVQ+KRWuVtbTX1OIIN0UiwA==\n-----END RSA PRIVATE KEY-----\n"
expectations.rb:9:in `fail_with'
base.rb:6:in `=='
new_spec.rb:12
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
new_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
4)
OpenSSL::PKey::RSA.new new with data ERROR
TypeError: can't convert String into Fixnum
new_spec.rb:17
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
new_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
5)
OpenSSL::X509::Certificate#issuer is nil by default FAILED
Expected "" to be nil
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
issuer_spec.rb:6
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
issuer_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
6)
OpenSSL::X509::Certificate#issuer returns the issuer FAILED
Expected "/CN=drbrain/DC=segment7/DC=net"
to equal 0
expectations.rb:9:in `fail_with'
base.rb:6:in `=='
issuer_spec.rb:11
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
issuer_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
7)
OpenSSL::X509::Certificate#issuer= returns the argument ERROR
NoMethodError: undefined method `issuer=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>
issuer_spec.rb:22
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
issuer_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
8)
OpenSSL::X509::Certificate#issuer= raises TypeError if argument is nil FAILED
Expected TypeError
but got NoMethodError (undefined method `issuer=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>)
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
issuer_spec.rb:28
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
issuer_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
9)
OpenSSL::X509::Certificate#issuer= raises TypeError if argument is not a OpenSSL::X509::Name FAILED
Expected TypeError
but got NoMethodError (undefined method `issuer=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>)
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
issuer_spec.rb:32
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
issuer_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
10)
OpenSSL::X509::Certificate.new create a x509 certificate with data FAILED
Expected "/CN=drbrain/DC=segment7/DC=net"
to equal 0
expectations.rb:9:in `fail_with'
base.rb:6:in `=='
new_spec.rb:13
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
new_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
11)
OpenSSL::X509::Certificate#not_after is nil by default ERROR
NoMethodError: undefined method `not_after' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>
not_after_spec.rb:6
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
not_after_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
12)
OpenSSL::X509::Certificate#not_after returns the not before datetime ERROR
NoMethodError: undefined method `not_after' for #<OpenSSL::X509::Certificate subject=/CN=drbrain/DC=segment7/DC=net, issuer=/CN=drbrain/DC=segment7/DC=net, serial=0, not_before=nil, not_after=nil>
not_after_spec.rb:11
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
not_after_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
13)
OpenSSL::X509::Certificate#not_after= returns the argument ERROR
NoMethodError: undefined method `not_after=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>
not_after_spec.rb:22
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
not_after_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
14)
OpenSSL::X509::Certificate#not_after= allow a nil argument ERROR
NoMethodError: undefined method `not_after=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>
not_after_spec.rb:27
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
not_after_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
15)
OpenSSL::X509::Certificate#not_before is nil by default ERROR
NoMethodError: undefined method `not_before' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>
not_before_spec.rb:6
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
not_before_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
16)
OpenSSL::X509::Certificate#not_before returns the not before datetime ERROR
NoMethodError: undefined method `not_before' for #<OpenSSL::X509::Certificate subject=/CN=drbrain/DC=segment7/DC=net, issuer=/CN=drbrain/DC=segment7/DC=net, serial=0, not_before=nil, not_after=nil>
not_before_spec.rb:11
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
not_before_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
17)
OpenSSL::X509::Certificate#not_before= returns the argument ERROR
NoMethodError: undefined method `not_before=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>
not_before_spec.rb:22
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
not_before_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
18)
OpenSSL::X509::Certificate#not_before= allow a nil argument ERROR
NoMethodError: undefined method `not_before=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>
not_before_spec.rb:27
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
not_before_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
19)
OpenSSL::X509::Certificate#public_key raises OpenSSL::X509::CertificateError by default FAILED
Expected OpenSSL::X509::CertificateError but no exception was raised
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
public_key_spec.rb:6
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
public_key_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
20)
OpenSSL::X509::Certificate#public_key returns the public_key ERROR
NameError: uninitialized constant HMACConstants::X509PublicKey
:0:in `const_missing'
public_key_spec.rb:11
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
public_key_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
21)
OpenSSL::X509::Certificate#public_key= returns the argument ERROR
NameError: uninitialized constant OpenSSL::PKey::PKey
:0:in `const_missing'
public_key_spec.rb:22
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
public_key_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
22)
OpenSSL::X509::Certificate#public_key= raises TypeError if argument is nil FAILED
Expected TypeError
but got NoMethodError (undefined method `public_key=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>)
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
public_key_spec.rb:27
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
public_key_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
23)
OpenSSL::X509::Certificate#public_key= raises TypeError if argument is not a OpenSSL::PKey::PKey FAILED
Expected TypeError
but got NoMethodError (undefined method `version=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>)
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
public_key_spec.rb:31
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
public_key_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
24)
OpenSSL::X509::Certificate#serial returns the serial ERROR
NameError: uninitialized constant HMACConstants::X509Serial
:0:in `const_missing'
serial_spec.rb:11
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
serial_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
25)
OpenSSL::X509::Certificate#serial= returns the argument ERROR
NoMethodError: undefined method `serial=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>
serial_spec.rb:23
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
serial_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
26)
OpenSSL::X509::Certificate#serial= raises TypeError if argument is nil FAILED
Expected TypeError
but got NoMethodError (undefined method `serial=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>)
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
serial_spec.rb:28
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
serial_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
27)
OpenSSL::X509::Certificate#serial= raises TypeError if argument is not a OpenSSL::BN FAILED
Expected TypeError
but got NoMethodError (undefined method `issuer=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>)
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
serial_spec.rb:32
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
serial_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
28)
OpenSSL::X509::Certificate#signature_algorithm is string "NULL" by default ERROR
NoMethodError: undefined method `signature_algorithm' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>
signature_algorithm_spec.rb:6
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
signature_algorithm_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
29)
OpenSSL::X509::Certificate#signature_algorithm returns the not before datetime ERROR
NoMethodError: undefined method `signature_algorithm' for #<OpenSSL::X509::Certificate subject=/CN=drbrain/DC=segment7/DC=net, issuer=/CN=drbrain/DC=segment7/DC=net, serial=0, not_before=nil, not_after=nil>
signature_algorithm_spec.rb:11
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
signature_algorithm_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
30)
OpenSSL::X509::Certificate#subject is nil by default FAILED
Expected "" to be nil
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
subject_spec.rb:6
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
subject_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
31)
OpenSSL::X509::Certificate#subject= returns the argument ERROR
NoMethodError: undefined method `subject=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>
subject_spec.rb:22
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
subject_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
32)
OpenSSL::X509::Certificate#subject= raises TypeError if argument is nil FAILED
Expected TypeError
but got NoMethodError (undefined method `subject=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>)
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
subject_spec.rb:28
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
subject_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
33)
OpenSSL::X509::Certificate#subject= raises TypeError if argument is not a OpenSSL::X509::Name FAILED
Expected TypeError
but got NoMethodError (undefined method `subject=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>)
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
subject_spec.rb:32
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
subject_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
34)
OpenSSL::X509::Certificate#version returns the version FAILED
Expected 3
to equal 2
expectations.rb:9:in `fail_with'
base.rb:6:in `=='
version_spec.rb:11
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
version_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
35)
OpenSSL::X509::Certificate#version= returns the argument ERROR
NoMethodError: undefined method `version=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>
version_spec.rb:22
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
version_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
36)
OpenSSL::X509::Certificate#version= raises TypeError if argument is nil FAILED
Expected TypeError
but got NoMethodError (undefined method `version=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>)
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
version_spec.rb:27
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
version_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
37)
OpenSSL::X509::Certificate#version= raises TypeError if argument is not a OpenSSL::BN FAILED
Expected TypeError
but got NoMethodError (undefined method `version=' for #<OpenSSL::X509::Certificate subject=, issuer=, serial=0, not_before=nil, not_after=nil>)
expectations.rb:9:in `fail_with'
should.rb:2:in `should'
version_spec.rb:31
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
version_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
38)
OpenSSL::X509::Name.new returns a x509 Name ERROR
NoMethodError: undefined method `subject' for IronRuby.StandardLibrary.OpenSsl.OpenSsl+X509+Name:OpenSSL::X509::Name
new_spec.rb:7
:0:in `instance_eval'
mspec.rb:65:in `protect'
context.rb:135:in `protect'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in `<TrueForItems>b__0'
:0:in `each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:in `Each'
c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in `TrueForItems'
:0:in `all?'
context.rb:133:in `protect'
context.rb:155:in `process'
:0:in `each'
context.rb:147:in `process'
mspec.rb:29:in `describe'
object.rb:10:in `describe'
new_spec.rb:0
:0:in `load'
mspec.rb:55:in `files'
:0:in `instance_eval'
mspec.rb:65:in `protect'
mspec.rb:49:in `files'
:0:in `each'
mspec.rb:45:in `files'
mspec.rb:39:in `process'
mspec-run.rb:82:in `run'
script.rb:218:in `main'
mspec-run:0
Finished in 36.468750 seconds
16 files, 51 examples, 804 expectations, 19 failures, 19 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment