-
Opal doesn't handle && the same way when the LHS of the operator is nil (returning false rather than nil).
Code:
``` ruby
var = nil
result1 = var && var[:junk]
var2 = {junk: 'foo'}
result2 = var2 &&…
-
Should we prefer MSpec _tags_ to `ruby_bug` guards?
All other implementations use tags, that is files listing excluded specs to ensure all good specs are still good and not run known failing specs.
M…
-
This isn't necessarily a bug, but I think the behavior is incorrect. (If I should open this as a bug against MRI, let me know.)
On systems that do not support the `posix_fadvise` function, a call to …
-
After d0406c98e1bfe9bc6c51a9fcba9d62a14b017fb1, the followinf errors occur.
```
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disa
ble-gems -r./sparc64-solaris2.10-fake …
ngoto updated
9 years ago
-
On JRuby 9.0.1.0, Hash sets wrong encoding only when the key string is used as Hash key with different encoding.
``` ruby
hash1 = {}
hash1['str'.force_encoding('ASCII-8BIT')] = 1
p hash1.keys.first.e…
-
code:
``` ruby
Class.new do
class Howdy
end
puts "right after, it's #{Howdy}"
end
```
MRI output:
```
right after, it's Howdy
```
Opal master output:
```
/tmp/opal-nodejs-runner-20150923-6…
-
It's a minor thing, but I thought it's worth reporting.
(I don't know what the spec is for Ruby on this.)
``` ruby
class Foo
def inspect
fail NotImplementedError
end
end
Foo.new.method(:bar…
-
Very similar to #715:
The following produces an error when reek attempts to parse it:
``` ruby
Foo = Class.new do
def self.bar; end
end.new
```
Example run against current master (7ba35a3):
``` …
-
On Solaris 10, the following error frequently occurs.
```
-e:1: `$(' is not allowed as a global variable name
```
This error occurs in the ruby_cmd() method.
In lib/mspec/helpers/ruby_exe.rb line …
ngoto updated
9 years ago
-
The documentation link in the README currently points to `rubyspec.org`. Docs are no longer available there; the link should be updated to point to an updated source of documentation for mspec.