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

123 Коммитов

Автор SHA1 Сообщение Дата
Benoit Daloze 3504f928df Update to ruby/mspec@55d1a62 2023-09-04 16:07:44 +02:00
Benoit Daloze f73fa29927 Update to ruby/mspec@3cf2d16 2023-06-26 15:55:09 +02:00
Benoit Daloze d3da01cd11 Update to ruby/mspec@1d8cf64 2023-04-25 17:09:53 +02:00
Benoit Daloze de60139053 Update to ruby/mspec@dc2eb26 2023-02-27 21:02:42 +01:00
Benoit Daloze cd5e6cc0ea Update to ruby/mspec@fef9b81 2023-01-05 19:05:27 +01:00
Benoit Daloze c99e4c4278 Update to ruby/mspec@1e16420 2022-11-07 20:05:18 +01:00
Benoit Daloze 5a1ab740fc Update to ruby/mspec@b60306d 2022-09-28 18:37:16 +02:00
Yuta Saito 3f387e60ef Rescue File.expand_path in MSpecScript#try_load if HOME is unavailable
mspec tries to load ~/.mspecrc, but some platforms (e.g. WASI) doesn't
have HOME concept, so `~` cannot be expanded and `File.expand_path` can
fail.
2022-09-21 15:26:34 +09:00
Benoit Daloze b5358a98e6 Update to ruby/mspec@37151a0 2022-08-29 18:18:20 +02:00
Benoit Daloze 44f42413e6 Update to ruby/mspec@290e36a 2022-07-27 17:18:23 +02:00
Benoit Daloze f616e81637 Update to ruby/mspec@78b5d86 2022-06-26 14:50:13 +02:00
Benoit Daloze 6ae81d49b5 Update to ruby/mspec@215497e 2022-04-25 14:53:51 +02:00
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