Граф коммитов

111 Коммитов

Автор SHA1 Сообщение Дата
Yuta Saito e9553a8cac spec: skip specs where set TZ environment variable for WASI
WASI doesn't respect TZ env var for now
2022-03-17 17:44:41 +09:00
Yuta Saito fe2e5c13f9 spec: skip ruby_exe tests for wasi due to lack of subprocess 2022-03-14 23:04:13 +09:00
Benoit Daloze 1dc6bed0ca Update to ruby/mspec@bd47c2a 2022-03-03 14:43:11 +01:00
Benoit Daloze bb5f710887 Update to ruby/mspec@49adc2f 2022-01-28 14:42:36 +01:00
Benoit Daloze 8abfc10605 Update to ruby/mspec@3ea3d32 2022-01-10 16:29:53 +01:00
Benoit Daloze e6d93a27af Update to ruby/mspec@098b320 2021-11-29 15:50:26 +01:00
Benoit Daloze 207a5a5bc1 Update to ruby/mspec@08e1275 2021-10-20 21:41:45 +02:00
Benoit Daloze a375640ea5 Update to ruby/mspec@e768949 2021-09-07 19:01:03 +02:00
Benoit Daloze 15d05f8120 Update to ruby/mspec@9542a88 2021-07-29 22:11:19 +02:00
Benoit Daloze a4fbc7e288 Update to ruby/mspec@0091e8a 2021-06-02 14:34:01 +02:00
Benoit Daloze 2321ade41d Prefer respond_to? to defined? in MSpec 2021-05-17 20:12:39 +02:00
Yusuke Endoh 93fb186dd0 spec/ruby/library/yaml: Test YAML.unsafe_load instead of YAML.load in 3.1 2021-05-17 15:42:22 +09:00
Yusuke Endoh 008a63c477 Revert "Use YAML.unsafe_load instead of YAML.load."
This reverts commit a0e97b0e2e.
2021-05-17 15:32:41 +09:00
Hiroshi SHIBATA a0e97b0e2e
Use YAML.unsafe_load instead of YAML.load.
This is a temporary workaround. We should rewrite the examples with
  permitted_classes.
2021-05-17 13:36:55 +09:00
Benoit Daloze 44736a6b7a Update to ruby/mspec@d1adf59 2021-03-27 13:02:38 +01:00
Benoit Daloze 267bed0cd9 Update to ruby/mspec@a40a674 2020-12-27 17:35:30 +01:00
Nobuyoshi Nakada fb8f011422
Fixed indefinite articles before "Integer" [ci skip] 2020-12-21 01:19:55 +09:00
Benoit Daloze bb3d705819 Add MSpec tool to automatically wrap spec files with a guard 2020-12-05 11:39:33 +01:00
Benoit Daloze f0bfa266d7 Update to ruby/mspec@b58e665 2020-11-27 14:55:29 +01:00
Benoit Daloze acbe7aa197 Update to ruby/mspec@f8b0618 2020-11-13 13:17:22 +01:00
Benoit Daloze 342fbae83c Update to ruby/mspec@b56e7a2 2020-10-24 15:53:53 +02:00
Benoit Daloze bbecf1eb6b Update to ruby/mspec@e154fa1 2020-09-30 13:43:17 +02:00
Benoit Daloze 31636bbddc Update to ruby/mspec@4120a62 2020-09-30 12:39:18 +02:00
Benoit Daloze 3dd63108b0 Update to ruby/mspec@53a6e3e 2020-08-28 20:26:00 +02:00
Benoit Daloze 7429841ab6 Update to ruby/mspec@9cffee9 2020-07-27 21:41:03 +02:00
Benoit Daloze 64d8c0815e Update to ruby/mspec@6cb1f10 2020-06-27 15:51:35 +02:00
Benoit Daloze f4502b001a Update to ruby/mspec@e3abf6b 2020-05-31 18:22:47 +02:00
Yusuke Endoh e73e504e2f spec: add wsl guard
WSL 2 is officially released.  It uses Linux kernel, so almost all specs
for Linux work on WSL, except one: gethostbyaddr.  I guess network
resolution in WSL is based on Windows, so the behavior seems a bit
different from normal Linux.

