Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
This paste will be private.
1) Bignum#>> shows the bug described in ruby-core:9020 FAILED Expected -1 to equal 0: ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:19:in `==' ./spec/ruby/1.8//core/bignum/right_shift_spec.rb:38 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/bignum/right_shift_spec.rb:4 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 2) Module#attr_accessor creates a getter and setter for each given attribute name FAILED Expected false to equal true: ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:19:in `==' ./spec/ruby/1.8//core/module/attr_accessor_spec.rb:18 ./mspec/runner/guards.rb:145:in `compliant_on' ./spec/ruby/1.8//core/module/attr_accessor_spec.rb:17 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/module/attr_accessor_spec.rb:4 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 3) Module#attr_reader creates a getter for each given attribute name FAILED Expected false to equal true: ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:19:in `==' ./spec/ruby/1.8//core/module/attr_reader_spec.rb:23 ./mspec/runner/guards.rb:145:in `compliant_on' ./spec/ruby/1.8//core/module/attr_reader_spec.rb:22 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/module/attr_reader_spec.rb:4 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 4) Module#attr creates a getter for the given attribute name FAILED Expected false to equal true: ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:19:in `==' ./spec/ruby/1.8//core/module/attr_spec.rb:23 ./mspec/runner/guards.rb:145:in `compliant_on' ./spec/ruby/1.8//core/module/attr_spec.rb:22 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/module/attr_spec.rb:4 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 5) Module#attr creates a setter for the given attribute name if writable is true FAILED Expected false to equal true: ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:19:in `==' ./spec/ruby/1.8//core/module/attr_spec.rb:54 ./mspec/runner/guards.rb:145:in `compliant_on' ./spec/ruby/1.8//core/module/attr_spec.rb:53 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/module/attr_spec.rb:4 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 6) Module#attr creates a getter and setter for the given attribute name if called with and without writeable is true FAILED Expected false to equal true: ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:19:in `==' ./spec/ruby/1.8//core/module/attr_spec.rb:88 ./mspec/runner/guards.rb:145:in `compliant_on' ./spec/ruby/1.8//core/module/attr_spec.rb:87 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/module/attr_spec.rb:4 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 7) Time.gm should accept various year ranges ERROR uninitialized constant Rubinius: ./spec/ruby/1.8//core/time/shared/time_params.rb:33 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/shared/time_params.rb:2 ./mspec/runner/shared.rb:8:in `[]' ./mspec/runner/shared.rb:8:in `it_behaves_like' ./spec/ruby/1.8//core/time/gm_spec.rb:8 ./mspec/runner/runner.rb:127:in `call' ./mspec/runner/runner.rb:127:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/gm_spec.rb:6 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 8) Time.gm throws ArgumentError for out of range values ERROR uninitialized constant Rubinius: ./spec/ruby/1.8//core/time/shared/time_params.rb:48 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/shared/time_params.rb:2 ./mspec/runner/shared.rb:8:in `[]' ./mspec/runner/shared.rb:8:in `it_behaves_like' ./spec/ruby/1.8//core/time/gm_spec.rb:8 ./mspec/runner/runner.rb:127:in `call' ./mspec/runner/runner.rb:127:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/gm_spec.rb:6 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 9) Time.local should accept various year ranges ERROR uninitialized constant Rubinius: ./spec/ruby/1.8//core/time/shared/time_params.rb:33 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/shared/time_params.rb:2 ./mspec/runner/shared.rb:8:in `[]' ./mspec/runner/shared.rb:8:in `it_behaves_like' ./spec/ruby/1.8//core/time/local_spec.rb:8 ./mspec/runner/runner.rb:127:in `call' ./mspec/runner/runner.rb:127:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/local_spec.rb:6 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 10) Time.local throws ArgumentError for out of range values ERROR uninitialized constant Rubinius: ./spec/ruby/1.8//core/time/shared/time_params.rb:48 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/shared/time_params.rb:2 ./mspec/runner/shared.rb:8:in `[]' ./mspec/runner/shared.rb:8:in `it_behaves_like' ./spec/ruby/1.8//core/time/local_spec.rb:8 ./mspec/runner/runner.rb:127:in `call' ./mspec/runner/runner.rb:127:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/local_spec.rb:6 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 11) Time.mktime should accept various year ranges ERROR uninitialized constant Rubinius: ./spec/ruby/1.8//core/time/shared/time_params.rb:33 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/shared/time_params.rb:2 ./mspec/runner/shared.rb:8:in `[]' ./mspec/runner/shared.rb:8:in `it_behaves_like' ./spec/ruby/1.8//core/time/mktime_spec.rb:8 ./mspec/runner/runner.rb:127:in `call' ./mspec/runner/runner.rb:127:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/mktime_spec.rb:6 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 12) Time.mktime throws ArgumentError for out of range values ERROR uninitialized constant Rubinius: ./spec/ruby/1.8//core/time/shared/time_params.rb:48 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/shared/time_params.rb:2 ./mspec/runner/shared.rb:8:in `[]' ./mspec/runner/shared.rb:8:in `it_behaves_like' ./spec/ruby/1.8//core/time/mktime_spec.rb:8 ./mspec/runner/runner.rb:127:in `call' ./mspec/runner/runner.rb:127:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/mktime_spec.rb:6 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 13) Time.utc should accept various year ranges ERROR uninitialized constant Rubinius: ./spec/ruby/1.8//core/time/shared/time_params.rb:33 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/shared/time_params.rb:2 ./mspec/runner/shared.rb:8:in `[]' ./mspec/runner/shared.rb:8:in `it_behaves_like' ./spec/ruby/1.8//core/time/utc_spec.rb:15 ./mspec/runner/runner.rb:127:in `call' ./mspec/runner/runner.rb:127:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/utc_spec.rb:13 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 14) Time.utc throws ArgumentError for out of range values ERROR uninitialized constant Rubinius: ./spec/ruby/1.8//core/time/shared/time_params.rb:48 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/shared/time_params.rb:2 ./mspec/runner/shared.rb:8:in `[]' ./mspec/runner/shared.rb:8:in `it_behaves_like' ./spec/ruby/1.8//core/time/utc_spec.rb:15 ./mspec/runner/runner.rb:127:in `call' ./mspec/runner/runner.rb:127:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//core/time/utc_spec.rb:13 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 15) Date#strftime should be able to parse the full day name FAILED Expected #<Date: 4909007/2,0,2299161> to equal #<Date: 4908993/2,0,2299161>: ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:19:in `==' ./spec/ruby/1.8//library/date/strptime_spec.rb:17 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//library/date/strptime_spec.rb:4 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 16) Date#strftime should be able to parse the short day name FAILED Expected #<Date: 4909007/2,0,2299161> to equal #<Date: 4908993/2,0,2299161>: ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:19:in `==' ./spec/ruby/1.8//library/date/strptime_spec.rb:22 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//library/date/strptime_spec.rb:4 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 17) Socket#getaddrinfo gets the address information FAILED Expected [["AF_INET6", 80, "localhost", "::1", 30, 2, 17], ["AF_INET6", 80, "localhost", "::1", 30, 1, 6], ["AF_INET6", 80, "localhost", "::1", 30, 2, 17], ["AF_INET6", 80, "localhost", "::1", 30, 1, 6], ["AF_INET", 80, "doki.local", "127.0.0.1", 2, 2, 17], ["AF_INET", 80, "doki.local", "127.0.0.1", 2, 1, 6]] to equal [["AF_INET6", 80, "localhost", "::1", 30, 2, 17], ["AF_INET6", 80, "localhost", "::1", 30, 1, 6], ["AF_INET6", 80, "localhost", "::1", 30, 2, 17], ["AF_INET6", 80, "localhost", "::1", 30, 1, 6], ["AF_INET", 80, "localhost", "127.0.0.1", 2, 2, 17], ["AF_INET", 80, "localhost", "127.0.0.1", 2, 1, 6]]: ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:19:in `==' ./spec/ruby/1.8//library/socket/getaddrinfo_spec.rb:35 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//library/socket/getaddrinfo_spec.rb:3 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 18) TCPServer.new binds to a host and a port FAILED Expected "doki.local" to match /^localhost\b/: ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:54:in `=~' ./spec/ruby/1.8//library/socket/tcpserver/new_spec.rb:16 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//library/socket/tcpserver/new_spec.rb:4 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44 19) TCPSocket.new has an address once it has connected to a listening server FAILED Expected "doki.local" to match /^localhost,?$/: ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:54:in `=~' ./spec/ruby/1.8//library/socket/tcpsocket/new_spec.rb:35 ./mspec/runner/runner.rb:136:in `call' ./mspec/runner/runner.rb:136:in `describe' ./mspec/runner/runner.rb:130:in `each' ./mspec/runner/runner.rb:130:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8//library/socket/tcpsocket/new_spec.rb:4 tmp/last_ci.rb:52:in `load' tmp/last_ci.rb:52 tmp/last_ci.rb:44:in `each' tmp/last_ci.rb:44
From the Design Piracy series on my blog: