Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3847b78

Browse files
committedFeb 27, 2018
1 parent 249c43a commit 3847b78

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+438
-299
lines changed
 

Diff for: ‎spec/ruby/CONTRIBUTING.md

+2
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ guard -> { max_uint <= fixnum_max } do
158158
end
159159
```
160160

161+
Custom guards are better than a simple `if` as they allow [mspec commands](https://github.com/ruby/mspec/issues/30#issuecomment-312487779) to work properly.
162+
161163
In general, the usage of guards should be minimized as possible.
162164

163165
There are no guards to define implementation-specific behavior because

Diff for: ‎spec/ruby/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ The language specs are grouped by keyword while the core and standard library sp
2424

2525
ruby/spec is known to be tested in these implementations for every commit:
2626
* [MRI](http://rubyci.org/) on 30 platforms and 4 versions
27-
* [JRuby](https://github.com/jruby/jruby/tree/master/spec/ruby) on Travis for both 1.7 and 9.x
28-
* [TruffleRuby](https://github.com/graalvm/truffleruby) on Travis
29-
* [Opal](https://github.com/opal/opal/tree/master/spec) on Travis
27+
* [JRuby](https://github.com/jruby/jruby/tree/master/spec/ruby) for both 1.7 and 9.x
28+
* [TruffleRuby](https://github.com/oracle/truffleruby)
29+
* [Opal](https://github.com/opal/opal/tree/master/spec)
3030

3131
ruby/spec describes the behavior of Ruby 2.2 and more recent Ruby versions.
3232
More precisely, every latest stable MRI release [passes](https://rubyci.org/) all specs of ruby/spec

0 commit comments

Comments
 (0)
Please sign in to comment.