This change adds `platform_is_not :wsl` guard, and guards out the test
in question.
2020-05-30 01:52:38 +09:00
Benoit Daloze f646d20aae Update to ruby/mspec@d419d0b 2020-05-03 12:28:27 +02:00
Benoit Daloze a68ddf4287 Update to ruby/mspec@ee29a34 2020-05-02 16:03:12 +02:00
Nobuyoshi Nakada e801e9ba65
[ruby/spec] expand temporary directory to the real path
It may contain symbolic links.
2020-04-29 15:28:40 +09:00
Nobuyoshi Nakada 86431f5075
Remove rubyspec temporary directories 2020-04-28 19:00:33 +09:00
Benoit Daloze da5a128991 Update to ruby/mspec@fad32a5 2020-04-04 01:02:50 +02:00
Nobuyoshi Nakada f49a24201c
Refined spec/mspec/tool/remove_old_guards.rb
* Allow spaces around `...`
* Matches quotes more precisely
* Matches 0 teeny
2020-04-03 09:44:32 +09:00
Benoit Daloze 4ec32f869f Update to ruby/mspec@b9fe8d6 2020-04-02 22:39:26 +02:00
Nobuyoshi Nakada 826f44834f Drop support for ruby 2.4 from ruby/spec 2020-04-01 15:36:20 +09:00
Nobuyoshi Nakada 3a2073e61b Use FrozenError instead of frozen_error_class 2020-04-01 15:36:20 +09:00
Benoit Daloze 296f68816c Update to ruby/mspec@16b5a0a 2020-03-28 00:22:48 +01:00
Nobuyoshi Nakada 108f7536b3
Removed unnecessary `chomp`
As `String#split` with the default argument drops trailing newline
as a separator, preceding `String#chomp` is futile.
2020-03-07 17:04:37 +09:00
dependabot[bot] 02a3e27608
Bump rake from 10.5.0 to 12.3.3 in /spec/mspec (#2942)
Bumps [rake](https://github.com/ruby/rake) from 10.5.0 to 12.3.3.
- [Release notes](https://github.com/ruby/rake/releases)
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rake/compare/v10.5.0...v12.3.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-28 10:13:28 -08:00
Benoit Daloze 5d21050182 Update to ruby/mspec@a514ad7 2020-02-28 19:07:14 +01:00
Nobuyoshi Nakada 92c86e39de
Removed a useless guard
MSpec requires Ruby 2.4 or more recent.
2020-02-09 12:13:28 +09:00
Benoit Daloze ed377cc9aa Update to ruby/mspec@9bce874 2020-01-28 20:47:46 +01:00
Benoit Daloze 74fdc1e60f Update to ruby/mspec@673fcab 2019-12-27 17:36:04 +01:00
Benoit Daloze 26a9f80c82 Update to ruby/mspec@1034afc 2019-12-27 16:46:05 +01:00
Nobuyoshi Nakada e68999c82c
Fixed misspellings
Fixed misspellings reported at [Bug #16437], for default gems.
2019-12-20 12:19:45 +09:00
Benoit Daloze 60d362b0bb Update to ruby/mspec@aa28e95 2019-12-01 14:11:40 +01:00
Benoit Daloze ab8345271e Update to ruby/mspec@a401f63 2019-11-30 21:26:49 +01:00
Nobuyoshi Nakada c6a52cffd1
Separated `@counter` and `@tally` so that "-ft" works with "-j" 2019-11-05 17:43:38 +09:00
Nobuyoshi Nakada fa52a924aa Enable "-f" option in multi_exec mode
Make `MultiFormatter` a module and extend the formatter specified
by "-f" option.
2019-11-05 17:42:35 +09:00